Procházet zdrojové kódy

updates examples to conform to new allowed values for flow-name


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193583 13f79535-47bb-0310-9956-ffa450edef68
tags/pre-columns
fotis před 24 roky
rodič
revize
66853764c6

+ 2
- 2
docs/bugtests/list-mountjoy.fo Zobrazit soubor

@@ -19,13 +19,13 @@
<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"

+ 2
- 2
docs/bugtests/list-nested-breaks.fo Zobrazit soubor

@@ -19,13 +19,13 @@
<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"

+ 2
- 2
docs/bugtests/list-nested.fo Zobrazit soubor

@@ -19,13 +19,13 @@
<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"

+ 1
- 1
docs/bugtests/svg-apachexml.fo Zobrazit soubor

@@ -5,7 +5,7 @@
</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"/>

+ 1
- 1
docs/bugtests/svg-lingrad.fo Zobrazit soubor

@@ -5,7 +5,7 @@
</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">

+ 1
- 1
docs/examples/build.xml Zobrazit soubor

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

<!-- =========================================================================== -->

<project default="runtest" basedir=".">
<project default="creating new test pdf files" basedir=".">

<!-- =================================================================== -->
<!-- Initialization target -->

+ 1
- 1
docs/examples/fo/border.fo Zobrazit soubor

@@ -25,7 +25,7 @@
</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

+ 1
- 1
docs/examples/fo/extensive.fo Zobrazit soubor

@@ -5,7 +5,7 @@
</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>

+ 1
- 1
docs/examples/fo/fonts.fo Zobrazit soubor

@@ -24,7 +24,7 @@
</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

+ 10
- 4
docs/examples/fo/images.fo Zobrazit soubor

@@ -31,13 +31,13 @@

<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"/>
@@ -47,6 +47,12 @@
</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>

+ 1
- 1
docs/examples/fo/link.fo Zobrazit soubor

@@ -21,7 +21,7 @@
<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

+ 2
- 2
docs/examples/fo/list.fo Zobrazit soubor

@@ -19,13 +19,13 @@
<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"

+ 2
- 2
docs/examples/fo/normal.fo Zobrazit soubor

@@ -63,7 +63,7 @@ Below fo:root there is always
<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"
@@ -72,7 +72,7 @@ Below fo:root there is always
</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"

+ 2
- 2
docs/examples/fo/readme.fo Zobrazit soubor

@@ -58,14 +58,14 @@ This files shows next to the trivial usage of fo:block and fo:inline-sequence ex
<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>

+ 2
- 2
docs/examples/fo/table.fo Zobrazit soubor

@@ -21,13 +21,13 @@
<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

binární
docs/examples/fop-examples.jar Zobrazit soubor


+ 2
- 2
docs/examples/pagination/basic1.fo Zobrazit soubor

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

<!-- 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"
@@ -35,7 +35,7 @@
</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"

+ 2
- 2
docs/examples/pagination/basic2.fo Zobrazit soubor

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

<!-- 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"
@@ -38,7 +38,7 @@
</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"

+ 4
- 4
docs/examples/pagination/franklin_2pageseqs.fo Zobrazit soubor

@@ -76,7 +76,7 @@
<!-- 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"
@@ -454,7 +454,7 @@ made to-day was not more than six miles.
<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" >
@@ -462,7 +462,7 @@ made to-day was not more than six miles.
</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"
@@ -471,7 +471,7 @@ made to-day was not more than six miles.
</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"

+ 3
- 3
docs/examples/pagination/franklin_alt.fo Zobrazit soubor

@@ -59,7 +59,7 @@
<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" >
@@ -67,7 +67,7 @@
</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"
@@ -76,7 +76,7 @@
</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"

+ 3
- 3
docs/examples/pagination/franklin_rep.fo Zobrazit soubor

@@ -28,7 +28,7 @@
<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" >
@@ -36,7 +36,7 @@
</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"
@@ -45,7 +45,7 @@
</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"

+ 3
- 3
docs/examples/pagination/franklin_rep_max_repeats.fo Zobrazit soubor

@@ -30,7 +30,7 @@
<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" >
@@ -38,7 +38,7 @@
</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"
@@ -47,7 +47,7 @@
</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"

+ 3
- 3
docs/examples/pagination/franklin_rep_max_repeats_expl.fo Zobrazit soubor

@@ -30,7 +30,7 @@
<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" >
@@ -38,7 +38,7 @@
</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"
@@ -47,7 +47,7 @@
</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"

+ 3
- 3
docs/examples/pagination/franklin_rep_max_repeats_nl.fo Zobrazit soubor

@@ -30,7 +30,7 @@
<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" >
@@ -38,7 +38,7 @@
</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"
@@ -47,7 +47,7 @@
</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"

+ 1
- 7
docs/examples/results.html Zobrazit soubor

@@ -1,12 +1,6 @@
<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>

+ 2
- 2
docs/examples/svg/Document.xsl Zobrazit soubor

@@ -43,7 +43,7 @@
</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>
@@ -63,7 +63,7 @@
<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>

+ 2
- 2
docs/xml-docs/xml2pdf.xsl Zobrazit soubor

@@ -55,7 +55,7 @@ TBD: - The faq doesn't show in the content
</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"
@@ -64,7 +64,7 @@ TBD: - The faq doesn't show in the content
</fo:block>
</fo:static-content>

<fo:flow flow-name="xsl-body">
<fo:flow flow-name="xsl-region-body">


<fo:block font-size="18pt"

Načítá se…
Zrušit
Uložit