Created
November 4, 2014 23:22
-
-
Save emptyflask/4388c7352414f4b6f905 to your computer and use it in GitHub Desktop.
Apache FOP XML for Avery 5160 address labels
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> | |
<fo:layout-master-set> | |
<fo:simple-page-master master-name="labels" margin="0.5in 0 0.5in 0.1875in" page-width="8.5in" page-height="11in"> | |
<fo:region-body/> | |
</fo:simple-page-master> | |
</fo:layout-master-set> | |
<fo:page-sequence master-reference="labels"> | |
<fo:flow flow-name="xsl-region-body"> | |
<fo:table table-layout="fixed" width="8.25in"> | |
<fo:table-column column-width="2.74975in"/> | |
<fo:table-column column-width="2.74975in"/> | |
<fo:table-column column-width="2.74975in"/> | |
<fo:table-body> | |
<fo:table-row height="1in"> | |
<fo:table-cell background-repeat="no-repeat" margin-right="0.15625in" padding="0 0.1in 0 0.3in" display-align="center"> | |
<fo:block font-size="10pt" text-transform="capitalize"><![CDATA[$attention_to]]></fo:block> | |
<fo:block font-size="10pt" text-transform="capitalize"><![CDATA[$mailing_name]]></fo:block> | |
<fo:block font-size="10pt" text-transform="capitalize"><![CDATA[$address]]></fo:block> | |
<fo:block font-size="10pt" text-transform="capitalize"><![CDATA[$address2]]></fo:block> | |
<fo:block font-size="10pt" text-transform="capitalize"><![CDATA[$city, $state $postal_code]]></fo:block> | |
<!-- As of FOP v0.20.2, text-transform is not yet supported. --> | |
</fo:table-cell> | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
</fo:flow> | |
</fo:page-sequence> | |
</fo:root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment