]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Adds Andreas Rueckert's image handling example fo file, with accompanying
authorSteve Coffman <gears@apache.org>
Mon, 24 Apr 2000 19:09:09 +0000 (19:09 +0000)
committerSteve Coffman <gears@apache.org>
Mon, 24 Apr 2000 19:09:09 +0000 (19:09 +0000)
images.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193341 13f79535-47bb-0310-9956-ffa450edef68

docs/examples/build.xml
docs/examples/fo/images.fo [new file with mode: 0644]
docs/examples/fop.jpg [new file with mode: 0644]
docs/examples/xml_feather.gif [new file with mode: 0644]

index 85e3007a99c1909ceebe15b9ea1aabd062bc530a..aef0224bf8fe22daabf149a7cc7dcf754dda09f6 100644 (file)
@@ -47,6 +47,7 @@
     <fop fofile="${foDir}/list.fo"   pdffile="${testDir}/list.pdf"/>
     <fop fofile="${foDir}/link.fo"   pdffile="${testDir}/link.pdf"/> 
     <fop fofile="${foDir}/border.fo"   pdffile="${testDir}/border.pdf"/> 
+    <fop fofile="${foDir}/images.fo"   pdffile="${testDir}/images.pdf"/> 
     <fop fofile="${foDir}/extensive.fo"   pdffile="${testDir}/extensive.pdf"/> 
   </target>
 
@@ -56,7 +57,7 @@
   <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,extensive.pdf"/>
+             filenames           = "normal.pdf,table.pdf,list.pdf,link.pdf,border.pdf,images.pdf,extensive.pdf"/>
   </target>
 
   <!-- =================================================================== -->
@@ -68,6 +69,7 @@
     <fop fofile="${foDir}/list.fo"   pdffile="${referenceDir}/list.pdf"/>
     <fop fofile="${foDir}/link.fo"   pdffile="${referenceDir}/link.pdf"/>
     <fop fofile="${foDir}/border.fo"   pdffile="${referenceDir}/border.pdf"/>
+    <fop fofile="${foDir}/images.fo"   pdffile="${referenceDir}/images.pdf"/>
     <fop fofile="${foDir}/extensive.fo"   pdffile="${referenceDir}/extensive.pdf"/>
   </target>
 
diff --git a/docs/examples/fo/images.fo b/docs/examples/fo/images.fo
new file mode 100644 (file)
index 0000000..ec1a5d7
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<fo:root font-family="Times Roman" font-size="12pt" text-align="justified" xmlns:fo="http://www.w3.org/1999/XSL/Format"><fo:layout-master-set><fo:simple-page-master page-master-name="right" margin-top="75pt" margin-bottom="25pt" margin-left="100pt" margin-right="50pt"><fo:region-body margin-bottom="50pt"/><fo:region-after extent="25pt"/></fo:simple-page-master><fo:simple-page-master page-master-name="left" margin-top="75pt" margin-bottom="25pt" margin-left="50pt" margin-right="100pt"><fo:region-body margin-bottom="50pt"/><fo:region-after extent="25pt"/></fo:simple-page-master></fo:layout-master-set><fo:page-sequence id="N2528"><fo:sequence-specification><fo:sequence-specifier-alternating page-master-first="right" page-master-odd="right" page-master-even="left"/></fo:sequence-specification><fo:static-content flow-name="xsl-after"><fo:block text-align-last="centered" font-size="10pt"><fo:page-number/></fo:block></fo:static-content><fo:flow><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:inline-graphic href="file: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:inline-graphic href="file: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"/>
+          This section is only required to show that the layout still works.
+      </fo:block></fo:flow></fo:page-sequence><fo:page-sequence id="N2561"><fo:sequence-specification><fo:sequence-specifier-alternating page-master-first="right" page-master-odd="right" page-master-even="left"/></fo:sequence-specification><fo:static-content flow-name="xsl-after"><fo:block text-align-last="centered" 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>
diff --git a/docs/examples/fop.jpg b/docs/examples/fop.jpg
new file mode 100644 (file)
index 0000000..2977249
Binary files /dev/null and b/docs/examples/fop.jpg differ
diff --git a/docs/examples/xml_feather.gif b/docs/examples/xml_feather.gif
new file mode 100644 (file)
index 0000000..79c3b65
Binary files /dev/null and b/docs/examples/xml_feather.gif differ