<fo:page-sequence master-name="first">
<!-- Inserts a header with the page number -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt">
XSL-FO Example: simple list - p. <fo:page-number/>
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- title -->
<fo:block font-size="14pt"
<fo:page-sequence master-name="first">
<!-- Inserts a header with the page number -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt">
XSL-FO Example: simple list - p. <fo:page-number/>
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- title -->
<fo:block font-size="14pt"
<fo:page-sequence master-name="first">
<!-- Inserts a header with the page number -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt">
XSL-FO Example: simple list - p. <fo:page-number/>
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- title -->
<fo:block font-size="14pt"
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="one">
-<fo:flow>
+<fo:flow flow-name="xsl-region-body">
<svg:svg xml:space="preserve" width="570.129" height="754.902">
<svg:g id="Layer_x0020_1">
<svg:path style="fill-rule:nonzero;fill:#0086B3;stroke:#000000;stroke-width:2.8346;stroke-miterlimit:4;" d="M568.712,753.485H1.417V1.417h567.295v752.068z"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="one">
-<fo:flow>
+<fo:flow flow-name="xsl-region-body">
<svg:svg width="500" height="400">
<svg:defs>
<svg:linearGradient id="myGradient" x1="0" y1="200" x2="500" y2="350">
<!-- =========================================================================== -->
-<project default="runtest" basedir=".">
+<project default="creating new test pdf files" basedir=".">
<!-- =================================================================== -->
<!-- Initialization target -->
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-name="psmA">
- <fo:flow flow-name="xsl-body">
+ <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">
PX7.net
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="one">
-<fo:flow>
+<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:block text-align="center">A Centered Block</fo:block>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-name="firstAndRest">
-<fo:flow flow-name="xsl-body">
+<fo:flow flow-name="xsl-region-body">
<fo:block font-family="Helvetica" font-size="14pt">
Helvetica
<fo:page-sequence id="N2528" master-name="psmOddEven">
-<fo:static-content flow-name="xsl-after">
+<fo:static-content flow-name="xsl-region-after">
<fo:block text-align-last="center" font-size="10pt">
<fo:page-number/>
</fo:block>
</fo:static-content>
-<fo:flow>
+<fo:flow flow-name="xsl-region-body">
<fo:block font-size="18pt" font-weight="bold">1. FOP test for images</fo:block><fo:block id="N2531">
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A GIF image in FOP</fo:block><fo:block><fo:external-graphic src="file:../graphics/xml_feather.gif"/>
</fo:block></fo:block><fo:block id="N2545"><fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A JPEG image in FOP</fo:block><fo:block><fo:external-graphic src="file:../graphics/fop.jpg"/></fo:block></fo:block><fo:block id="N2559"><fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em"/>
</fo:page-sequence>
<fo:page-sequence id="N2561" master-name="psmOddEven">
-<fo:static-content flow-name="xsl-after">
-<fo:block text-align-last="center" font-size="10pt"><fo:page-number/></fo:block></fo:static-content><fo:flow><fo:block font-size="18pt" font-weight="bold">A. Appendix</fo:block></fo:flow></fo:page-sequence></fo:root>
+<fo:static-content flow-name="xsl-region-after">
+<fo:block text-align-last="center" font-size="10pt">
+<fo:page-number/></fo:block>
+</fo:static-content>
+<fo:flow flow-name="xsl-region-body">
+<fo:block font-size="18pt" font-weight="bold">A. Appendix</fo:block></fo:flow>
+</fo:page-sequence>
+</fo:root>
<fo:page-sequence master-name="first">
<!-- text body -->
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- Normal text -->
<fo:block text-align="center">0. Normal text without link
<fo:page-sequence master-name="first">
<!-- Inserts a header with the page number -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt">
XSL-FO Example: simple list - p. <fo:page-number/>
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- title -->
<fo:block font-size="14pt"
<fo:page-sequence master-name="basicPSM">
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end"
font-size="10pt"
font-family="serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines text title level 1-->
<fo:block font-size="18pt"
<fo:page-sequence master-name="basicPSM">
-<fo:static-content flow-name="xsl-before">
+<fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt" color="red" >
This is not the latest Fop documentation, but just an fo example. FOP - p. <fo:page-number/>
</fo:block>
</fo:static-content>
-<fo:flow flow-name="xsl-body">
+<fo:flow flow-name="xsl-region-body">
<fo:block font-size="18pt" font-family="sans-serif" line-height="24pt" space-after.optimum="15pt" background-color="blue" color="white" text-align="center" padding-top="3pt">FOP: An Open-Source XSL Formatter and Renderer</fo:block>
<fo:block id="sec1" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >A)
What is FOP?</fo:block>
<fo:page-sequence master-name="first">
<!-- Inserts a header with the page number -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt">
FOP - p. <fo:page-number/>
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<fo:block font-size="10pt" font-family="sans-serif" line-height="10pt" space-after.optimum="3pt" font-weight="bold" start-indent="15pt">
Content
<!-- usage of page layout -->
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end"
font-size="10pt"
font-family="serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines text title level 1-->
<fo:block font-size="18pt"
<!-- usage of page layout -->
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end"
font-size="10pt"
font-family="serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines text title level 1-->
<fo:block font-size="18pt"
<!-- actual layout -->
<fo:page-sequence master-name="run1" initial-page-number="1">
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines local TOC -->
<fo:block font-size="10pt"
<fo:page-sequence master-name="run2" initial-page-number="7">
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="start" font-size="10pt"
font-family="sans-serif"
line-height="10pt" >
</fo:block>
</fo:static-content>
- <fo:static-content flow-name="xsl-after">
+ <fo:static-content flow-name="xsl-region-after">
<fo:block text-align="end"
font-size="10pt"
font-family="sans-serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- Normal text -->
<fo:block font-size="11pt"
<fo:page-sequence master-name="alternating" initial-page-number="1">
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="start" font-size="10pt"
font-family="sans-serif"
line-height="10pt" >
</fo:block>
</fo:static-content>
- <fo:static-content flow-name="xsl-after">
+ <fo:static-content flow-name="xsl-region-after">
<fo:block text-align="end"
font-size="10pt"
font-family="sans-serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines local TOC -->
<fo:block font-size="10pt"
<fo:page-sequence master-name="repeating_pm" initial-page-number="1">
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="start" font-size="10pt"
font-family="sans-serif"
line-height="10pt" >
</fo:block>
</fo:static-content>
- <fo:static-content flow-name="xsl-after">
+ <fo:static-content flow-name="xsl-region-after">
<fo:block text-align="end"
font-size="10pt"
font-family="sans-serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines local TOC -->
<fo:block font-size="10pt"
<fo:page-sequence master-name="repeating_pm" initial-page-number="1">
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="start" font-size="10pt"
font-family="sans-serif"
line-height="10pt" >
</fo:block>
</fo:static-content>
- <fo:static-content flow-name="xsl-after">
+ <fo:static-content flow-name="xsl-region-after">
<fo:block text-align="end"
font-size="10pt"
font-family="sans-serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines local TOC -->
<fo:block font-size="10pt"
<fo:page-sequence master-name="repeating_pm" initial-page-number="1">
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="start" font-size="10pt"
font-family="sans-serif"
line-height="10pt" >
</fo:block>
</fo:static-content>
- <fo:static-content flow-name="xsl-after">
+ <fo:static-content flow-name="xsl-region-after">
<fo:block text-align="end"
font-size="10pt"
font-family="sans-serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines local TOC -->
<fo:block font-size="10pt"
<fo:page-sequence master-name="repeating_pm" initial-page-number="1">
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="start" font-size="10pt"
font-family="sans-serif"
line-height="10pt" >
</fo:block>
</fo:static-content>
- <fo:static-content flow-name="xsl-after">
+ <fo:static-content flow-name="xsl-region-after">
<fo:block text-align="end"
font-size="10pt"
font-family="sans-serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines local TOC -->
<fo:block font-size="10pt"
<html><head><title>Test Results</title></head><body>
<h2>Compare Results<br>
-<font size='1'>created 14.03.2000 10:36:22</font></h2>
+<font size='1'>created 02.08.2000 23:33:08</font></h2>
<table cellpadding='10' border='2'><thead><th align='center'>reference file</th><th align='center'>test file</th><th align='center'>identical?</th></thead>
-<tr><td><a href='reference\normal.pdf'>normal.pdf</a> </td><td> <a href='tests\normal.pdf'>normal.pdf</a> </td><td>Yes</td></tr>
-<tr><td><a href='reference\table.pdf'>table.pdf</a> </td><td> <a href='tests\table.pdf'>table.pdf</a> </td><td>Yes</td></tr>
-<tr><td><a href='reference\list.pdf'>list.pdf</a> </td><td> <a href='tests\list.pdf'>list.pdf</a> </td><td>Yes</td></tr>
-<tr><td><a href='reference\link.pdf'>link.pdf</a> </td><td> <a href='tests\link.pdf'>link.pdf</a> </td><td>Yes</td></tr>
-<tr><td><a href='reference\border.pdf'>border.pdf</a> </td><td> <a href='tests\border.pdf'>border.pdf</a> </td><td>Yes</td></tr>
-<tr><td><a href='reference\extensive.pdf'>extensive.pdf</a> </td><td> <a href='tests\extensive.pdf'>extensive.pdf</a> </td><td><font color='red'>No</font></td></tr>
</table></html>
</fo:flow>
</fo:page-sequence>
<fo:page-sequence master-name="one">
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block-container height="1cm" width="6cm" top="0.2cm" left="0cm" position="absolute">
<fo:block text-align="start" font-size="10pt" font-family="serif" line-height="12pt">
</fo:block>
<fo:display-rule space-before.optimum="0pt" space-after.optimum="0pt"/>
</fo:block-container>
</fo:static-content>
- <fo:static-content flow-name="xsl-after">
+ <fo:static-content flow-name="xsl-region-after">
<fo:block-container height="1cm" width="17cm" top="0cm" left="0cm" position="absolute">
<fo:display-rule space-before.optimum="0pt" space-after.optimum="0pt"/>
</fo:block-container>
</fo:layout-master-set>
<fo:page-sequence master-name="all">
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end"
font-size="10pt"
font-family="serif"
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<fo:block font-size="18pt"