You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ch...@apache.org on 2003/01/09 02:10:48 UTC
cvs commit: xml-fop/docs/examples/svg external.fo
chrisg 2003/01/08 17:10:48
Modified: docs/examples/fo Tag: fop-0_20_2-maintain images.fo list.fo
docs/examples/svg Tag: fop-0_20_2-maintain external.fo
Log:
corrected relative urls for external-graphic in examples
Revision Changes Path
No revision
No revision
1.11.2.3 +5 -5 xml-fop/docs/examples/fo/images.fo
Index: images.fo
===================================================================
RCS file: /home/cvs/xml-fop/docs/examples/fo/images.fo,v
retrieving revision 1.11.2.2
retrieving revision 1.11.2.3
diff -u -r1.11.2.2 -r1.11.2.3
--- images.fo 18 Nov 2002 14:37:45 -0000 1.11.2.2
+++ images.fo 9 Jan 2003 01:10:47 -0000 1.11.2.3
@@ -43,31 +43,31 @@
<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:external-graphic src="url(../../graphics/xml_feather.gif)"/>
</fo:block>
</fo:block>
<fo:block id="N2535">
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A transparent GIF image in FOP</fo:block>
<fo:block>
- <fo:external-graphic src="file:../../graphics/xml_feather_transparent.gif"/>
+ <fo:external-graphic src="url(../../graphics/xml_feather_transparent.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:external-graphic src="url(../../graphics/fop.jpg)"/>
</fo:block>
</fo:block>
<fo:block id="N2550">
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A BMP image in FOP</fo:block>
<fo:block>
- <fo:external-graphic src="file:../../graphics/linux.bmp"/>
+ <fo:external-graphic src="url(../../graphics/linux.bmp)"/>
</fo:block>
</fo:block>
<fo:block id="N2555">
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A TIFF image in FOP (Only works with JAI!)</fo:block>
<fo:block>
- <fo:external-graphic src="file:../../graphics/xml_fax.tif"/>
+ <fo:external-graphic src="url(../../graphics/xml_fax.tif)"/>
</fo:block>
</fo:block>
<fo:block id="N2559">
1.6.4.5 +1 -1 xml-fop/docs/examples/fo/list.fo
Index: list.fo
===================================================================
RCS file: /home/cvs/xml-fop/docs/examples/fo/list.fo,v
retrieving revision 1.6.4.4
retrieving revision 1.6.4.5
diff -u -r1.6.4.4 -r1.6.4.5
--- list.fo 30 Nov 2002 00:27:54 -0000 1.6.4.4
+++ list.fo 9 Jan 2003 01:10:47 -0000 1.6.4.5
@@ -225,7 +225,7 @@
url: http://www.w3.org/TR/xsl/ -->
<fo:block text-align="center"
space-before.optimum="0.5cm">
- <fo:external-graphic src="file:../../graphics/listgeometry.gif"/>
+ <fo:external-graphic src="url(../../graphics/listgeometry.gif)"/>
</fo:block>
<fo:block font-size="10pt"
font-family="sans-serif"
No revision
No revision
1.3.2.4 +3 -3 xml-fop/docs/examples/svg/external.fo
Index: external.fo
===================================================================
RCS file: /home/cvs/xml-fop/docs/examples/svg/external.fo,v
retrieving revision 1.3.2.3
retrieving revision 1.3.2.4
diff -u -r1.3.2.3 -r1.3.2.4
--- external.fo 30 Nov 2002 00:27:55 -0000 1.3.2.3
+++ external.fo 9 Jan 2003 01:10:48 -0000 1.3.2.4
@@ -61,11 +61,11 @@
</fo:block>
<fo:block>
-<fo:external-graphic src="file:boxes.svg"/>
+<fo:external-graphic src="url(boxes.svg)"/>
</fo:block>
<fo:block>
-This svg document (<fo:external-graphic src="file:multi.svg"/>) is also obtained from
+This svg document (<fo:external-graphic src="url(multi.svg)"/>) is also obtained from
an external file using the fo:external-graphic. It has another svg image inside and references
part of another svg image.
</fo:block>
@@ -122,7 +122,7 @@
<fo:block space-before.optimum="10pt">
This example is an svg from an external image:
-<fo:external-graphic src="file:view.svg"/>
+<fo:external-graphic src="url(view.svg)"/>
it has a viewbox that resizes the contents.
</fo:block>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org