remaining for content. (Karen Lease)
*** Properties
+- Changed "master-name" to "master-reference" on fo:page-sequence,
+ fo:single-page-master-reference, fo:repeatable-page-master-reference and
+ fo:conditional-page-master-reference to comply with the latest XSL recommendation.
+ Also changed the unimplemented property space-treatment to white-space-treatment and
+ updated examples to use the new syntax.
+ Submitted by: Christian Geisert [Christian.Geisert@isu-gmbh.de]
- Add support for inline-progression-dimension and table-layout. (Karen)
- Add support for letter-spacing.
Submitted by: Raymond Penners <raymond@duologix.nl>
</fox:outline>
- <fo:page-sequence master-name="A4">
+ <fo:page-sequence master-reference="A4">
<fo:flow flow-name="xsl-region-body">
<fo:wrapper font-family="Times" font-size="12pt" text-align="justify">
</fo:simple-page-master>
<fo:page-sequence-master master-name="A4">
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first" page-position="first"/>
- <fo:conditional-page-master-reference master-name="rest" page-position="rest"/>
- <fo:conditional-page-master-reference master-name="rest"/>
+ <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-name="A4">
+ <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">
<fo:table-column column-width="8in div 10 - 2in div 12"/>
<fo:block>SVG logo and bar code</fo:block>
</fo:flow>
</fo:page-sequence>
-</fo:root>
\ No newline at end of file
+</fo:root>
<fo:page-sequence-master master-name="psmA">
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
+ <fo:conditional-page-master-reference master-reference="first"
page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
+ <fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="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-name="psmA">
+ <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">
<fo:block text-align="start" line-height="18pt" font-family="sans-serif" font-weight="bold" font-size="14pt">
<fo:page-sequence-master master-name="basicPSM" >
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
+ <fo:conditional-page-master-reference master-reference="first"
page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
+ <fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="rest" />
+ <fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="basicPSM">
+ <fo:page-sequence master-reference="basicPSM">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
the attribute value of master-name refers to the page layout
which is to be used to layout the text contained in this
page-sequence-->
- <fo:page-sequence master-name="simple">
+ <fo:page-sequence master-reference="simple">
<!-- start fo:flow
each flow is targeted
<fo:page-sequence-master master-name="basicPSM" >
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
+ <fo:conditional-page-master-reference master-reference="first"
page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
+ <fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="rest" />
+ <fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="basicPSM">
+ <fo:page-sequence master-reference="basicPSM">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
<fo:region-body margin-top="50pt" margin-bottom="50pt" margin-left="100pt" margin-right="100pt"/>
</fo:simple-page-master>
</fo:layout-master-set>
-<fo:page-sequence master-name="one">
+<fo:page-sequence master-reference="one">
<fo:flow flow-name="xsl-region-body">
<fo:block>A Block</fo:block>
<fo:block text-align="end">An End Aligned Block</fo:block>
</fo:layout-master-set>
<!-- starts actual layout -->
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:flow flow-name="xsl-region-body">
the attribute value of master-name refers to the page layout
which is to be used to layout the text contained in this
page-sequence-->
- <fo:page-sequence master-name="simple">
+ <fo:page-sequence master-reference="simple">
<!-- start fo:flow
each flow is targeted
<fo:page-sequence-master master-name="psmOddEven" >
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="right"
+ <fo:conditional-page-master-reference master-reference="right"
page-position="first" />
- <fo:conditional-page-master-reference master-name="left"
+ <fo:conditional-page-master-reference master-reference="left"
odd-or-even="even" />
- <fo:conditional-page-master-reference master-name="right"
+ <fo:conditional-page-master-reference master-reference="right"
odd-or-even="odd" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="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 id="N2528" master-name="psmOddEven">
+<fo:page-sequence id="N2528" master-reference="psmOddEven">
<fo:static-content flow-name="xsl-region-after">
<fo:block text-align-last="center" font-size="10pt">
</fo:flow>
</fo:page-sequence>
-<fo:page-sequence id="N2561" master-name="psmOddEven">
+<fo:page-sequence id="N2561" master-reference="psmOddEven">
<fo:static-content flow-name="xsl-region-after">
<fo:block text-align-last="center" font-size="10pt">
<fo:page-number/></fo:block>
<fo:page-sequence-master master-name="basicPSM" >
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
+ <fo:conditional-page-master-reference master-reference="first"
page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
+ <fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="rest" />
+ <fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="basicPSM">
+ <fo:page-sequence master-reference="basicPSM">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
<fo:region-body margin-top="25pt" margin-bottom="25pt" margin-left="50pt" margin-right="50pt" />
</fo:simple-page-master>
</fo:layout-master-set>
-<fo:page-sequence master-name="one">
+<fo:page-sequence master-reference="one">
<fo:flow flow-name="xsl-region-body">
<fo:block>This is used to show how foreign objects are placed in a line area.</fo:block>
<fo:block>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:flow flow-name="xsl-region-body">
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<!-- text body -->
<fo:flow flow-name="xsl-region-body">
the attribute value of master-name refers to the page layout
which is to be used to layout the text contained in this
page-sequence-->
- <fo:page-sequence master-name="simple">
+ <fo:page-sequence master-reference="simple">
<!-- start fo:flow
each flow is targeted
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:page-sequence-master master-name="basicPSM" >
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
+ <fo:conditional-page-master-reference master-reference="first"
page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
+ <fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="rest" />
+ <fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="basicPSM">
+ <fo:page-sequence master-reference="basicPSM">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
<fo:page-sequence-master master-name="basicPSM" >
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
+ <fo:conditional-page-master-reference master-reference="first"
page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
+ <fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="rest" />
+ <fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="basicPSM">
+ <fo:page-sequence master-reference="basicPSM">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
<fo:page-sequence-master master-name="basicPSM" >
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
+ <fo:conditional-page-master-reference master-reference="first"
page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
+ <fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="rest" />
+ <fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- actual layout -->
- <fo:page-sequence master-name="basicPSM">
+ <fo:page-sequence master-reference="basicPSM">
<fo:static-content flow-name="xsl-region-before">
<fo:page-sequence-master master-name="basicPSM" >
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
+ <fo:conditional-page-master-reference master-reference="first"
page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
+ <fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="rest" />
+ <fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="basicPSM">
+ <fo:page-sequence master-reference="basicPSM">
<fo:static-content flow-name="xsl-region-before">
the attribute value of master-name refers to the page layout
which is to be used to layout the text contained in this
page-sequence-->
- <fo:page-sequence master-name="simple">
+ <fo:page-sequence master-reference="simple">
<!-- start fo:flow
each flow is targeted
</fo:layout-master-set>
<!-- starts actual layout -->
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:flow flow-name="xsl-region-body">
</fo:layout-master-set>
<!-- starts actual layout -->
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:flow flow-name="xsl-region-body">
<fo:page-sequence-master master-name="basicPSM" >
<fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
+ <fo:conditional-page-master-reference master-reference="first"
page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
+ <fo:conditional-page-master-reference master-reference="rest"
page-position="rest" />
<!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="rest" />
+ <fo:conditional-page-master-reference master-reference="rest" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="basicPSM">
+ <fo:page-sequence master-reference="basicPSM">
<fo:flow flow-name="xsl-region-body">
</fo:layout-master-set>
<!-- actual layout -->
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block font-size="16pt"
font-family="sans-serif"
</fo:flow>
</fo:page-sequence>
- <fo:page-sequence master-name="next">
+ <fo:page-sequence master-reference="next">
<fo:static-content flow-name="xsl-region-before">
<fo:block font-size="16pt"
font-family="sans-serif"
<fo:region-after extent="0.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
-<fo:page-sequence master-name="one">
+<fo:page-sequence master-reference="one">
<fo:flow flow-name="xsl-region-body">
<fo:block space-after.optimum="10pt" font-weight="bold" font-size="16pt" text-align="center">
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="all">
+ <fo:page-sequence master-reference="all">
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="10pt" text-align="start"
border-style="solid" border-color="blue" border-width="0.5pt"
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="all">
+ <fo:page-sequence master-reference="all">
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="10pt" text-align="start"
border-style="solid" border-color="blue" border-width="0.5pt">
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="all">
+ <fo:page-sequence master-reference="all">
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="10pt" text-align="start"
border-style="solid" border-color="blue" border-width="0.5pt"
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="all">
+ <fo:page-sequence master-reference="all">
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="10pt" text-align="start"
border-style="solid" border-color="blue" border-width="0.5pt"
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="all">
+ <fo:page-sequence master-reference="all">
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="10pt" text-align="start"
border-style="solid" border-color="blue" border-width="0.5pt"
</fo:layout-master-set>
- <fo:page-sequence master-name="all" format="i">
+ <fo:page-sequence master-reference="all" format="i">
<!-- header with running glossary entries -->
<fo:static-content flow-name="xsl-region-before">
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block-container height="1cm" width="15cm" top="0cm" left="0cm" position="absolute">
<fo:block>
</fo:flow>
</fo:page-sequence>
- <fo:page-sequence master-name="first" initial-page-number="1">
+ <fo:page-sequence master-reference="first" initial-page-number="1">
<fo:static-content flow-name="xsl-region-before">
<fo:block-container height="1cm" width="15cm" top="0cm" left="0cm" position="absolute"> <fo:block>
<fo:retrieve-marker retrieve-class-name="message"
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="only" initial-page-number="1">
+ <fo:page-sequence master-reference="only" initial-page-number="1">
<!-- usage of page layout -->
<!-- header -->
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="only" initial-page-number="1">
+ <fo:page-sequence master-reference="only" initial-page-number="1">
<!-- usage of page layout -->
<!-- header -->
</fo:simple-page-master>
<fo:page-sequence-master master-name="single">
- <fo:single-page-master-reference master-name="only"/>
+ <fo:single-page-master-reference master-reference="only"/>
</fo:page-sequence-master>
</fo:layout-master-set>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="single" initial-page-number="1">
+ <fo:page-sequence master-reference="single" initial-page-number="1">
<!-- usage of page layout -->
<!-- header -->
</fo:simple-page-master>
<fo:page-sequence-master master-name="run1">
- <fo:repeatable-page-master-reference master-name="noheaders_center"
+ <fo:repeatable-page-master-reference master-reference="noheaders_center"
maximum-repeats="6"/>
</fo:page-sequence-master>
<fo:page-sequence-master master-name="run2">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference
- master-name="headers_center"
+ master-reference="headers_center"
page-position="first" />
<fo:conditional-page-master-reference
- master-name="headers_right"
+ master-reference="headers_right"
odd-or-even="odd" />
<fo:conditional-page-master-reference
- master-name="headers_left"
+ master-reference="headers_left"
odd-or-even="even" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="run1" initial-page-number="1">
+ <fo:page-sequence master-reference="run1" initial-page-number="1">
<fo:flow flow-name="xsl-region-body">
</fo:flow>
</fo:page-sequence>
- <fo:page-sequence master-name="run2" initial-page-number="7">
+ <fo:page-sequence master-reference="run2" initial-page-number="7">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
<fo:page-sequence-master master-name="alternating">
<fo:repeatable-page-master-alternatives maximum-repeats="no-limit">
- <fo:conditional-page-master-reference master-name="right"
+ <fo:conditional-page-master-reference master-reference="right"
odd-or-even="odd" />
- <fo:conditional-page-master-reference master-name="left"
+ <fo:conditional-page-master-reference master-reference="left"
odd-or-even="even" />
- <fo:conditional-page-master-reference master-name="center"/>
+ <fo:conditional-page-master-reference master-reference="center"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="alternating" initial-page-number="1">
+ <fo:page-sequence master-reference="alternating" initial-page-number="1">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
</fo:simple-page-master>
<fo:page-sequence-master master-name="repeating_pm">
- <fo:repeatable-page-master-reference master-name="repeating"/>
+ <fo:repeatable-page-master-reference master-reference="repeating"/>
</fo:page-sequence-master>
</fo:layout-master-set>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="repeating_pm" initial-page-number="1">
+ <fo:page-sequence master-reference="repeating_pm" initial-page-number="1">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
</fo:simple-page-master>
<fo:page-sequence-master master-name="repeating_pm">
- <fo:repeatable-page-master-reference master-name="repeating"
+ <fo:repeatable-page-master-reference master-reference="repeating"
maximum-repeats="15"/>
- <fo:single-page-master-reference master-name="repeating"/>
+ <fo:single-page-master-reference master-reference="repeating"/>
</fo:page-sequence-master>
</fo:layout-master-set>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="repeating_pm" initial-page-number="1">
+ <fo:page-sequence master-reference="repeating_pm" initial-page-number="1">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
</fo:simple-page-master>
<fo:page-sequence-master master-name="repeating_pm">
- <fo:repeatable-page-master-reference master-name="repeating"
+ <fo:repeatable-page-master-reference master-reference="repeating"
maximum-repeats="15"/>
- <fo:single-page-master-reference master-name="repeating"/>
+ <fo:single-page-master-reference master-reference="repeating"/>
</fo:page-sequence-master>
</fo:layout-master-set>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="repeating_pm" initial-page-number="1">
+ <fo:page-sequence master-reference="repeating_pm" initial-page-number="1">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
</fo:simple-page-master>
<fo:page-sequence-master master-name="repeating_pm">
- <fo:repeatable-page-master-reference master-name="repeating"
+ <fo:repeatable-page-master-reference master-reference="repeating"
maximum-repeats="no-limit"/>
- <fo:single-page-master-reference master-name="repeating"/>
+ <fo:single-page-master-reference master-reference="repeating"/>
</fo:page-sequence-master>
</fo:layout-master-set>
<!-- end: defines page layout -->
<!-- actual layout -->
- <fo:page-sequence master-name="repeating_pm" initial-page-number="1">
+ <fo:page-sequence master-reference="repeating_pm" initial-page-number="1">
<!-- header -->
<fo:static-content flow-name="xsl-region-before">
</fo:layout-master-set>
<!-- actual layout -->
- <fo:page-sequence master-name="only">
+ <fo:page-sequence master-reference="only">
<fo:static-content flow-name="xsl-region-before">
<fo:block font-size="16pt"
font-family="sans-serif"
</fo:layout-master-set>
<!-- actual layout -->
- <fo:page-sequence master-name="only" >
+ <fo:page-sequence master-reference="only" >
<fo:static-content flow-name="xsl-region-before" >
<fo:block font-size="16pt"
font-family="sans-serif"
</fo:layout-master-set>
<!-- actual layout -->
- <fo:page-sequence master-name="only">
+ <fo:page-sequence master-reference="only">
<fo:static-content flow-name="xsl-region-before">
<fo:block font-size="16pt"
font-family="sans-serif"
</fo:layout-master-set>
<!-- actual layout -->
- <fo:page-sequence master-name="only">
+ <fo:page-sequence master-reference="only">
<fo:static-content flow-name="xsl-region-before">
<fo:block font-size="16pt"
font-family="sans-serif"
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">Embedding SVG examples</fo:block>
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">External SVG examples</fo:block>
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">table examples</fo:block>
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">table examples</fo:block>
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">table examples</fo:block>
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">table examples</fo:block>
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">table examples</fo:block>
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">table examples</fo:block>
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">table examples</fo:block>
</fo:simple-page-master>
</fo:layout-master-set>
- <fo:page-sequence master-name="first">
+ <fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="14pt" font-size="10pt"
text-align="end">table examples</fo:block>
<default>treat-as-space</default>
</property>
<property>
- <name>space-treatment</name>
+ <name>white-space-treatment</name>
<inherited>true</inherited>
<datatype>ToBeImplemented</datatype>
<default>preserve</default>
<datatype>String</datatype>
<default></default>
</property>
+ <property>
+ <name>master-reference</name>
+ <inherited>false</inherited>
+ <datatype>String</datatype>
+ <default></default>
+ </property>
<property>
<name>maximum-repeats</name>
<inherited>false</inherited>
/**
* * NOT YET IMPLEMENTED!!!
- * functionTable.put("icc-color", new ICCcolorFunction());
+ * functionTable.put("rgb-icc", new RgbICCFunction());
* functionTable.put("system-color", new SystemColorFunction());
* functionTable.put("system-font", new SystemFontFunction());
*
// this.properties.get("line-height-shift-adjustment");
// this.properties.get("line-stacking-strategy");
// this.properties.get("orphans");
- // this.properties.get("space-treatment");
+ // this.properties.get("white-space-treatment");
// this.properties.get("span");
// this.properties.get("text-align");
// this.properties.get("text-align-last");
super(parent, propertyList);
this.name = getElementName();
- if (getProperty("master-name") != null) {
- setMasterName(getProperty("master-name").getString());
+ if (getProperty("master-reference") != null) {
+ setMasterName(getProperty("master-reference").getString());
}
validateParent(parent);
}
/**
- * Returns the "master-name" attribute of this page master reference
+ * Returns the "master-reference" attribute of this page master reference
*/
public String getMasterName() {
return masterName;
if (getMasterName() == null) {
log.warn("single-page-master-reference"
- + "does not have a master-name and so is being ignored");
+ + "does not have a master-reference and so is being ignored");
} else {
this.repeatablePageMasterAlternatives.addConditionalPageMasterReference(this);
}
/**
* Base PageMasterReference class. Provides implementation for handling the
- * master-name attribute and containment within a PageSequenceMaster
+ * master-reference attribute and containment within a PageSequenceMaster
*/
public abstract class PageMasterReference extends FObj
implements SubSequenceSpecifier {
throws FOPException {
super(parent, propertyList);
this.name = getElementName();
- if (getProperty("master-name") != null) {
- setMasterName(getProperty("master-name").getString());
+ if (getProperty("master-reference") != null) {
+ setMasterName(getProperty("master-reference").getString());
}
validateParent(parent);
}
/**
- * Returns the "master-name" attribute of this page master reference
+ * Returns the "master-reference" attribute of this page master reference
*/
public String getMasterName() {
return _masterName;
if (getMasterName() == null) {
log.warn("" + getElementName()
- + " does not have a master-name and so is being ignored");
+ + " does not have a master-reference and so is being ignored");
} else {
_pageSequenceMaster.addSubsequenceSpecifier(this);
}
private Hashtable _flowMap;
/**
- * the "master-name" attribute
+ * the "master-reference" attribute,
+ * which specifies the name of the page-sequence-master or
+ * page-master to be used to create pages in the sequence
*/
private String masterName;
}
}
- masterName = this.properties.get("master-name").getString();
+ masterName = this.properties.get("master-reference").getString();
// get the 'format' properties
this.pageNumberGenerator =
SimplePageMaster simpleMaster =
this.layoutMasterSet.getSimplePageMaster(pageSequenceName);
if (simpleMaster == null) {
- throw new FOPException("'master-name' for 'fo:page-sequence'"
+ throw new FOPException("'master-reference' for 'fo:page-sequence'"
+ "matches no 'simple-page-master' or 'page-sequence-master'");
}
currentPageMasterName = pageSequenceName;
spaceWidth = getCharWidth(c);
/*
- * here is the place for space-treatment value 'ignore':
+ * here is the place for white-space-treatment value 'ignore':
* if (this.spaceTreatment ==
* SpaceTreatment.IGNORE) {
* // do nothing