Browse Source

This commit was manufactured by cvs2svn to create branch

'fop-0_20_2-maintain'.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195873 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_20_5rc2
(no author) 21 years ago
parent
commit
ab3a204814

+ 40
- 0
KEYS View File

@@ -0,0 +1,40 @@
This file contains the PGP keys of various developers.
Please don't use them for email unless you have to. Their main
purpose is code signing.

Users: pgp < KEYS
Developers:
pgp -kxa <your name> and append it to this file.
(pgpk -ll <your name> && pgpk -xa <your name>) >> this file.
(gpg --list-sigs <your name>
&& gpg --armor --export <your name>) >> this file.

pub 1024D/8408F755 2003-01-20 Christian Geisert <chrisg@apache.org>
sub 1024g/41D98B12 2003-01-20

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

mQGiBD4rT6kRBADPozVPJAOKLqcgtnGFHj0Qav5OBPqjTprJji0BgxPrcZLZQFUO
0AmeJpzwgE0vDISx+DgGOKPcqeCLnSqtoR3rYc5Tf57FPlZ/E2/fzMwC0soYzJ6e
E9uSsXBIPeeRHcrxyCYJx69g2D/zS2vGnAIr0LYLXhadvChK1zngU0pFswCg5z0a
TjCH+9VWzerOLaEQYqVyGgMD/i456FFD2lWes8amcN+wpBLSpxysyrbu1FOZ3sVi
MjYsODDeLKRB1Cxn6UMx7WE+Av+UhtoJkoTsvcGBtkj+rFfEav2WmCsYDvLwbqpE
P5Pun7qgXbznbzCqdNUavXM0goBQtyFhtGkJSoOVXM6H5raO3THEPXU971gkOC9+
agZDA/0WdV3VumDwi9DvII58Fv8K5HKxkZrLeUWAYJzgzeroYgfvuNKr/SrAFuyR
W8XxDMPMAMvO1qKUU1Zjffx6RUjeiptmF4ozLvU3I/Pr6atWJL8SPH6rrk6xDpZ5
Ev/we0MmRU5kk9Y8KGavAsOjbMbTv77DL2AZ8qapUQYqfuuiR7QlQ2hyaXN0aWFu
IEdlaXNlcnQgPGNocmlzZ0BhcGFjaGUub3JnPohXBBMRAgAXBQI+K0+pBQsHCgME
AxUDAgMWAgECF4AACgkQc84u+4QI91W/OwCffMPR+FpADYlte9AabXRuzomhdh4A
oNvl89kJdg43/nMw5CErpMvMFNjVuQENBD4rT6sQBACr7d7g+yOPuYaFeS9+wXlO
vz3gVWZNUOPalrJwWPQ2yXxCzEd4chpBDUsq7TusEe/RCSUuSQYe0FAET2der4Uj
6TJPB7SuJos3hrqsUQOluoEHS8bCPD7mpXIjd1+tQu57jxgcW4/VnEn3/c57blgY
V2/rpAUE8nDRPB1Z8oveJwAECwQAp0zOTs1ehN4MFzy/3T1xO8HVN7LiaZSc4mEs
oyIcEcD3iwxJqsVPmJLOfP8fhuqyv4QfG+7gdNBZqji5WTUK2o1vYgnEbvsnGDst
Lx9kwaWCalGMXdbuEzXoheX2JJCeP8YkPQw/r9rCeP0jLXExU3B6RJkDXBrZB7L3
Jdj2mxKIRgQYEQIABgUCPitPqwAKCRBzzi77hAj3VeUxAKCJXCs0vrCcfMSO/2M/
Eq/rMruVPwCg34SJtFP5wtlgHa7kdhBLKoenD7g=
=+cef
-----END PGP PUBLIC KEY BLOCK-----


+ 1106
- 0
src/documentation/content/xdocs/dev/fo/embedding.fo
File diff suppressed because it is too large
View File


+ 1304
- 0
src/documentation/content/xdocs/fo/fonts.fo
File diff suppressed because it is too large
View File


+ 123
- 0
src/documentation/content/xdocs/fo/size.fo View File

@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>

<fo:root font-family="Times Roman" font-size="12pt" xmlns:fo="http://www.w3.org/1999/XSL/Format">

<fo:layout-master-set>
<fo:simple-page-master
margin-right="1.5cm"
margin-left="1.5cm"
margin-bottom="2cm"
margin-top="1cm"
page-width="21cm"
page-height="29.7cm"
master-name="left">
<fo:region-before extent="0.5cm"/>
<fo:region-body margin-top="0.5cm" margin-bottom="1.7cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>

</fo:layout-master-set>

<fo:page-sequence id="N2528" master-reference="left">

<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" text-align="center">1. FOP test for images</fo:block>
<fo:block>
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">Normal</fo:block>
<fo:block>
The image (<fo:external-graphic src="images/fop.jpg"/>) is placed normally.
</fo:block>
</fo:block>

<fo:block>
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">Sized</fo:block>
<fo:block>
The image
(<fo:external-graphic content-width="50pt" content-height="50pt" src="images/fop.jpg"/>)
has the content size set.
</fo:block>
</fo:block>

<fo:block>
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">Sized</fo:block>
<fo:block>
The image
(<fo:external-graphic width="150pt" height="50pt" src="images/fop.jpg"/>)
has the width and height set.
</fo:block>
</fo:block>

<fo:block>
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">Sized</fo:block>
<fo:block>
The image
(<fo:external-graphic inline-progression-dimension.optimum="150pt" block-progression-dimension.optimum="50pt" src="images/fop.jpg"/>)
has the ipd and bpd set.
</fo:block>
</fo:block>

<fo:block>
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">Clipped</fo:block>
<fo:block>
The image
(<fo:external-graphic width="100pt" height="100pt" content-width="200pt" content-height="200pt" overflow="hidden" src="images/fop.jpg"/>)
is clipped with the content size double the viewport size.
</fo:block>
</fo:block>

<fo:block>
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">Clipped</fo:block>
<fo:block>
The image
(<fo:external-graphic width="50pt" height="50pt" overflow="error-if-overflow" src="images/fop.jpg"/>)
is clipped with the content size double the viewport size.
This has <fo:inline font-style="italic">error-if-overflow</fo:inline>
set so there should be an error reported, it can recover from the
error by clipping to the viewport.
</fo:block>
</fo:block>

<fo:block>
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">Scaling</fo:block>
<fo:block>
The image
(<fo:external-graphic content-width="100pt" content-height="50pt" scaling="non-uniform" src="images/fop.jpg"/>)
has non-uniform scaling.
</fo:block>
<fo:block>
The image
(<fo:external-graphic content-width="50pt" content-height="100pt" scaling="non-uniform" src="images/fop.jpg"/>)
has non-uniform scaling.
</fo:block>
<fo:block>
The image
(<fo:external-graphic content-width="100pt" content-height="75pt" scaling="uniform" src="images/fop.jpg"/>)
has uniform scaling.
</fo:block>
<fo:block>
The image
(<fo:external-graphic content-width="75pt" content-height="100pt" scaling="uniform" src="images/fop.jpg"/>)
has uniform scaling.
</fo:block>
<fo:block>
The image
(<fo:external-graphic width="75pt" height="100pt" content-width="scale-to-fit" content-height="scale-to-fit" src="images/fop.jpg"/>)
is scaled to fit the viewport.
</fo:block>
</fo:block>

<fo:block>
<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:root>


BIN
src/documentation/resources/images/EmbeddingExampleFO2PDF.png View File


+ 19
- 0
src/documentation/resources/images/EmbeddingExampleFO2PDF.svg View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
<svg xml:space="preserve" x="-3.11174in" y="-4.15204in" width="1.73528in" height="0.317961in" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality" viewBox="-7904 0 4408 808">
<g id="Ebene 1">
<g>
<rect id="45625816" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-7900" y="4" width="1900" height="800"/>
<text x="-7705" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">XSL-FO</text>
</g>
<g>
<path id="45626344" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-6000 404l1100 0m-550 0"/>
<path id="45626344" style="fill:#1F1A17" d="M-5069 311l169 93 -169 93 0 -186 169 93z"/>
</g>
<text x="-5792" y="304" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">FOP</text>
<g>
<text x="-4614" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">PDF</text>
<rect id="45626520" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-4900" y="4" width="1400" height="800"/>
</g>
</g>
</svg>

BIN
src/documentation/resources/images/EmbeddingExampleObj2PDF.png View File


+ 39
- 0
src/documentation/resources/images/EmbeddingExampleObj2PDF.svg View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
<svg xml:space="preserve" x="-3.11174in" y="-1.90795in" width="3.74316in" height="0.317961in" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality" viewBox="-7904 0 9508 808">
<g id="Ebene 1">
<g>
<rect id="46471616" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-7900" y="4" width="1380" height="800"/>
<text x="-7650" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">Java</text>
</g>
<g>
<path id="46471528" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-6520 404l1140 0m-570 0"/>
<path id="46471528" style="fill:#1F1A17" d="M-5549 311l169 93 -169 93 0 -186 169 93z"/>
</g>
<text x="-6284" y="304" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">SAX</text>
<g>
<rect id="46471880" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-5380" y="4" width="1380" height="800"/>
<text x="-5117" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">XML</text>
</g>
<g>
<path id="46472144" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-4000 404l1200 0m-600 0"/>
<path id="46472144" style="fill:#1F1A17" d="M-2969 311l169 93 -169 93 0 -186 169 93z"/>
</g>
<text x="-3745" y="304" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">XSLT</text>
<text x="-3755" y="704" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">JAXP</text>
<g>
<path id="46471088" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-900 404l0 0 0 0 0 0m0 0m0 0m0 0"/>
<rect id="46471176" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-2800" y="4" width="1900" height="800"/>
<text x="-2605" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">XSL-FO</text>
</g>
<g>
<path id="46470736" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-900 404l1100 0m-550 0"/>
<path id="46470736" style="fill:#1F1A17" d="M31 311l169 93 -169 93 0 -186 169 93z"/>
</g>
<text x="-692" y="304" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">FOP</text>
<g>
<text x="486" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">PDF</text>
<rect id="46470912" style="fill:none;stroke:#1F1A17;stroke-width:8" x="200" y="4" width="1400" height="800"/>
</g>
</g>
</svg>

BIN
src/documentation/resources/images/EmbeddingExampleObj2XML.png View File


+ 19
- 0
src/documentation/resources/images/EmbeddingExampleObj2XML.svg View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
<svg xml:space="preserve" x="-3.11174in" y="-2.45913in" width="1.53843in" height="0.317961in" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality" viewBox="-7904 0 3908 808">
<g id="Ebene 1">
<g>
<rect id="46470384" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-5380" y="4" width="1380" height="800"/>
<text x="-5117" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">XML</text>
</g>
<g>
<path id="46471440" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-6520 404l1140 0m-570 0"/>
<path id="46471440" style="fill:#1F1A17" d="M-5549 311l169 93 -169 93 0 -186 169 93z"/>
</g>
<text x="-6284" y="304" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">SAX</text>
<g>
<rect id="46470120" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-7900" y="4" width="1380" height="800"/>
<text x="-7650" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">Java</text>
</g>
</g>
</svg>

BIN
src/documentation/resources/images/EmbeddingExampleXML2FO.png View File


+ 20
- 0
src/documentation/resources/images/EmbeddingExampleXML2FO.svg View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
<svg xml:space="preserve" x="-3.11174in" y="-3.60086in" width="1.73528in" height="0.317961in" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality" viewBox="-7904 0 4408 808">
<g id="Ebene 1">
<g>
<rect id="45626960" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-7900" y="4" width="1380" height="800"/>
<text x="-7638" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">XML</text>
</g>
<g>
<path id="45627312" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-6520 404l1120 0m-560 0"/>
<path id="45627312" style="fill:#1F1A17" d="M-5569 311l169 93 -169 93 0 -186 169 93z"/>
</g>
<text x="-6345" y="304" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">XSLT</text>
<text x="-6355" y="704" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">JAXP</text>
<g>
<rect id="45626080" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-5400" y="4" width="1900" height="800"/>
<text x="-5205" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">XSL-FO</text>
</g>
</g>
</svg>

BIN
src/documentation/resources/images/EmbeddingExampleXML2PDF.png View File


+ 30
- 0
src/documentation/resources/images/EmbeddingExampleXML2PDF.svg View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
<svg xml:space="preserve" x="-3.11174in" y="-3.04968in" width="2.71954in" height="0.317961in" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality" viewBox="-7904 0 6908 808">
<g id="Ebene 1">
<g>
<rect id="46469856" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-7900" y="4" width="1380" height="800"/>
<text x="-7638" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">XML</text>
</g>
<g>
<path id="46469416" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-6520 404l1120 0m-560 0"/>
<path id="46469416" style="fill:#1F1A17" d="M-5569 311l169 93 -169 93 0 -186 169 93z"/>
</g>
<text x="-6345" y="304" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">XSLT</text>
<text x="-6355" y="704" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">JAXP</text>
<g>
<path id="46469504" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-3500 404l0 0 0 0 0 0m0 0m0 0m0 0"/>
<rect id="46469592" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-5400" y="4" width="1900" height="800"/>
<text x="-5205" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">XSL-FO</text>
</g>
<g>
<path id="46470648" style="fill:none;stroke:#1F1A17;stroke-width:8" d="M-3500 404l1100 0m-550 0"/>
<path id="46470648" style="fill:#1F1A17" d="M-2569 311l169 93 -169 93 0 -186 169 93z"/>
</g>
<text x="-3292" y="304" style="fill:#1F1A17;font-weight:normal;font-size:284;font-family:Helvetica,Arial,sans-serif">FOP</text>
<g>
<text x="-2114" y="556" style="fill:#1F1A17;font-weight:normal;font-size:423;font-family:Helvetica,Arial,sans-serif">PDF</text>
<rect id="46468800" style="fill:none;stroke:#1F1A17;stroke-width:8" x="-2400" y="4" width="1400" height="800"/>
</g>
</g>
</svg>

Loading…
Cancel
Save