Skip to content

Instantly share code, notes, and snippets.

@zeljic
Created February 5, 2016 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeljic/d83ecee965ce89b79c2e to your computer and use it in GitHub Desktop.
Save zeljic/d83ecee965ce89b79c2e to your computer and use it in GitHub Desktop.
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
<fo:layout-master-set>
<fo:simple-page-master master-name="default-page" page-height="8.26in" page-width="11.68in" margin-left="0.7in" margin-right="0.7in">
<fo:region-body margin-top="0.75in" margin-bottom="0.75in"/>
<fo:region-before extent="0.75in"/>
<fo:region-after extent="0.75in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="default-page" format="1" initial-page-number="1">
<fo:flow flow-name="xsl-region-body">
<fo:block-container border-color="black" border-style="solid" border-width="1pt" overflow="hidden" width="70pt" >
<fo:block text-align="right" white-space="nowrap">Lorem ipsum oposum</fo:block>
</fo:block-container>
</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