Browse Source

corrected relative urls for external-graphic in examples


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195835 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_20_5rc2
Christian Geisert 21 years ago
parent
commit
f270ebf409
3 changed files with 9 additions and 9 deletions
  1. 5
    5
      docs/examples/fo/images.fo
  2. 1
    1
      docs/examples/fo/list.fo
  3. 3
    3
      docs/examples/svg/external.fo

+ 5
- 5
docs/examples/fo/images.fo View File

@@ -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
- 1
docs/examples/fo/list.fo View File

@@ -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"

+ 3
- 3
docs/examples/svg/external.fo View File

@@ -61,11 +61,11 @@ The following svg document is obtained from an external file using the fo:extern
</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 @@ and

<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>


Loading…
Cancel
Save