jeremias 2003/01/29 08:07:57
Added: examples/fo .cvsignore build.xml runtests.bat runtests.sh
examples/fo/advanced K3.TTF K3.xml bar.conf.xml barcode.fo
cid-fonts.fo cid-fonts.pdf giro.fo
examples/fo/basic alignment.fo blockcontainer.fo border.fo
bordershorthand.fo character.fo corresprop.fo
extensive.fo fonts.fo hyphen.fo images.fo
inhprop.fo instream.fo leader.fo link.fo list.fo
newlinktest.fo normal.fo normalex.fo pdfoutline.fo
readme.fo simple.fo table.fo tableunits.fo
textdeko.fo
examples/fo/footnotes columns.fo simple.fo
examples/fo/graphics fop.jpg linux.bmp listgeometry.gif
page.gif xml_feather.gif
xml_feather_transparent.gif
examples/fo/keeps_and_breaks columnlevel1.fo pagelevel1.fo
pagelevel2.fo pagelevel3.fo pagelevel4.fo
examples/fo/markers glossary.xml glossary.xsl hide.fo
examples/fo/pagination allregions.fo basic1.fo basic2.fo
franklin_2pageseqs.fo franklin_alt.fo
franklin_rep.fo franklin_rep_max_repeats.fo
franklin_rep_max_repeats_expl.fo
franklin_rep_max_repeats_nl.fo
examples/fo/region_body simplecol.fo simplecol2.fo
simplecol3.fo simplecol4.fo
examples/fo/svg boxes.svg embedding.fo external.fo multi.svg
ref.svg view.svg
examples/fo/tables background.fo borders.fo break.fo
headfoot.fo keep.fo omit.fo space.fo
widowsorphans.fo
Log:
Move over from docs/examples
Revision Changes Path
1.2 +2 -0 xml-fop/examples/fo/.cvsignore
1.2 +134 -0 xml-fop/examples/fo/build.xml
1.2 +33 -0 xml-fop/examples/fo/runtests.bat
1.2 +30 -0 xml-fop/examples/fo/runtests.sh
1.1 xml-fop/examples/fo/advanced/K3.TTF
<<Binary file>>
1.1 xml-fop/examples/fo/advanced/K3.xml
Index: K3.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!--
Note: this file created using TTFReader
-->
<font-metrics
type="TYPE0"><font-name>New</font-name><embed/><cap-height>0</cap-height><x-height>0</x-height><ascender>390</ascender><descender>0</descender><bbox><left>0</left><bottom>0</bottom><right>219</right><top>390</top></bbox><flags>33</flags><stemv>0</stemv><italicangle>0</italicangle><subtype>TYPE0</subtype><multibyte-extras><cid-type>CIDFontType2</cid-type><default-width>0</default-width><bfranges><bf
gi="47" ue="32" us="32"/><bf gi="45" ue="36" us="36"/><bf gi="43" ue="37"
us="37"/><bf gi="40" ue="42" us="42"/><bf gi="42" ue="43" us="43"/><bf gi="0" ue="44"
us="44"/><bf gi="41" ue="45" us="45"/><bf gi="46" ue="46" us="46"/><bf gi="44" ue="47"
us="47"/><bf gi="5" ue="50" us="48"/><bf gi="9" ue="56" us="51"/><bf gi="8" ue="57"
us="57"/><bf gi="15" ue="83" us="65"/><bf gi="4" ue="84" us="84"/><bf gi="34" ue="90"
us="85"/><bf gi="0" ue="65535" us="65535"/></bfranges><cid-widths start-index="0"><wx
w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx
w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx
w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx
w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx
w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx
w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx
w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx
w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx w="156"/><wx
w="156"/></cid-widths></multibyte-extras></font-metrics>
1.1 xml-fop/examples/fo/advanced/bar.conf.xml
Index: bar.conf.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- TODO: use proper config -->
<configuration>
<fonts>
<font metrics-file="K3.xml" kerning="yes" embed-file="K3.TTF">
<font-triplet name="Barcode" style="normal" weight="normal"/>
</font>
</fonts>
</configuration>
1.1 xml-fop/examples/fo/advanced/barcode.fo
Index: barcode.fo
===================================================================
<?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:flow flow-name="xsl-region-body">
<fo:block font-size="14pt" font-weight="bold">
Example embedding Font
</fo:block>
<fo:block font-size="14pt" font-weight="bold">
This example shows how to use an embedded font and
uses a free barcode font as an example. The barcode font is from
<fo:basic-link
external-destination="http://www.geocities.com/keith_dimmock/">http://www.geocities.com/keith_dimmock/</fo:basic-link>
and is free.
</fo:block>
<fo:block font-family="Barcode" font-size="74pt" line-height="76pt"
space-before.optimum="6mm">
*ID123456*
</fo:block>
<fo:block font-family="Barcode" font-size="74pt" line-height="76pt"
space-before.optimum="6mm">
normal text
</fo:block>
<fo:block font-family="Barcode, Helvetica" font-size="74pt" line-height="76pt"
space-before.optimum="6mm">
*ID123456* normal text
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
1.2 +450 -0 xml-fop/examples/fo/advanced/cid-fonts.fo
1.2 +561 -0 xml-fop/examples/fo/advanced/cid-fonts.pdf
<<Binary file>>
1.2 +1244 -0 xml-fop/examples/fo/advanced/giro.fo
1.1 xml-fop/examples/fo/basic/alignment.fo
Index: alignment.fo
===================================================================
<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="one">
<fo:region-body margin-top="25pt" margin-bottom="25pt" margin-left="20pt"
margin-right="20pt" />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="one">
<fo:flow flow-name="xsl-region-body">
<fo:block><fo:inline font-weight="bold">Ex 1:</fo:inline> This
is a longer line of text that provides a context for the line with the images
aligned on it.
This is a line with before-edge
<fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="22"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 17l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="50">
<svg:rect x="0" y="0" width="25" height="50" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="47"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 42l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object>, after-edge<fo:instream-foreign-object
vertical-align="bottom">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="25"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="bottom">
<svg:svg width="25" height="40">
<svg:rect x="0" y="0" width="25" height="40" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="40"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object>, middle<fo:instream-foreign-object
vertical-align="middle">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="3" x2="12.5" y2="22"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 17l7.5 8l7.5 -8z" style="fill:black"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object>, and no<fo:instream-foreign-object>
<svg:svg width="25" height="40">
<svg:rect x="0" y="0" width="25" height="40" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="40"
style="stroke:black;stroke-width:1.5"/>
</svg:svg>
</fo:instream-foreign-object> alignment.
And this is the line of text that follows the line with the aligned objects on it.
And finally, this line illustrates the normal spacing between lines of text in this
font.
</fo:block>
<fo:block space-after="15pt"><fo:leader leader-pattern="rule"/></fo:block>
<fo:block><fo:inline font-weight="bold">Ex 2:</fo:inline> This
is a longer line of text that provides a context for the line with the images
aligned on it.
This is a line with before-edge
<fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="22"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 17l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="50">
<svg:rect x="0" y="0" width="25" height="50" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="47"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 42l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object>, after-edge<fo:instream-foreign-object
vertical-align="bottom">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="25"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="bottom">
<svg:svg width="25" height="40">
<svg:rect x="0" y="0" width="25" height="40" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="40"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object>, middle<fo:instream-foreign-object
vertical-align="middle">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="3" x2="12.5" y2="22"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 17l7.5 8l7.5 -8z" style="fill:black"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object> alignment.
And this is the line of text that follows the line with the aligned objects on it.
And finally, this line illustrates the normal spacing between lines of text in this
font.
</fo:block>
<fo:block space-after="15pt"><fo:leader leader-pattern="rule"/></fo:block>
<fo:block><fo:inline font-weight="bold">Ex 3:</fo:inline> This
is a longer line of text that provides a context for the line with the images
aligned on it.
This is a line with before-edge
<fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="22"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 17l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="50">
<svg:rect x="0" y="0" width="25" height="50" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="47"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 42l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object>, after-edge<fo:instream-foreign-object
vertical-align="bottom">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="25"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="bottom">
<svg:svg width="25" height="40">
<svg:rect x="0" y="0" width="25" height="40" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="40"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object> alignment.
And this is the line of text that follows the line with the aligned objects on it.
And finally, this line illustrates the normal spacing between lines of text in this
font.
</fo:block>
<fo:block space-after="15pt"><fo:leader leader-pattern="rule"/></fo:block>
<fo:block><fo:inline font-weight="bold">Ex 4:</fo:inline> This
is a longer line of text that provides a context for the line with the images
aligned on it.
This is a line with before-edge
<fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="22"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 17l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="40">
<svg:rect x="0" y="0" width="25" height="40" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="37"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 32l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object>, after-edge<fo:instream-foreign-object
vertical-align="bottom">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="25"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="bottom">
<svg:svg width="25" height="50">
<svg:rect x="0" y="0" width="25" height="50" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="50"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object> alignment.
And this is the line of text that follows the line with the aligned objects on it.
And finally, this line illustrates the normal spacing between lines of text in this
font.
</fo:block>
<fo:block space-after="15pt"><fo:leader leader-pattern="rule"/></fo:block>
<fo:block><fo:inline font-weight="bold">Ex 5:</fo:inline> This
is a longer line of text that provides a context for the line with the images
aligned on it.
This is a line with before-edge
<fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="22"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 17l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="top">
<svg:svg width="25" height="40">
<svg:rect x="0" y="0" width="25" height="40" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="0" x2="12.5" y2="37"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 32l7.5 8l7.5 -8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object>, after-edge<fo:instream-foreign-object
vertical-align="bottom">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="25"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object><fo:instream-foreign-object vertical-align="bottom">
<svg:svg width="25" height="50">
<svg:rect x="0" y="0" width="25" height="50" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="2" x2="12.5" y2="50"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object>, middle<fo:instream-foreign-object
vertical-align="middle">
<svg:svg width="25" height="25">
<svg:rect x="0" y="0" width="25" height="25" style="fill:none;stroke:#000000"/>
<svg:line x1="12.5" y1="3" x2="12.5" y2="22"
style="stroke:black;stroke-width:1.5"/>
<svg:path d="M5 17l7.5 8l7.5 -8z" style="fill:black"/>
<svg:path d="M5 8l7.5 -8l7.5 8z" style="fill:black"/>
</svg:svg>
</fo:instream-foreign-object> alignment.
And this is the line of text that follows the line with the aligned objects on it.
And finally, this line illustrates the normal spacing between lines of text in this
font.
</fo:block>
<fo:block space-after="15pt"><fo:leader leader-pattern="rule"/></fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
1.1 xml-fop/examples/fo/basic/blockcontainer.fo
Index: blockcontainer.fo
===================================================================
<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="one">
<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-reference="one">
<fo:flow flow-name="xsl-region-body">
<fo:block text-align="center" font-size="16pt" font-weight="bold">
Block Containers
</fo:block>
<fo:block>
The fo:block-container object can be used to create an area with
a different writing mode or a different reference orientation.
The areas can be part of the flow or absolutely positioned.
</fo:block>
<fo:block>
This is a normal block container within the flow layout.
<fo:block-container>
<fo:block>
BC:A
</fo:block>
</fo:block-container>
</fo:block>
<fo:block>
This block container has a different reference orientation.
<fo:block-container reference-orientation="90"
inline-progression-dimension="100pt">
<fo:block>
BC:B
</fo:block>
<fo:block>
The areas are stacked normally but the orientation of the
area is rotated 90 degrees anti-clockwise.
</fo:block>
<fo:block>
The blocks continue until exhausted as the layout
height of this container is fixed in the parent
block progression dimension. The clipping of the result
is determined by the overflow property. The block
progression dimension of this container is effectively
infinite.
</fo:block>
</fo:block-container>
</fo:block>
<fo:block>
This block container has a different reference orientation.
<fo:block-container reference-orientation="270"
inline-progression-dimension="100pt">
<fo:block>
BC:B II
</fo:block>
<fo:block>
The areas are stacked normally but the orientation of the
area is rotated 90 degrees clockwise.
</fo:block>
<fo:block>
The blocks continue until exhausted as the layout
height of this container is fixed in the parent
block progression dimension. The clipping of the result
is determined by the overflow property.
</fo:block>
</fo:block-container>
</fo:block>
<fo:block>
This block container has a different reference orientation.
<fo:block-container reference-orientation="180"
inline-progression-dimension="100pt">
<fo:block>
BC:B III
</fo:block>
<fo:block>
The areas are stacked normally but the orientation of the
area is rotated 180 degrees clockwise.
</fo:block>
<fo:block>
This block container behaves as part of the flow except
the contents are drawn rotated within the viewport by
180 degrees.
</fo:block>
</fo:block-container>
</fo:block>
<fo:block>
different writing mode
<fo:block-container writing-mode="rl">
<fo:block>
BC:C
</fo:block>
<fo:block>
The areas in this block are stacked according to the rl (tb)
writing mode.
</fo:block>
</fo:block-container>
</fo:block>
<fo:block>
The next block-container has an absolute position. It does
not effect the flow layout of other blocks.
<fo:block-container absolute-position="absolute"
left="20pt" top="400pt" right="220pt" bottom="550pt">
<fo:block>
BC:D
</fo:block>
<fo:block>
This is a normal block that is confined to the
block container.
</fo:block>
</fo:block-container>
</fo:block>
<fo:block>
The next block-container has an absolute position. It does
not effect the flow layout of other blocks. This time with
the reference-orientation set.
<fo:block-container reference-orientation="270" absolute-position="absolute"
left="270pt" top="400pt" right="370pt" bottom="500pt">
<fo:block>
BC:E
</fo:block>
<fo:block>
This is a normal block that is confined to the
block container.
</fo:block>
</fo:block-container>
</fo:block>
<fo:block break-after="page">
End of page.
</fo:block>
<fo:block>
The next block-container tests the clipping.
<fo:block-container reference-orientation="180" absolute-position="absolute"
left="100pt" top="550pt" right="200pt" bottom="700pt"
overflow="hidden">
<fo:block>
BC:F
</fo:block>
<fo:block>
This is a normal block that is confined to the
block container. It also has contents that are
larger than the block-container so that this text
will be clipped to the viewport.
</fo:block>
</fo:block-container>
</fo:block>
<fo:block>
The next block-container tests error-if-overflow.
<fo:block-container reference-orientation="90" absolute-position="absolute"
left="220pt" top="600pt" right="320pt" bottom="700pt"
overflow="error-if-overflow">
<fo:block>
BC:G
</fo:block>
<fo:block>
This is a normal block that is confined to the
block container. It also has contents that are
larger than the block-container so that this text
will be clipped to the viewport.
</fo:block>
</fo:block-container>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
1.2 +189 -0 xml-fop/examples/fo/basic/border.fo
1.2 +169 -0 xml-fop/examples/fo/basic/bordershorthand.fo
1.2 +105 -0 xml-fop/examples/fo/basic/character.fo
1.2 +237 -0 xml-fop/examples/fo/basic/corresprop.fo
1.2 +148 -0 xml-fop/examples/fo/basic/extensive.fo
1.2 +195 -0 xml-fop/examples/fo/basic/fonts.fo
1.2 +428 -0 xml-fop/examples/fo/basic/hyphen.fo
1.2 +83 -0 xml-fop/examples/fo/basic/images.fo
1.2 +175 -0 xml-fop/examples/fo/basic/inhprop.fo
1.2 +114 -0 xml-fop/examples/fo/basic/instream.fo
1.2 +786 -0 xml-fop/examples/fo/basic/leader.fo
1.2 +145 -0 xml-fop/examples/fo/basic/link.fo
1.2 +2690 -0 xml-fop/examples/fo/basic/list.fo
1.2 +148 -0 xml-fop/examples/fo/basic/newlinktest.fo
1.2 +149 -0 xml-fop/examples/fo/basic/normal.fo
1.2 +149 -0 xml-fop/examples/fo/basic/normalex.fo
1.2 +1413 -0 xml-fop/examples/fo/basic/pdfoutline.fo
1.2 +1341 -0 xml-fop/examples/fo/basic/readme.fo
1.2 +99 -0 xml-fop/examples/fo/basic/simple.fo
1.2 +504 -0 xml-fop/examples/fo/basic/table.fo
1.2 +221 -0 xml-fop/examples/fo/basic/tableunits.fo
1.2 +252 -0 xml-fop/examples/fo/basic/textdeko.fo
1.2 +249 -0 xml-fop/examples/fo/footnotes/columns.fo
1.2 +115 -0 xml-fop/examples/fo/footnotes/simple.fo
1.2 +5 -0 xml-fop/examples/fo/graphics/fop.jpg
<<Binary file>>
1.2 +1 -0 xml-fop/examples/fo/graphics/linux.bmp
<<Binary file>>
1.2 +38 -0 xml-fop/examples/fo/graphics/listgeometry.gif
<<Binary file>>
1.2 +27 -0 xml-fop/examples/fo/graphics/page.gif
<<Binary file>>
1.2 +34 -0 xml-fop/examples/fo/graphics/xml_feather.gif
<<Binary file>>
1.2 +34 -0 xml-fop/examples/fo/graphics/xml_feather_transparent.gif
<<Binary file>>
1.2 +289 -0 xml-fop/examples/fo/keeps_and_breaks/columnlevel1.fo
1.2 +138 -0 xml-fop/examples/fo/keeps_and_breaks/pagelevel1.fo
1.2 +293 -0 xml-fop/examples/fo/keeps_and_breaks/pagelevel2.fo
1.2 +289 -0 xml-fop/examples/fo/keeps_and_breaks/pagelevel3.fo
1.2 +291 -0 xml-fop/examples/fo/keeps_and_breaks/pagelevel4.fo
1.2 +314 -0 xml-fop/examples/fo/markers/glossary.xml
1.2 +75 -0 xml-fop/examples/fo/markers/glossary.xsl
1.2 +140 -0 xml-fop/examples/fo/markers/hide.fo
1.2 +132 -0 xml-fop/examples/fo/pagination/allregions.fo
1.2 +112 -0 xml-fop/examples/fo/pagination/basic1.fo
1.2 +115 -0 xml-fop/examples/fo/pagination/basic2.fo
1.2 +1078 -0 xml-fop/examples/fo/pagination/franklin_2pageseqs.fo
1.2 +1053 -0 xml-fop/examples/fo/pagination/franklin_alt.fo
1.2 +1022 -0 xml-fop/examples/fo/pagination/franklin_rep.fo
1.2 +1024 -0 xml-fop/examples/fo/pagination/franklin_rep_max_repeats.fo
1.2 +1024 -0 xml-fop/examples/fo/pagination/franklin_rep_max_repeats_expl.fo
1.2 +1024 -0 xml-fop/examples/fo/pagination/franklin_rep_max_repeats_nl.fo
1.2 +151 -0 xml-fop/examples/fo/region_body/simplecol.fo
1.2 +183 -0 xml-fop/examples/fo/region_body/simplecol2.fo
1.2 +197 -0 xml-fop/examples/fo/region_body/simplecol3.fo
1.2 +197 -0 xml-fop/examples/fo/region_body/simplecol4.fo
1.2 +11 -0 xml-fop/examples/fo/svg/boxes.svg
1.2 +1082 -0 xml-fop/examples/fo/svg/embedding.fo
1.2 +132 -0 xml-fop/examples/fo/svg/external.fo
1.2 +14 -0 xml-fop/examples/fo/svg/multi.svg
1.2 +10 -0 xml-fop/examples/fo/svg/ref.svg
1.2 +11 -0 xml-fop/examples/fo/svg/view.svg
1.2 +789 -0 xml-fop/examples/fo/tables/background.fo
1.2 +1023 -0 xml-fop/examples/fo/tables/borders.fo
1.2 +322 -0 xml-fop/examples/fo/tables/break.fo
1.2 +1432 -0 xml-fop/examples/fo/tables/headfoot.fo
1.2 +590 -0 xml-fop/examples/fo/tables/keep.fo
1.2 +1265 -0 xml-fop/examples/fo/tables/omit.fo
1.2 +532 -0 xml-fop/examples/fo/tables/space.fo
1.2 +522 -0 xml-fop/examples/fo/tables/widowsorphans.fo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]