Browse Source

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
pull/30/head
Glen Mazza 20 years ago
parent
commit
bf0b811be7
38 changed files with 335 additions and 284 deletions
  1. 38
    17
      examples/fo/advanced/barcode.fo
  2. 8
    2
      examples/fo/advanced/cid-fonts.fo
  3. 13
    2
      examples/fo/advanced/giro.fo
  4. 26
    16
      examples/fo/basic/border.fo
  5. 9
    9
      examples/fo/basic/fonts.fo
  6. 30
    25
      examples/fo/basic/images.fo
  7. 2
    1
      examples/fo/basic/link.fo
  8. 6
    6
      examples/fo/basic/normal.fo
  9. 6
    6
      examples/fo/basic/normalex.fo
  10. 10
    10
      examples/fo/basic/pdfoutline.fo
  11. 3
    3
      examples/fo/footnotes/columns.fo
  12. 12
    5
      examples/fo/footnotes/simple.fo
  13. 3
    3
      examples/fo/keeps_and_breaks/columnlevel1.fo
  14. 1
    2
      examples/fo/keeps_and_breaks/pagelevel1.fo
  15. 1
    2
      examples/fo/keeps_and_breaks/pagelevel2.fo
  16. 7
    8
      examples/fo/keeps_and_breaks/pagelevel3.fo
  17. 11
    11
      examples/fo/keeps_and_breaks/pagelevel4.fo
  18. 6
    3
      examples/fo/markers/glossary.xsl
  19. 7
    8
      examples/fo/markers/hide.fo
  20. 2
    2
      examples/fo/pagination/allregions.fo
  21. 4
    4
      examples/fo/pagination/franklin_2pageseqs.fo
  22. 18
    18
      examples/fo/pagination/franklin_alt.fo
  23. 6
    6
      examples/fo/pagination/franklin_rep.fo
  24. 6
    6
      examples/fo/pagination/franklin_rep_max_repeats.fo
  25. 10
    10
      examples/fo/pagination/franklin_rep_max_repeats_expl.fo
  26. 6
    6
      examples/fo/pagination/franklin_rep_max_repeats_nl.fo
  27. 11
    11
      examples/fo/region_body/simplecol2.fo
  28. 8
    8
      examples/fo/region_body/simplecol3.fo
  29. 2
    2
      examples/fo/region_body/simplecol4.fo
  30. 7
    8
      examples/fo/svg/external.fo
  31. 7
    8
      examples/fo/tables/background.fo
  32. 7
    8
      examples/fo/tables/borders.fo
  33. 7
    8
      examples/fo/tables/break.fo
  34. 7
    8
      examples/fo/tables/headfoot.fo
  35. 7
    8
      examples/fo/tables/keep.fo
  36. 7
    8
      examples/fo/tables/omit.fo
  37. 7
    8
      examples/fo/tables/space.fo
  38. 7
    8
      examples/fo/tables/widowsorphans.fo

+ 38
- 17
examples/fo/advanced/barcode.fo View File

@@ -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">

+ 8
- 2
examples/fo/advanced/cid-fonts.fo View File

@@ -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>


+ 13
- 2
examples/fo/advanced/giro.fo View File

@@ -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">

+ 26
- 16
examples/fo/basic/border.fo View File

@@ -1,27 +1,37 @@
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master
margin-right="0.5cm" margin-left="0.5cm" margin-bottom="0.5cm" margin-top="0.75cm"
page-width="21cm" page-height="29.7cm" master-name="first">
<fo:simple-page-master master-name="first"
margin-right="0.5cm"
margin-left="0.5cm"
margin-bottom="0.5cm"
margin-top="0.75cm"
page-width="21cm"
page-height="29.7cm">
<fo:region-body></fo:region-body>
</fo:simple-page-master>
<fo:simple-page-master
margin-right="2.5cm" margin-left="2.5cm" margin-bottom="2cm" margin-top="1cm"
page-width="21cm" page-height="29.7cm" master-name="rest">
<fo:simple-page-master master-name="rest"
margin-right="2.5cm"
margin-left="2.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm">
<fo:region-body></fo:region-body>
</fo:simple-page-master>

<fo:page-sequence-master master-name="psmA">
<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" />
<!-- recommended fallback procedure -->
<fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<fo:page-sequence-master master-name="psmA">
<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" />
<!-- recommended fallback procedure -->
<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="psmA">
<fo:flow flow-name="xsl-region-body">
<fo:block-container height="4cm" width="12cm" top="0cm" left="0cm" position="absolute">

+ 9
- 9
examples/fo/basic/fonts.fo View File

@@ -5,15 +5,15 @@
<!-- defines the layout master -->
<fo:layout-master-set>
<fo:simple-page-master master-name="first"
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="3cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="1.5cm"/>
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="3cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>


+ 30
- 25
examples/fo/basic/images.fo View File

@@ -5,31 +5,36 @@
xmlns:fox="http://xml.apache.org/fop/extensions">

<fo:layout-master-set>
<fo:simple-page-master master-name="right"
margin-top="75pt" margin-bottom="25pt" margin-left="100pt" margin-right="50pt">
<fo:region-body margin-bottom="50pt"/>
<fo:region-after extent="25pt"/>
</fo:simple-page-master>

<fo:simple-page-master master-name="left"
margin-top="75pt" margin-bottom="25pt" margin-left="50pt" margin-right="100pt">
<fo:region-body margin-bottom="50pt"/>
<fo:region-after extent="25pt"/>
</fo:simple-page-master>

<fo:page-sequence-master master-name="psmOddEven" >
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="right"
page-position="first" />
<fo:conditional-page-master-reference master-reference="left"
odd-or-even="even" />
<fo:conditional-page-master-reference master-reference="right"
odd-or-even="odd" />
<!-- recommended fallback procedure -->
<fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

<fo:simple-page-master master-name="right"
margin-top="75pt"
margin-bottom="25pt"
margin-left="100pt"
margin-right="50pt">
<fo:region-body margin-bottom="50pt"/>
<fo:region-after extent="25pt"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="left"
margin-top="75pt"
margin-bottom="25pt"
margin-left="50pt"
margin-right="100pt">
<fo:region-body margin-bottom="50pt"/>
<fo:region-after extent="25pt"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="psmOddEven" >
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="right"
page-position="first" />
<fo:conditional-page-master-reference master-reference="left"
odd-or-even="even" />
<fo:conditional-page-master-reference master-reference="right"
odd-or-even="odd" />
<!-- recommended fallback procedure -->
<fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>

<fo:page-sequence id="N2528" master-reference="psmOddEven">

+ 2
- 1
examples/fo/basic/link.fo View File

@@ -5,7 +5,8 @@
<!-- defines page layout -->
<fo:layout-master-set>
<fo:simple-page-master master-name="first"
page-height="29.7cm" page-width="21cm"
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"

+ 6
- 6
examples/fo/basic/normal.fo View File

@@ -22,12 +22,12 @@ Below fo:root there is always

<!-- layout for the first page -->
<fo:simple-page-master master-name="first"
page-height="21cm"
page-width="29.7cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
page-height="21cm"
page-width="29.7cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="3cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="1.5cm"/>

+ 6
- 6
examples/fo/basic/normalex.fo View File

@@ -22,12 +22,12 @@ Below fo:root there is always

<!-- layout for the first page -->
<fo:simple-page-master master-name="first"
page-height="21cm"
page-width="29.7cm"
margin-top="6.3cm - 3.8cm - 1.5cm"
margin-bottom="3cm - (.25cm * 4)"
margin-left="2.0cm + 0.5cm"
margin-right="(5cm * 1cm) div 2cm">
page-height="21cm"
page-width="29.7cm"
margin-top="6.3cm - 3.8cm - 1.5cm"
margin-bottom="3cm - (.25cm * 4)"
margin-left="2.0cm + 0.5cm"
margin-right="(5cm * 1cm) div 2cm">
<fo:region-body margin-top="3cm"/>
<fo:region-before extent="1cm + 3cm - 1cm"/>
<fo:region-after extent="2 * .5cm + .5cm"/>

+ 10
- 10
examples/fo/basic/pdfoutline.fo View File

@@ -43,16 +43,16 @@ This files shows next to the trivial usage of fo:block and fo:inline examples of
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>

<fo:page-sequence-master master-name="basicPSM" >
<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" />
<!-- recommended fallback procedure -->
<fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<fo:page-sequence-master master-name="basicPSM" >
<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" />
<!-- recommended fallback procedure -->
<fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

</fo:layout-master-set>
<!-- end: defines page layout -->

+ 3
- 3
examples/fo/footnotes/columns.fo View File

@@ -13,9 +13,9 @@
margin-bottom="1in"
margin-left="0.75in"
margin-right="0.75in">
<fo:region-body
margin-top="1in" margin-bottom="1in"
column-count="2" column-gap="0.25in"/>
<fo:region-body
margin-top="1in" margin-bottom="1in"
column-count="2" column-gap="0.25in"/>
<fo:region-before extent="1in"/>
<fo:region-after extent="1in"/>
</fo:simple-page-master>

+ 12
- 5
examples/fo/footnotes/simple.fo View File

@@ -1,12 +1,19 @@
<?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 margin-right="0.5cm" margin-left="1.5cm" margin-bottom="2cm" margin-top="0cm" page-width="21cm" page-height="20cm" master-name="one">
<fo:region-body margin-bottom="2cm" margin-top="2cm"/>
<fo:region-before extent="0.5cm"/>
<fo:region-after extent="0.5cm"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="one"
margin-right="0.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="0cm"
page-width="21cm"
page-height="20cm">
<fo:region-body margin-bottom="2cm" margin-top="2cm"/>
<fo:region-before extent="0.5cm"/>
<fo:region-after extent="0.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="one">
<fo:flow flow-name="xsl-region-body">


+ 3
- 3
examples/fo/keeps_and_breaks/columnlevel1.fo View File

@@ -14,9 +14,9 @@ This file addresses breaks in column context.
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body
margin-top="3cm" margin-bottom="2cm"
column-count="2" column-gap="0.25in"/>
<fo:region-body
margin-top="3cm" margin-bottom="2cm"
column-count="2" column-gap="0.25in"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>

+ 1
- 2
examples/fo/keeps_and_breaks/pagelevel1.fo View File

@@ -14,8 +14,7 @@ This file addresses breaks in page context.
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body
margin-top="3cm" margin-bottom="2cm"/>
<fo:region-body margin-top="3cm" margin-bottom="2cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>

+ 1
- 2
examples/fo/keeps_and_breaks/pagelevel2.fo View File

@@ -14,8 +14,7 @@ This file addresses break-after's in page context.
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body
margin-top="3cm" margin-bottom="2cm"/>
<fo:region-body margin-top="3cm" margin-bottom="2cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>

+ 7
- 8
examples/fo/keeps_and_breaks/pagelevel3.fo View File

@@ -8,14 +8,13 @@ This file addresses break-before's in page context.
<fo:layout-master-set>
<!-- layout for all pages -->
<fo:simple-page-master master-name="all"
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body
margin-top="3cm" margin-bottom="2cm"/>
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="3cm" margin-bottom="2cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>

+ 11
- 11
examples/fo/keeps_and_breaks/pagelevel4.fo View File

@@ -9,17 +9,17 @@ This file addresses breaks in page context, with a
<fo:layout-master-set>
<!-- layout for all pages -->
<fo:simple-page-master master-name="all"
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body
margin-top="3cm" margin-bottom="2cm"
column-count="2" column-gap="0.25in"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="2cm"/>
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body
margin-top="3cm" margin-bottom="2cm"
column-count="2" column-gap="0.25in"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>
</fo:layout-master-set>


+ 6
- 3
examples/fo/markers/glossary.xsl View File

@@ -10,9 +10,12 @@
<fo:layout-master-set>

<fo:simple-page-master master-name="all"
page-height="11.5in" page-width="8.5in"
margin-top="1in" margin-bottom="1in"
margin-left="0.75in" margin-right="0.75in">
page-height="11.5in"
page-width="8.5in"
margin-top="1in"
margin-bottom="1in"
margin-left="0.75in"
margin-right="0.75in">
<fo:region-body margin-top="1in" margin-bottom="0.75in"/>
<fo:region-before extent="0.75in"/>
<fo:region-after extent="0.5in"/>

+ 7
- 8
examples/fo/markers/hide.fo View File

@@ -1,14 +1,13 @@
<?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
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm">
<fo:region-before extent="1cm"/>
<fo:region-body margin-top="1cm"/>
<fo:region-after extent="1.5cm"/>

+ 2
- 2
examples/fo/pagination/allregions.fo View File

@@ -14,8 +14,8 @@
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body
margin-top="3cm" margin-bottom="1.5cm"
margin-left="2cm" margin-right="2cm"/>
margin-top="3cm" margin-bottom="1.5cm"
margin-left="2cm" margin-right="2cm"/>
<fo:region-before precedence="true" extent="3cm"/>
<fo:region-after precedence="true" extent="1.5cm"/>
<fo:region-start extent="1cm"/>

+ 4
- 4
examples/fo/pagination/franklin_2pageseqs.fo View File

@@ -7,7 +7,7 @@

<!-- layout for the first page -->
<fo:simple-page-master master-name="noheaders_center"
page-height="21.7cm"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
@@ -17,7 +17,7 @@
</fo:simple-page-master>

<fo:simple-page-master master-name="headers_right"
page-height="21.7cm"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
@@ -29,7 +29,7 @@
</fo:simple-page-master>

<fo:simple-page-master master-name="headers_left"
page-height="21.7cm"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
@@ -41,7 +41,7 @@
</fo:simple-page-master>

<fo:simple-page-master master-name="headers_center"
page-height="21.7cm"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"

+ 18
- 18
examples/fo/pagination/franklin_alt.fo View File

@@ -7,36 +7,36 @@

<!-- layout for the first page -->
<fo:simple-page-master master-name="right"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="3.5cm"
margin-right="1.5cm">
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="3.5cm"
margin-right="1.5cm">
<fo:region-body margin-top="2cm" margin-bottom="2cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>

<fo:simple-page-master master-name="left"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="1.5cm"
margin-right="3.5cm">
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="1.5cm"
margin-right="3.5cm">
<fo:region-body margin-top="2cm" margin-bottom="2cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>

<fo:simple-page-master master-name="center"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="2cm" margin-bottom="2cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="2cm"/>

+ 6
- 6
examples/fo/pagination/franklin_rep.fo View File

@@ -7,12 +7,12 @@

<!-- layout for the first page -->
<fo:simple-page-master master-name="repeating"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="2cm" margin-bottom="2cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="2cm"/>

+ 6
- 6
examples/fo/pagination/franklin_rep_max_repeats.fo View File

@@ -7,12 +7,12 @@

<!-- layout for the first page -->
<fo:simple-page-master master-name="repeating"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="2cm" margin-bottom="2cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="2cm"/>

+ 10
- 10
examples/fo/pagination/franklin_rep_max_repeats_expl.fo View File

@@ -6,16 +6,16 @@
<fo:layout-master-set>

<!-- layout for the first page -->
<fo:simple-page-master master-name="repeating"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="2cm" margin-bottom="2cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="2cm"/>
<fo:simple-page-master master-name="repeating"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="2cm" margin-bottom="2cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="2cm"/>
</fo:simple-page-master>

<fo:page-sequence-master master-name="repeating_pm">

+ 6
- 6
examples/fo/pagination/franklin_rep_max_repeats_nl.fo View File

@@ -7,12 +7,12 @@

<!-- layout for the first page -->
<fo:simple-page-master master-name="repeating"
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
page-height="21.7cm"
page-width="16cm"
margin-top="1cm"
margin-bottom="1cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="2cm" margin-bottom="2cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="2cm"/>

+ 11
- 11
examples/fo/region_body/simplecol2.fo View File

@@ -7,17 +7,17 @@

<!-- layout for the first page -->
<fo:simple-page-master master-name="only"
page-height="11in"
page-width="8.5in"
margin-top="1in"
margin-bottom="1in"
margin-left="0.75in"
margin-right="0.75in">
<fo:region-body
margin-top="1in" margin-bottom="1in"
column-count="2" column-gap="0.25in"/>
<fo:region-before extent="1in" />
<fo:region-after extent="1in" />
page-height="11in"
page-width="8.5in"
margin-top="1in"
margin-bottom="1in"
margin-left="0.75in"
margin-right="0.75in">
<fo:region-body
margin-top="1in" margin-bottom="1in"
column-count="2" column-gap="0.25in"/>
<fo:region-before extent="1in" />
<fo:region-after extent="1in" />
</fo:simple-page-master>

</fo:layout-master-set>

+ 8
- 8
examples/fo/region_body/simplecol3.fo View File

@@ -7,15 +7,15 @@

<!-- layout for the first page -->
<fo:simple-page-master master-name="only"
page-height="11in"
page-width="8.5in"
margin-top="1in"
margin-bottom="1in"
margin-left="0.75in"
margin-right="0.75in">
page-height="11in"
page-width="8.5in"
margin-top="1in"
margin-bottom="1in"
margin-left="0.75in"
margin-right="0.75in">
<fo:region-body
margin-top="1in" margin-bottom="1in"
column-count="2" column-gap="0.25in"/>
margin-top="1in" margin-bottom="1in"
column-count="2" column-gap="0.25in"/>
<fo:region-before extent="1in"/>
<fo:region-after extent="1in"/>
</fo:simple-page-master>

+ 2
- 2
examples/fo/region_body/simplecol4.fo View File

@@ -14,8 +14,8 @@
margin-left="0.75in"
margin-right="0.75in">
<fo:region-body
margin-top="1in" margin-bottom="1in"
column-count="3" column-gap="0.15in"/>
margin-top="1in" margin-bottom="1in"
column-count="3" column-gap="0.15in"/>
<fo:region-before extent="1in"/>
<fo:region-after extent="1in"/>
</fo:simple-page-master>

+ 7
- 8
examples/fo/svg/external.fo View File

@@ -1,14 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink">
<fo:layout-master-set>
<fo:simple-page-master
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm">
<fo:region-before extent="1cm"/>
<fo:region-body margin-top="1cm"/>
<fo:region-after extent="1.5cm"/>

+ 7
- 8
examples/fo/tables/background.fo View File

@@ -1,14 +1,13 @@
<?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
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm">
<fo:region-before extent="1cm"/>
<fo:region-body margin-top="1cm"/>
<fo:region-after extent="1.5cm"/>

+ 7
- 8
examples/fo/tables/borders.fo View File

@@ -1,14 +1,13 @@
<?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
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm">
<fo:region-before extent="1cm"/>
<fo:region-body margin-top="1cm"/>
<fo:region-after extent="1.5cm"/>

+ 7
- 8
examples/fo/tables/break.fo View File

@@ -1,14 +1,13 @@
<?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
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="17cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="17cm">
<fo:region-before extent="1cm"/>
<fo:region-body margin-top="1cm"/>
<fo:region-after extent="1.5cm"/>

+ 7
- 8
examples/fo/tables/headfoot.fo View File

@@ -1,14 +1,13 @@
<?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
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm">
<fo:region-before extent="7cm"/>
<fo:region-body margin-top="7cm"/>
<fo:region-after extent="1.5cm"/>

+ 7
- 8
examples/fo/tables/keep.fo View File

@@ -1,14 +1,13 @@
<?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
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="17cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="17cm">
<fo:region-before extent="1cm"/>
<fo:region-body margin-top="1cm"/>
<fo:region-after extent="1.5cm"/>

+ 7
- 8
examples/fo/tables/omit.fo View File

@@ -1,14 +1,13 @@
<?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
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm">
<fo:region-before extent="7cm"/>
<fo:region-body margin-top="7cm"/>
<fo:region-after extent="1.5cm"/>

+ 7
- 8
examples/fo/tables/space.fo View File

@@ -1,14 +1,13 @@
<?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
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm">
<fo:region-before extent="1cm"/>
<fo:region-body margin-top="1cm"/>
<fo:region-after extent="1.5cm"/>

+ 7
- 8
examples/fo/tables/widowsorphans.fo View File

@@ -1,14 +1,13 @@
<?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
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="17cm"
master-name="first">
<fo:simple-page-master master-name="first"
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="17cm">
<fo:region-before extent="1cm"/>
<fo:region-body column-count="3" margin-top="1cm"/>
<fo:region-after extent="1.5cm"/>

Loading…
Cancel
Save