--- /dev/null
+<?xml version="1.0"?>
+
+<!-- =========================================================================== -->
+
+<project default="creating new test pdf files" basedir=".">
+
+ <!-- =================================================================== -->
+ <!-- Initialization target -->
+ <!-- =================================================================== -->
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="tests"/>
+ <property name="referenceDir" value="reference"/>
+ <property name="testDir" value="tests"/>
+ <property name="foDir" value="fo"/>
+ <taskdef name="fop" classname="Fop"/>
+ <taskdef name="compare" classname="Compare"/>
+
+
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Help on usage -->
+ <!-- =================================================================== -->
+ <target name="usage">
+ <echo message=""/>
+ <echo message=""/>
+ <echo message="USAGE of runtests"/>
+ <echo message="-------------------------------------------------------------"/>
+ <echo message=""/>
+ <echo message=" available targets are:"/>
+ <echo message=""/>
+ <echo message=" compare --> generates new pdf test files and compares them to reference files (default)"/>
+ <echo message=" reference --> generates new reference pdf files"/>
+ <echo message=" See the comments inside the build.xml file for more details."/>
+ <echo message="-------------------------------------------------------------"/>
+ <echo message=""/>
+ <echo message=""/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Produces new test pdf files -->
+ <!-- =================================================================== -->
+ <target name="creating new test pdf files" depends="init">
+ <fop fofile="${foDir}/background_color.fo" pdffile="${testDir}/background_color.pdf"/>
+ <fop fofile="${foDir}/background_transparent.fo" pdffile="${testDir}/background_transparent.pdf"/>
+ <fop fofile="${foDir}/block-container.fo" pdffile="${testDir}/block-container.pdf"/>
+ <fop fofile="${foDir}/block.fo" pdffile="${testDir}/block.pdf"/>
+ <fop fofile="${foDir}/border.fo" pdffile="${testDir}/border.pdf"/>
+ <fop fofile="${foDir}/break-before.fo" pdffile="${testDir}/break-before.pdf"/>
+ <fop fofile="${foDir}/color.fo" pdffile="${testDir}/color.pdf"/>
+ <fop fofile="${foDir}/external-graphic.fo" pdffile="${testDir}/external-graphic.pdf"/>
+ <fop fofile="${foDir}/font-family.fo" pdffile="${testDir}/font-family.pdf"/>
+ <fop fofile="${foDir}/font-size.fo" pdffile="${testDir}/font-size.pdf"/>
+ <fop fofile="${foDir}/font.fo" pdffile="${testDir}/font.pdf"/>
+ <fop fofile="${foDir}/header_foorter.fo" pdffile="${testDir}/header_footer.pdf"/>
+ <fop fofile="${foDir}/image.fo" pdffile="${testDir}/image.pdf"/>
+ <fop fofile="${foDir}/indent.fo" pdffile="${testDir}/indent.pdf"/>
+ <fop fofile="${foDir}/inline.fo" pdffile="${testDir}/inline.pdf"/>
+ <fop fofile="${foDir}/keep-with-next.fo" pdffile="${testDir}/keep-with-next.pdf"/>
+ <fop fofile="${foDir}/leader.fo" pdffile="${testDir}/leader.pdf"/>
+ <fop fofile="${foDir}/letter-spacing.fo" pdffile="${testDir}/letter-spacing.pdf"/>
+ <fop fofile="${foDir}/line-height.fo" pdffile="${testDir}/line-height.pdf"/>
+ <fop fofile="${foDir}/padding.fo" pdffile="${testDir}/padding.pdf"/>
+ <fop fofile="${foDir}/page-number.fo" pdffile="${testDir}/page-number.pdf"/>
+ <fop fofile="${foDir}/rule.fo" pdffile="${testDir}/rule.pdf"/>
+ <fop fofile="${foDir}/simple-link.fo" pdffile="${testDir}/simple-link.pdf"/>
+ <fop fofile="${foDir}/space-treatment.fo" pdffile="${testDir}/space-treatment.pdf"/>
+ <fop fofile="${foDir}/space.fo" pdffile="${testDir}/space.pdf"/>
+ <fop fofile="${foDir}/text-align.fo" pdffile="${testDir}/text-align.pdf"/>
+ <fop fofile="${foDir}/text-decoration.fo" pdffile="${testDir}/text-decoration.pdf"/>
+ <fop fofile="${foDir}/text-indent.fo" pdffile="${testDir}/text-indent.pdf"/>
+ <fop fofile="${foDir}/word-spacing.fo" pdffile="${testDir}/word-spacing.pdf"/>
+ <fop fofile="${foDir}/wrap.fo" pdffile="${testDir}/wrap.pdf"/>
+ </target>
+
+
+ <target name="image" depends="init">
+ <fop fofile="${foDir}/image.fo" pdffile="${testDir}/image.pdf"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Compares new test pdf files to reference pdf files -->
+ <!-- =================================================================== -->
+ <target name="compare" depends ="creating new test pdf files">
+ <compare referenceDirectory = "${referenceDir}"
+ testDirectory = "${testDir}"
+ filenames = "normal.pdf,table.pdf,list.pdf,link.pdf,border.pdf,images.pdf,extensive.pdf,readme.pdf,fonts.pdf,list2.pdf"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Produces new reference pdf files -->
+ <!-- =================================================================== -->
+ <target name="reference">
+ <fop fofile="${foDir}/background_color.fo" pdffile="${referenceDir}/background_color.pdf"/>
+ <fop fofile="${foDir}/background_transparent.fo" pdffile="${referenceDir}/background_transparent.pdf"/>
+ <fop fofile="${foDir}/block-container.fo" pdffile="${referenceDir}/block-container.pdf"/>
+ <fop fofile="${foDir}/block.fo" pdffile="${referenceDir}/block.pdf"/>
+ <fop fofile="${foDir}/border.fo" pdffile="${referenceDir}/border.pdf"/>
+ <fop fofile="${foDir}/break-before.fo" pdffile="${referenceDir}/break-before.pdf"/>
+ <fop fofile="${foDir}/color.fo" pdffile="${referenceDir}/color.pdf"/>
+ <fop fofile="${foDir}/external-graphic.fo" pdffile="${referenceDir}/external-graphic.pdf"/>
+ <fop fofile="${foDir}/font-family.fo" pdffile="${referenceDir}/font-family.pdf"/>
+ <fop fofile="${foDir}/font-size.fo" pdffile="${referenceDir}/font-size.pdf"/>
+ <fop fofile="${foDir}/font.fo" pdffile="${referenceDir}/font.pdf"/>
+ <fop fofile="${foDir}/header_foorter.fo" pdffile="${referenceDir}/header_footer.pdf"/>
+ <fop fofile="${foDir}/image.fo" pdffile="${referenceDir}/image.pdf"/>
+ <fop fofile="${foDir}/indent.fo" pdffile="${referenceDir}/indent.pdf"/>
+ <fop fofile="${foDir}/inline.fo" pdffile="${referenceDir}/inline.pdf"/>
+ <fop fofile="${foDir}/keep-with-next.fo" pdffile="${referenceDir}/keep-with-next.pdf"/>
+ <fop fofile="${foDir}/leader.fo" pdffile="${referenceDir}/leader.pdf"/>
+ <fop fofile="${foDir}/letter-spacing.fo" pdffile="${referenceDir}/letter-spacing.pdf"/>
+ <fop fofile="${foDir}/line-height.fo" pdffile="${referenceDir}/line-height.pdf"/>
+ <fop fofile="${foDir}/padding.fo" pdffile="${referenceDir}/padding.pdf"/>
+ <fop fofile="${foDir}/page-number.fo" pdffile="${referenceDir}/page-number.pdf"/>
+ <fop fofile="${foDir}/rule.fo" pdffile="${referenceDir}/rule.pdf"/>
+ <fop fofile="${foDir}/simple-link.fo" pdffile="${referenceDir}/simple-link.pdf"/>
+ <fop fofile="${foDir}/space-treatment.fo" pdffile="${referenceDir}/space-treatment.pdf"/>
+ <fop fofile="${foDir}/space.fo" pdffile="${referenceDir}/space.pdf"/>
+ <fop fofile="${foDir}/text-align.fo" pdffile="${referenceDir}/text-align.pdf"/>
+ <fop fofile="${foDir}/text-decoration.fo" pdffile="${referenceDir}/text-decoration.pdf"/>
+ <fop fofile="${foDir}/text-indent.fo" pdffile="${referenceDir}/text-indent.pdf"/>
+ <fop fofile="${foDir}/word-spacing.fo" pdffile="${referenceDir}/word-spacing.pdf"/>
+ <fop fofile="${foDir}/wrap.fo" pdffile="${referenceDir}/wrap.pdf"/>
+ </target>
+
+
+
+
+ <!-- =================================================================== -->
+ <!-- Starts the test -->
+ <!-- =================================================================== -->
+ <target name="runtest" depends="compare">
+ <echo message="Running Fop tests"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Clean targets -->
+ <!-- =================================================================== -->
+ <target name="clean" depends="init">
+ <deltree dir="${build.dir}"/>
+
+ </target>
+
+
+</project>
+
+<!-- End of file -->
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block background-color="#FF0000">
+ <fo:block>
+ This is a simple fo block with red background.
+ </fo:block>
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ This is a simple fo block with transparent background.
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:static-content flow-name="xsl-region-before">
+ <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="2.5cm" width="4cm" padding="8pt" position="absolute">
+ <fo:block text-align="start" line-height="2cm" font-family="sans-serif" font-size="12pt">
+ SOLD TO
+ </fo:block>
+ <fo:block text-align="start" line-height="1cm" font-family="sans-serif" font-size="12pt">
+ Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+ Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+ Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+ Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+ Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+ Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+ Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+ </fo:block>
+ </fo:block-container>
+ </fo:static-content>
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block text-align="start" line-height="1cm" font-family="sans-serif" font-size="12pt">
+ BBBBBBBBBBBBBBB
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ This is a simple fo block.
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ This is a simple fo block.
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm" border-color="blue" border-style="solid" border-width="2pt">
+ This is a simple fo block with borders.
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm"
+ border-left-color="blue" border-left-style="solid" border-left-width="2pt"
+ border-right-color="blue" border-right-style="solid" border-right-width="2pt"
+ border-top-color="blue" border-top-style="solid" border-top-width="2pt"
+ border-bottom-color="blue" border-bottom-style="solid" border-bottom-width="2pt">
+ This is a simple fo block with borders.
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm" border-left-color="black" border-left-style="solid" border-left-width="2pt"
+ border-right-color="black" border-right-style="dotted" border-right-width="1cm"
+ border-top-color="black" border-top-style="dashed" border-top-width="5pt"
+ border-bottom-color="black" border-bottom-style="double" border-bottom-width="1in">
+ This is a simple fo block with different borders viz;
+ border-left-color="black"
+ border-left-style="solid"
+ border-left-width="2pt"
+ border-right-color="black"
+ border-right-style="dotted"
+ border-right-width="1cm"
+ border-top-color="black"
+ border-top-style="dashed"
+ border-top-width="5pt"
+ border-bottom-color="black"
+ border-bottom-style="double"
+ border-bottom-width="1in"
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm"
+ border-top="2pt solid blue"
+ border-bottom="2pt solid blue"
+ border-left="2pt solid blue"
+ border-right="2pt solid blue">
+ This is a simple fo block with borders.
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm"
+ border-top="2pt || solid || blue"
+ border-bottom="2pt || solid || blue"
+ border-left="2pt || solid || blue"
+ border-right="2pt || solid || blue">
+ This is a simple fo block with borders.
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ This is a simple fo block.
+ </fo:block>
+ <fo:block break-before="page">
+ This is a simple fo block on a new page due to page-break using break-before="page".
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block color="#C00000">
+ This is a simple fo text in red color.
+ <fo:leader leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>
+ </fo:block>
+
+ <fo:block color="#00C000">
+ This is a simple fo text in green color followed by black line.
+ <fo:leader color="#000000" leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>
+ </fo:block>
+
+ <fo:block color="#0000C0">
+ This is a simple fo text in blue color.
+ <fo:inline color="#C055C0">This is in</fo:inline>
+ <fo:inline color="#550055">the same sentence</fo:inline>
+ This is text in blue again
+ <fo:leader leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-body/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ <fo:external-graphic src="file:D:/page.gif"/>
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ default:
+ </fo:block>
+ <fo:block text-align="center">
+ This is a simple fo text in FOP default font.
+ </fo:block>
+ <fo:block>
+ sans-serif:
+ </fo:block>
+ <fo:block text-align="center" font-family="sans-serif">
+ This is a simple fo text in sans-serif font.
+ </fo:block>
+
+ <fo:block>
+ monospace:
+ </fo:block>
+ <fo:block text-align="center" font-family="monospace">
+ This is a simple fo text in monospace font.
+ </fo:block>
+
+ <fo:block>
+ Courier:
+ </fo:block>
+ <fo:block text-align="center" font-family="Courier">
+ This is a simple fo text in Courier font.
+ </fo:block>
+
+ <fo:block>
+ Helvetica:
+ </fo:block>
+ <fo:block text-align="center" font-family="Helvetica">
+ This is a simple fo text in Helvetica font.
+ </fo:block>
+
+ <fo:block>
+ Symbol:
+ </fo:block>
+ <fo:block text-align="center" font-family="Symbol">
+ This is a simple fo text in Symbol font.
+ </fo:block>
+
+ <fo:block>
+ Times Roman:
+ </fo:block>
+ <fo:block text-align="center" font-family="Times Roman">
+ This is a simple fo text in Times Roman font.
+ </fo:block>
+
+ <fo:block>
+ ZapfDingbats:
+ </fo:block>
+ <fo:block text-align="center" font-family="ZapfDingbats">
+ This is a simple fo text in ZapfDingBats font.
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ This is a simple fo text in FOP default font size and default font.
+ </fo:block>
+
+ <fo:block font-family="Courier" font-size="8pt">
+ This is a simple fo text in 8pt font Courier.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="10pt">
+ This is a simple fo text in 10pt font.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="12pt">
+ This is a simple fo text in 12pt font.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="14pt">
+ This is a simple fo text in 14pt font.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="16pt">
+ This is a simple fo text in 16pt font.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="18pt">
+ This is a simple fo text in 18pt font.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="20pt">
+ This is a simple fo text in 20pt font.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="24pt">
+ This is a simple fo text in 24pt font.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="32pt">
+ This is a simple fo text in 32pt font.
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block font-family="Courier" font-size="12pt">
+ This is a simple fo text in Courier font.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="12pt"
+ font-weight="bold">
+ This is a simple fo text in bold.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="12pt"
+ font-style="italic">
+ This is a simple fo text in italic.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="12pt"
+ font-style="italic" font-weight="bold">
+ This is a simple fo text in italic and bold.
+ </fo:block>
+ <fo:block font-family="Courier" font-size="12pt"
+ font-variant="small-caps">
+ This is a simple fo text in small caps.
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm"></fo:block>
+
+ <fo:block font-family="Times" font-size="12pt">
+ This is a simple fo text in Times font.
+ </fo:block>
+ <fo:block font-family="Times" font-size="12pt"
+ font-weight="bold">
+ This is a simple fo text in bold.
+ </fo:block>
+ <fo:block font-family="Times" font-size="12pt"
+ font-style="italic">
+ This is a simple fo text in italic.
+ </fo:block>
+ <fo:block font-family="Times" font-size="12pt"
+ font-style="italic" font-weight="bold">
+ This is a simple fo text in italic and bold.
+ </fo:block>
+ <fo:block font-family="Times" font-size="12pt"
+ font-variant="small-caps">
+ This is a simple fo text in small caps.
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm"></fo:block>
+
+ <fo:block font-family="Helvetica" font-size="12pt">
+ This is a simple fo text in Helvetica font.
+ </fo:block>
+ <fo:block font-family="Helvetica" font-size="12pt"
+ font-weight="bold">
+ This is a simple fo text in bold.
+ </fo:block>
+ <fo:block font-family="Helvetica" font-size="12pt"
+ font-style="italic">
+ This is a simple fo text in italic.
+ </fo:block>
+ <fo:block font-family="Helvetica" font-size="12pt"
+ font-style="italic" font-weight="bold">
+ This is a simple fo text in italic and bold.
+ </fo:block>
+ <fo:block font-family="Helvetica" font-size="12pt"
+ font-variant="small-caps">
+ This is a simple fo text in small caps.
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="18cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="3cm"/>
+ <fo:region-body margin-top="4cm" margin-bottom="3cm"/>
+ <fo:region-after extent="3cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <!-- header -->
+ <fo:static-content flow-name="xsl-region-before">
+ <fo:block-container width="5cm" height="3cm" position="absolute" background-color="#22CC55">
+ <fo:block text-align="start">
+ Left
+ </fo:block>
+ </fo:block-container>
+ <fo:block-container width="5cm" height="3cm" left="5cm" position="absolute" background-color="#55AA55">
+ <fo:block text-align="center">
+ Center
+ </fo:block>
+ </fo:block-container>
+ <fo:block-container width="5cm" height="3cm" left="10cm" position="absolute" background-color="#FFCCFF">
+ <fo:block text-align="end">
+ Right
+ </fo:block>
+ </fo:block-container>
+
+ </fo:static-content>
+
+ <!-- footer -->
+ <fo:static-content flow-name="xsl-region-after">
+ <fo:block-container width="5cm" height="3cm" position="absolute">
+ <fo:block text-align="start">
+ Left
+ </fo:block>
+ </fo:block-container>
+ <fo:block-container width="5cm" height="3cm" left="5cm" position="absolute">
+ <fo:block text-align="center">
+ Center
+ </fo:block>
+ </fo:block-container>
+ <fo:block-container width="5cm" height="3cm" left="10cm" position="absolute">
+ <fo:block text-align="end">
+ Right
+ </fo:block>
+ </fo:block-container>
+
+ </fo:static-content>
+
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ There is top-margin for body region.This is bcos margin-top for body is greater than extent of region-before.
+ </fo:block>
+ <fo:block>
+ There is NO bottom-margin for body region. Bcos margin-bottom for body = extent for region-after.
+ </fo:block>
+ <fo:block>
+ </fo:block>
+ <fo:block>
+ The fo:static-content formatting object holds a sequence or a tree of formatting objects that is to be presented in a single region or repeated in like-named regions on one or more pages in the page-sequence. Its common use is for repeating or running headers and footers.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+ This content is repeated, in its entirety, on every page to which it is assigned.
+ </fo:block>
+ <fo:block>
+The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content.
+ </fo:block>
+ <fo:block>
+The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content.
+ </fo:block>
+ <fo:block>
+The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content.
+ </fo:block>
+ <fo:block>
+The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content.
+ </fo:block>
+
+ </fo:flow>
+
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="10cm"
+ margin-top="3cm"
+ margin-bottom="2cm"
+ margin-left="3cm"
+ margin-right="2cm">
+ <fo:region-body/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ <fo:external-graphic src="file:D:/page.gif"/>
+ </fo:block>
+
+ <fo:block>
+ <fo:external-graphic height="3in" width="3in" src="file:D:/page.gif"/>
+ height=3in width=3in
+ </fo:block>
+
+ <fo:block>
+ <fo:external-graphic height="3in" src="file:D:/page.gif"/>
+ height="3in"
+ </fo:block>
+
+ <fo:block>
+ <fo:external-graphic width="1.5in" src="file:D:/page.gif"/>
+ width="1.5in"
+ </fo:block>
+
+ <fo:block>
+ <fo:external-graphic height="6in" width="4in" src="file:D:/page.gif"/>
+ height="6in" width="4in"
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block text-align="justify" start-indent="1in">
+ This is a simple fo block with justify indented in the start.
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ </fo:block>
+ <fo:block text-align="justify" end-indent="1in">
+ This is a simple fo block with justify indented in the end.
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ </fo:block>
+ <fo:block start-indent="1in">
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ This is a simple fo block indented in the start.
+ </fo:block>
+ <fo:block end-indent="1in">
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ This is a simple fo block indented in the end.
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ <fo:inline>The sentence is</fo:inline>
+ <fo:inline>in the same line.</fo:inline>
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="11in"
+ page-width="8.5in"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1in"
+ margin-right="0.75in">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block space-before.optimum="1cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
+ F I N A L C A L C U L A T I O N AUD $ AUD $
+ ----------------------------------
+ L A B O U R TIME BASIS 10 WU = 1 HR
+ TOTAL 33 WU X 20.00AUD $/WU 660.00
+ TOTAL LABOUR................................................. 660.00
+ P A I N T W O R K
+ LABOUR COST 210.00
+ MATERIAL COST 163.20
+ TOTAL PAINT.................................................. 373.20
+ P A R T S 425.00
+ SUNDRY PARTS ( 2.0%) 8.50
+ TOTAL PARTS.................................................. 433.50
+ R E P A I R C O S T S....................................... 1 466.70
+ ----------------------
+C O M M E N T S :
+E-PART PRICES = MANUFACTURERS RRP. *-POSITION = USER SUPPLIED DATA
+E-PART NUMBER IS NOT ORDER NUMBER NN = NO MANUFACTURERS CODE EXISTS
+SKEZAX=WORKING UNITS AS PER AUDATEX )=WU PARTIAL INCL IN OTHER POSITIONS
+C O N T R O L - I N F O R M A T I O N NO 666 25.08.2000
+OWNER MRS SARAH
+ SCHAER GUNDELDINGERSTRASSE 131
+ 4053 BASEL
+REFER. NO. 999
+MAKE AUDI S4 QUATTRO
+REG. NO BS 66961 SHEET NO 00 33 03
+FIRST REG. 08.2000 NAECH HU 08.2000
+INSP DATE 24.08.2000 ACC DATE 24.08.2000
+REPAIRER ZICK ZACK 061/ 361 76 06
+ MR. MEIER ZOLLSTRASSE 62
+ 8000 ZUERICH
+REP TIME . DAYS
+CU-NO / CUSTOMER-CODE : 004001 ZATEST01 CLASSDIRECT REL 2.9
+QUOTE DATE : 25.08.2000
+MO-CODE
+- MODEL-OPTIONS : E3 F3 I4 I7 J6 K2 M8 P8 Q6 Q7 V3 V6 W4 Z8
+PARTS / PAINTING
+- REP-METHOD/CODE-NO : N 0741 LO
+ </fo:block>
+
+ <fo:block keep-with-next="true" font-family="Helvetica" font-size="10pt">
+ The following is the control page for the Repair Assessment. It includes the
+ <fo:inline font-weight="bold">Owner</fo:inline><fo:inline>, Reference No, Make, Reg No, and Options.</fo:inline>
+ </fo:block>
+
+ <fo:block space-before.optimum="2cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
+R E P A I R /-/ A S S E S S M E N T NO 666 25.08.2000
+OWNER MRS SARAH
+ SCHAER GUNDELDINGERSTRASSE 131
+ 4053 BASEL
+REFER. NO. 999
+
+MAKE AUDI S4 QUATTRO
+REG. NO BS 66961 SHEET NO 00 33 03
+FIRST REG. 08.2000 NAECH HU 08.2000
+INSP DATE 24.08.2000 ACC DATE 24.08.2000
+REPAIRER ZICK ZACK 061/ 361 76 06
+ MR. MEIER ZOLLSTRASSE 62
+ 8000 ZUERICH
+REP TIME . DAYS
+
+OPTIONS FROM VIN X_200001 LUGGAGE NET ELECTRIC FRONT SEATS
+ AUTO HEADLAMP LEVEL SPORT SEATS TRIM-JACQUARD GRAPH
+ ALTERNATOR 120 AMP 4-SPEED AUTOMATIC SPORTS SUSPENSION
+ ANTI-LOCK BRAKES ELECT STABILITY PROG SUNROOF (ACCESSORY)
+ 2.7 LTR V6
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ <fo:leader leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block letter-spacing="normal">
+ This text is normally spaced.
+ This text is normally spaced.
+ This text is normally spaced.
+ This text is normally spaced.
+ This text is normally spaced.
+ </fo:block>
+
+
+ <fo:block letter-spacing="1pt">
+ This text has inter-character intervals increased by 1pt.
+ This text has inter-character intervals increased by 1pt.
+ This text has inter-character intervals increased by 1pt.
+ This text has inter-character intervals increased by 1pt.
+ </fo:block>
+
+
+ <fo:block letter-spacing="8pt">
+ This text has inter-character intervals increased by 8pt.
+ This text has inter-character intervals increased by 8pt.
+ This text has inter-character intervals increased by 8pt.
+ This text has inter-character intervals increased by 8pt.
+ </fo:block>
+
+ <fo:block letter-spacing="0pt">
+ This text has inter-character intervals increased by 0pt (i.e. normally spaced).
+ This text has inter-character intervals increased by 0pt (i.e. normally spaced).
+ This text has inter-character intervals increased by 0pt (i.e. normally spaced).
+ This text has inter-character intervals increased by 0pt (i.e. normally spaced).
+ </fo:block>
+
+ <fo:block letter-spacing="-1pt">
+ This text has inter-character intervals increased by reduced by -1pt.
+ This text has inter-character intervals increased by reduced by -1pt.
+ This text has inter-character intervals increased by reduced by -1pt.
+ This text has inter-character intervals increased by reduced by -1pt.
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block font-weight="bold" text-align="center">
+ <fo:inline text-decoration="underline">
+ Absolute Values
+ </fo:inline>
+ </fo:block>
+
+
+ <fo:block line-height="12pt" font-size="8pt">
+ This text has a fixed line height of 12pt and its font size is 8pt.
+ This text has a fixed line height of 12pt and its font size is 8pt.
+ This text has a fixed line height of 12pt and its font size is 8pt.
+ This text has a fixed line height of 12pt and its font size is 8pt.
+ This text has a fixed line height of 12pt and its font size is 8pt.
+ </fo:block>
+
+
+ <fo:block text-align="start" space-before.optimum="6pt" line-height="12pt" font-size="12pt">
+ This text has a fixed line height of 12pt and its font size is 12pt.
+ This text has a fixed line height of 12pt and its font size is 12pt.
+ This text has a fixed line height of 12pt and its font size is 12pt.
+ This text has a fixed line height of 12pt and its font size is 12pt.
+ This text has a fixed line height of 12pt and its font size is 12pt.
+ </fo:block>
+
+
+ <fo:block text-align="start" space-before.optimum="6pt" line-height="12pt" font-size="16pt">
+ This text has a fixed line height of 12pt and its font size is 16pt.
+ This text has a fixed line height of 12pt and its font size is 16pt.
+ This text has a fixed line height of 12pt and its font size is 16pt.
+ This text has a fixed line height of 12pt and its font size is 16pt.
+ This text has a fixed line height of 12pt and its font size is 16pt.
+ </fo:block>
+
+ <fo:block font-weight="bold" text-align="center">
+ <fo:inline text-decoration="underline">
+ Relative Values
+ </fo:inline>
+ </fo:block>
+
+ <fo:block text-align="start" space-before.optimum="6pt" line-height="normal" font-size="10pt">
+ This text has a normal line height at font size of 10pt.
+ This text has a normal line height at font size of 10pt.
+ This text has a normal line height at font size of 10pt.
+ This text has a normal line height at font size of 10pt.
+ This text has a normal line height at font size of 10pt.
+ </fo:block>
+
+ <fo:block text-align="start" space-before.optimum="6pt" line-height="normal" font-size="14pt">
+ This text has a normal line height at font size of 14pt.
+ This text has a normal line height at font size of 14pt.
+ This text has a normal line height at font size of 14pt.
+ This text has a normal line height at font size of 14pt.
+ This text has a normal line height at font size of 14pt.
+ </fo:block>
+
+ <fo:block text-align="start" space-before.optimum="6pt" line-height="1.0" font-size="10pt">
+ This text is single-spaced at font size of 10pt.
+ This text is single-spaced at font size of 10pt.
+ This text is single-spaced at font size of 10pt.
+ This text is single-spaced at font size of 10pt.
+ This text is single-spaced at font size of 10pt.
+ </fo:block>
+
+ <fo:block text-align="start" space-before.optimum="6pt" line-height="1.0" font-size="14pt">
+ This text is single-spaced at font size of 14pt.
+ This text is single-spaced at font size of 14pt.
+ This text is single-spaced at font size of 14pt.
+ This text is single-spaced at font size of 14pt.
+ This text is single-spaced at font size of 14pt.
+ </fo:block>
+
+ <fo:block text-align="start" space-before.optimum="6pt" line-height="2.0" font-size="10pt">
+ This text is double-spaced at font size of 10pt.
+ This text is double-spaced at font size of 10pt.
+ This text is double-spaced at font size of 10pt.
+ This text is double-spaced at font size of 10pt.
+ This text is double-spaced at font size of 10pt.
+ </fo:block>
+
+ <fo:block text-align="start" space-before.optimum="6pt" line-height="2.0" font-size="14pt">
+ This text is double-spaced at font size of 14pt.
+ This text is double-spaced at font size of 14pt.
+ This text is double-spaced at font size of 14pt.
+ This text is double-spaced at font size of 14pt.
+ This text is double-spaced at font size of 14pt.
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <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"
+ padding-top="6pt">
+ Extensible Markup Language (XML) 1.0 with padding
+ </fo:block>
+
+ <fo:block font-size="18pt"
+ font-family="sans-serif"
+ line-height="24pt"
+ space-after.optimum="15pt"
+ background-color="blue"
+ color="white">
+ Extensible Markup Language (XML) 1.0 without padding
+ </fo:block>
+
+ <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-top="1cm">
+ <fo:block>
+ This block-container has a top padding of 1 cm.
+ </fo:block>
+ </fo:block-container>
+
+ <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-bottom="1cm">
+ <fo:block>
+ bottom padding of 1 cm.
+ </fo:block>
+ </fo:block-container>
+
+ <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-left="1cm">
+ <fo:block>
+ left padding of 1 cm.
+ </fo:block>
+ </fo:block-container>
+
+ <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-right="1cm">
+ <fo:block>
+ right padding of 1 cm.
+ </fo:block>
+ </fo:block-container>
+
+ <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-before="1cm">
+ <fo:block>
+ This block-container has a before padding of 1 cm.
+ </fo:block>
+ </fo:block-container>
+
+ <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-after="1cm">
+ <fo:block>
+ after padding of 1 cm.
+ </fo:block>
+ </fo:block-container>
+
+ <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-start="1cm">
+ <fo:block>
+ start padding of 1 cm.
+ </fo:block>
+ </fo:block-container>
+
+ <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-end="1cm">
+ <fo:block>
+ end padding of 1 cm.
+ </fo:block>
+ </fo:block-container>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ This is Page Number <fo:page-number/>.
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block space-before.optimum="1cm">
+ leader-pattern="rule" rule-style="solid" rule-thickness="0.5pt"
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="0.5pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="1pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="3pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="3mm"></fo:leader>
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm">
+ leader-pattern="rule" rule-style="dotted" rule-thickness="0.5pt"
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="0.5pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="1pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="3pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="5mm"></fo:leader>
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm">
+ leader-pattern="rule" rule-dashed="dotted" rule-thickness="0.5pt"
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="0.5pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="1pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="3pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="1mm"></fo:leader>
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm">
+ leader-pattern="rule" rule-style="double" rule-thickness="0.5pt"
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="0.5pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="1pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="3pt"></fo:leader>
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="1mm"></fo:leader>
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block text-align="start">
+ <fo:simple-link external-destination="font.pdf">Link to font.pdf</fo:simple-link>
+ </fo:block>
+
+ <fo:block text-align="start">
+ <fo:simple-link external-destination="http://www.wilco-int.com">Link to Wilco International</fo:simple-link>
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="11in"
+ page-width="8.5in"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1in"
+ margin-right="0.75in">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block space-after.optimum="1cm">
+ The text below is in monospace font(useful for displayed formatted text, program code etc.)
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
+OWNER MR DHARAMVEER
+ SALECHA
+
+REFER. NO. 999
+
+MAKE AUDI S4 QUATTRO
+REG. NO BS 66961 SHEET NO 00 33 03
+OPTIONS FROM VIN X_200001 LUGGAGE NET ELECTRIC FRONT SEATS
+ AUTO HEADLAMP LEVEL SPORT SEATS TRIM-JACQUARD GRAPH
+ ALTERNATOR 120 AMP 4-SPEED AUTOMATIC SPORTS SUSPENSION
+ ANTI-LOCK BRAKES ELECT STABILITY PROG SUNROOF (ACCESSORY)
+ 2.7 LTR V6
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block space-after.optimum="1cm">
+ space-after.optimum="1cm"
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ </fo:block>
+ <fo:block>
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ </fo:block>
+ <fo:block space-before.optimum="1cm" space-after.optimum="1cm">
+ space-before.optimum="1cm" space-after.optimum="1cm"
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ </fo:block>
+ <fo:block space-before.optimum="1cm" space-after.optimum="1cm">
+ space-before.optimum="1cm" space-after.optimum="1cm"
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ </fo:block>
+ <fo:block>
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ </fo:block>
+ <fo:block space-before.optimum="1cm">
+ space-before.optimum="1cm"
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ </fo:block>
+ <fo:block>
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ This is a simple fo block.
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ This is a simple fo block.
+ </fo:block>
+ <fo:block space-before.optimum="1cm" text-align="start">
+ This is a simple fo block with text aligned to start.
+ dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+ dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+ dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+ </fo:block>
+ <fo:block space-before.optimum="1cm" text-align="justify">
+ This is a simple fo block with text justified.
+ dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+ dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+ dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+ </fo:block>
+ <fo:block space-before.optimum="1cm" text-align="end">
+ This is a simple fo block with text aligned to end.
+ dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+ dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+ dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ This is a simple fo text.
+ <fo:inline text-decoration="underline">
+ This is a simple fo text and underlined.
+ </fo:inline>
+ <fo:inline text-decoration="line-through">
+ This is a simple fo text and line-through.
+ </fo:inline>
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block text-align="start" space-before.optimum="6pt" text-indent="1in">
+ This text is formatted into a left-justified paragraph.
+ The first line has an indent of 1 inch from the left.
+
+ This text is formatted into a left-justified paragraph.
+ The first line has an indent of 1 inch from the left.
+ </fo:block>
+
+ <fo:block space-before.optimum="6pt" text-indent="40%">
+ This text is formatted into a left-justified paragraph.
+ The first line has an indent of 30% from the left.
+
+ This text is formatted into a left-justified paragraph.
+ The first line has an indent of 30% inch from the left.
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
+ <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
+ <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
+ <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
+ <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm">
+ <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> </fo:block>
+
+ <fo:block space-before.optimum="1cm">
+ <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
+ <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
+ <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
+ <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
+ <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm">
+ <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
+ <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
+ <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
+ <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
+ <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm">
+ <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+<?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 master-name="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-name="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block wrap-option="no-wrap">
+ <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+ <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+ <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+ <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+
+ <fo:block space-before.optimum="1cm" wrap-option="wrap">
+ <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+ <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+ <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+ </fo:block>
+ This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block.
+ This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block.
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
--- /dev/null
+@echo off
+
+echo Fop Test
+echo ----------------
+
+if "%JAVA_HOME%" == "" goto error
+
+
+set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;..\..\lib\ant.jar;..\..\lib;..\..\lib\w3c.jar;..\..\build\fop.jar
+set ANT_HOME=..\..\lib
+
+echo Starting Tests ...
+
+%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
+
+goto end
+
+:error
+
+echo ERROR: JAVA_HOME not found in your environment.
+echo Please, set the JAVA_HOME variable in your environment to match the
+echo location of the Java Virtual Machine you want to use.
+
+:end
+
+rem set LOCALCLASSPATH=
+
--- /dev/null
+#!/bin/sh
+
+echo
+echo "Fop Test"
+echo "----------------"
+echo
+
+if [ "$JAVA_HOME" = "" ] ; then
+ echo "ERROR: JAVA_HOME not found in your environment."
+ echo
+ echo "Please, set the JAVA_HOME variable in your environment to match the"
+ echo "location of the Java Virtual Machine you want to use."
+ exit 1
+fi
+
+LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:../../lib/ant.jar:../../lib:../../build/fop.jar:../../lib/w3c.jar
+ANT_HOME=../../lib
+
+echo Building with classpath $CLASSPATH:$LOCALCLASSPATH
+echo
+
+echo Starting Tests...
+echo
+
+$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.tools.ant.Main $*
l0.857,0.315l0.925,0.232l0.94,0.308l0.925,0.313l1.008,0.31l0.928,0.308l1.008,0.31v1.628v1.78l0.085,2.021l0.078,2.09l0.078,2.092l0.076,2.173l0.237,2.251l0.229,2.087l0.315,2.097l0.31,1.936l0.471,1.865l0.542,1.628l0.625,1.392l0.776,1.167l0.854,0.85
l0.93,0.54z"/>
<svg:defs>
- <svg:linearGradient id="AIgd35" x1="-3554.5762" y1="-3344.3262" x2="-3549.4126" y2="-3315.042" gradientTransform="matrix(-1.0769 0.0008 0.0008 1.0769 -3723.2458 3844.4346)">
+ <svg:linearGradient id="#AIgd35" x1="-3554.5762" y1="-3344.3262" x2="-3549.4126" y2="-3315.042" gradientTransform="matrix(-1.0769 0.0008 0.0008 1.0769 -3723.2458 3844.4346)">
<svg:stop offset="0" style="stop-color:#106683"/>
<svg:stop offset="0.0952" style="stop-color:#116C8B"/>
<svg:stop offset="0.2448" style="stop-color:#137EA2"/>