aboutsummaryrefslogtreecommitdiffstats
path: root/examples/fo/advanced/barcode.fo
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fo/advanced/barcode.fo')
-rw-r--r--examples/fo/advanced/barcode.fo55
1 files changed, 38 insertions, 17 deletions
diff --git a/examples/fo/advanced/barcode.fo b/examples/fo/advanced/barcode.fo
index ba0ba13b3..822d6fd55 100644
--- a/examples/fo/advanced/barcode.fo
+++ b/examples/fo/advanced/barcode.fo
@@ -1,22 +1,43 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
- <fo:layout-master-set>
- <fo:simple-page-master page-width="21cm" page-height="29.7cm" master-name="first" margin-top="5mm">
- <fo:region-body margin-bottom="4.5in" margin-right="5mm" margin-left="5mm" margin-top="5mm"/>
- <fo:region-after extent="4in" border-top-color="silver" border-top-style="dotted" border-top-width="0.13mm"/>
- </fo:simple-page-master>
- <fo:simple-page-master page-width="21cm" page-height="29.7cm" master-name="rest" margin-right="5mm" margin-left="5mm" margin-top="5mm" margin-bottom="5mm">
- <fo:region-body/>
- </fo:simple-page-master>
- <fo:page-sequence-master master-name="A4">
- <fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-reference="first" page-position="first"/>
- <fo:conditional-page-master-reference master-reference="rest" page-position="rest"/>
- <fo:conditional-page-master-reference master-reference="rest"/>
- </fo:repeatable-page-master-alternatives>
- </fo:page-sequence-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="A4">
+
+<fo:layout-master-set>
+ <fo:simple-page-master master-name="first"
+ page-width="21cm"
+ page-height="29.7cm"
+ margin-top="5mm">
+ <fo:region-body
+ margin-bottom="4.5in"
+ margin-right="5mm"
+ margin-left="5mm"
+ margin-top="5mm"/>
+ <fo:region-after
+ extent="4in"
+ border-top-color="silver"
+ border-top-style="dotted"
+ border-top-width="0.13mm"/>
+ </fo:simple-page-master>
+
+ <fo:simple-page-master master-name="rest"
+ page-width="21cm"
+ page-height="29.7cm"
+ margin-right="5mm"
+ margin-left="5mm"
+ margin-top="5mm"
+ margin-bottom="5mm">
+ <fo:region-body/>
+ </fo:simple-page-master>
+
+ <fo:page-sequence-master master-name="A4">
+ <fo:repeatable-page-master-alternatives>
+ <fo:conditional-page-master-reference master-reference="first" page-position="first"/>
+ <fo:conditional-page-master-reference master-reference="rest" page-position="rest"/>
+ <fo:conditional-page-master-reference master-reference="rest"/>
+ </fo:repeatable-page-master-alternatives>
+ </fo:page-sequence-master>
+</fo:layout-master-set>
+
+<fo:page-sequence master-reference="A4">
<fo:flow flow-name="xsl-region-body">
<fo:block font-size="14pt" font-weight="bold">