diff options
author | Glen Mazza <gmazza@apache.org> | 2004-02-22 13:37:07 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-02-22 13:37:07 +0000 |
commit | 6b5a9a4d934e033bad4f3fbd68c155162368e56b (patch) | |
tree | 425ecac25c772a60a426f18d9927c5dc1f2346ab /examples/fo/advanced | |
parent | 6f1366ee37eacb8100da2c5c0f0de711cb95ef01 (diff) | |
download | xmlgraphics-fop-6b5a9a4d934e033bad4f3fbd68c155162368e56b.tar.gz xmlgraphics-fop-6b5a9a4d934e033bad4f3fbd68c155162368e56b.zip |
Formatting cleanup of fo:layout-master-sets in examples.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197361 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples/fo/advanced')
-rw-r--r-- | examples/fo/advanced/barcode.fo | 55 | ||||
-rw-r--r-- | examples/fo/advanced/cid-fonts.fo | 10 | ||||
-rw-r--r-- | examples/fo/advanced/giro.fo | 15 |
3 files changed, 59 insertions, 21 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"> diff --git a/examples/fo/advanced/cid-fonts.fo b/examples/fo/advanced/cid-fonts.fo index 90ce3c952..d7623ae23 100644 --- a/examples/fo/advanced/cid-fonts.fo +++ b/examples/fo/advanced/cid-fonts.fo @@ -5,8 +5,14 @@ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xml.apache.org/fop/extensions"> <fo:layout-master-set> - <fo:simple-page-master page-width="21cm" page-height="29.7cm" master-name="A4"> - <fo:region-body margin-bottom="1.5cm" margin-right="2cm" margin-left="2cm" margin-top="1.5cm"/> + <fo:simple-page-master master-name="A4" + page-width="21cm" + page-height="29.7cm" > + <fo:region-body + margin-bottom="1.5cm" + margin-right="2cm" + margin-left="2cm" + margin-top="1.5cm"/> </fo:simple-page-master> </fo:layout-master-set> diff --git a/examples/fo/advanced/giro.fo b/examples/fo/advanced/giro.fo index 128e00dc4..d22f160f1 100644 --- a/examples/fo/advanced/giro.fo +++ b/examples/fo/advanced/giro.fo @@ -1,11 +1,21 @@ <?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: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 page-width="21cm" page-height="29.7cm" master-name="rest" margin-right="5mm" margin-left="5mm" margin-top="5mm" margin-bottom="5mm"> + <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"> @@ -16,6 +26,7 @@ </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> </fo:layout-master-set> + <fo:page-sequence master-reference="A4"> <fo:static-content flow-name="xsl-region-after"> <fo:table space-before.optimum="1in div 12" margin-left="2in div 12" margin-top="1in div 10" font-family="sans-serif" font-size="7pt" color="green"> |