<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN" "book-cocoon-v10.dtd">
+ <!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-cocoon2/src/documentation/xdocs/dtd/book-cocoon-v10.dtd">
+
<book software="FOP"
title="FOP"
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" encoding="UTF-8"?>
-<!--DOCTYPE compliance PUBLIC "-//APACHE//DTD Compliance V1.0//EN" "compliance-v10.dtd"-->
+<!DOCTYPE compliance PUBLIC "-//APACHE//DTD Compliance V1.0//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-fop/src/documentation/resources/schema/dtd/compliance-v10.dtd?rev=1.1">
<compliance>
<head>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
- <header>
- <title>Area Tree</title>
- <subtitle>Area Tree Design for FOP</subtitle>
- <authors>
- <person name="Keiron Liddle" email="keiron@aftexsw.com"/>
- </authors>
- </header>
+ <header>
+ <title>Area Tree</title>
+ <subtitle>Area Tree Design for FOP</subtitle>
+ <authors>
+ <person name="Keiron Liddle" email="keiron@aftexsw.com"/>
+ </authors>
+ </header>
- <body>
+ <body>
<section>
<title>Area Tree</title>
<p>
</p>
<p>
The renderer will need to be able to:
+ </p>
<ul>
- <li><p>
-render each individual page
- </p></li>
- <li><p>
-clip and align child areas to a viewport
- </p></li>
- <li><p>
-handle all types of inline area, text, image etc.
- </p></li>
- <li><p>
-draw various lines and rectangles
- </p></li>
+ <li>render each individual page</li>
+ <li>clip and align child areas to a viewport</li>
+ <li>handle all types of inline area, text, image etc.</li>
+ <li>draw various lines and rectangles</li>
</ul>
- </p>
<p>
An abstract renderer will be able to handle the generic positioning
of child areas, iterating through areas that have child areas.
</section>
</section>
- </body>
+ </body>
</document>
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN" "book-cocoon-v10.dtd">
+<!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-cocoon2/src/documentation/xdocs/dtd/book-cocoon-v10.dtd">
<book software="FOP"
title="FOP Design"
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
</section>
<section>
<title>Logging</title>
-<p>
<ul>
<li>logging level</li>
<li>logging messages of various levels</li>
<li>error handling</li>
<li>Logging setup (LogKit, Log4J, JDK14Logging)</li>
</ul>
- </p>
</section>
<section>
<title>XML input</title>
-<p>
<ul>
<li>various ways to supply FOP with the xsl:fo file, fo, xml+xsl</li>
<li>sax handler</li>
</ul>
- </p>
</section>
<section>
<title>general options</title>
-<p>
<ul>
<li>base directory</li>
<li>uri resolvers</li>
<li>which implementation of a particular</li>
<li>LayoutManager to use</li>
</ul>
- </p>
</section>
<section>
<title>Rendering Options</title>
-<p>
<ul>
<li>embedding fonts</li>
<li>compression in pdf</li>
<li>image embedding</li>
</ul>
-</p>
<p>
for the PS renderer (eventually):
+</p>
<ul>
<li>PostScript Level</li>
<li>PPD to use</li>
<li>binary/ascii switch</li>
</ul>
- </p>
</section>
<section>
<title>User Agent</title>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
</p>
<p>
eg.
-<source><![CDATA[<my:script-link script="app.execMenuItem('AcroSrch:Query');">
+<code><![CDATA[<my:script-link script="app.execMenuItem('AcroSrch:Query');">
Search
-</my:script-link>]]></source>
+</my:script-link>]]></code>
to result in a text box referencing the following PDF action:
-<source><![CDATA[<< /S /JavaScript /JS (app.execMenuItem("AcroSrch:Query");) >>]]></source>
+<code><![CDATA[<< /S /JavaScript /JS (app.execMenuItem("AcroSrch:Query");) >>]]></code>
</p>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
accomplishes this by using a <em>PropertyListBuilder</em>. There is a
separate <em>PropertyListBuilder</em> for each namespace encountered
while building the FO tree. Each Builder object contains a hash of
-property names and <ref>their</ref> respective makers. It may also
+property names and <em>their</em> respective makers. It may also
contain element-specific property maker hashes; these are based on the
<em>local name</em> of the flow object, ie. <em>table-row</em>, not
<em>fo:table-row</em>. If an element-specific property mapping exists,
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
In achieving this aim we need to understand the problem and break it
into small problems that can be solved.
</p>
- <p>
<ul>
<li>use SAX as input</li>
<li>process FO elements ASAP</li>
<li>renderers are totally responsible for their output format</li>
<li>output is sent to a stream</li>
</ul>
- </p>
</section>
</section>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
the start or end of a particular reference area.
</p>
<p>
- <image src="page.svg"/>
+ <img src="page.svg" alt="Diagram of Page Layout"/>
</p>
<p>
The spacing between the areas (including spacing in block areas inside
side float.
</p>
<p>
-<image src="float.svg"/>
+<img src="float.svg" alt="Diagram of Float"/>
</p>
</section>
<section>
<title>Block Areas</title>
<p>
The block area has info about the following:
+ </p>
<ul>
- <li><p>
-all anchors including which lines they are on
- </p></li>
- <li><p>
-unresolved page references with line info
- </p></li>
- <li><p>
-id and link areas
- </p></li>
- <li><p>
-height (min/max/optimum) or area including floats
- </p></li>
- <li><p>
-holds space before/after and keep information
- </p></li>
- <li><p>
-widows and orphans
- </p></li>
+ <li>all anchors including which lines they are on</li>
+ <li>unresolved page references with line info</li>
+ <li>id and link areas</li>
+ <li>height (min/max/optimum) or area including floats</li>
+ <li>holds space before/after and keep information</li>
+ <li>widows and orphans</li>
</ul>
- </p>
<p>
Once the layout has been finalised then this information can be
discarded.
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<!-- Status of Design/Rewrite -->
</section>
<section>
<title>Features TODO</title>
-<p>
<ul>
<li>avalon integration - logging, configuration, component management, caching, uri resolver</li>
<li>improved interfaces
</li>
<li>better commandline handling</li>
</ul>
- </p>
</section>
<section>
<title>Done/Started Features</title>
Many of these changes will make FOP much better to use and develop.
So if you help out with the development you can get to use these
things sooner.
+</p>
<ul>
<li><strong>better layout design</strong> - that can handle keeps and
spacing better</li>
<li>changed area tree xml format to match the area tree hierarchy</li>
</ul>
- </p>
</section>
</body>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<p>
Standard Features:
+ </p>
<ul>
- <li><p>
-error handling, what to do if fo markup is invalid
- </p></li>
- <li><p>
-auto overflow value and handling error-if-overflow
- </p></li>
- <li><p>
-adjusting length values (eg. for borders) to renderable values
- </p></li>
- <li><p>
-available fonts
- </p></li>
- <li><p>
-converting cm/in to pt (dpi)
- </p></li>
- <li><p>
-active state for multi properties
- </p></li>
- <li><p>
-title, used to identify a set of pages (in a page sequence)
- </p></li>
- <li><p>
-the width (in inline-progression-dimension) of a character with
-treat-word-as-space true
- </p></li>
- <li><p>
-maximum space used by conditional areas from region-reference-area
- </p></li>
- <li><p>
-if there should be "hot links" to before floats or footnotes
- </p></li>
- <li><p>
-when to clear side floats if space in inline-progression-dimension
-is not enough
- </p></li>
- <li><p>
-placement of left over footnotes on a page with a region-body
- </p></li>
- <li><p>
-using color property as border colour
- </p></li>
- <li><p>
-interpretting all border styles (except outset) as solid
- </p></li>
- <li><p>
-thin, medium and thick values for border width
- </p></li>
- <li><p>
-initial font-family value
- </p></li>
- <li><p>
-absolute font sizes (eg, xx-small, x-small etc.)
- </p></li>
- <li><p>
-relative font sizes (eg. larger, smaller)
- </p></li>
- <li><p>
-small caps simulation
- </p></li>
- <li><p>
-font weight mapping
- </p></li>
- <li><p>
-baseline info for a font if not available
- </p></li>
- <li><p>
-determining sub/superscript when another baseline is dominant
- </p></li>
- <li><p>
-scaling method for external-graphic and instream-foreign-object
- </p></li>
- <li><p>
-the width of a replaced element
- </p></li>
- <li><p>
-"normal" line height value
- </p></li>
- <li><p>
-text alignment (stretching the line with letter and word spacing)
- </p></li>
- <li><p>
-text transform
- </p></li>
- <li><p>
-initial color
- </p></li>
- <li><p>
-rendering intent of auto
- </p></li>
- <li><p>
-dot character for leader
- </p></li>
- <li><p>
-line breaking with leaders, use optimum length when breaking the line
- </p></li>
- <li><p>
-page height/width of auto
- </p></li>
- <li><p>
-left and right caption widths
- </p></li>
- <li><p>
-glyph orientation vertical of auto
- </p></li>
- <li><p>
-rendering processor of content-type (mime type)
- </p></li>
+ <li>error handling, what to do if fo markup is invalid</li>
+ <li>auto overflow value and handling error-if-overflow</li>
+ <li>adjusting length values (eg. for borders) to renderable values</li>
+ <li>available fonts</li>
+ <li>converting cm/in to pt (dpi)</li>
+ <li>active state for multi properties</li>
+ <li>title, used to identify a set of pages (in a page sequence)</li>
+ <li>the width (in inline-progression-dimension) of a character with
+treat-word-as-space true</li>
+ <li>maximum space used by conditional areas from region-reference-area</li>
+ <li>if there should be "hot links" to before floats or footnotes</li>
+ <li>when to clear side floats if space in inline-progression-dimension
+is not enough</li>
+ <li>placement of left over footnotes on a page with a region-body</li>
+ <li>using color property as border colour</li>
+ <li>interpretting all border styles (except outset) as solid</li>
+ <li>thin, medium and thick values for border width</li>
+ <li>initial font-family value</li>
+ <li>absolute font sizes (eg, xx-small, x-small etc.)</li>
+ <li>relative font sizes (eg. larger, smaller)</li>
+ <li>small caps simulation</li>
+ <li>font weight mapping</li>
+ <li>baseline info for a font if not available</li>
+ <li>determining sub/superscript when another baseline is dominant</li>
+ <li>scaling method for external-graphic and instream-foreign-object</li>
+ <li>the width of a replaced element</li>
+ <li>"normal" line height value</li>
+ <li>text alignment (stretching the line with letter and word spacing)</li>
+ <li>text transform</li>
+ <li>initial color</li>
+ <li>rendering intent of auto</li>
+ <li>dot character for leader</li>
+ <li>line breaking with leaders, use optimum length when breaking the line</li>
+ <li>page height/width of auto</li>
+ <li>left and right caption widths</li>
+ <li>glyph orientation vertical of auto</li>
+ <li>rendering processor of content-type (mime type)</li>
</ul>
- </p>
<p>
Interactive Features:
+ </p>
<ul>
- <li><p>
-inline and block scroll amount
- </p></li>
- <li><p>
-dynamic effects, links and property sets
- </p></li>
- <li><p>
-initial "pause-after", "pause-before" and "voice-family" value
- </p></li>
- <li><p>
-treating fixed as scroll on background attachement
- </p></li>
- <li><p>
-media usage of auto
- </p></li>
+ <li>inline and block scroll amount</li>
+ <li>dynamic effects, links and property sets</li>
+ <li>initial "pause-after", "pause-before" and "voice-family" value</li>
+ <li>treating fixed as scroll on background attachement</li>
+ <li>media usage of auto</li>
</ul>
- </p>
</section>
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN" "book-cocoon-v10.dtd">
+<!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-cocoon2/src/documentation/xdocs/dtd/book-cocoon-v10.dtd">
<book software="FOP"
title="FOP"
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
- <document>
- <header>
- <title>Configuration</title>
- </header>
- <body>
- <section>
- <title>Configuring FOP</title>
- <p>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
+
+<document>
+ <header>
+ <title>Configuration</title>
+ </header>
+ <body>
+ <section>
+ <title>Configuring FOP</title>
+ <p>
In the directory xml-fop/conf you will find an example
configuration file. It contains the default values of various
configurable options available in FOP.
and rebuild Fop. The file will be picked up and added
to the fop.jar.
</p>
- </section>
- </body>
- </document>
+ </section>
+ </body>
+</document>
+
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
+
<document>
<header>
<title>FO Examples</title>
<title>Images Examples</title>
<p>
Embedding images in FO:
+ </p>
<table>
<caption>Images in FO</caption>
<tr>
<td><link href="../fo/size.fo.pdf">size.fo.pdf</link></td>
</tr>
</table>
- </p>
</section>
<section>
<title>Instream Foreign Object Examples</title>
<p>
Instream Foreign Object images in FO, there are more on the
<link href="svg.html">SVG Page</link>:
+ </p>
<table>
- <caption>Images in FO</caption>
+ <caption>Embedding instream-foreign-object</caption>
<tr>
<th>description</th>
<th>fo file</th>
<td><link href="../fo/embed.fo.pdf">embed.fo.pdf</link></td>
</tr>
</table>
- </p>
</section>
</body>
</document>
+
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
- <document>
- <header>
- <title>Extensions to FOP</title>
- </header>
- <body>
- <section>
- <title>Overview</title>
- <p>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
+
+<document>
+ <header>
+ <title>Extensions to FOP</title>
+ </header>
+ <body>
+ <section>
+ <title>Overview</title>
+ <p>
If the default funtionality of FOP needs to be extended for
some reason then you can write an extensions.
</p>
</p>
<p>
Put your jar file in the classpath and then run fop over the fo file.
- </p>
- </section>
- </body>
- </document>
+ </p>
+ </section>
+ </body>
+</document>
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE faqs PUBLIC "-//APACHE//DTD FAQ V1.1//EN" "dtd/faq-v11.dtd">
+<!DOCTYPE faqs PUBLIC "-//APACHE//DTD FAQ V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/faq-v11.dtd">
+
<faqs title="FOP FAQ">
<part>
<title>General questions</title>
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
+
<document>
<header>
<title>FOP 1.0 development</title>
FOP - someone who is overly concerned with style, also conveniently
can mean Formatting Object Processor.
</note>
-<p>
<figure width="480" height="260" src="../images/document.jpg" alt="Render Diagram" />
-</p>
<p>The latest version of Fop is 0.20.4 and it supports the
<jump href="http://www.w3.org/TR/2001/REC-xsl-20011015/">XSL-FO Version 1.0
W3C Recommendation</jump>.
</section>
<section>
<title>Formatting</title>
- <p>
<figure width="480" height="260" src="../images/layout.jpg" alt="Formatting Diagram" />
-</p>
<p>
This image is a demonstration of a two page document. The xml data on the left
is formatted into the two pages on the right. The document contains static areasthat appear on every page, an external graphic in this case an svg document.
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
- <document>
- <header>
- <title>SVG in FOP</title>
- </header>
- <body>
- <section>
- <title>Introduction</title>
- <p>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
+
+<document>
+ <header>
+ <title>SVG in FOP</title>
+ </header>
+ <body>
+ <section>
+ <title>Introduction</title>
+ <p>
FOP uses the SVG library from
<link href="http://xml.apache.org/batik/">Batik</link> to handle SVG.
This format can be handled as an <code>fo:instream-foreign-object</code>
<p>
These examples illustrate a number of issues relating to conversion
to PDF:
+ </p>
<table>
<caption>SVG to PDF examples</caption>
<tr>
<p>
As can be seen most of the specific issues are handled.
</p>
- <p>
<note>
You will need Acrobat 5.0 to see transparency.
</note>
- </p>
<table>
<caption>XSL:FO to PDF examples</caption>
<tr>
<td><link href="fo/embedding.fo.pdf">embedding.fo.pdf</link></td>
</tr>
</table>
- </p>
</section>
<section>
<title>Important Notes</title>
</section>
<section>
<title>Known Problems</title>
- <p>
<ul>
<li>
soft mask transparency is combined with white so that it looks better
into a raster graphic are not drawn properly in PDF. The image is opaque.
</li>
</ul>
- </p>
</section>
<section>
<title>Developer Notes</title>
<p>
These are the relevant classes, found in the package org.apache.fop.svg :
</p>
- <p>
<ul>
<li><em>PDFGraphics2D</em>
<br/>
PDFDocumentGraphics2D.
</li>
</ul>
- </p>
</section>
<section>
<title>Ideas</title>
Batik can convert ttf to svg font.
This svg font could be converted into a pdf stroked font
(type 3 font).
- </p>
- </section>
- </section>
- </body>
- </document>
+ </p>
+ </section>
+ </section>
+ </body>
+</document>
+
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<!-- Embedding FOP -->
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE faqs PUBLIC "-//APACHE//DTD FAQ V1.1//EN" "dtd/faq-v11.dtd">
+<!DOCTYPE faqs PUBLIC "-//APACHE//DTD FAQ V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/faq-v11.dtd">
+
<faqs title="FOP FAQ">
<part>
<title>General questions</title>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<!-- How to get Help -->
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
- <document>
- <header>
- <title>FOP</title>
- </header>
- <body>
- <section>
- <title>Introduction</title>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
+
+<document>
+ <header>
+ <title>FOP</title>
+ </header>
+ <body>
+ <section>
+ <title>Introduction</title>
<p>FOP (Formatting Objects Processor) is the world's first print formatter driven by XSL formatting
objects and the world's first output independent formatter. It is a
Java application that reads a formatting object tree and then
to <link href="mailto:fop-user-subscribe@xml.apache.org">fop-user-subscribe@xml.apache.org</link>
this is where user specific topics are discussed.
</p>
- </section>
+ </section>
<section>
<title>Formatting</title>
better handle the formatting of all different types of formatting objects.
</p>
</section>
- </body>
- </document>
+ </body>
+</document>
+
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<!-- Output Formats: Renderers -->
<document>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<!-- FOP Relevant Specifications and links -->
<document>
- <header>
- <title>Resources</title>
- <subtitle>Resources useful for developing and using FOP</subtitle>
- </header>
+ <header>
+ <title>Resources</title>
+ <subtitle>Resources useful for developing and using FOP</subtitle>
+ </header>
- <body>
+ <body>
<section>
<title>FOP Relevant Specifications and Links</title>
</ul>
</section>
</section>
- </body>
+ </body>
</document>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<!-- Status -->
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<!-- SVG in FOP -->
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN" "tab-cocoon-v10.dtd">
+ <!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/tab-cocoon-v10.dtd">
<tabs software="MyProj"
title="MyProj"
xmlns:xlink="http://www.w3.org/1999/xlink">
<tab label="Home" dir=""/>
- <tab label="dev" dir="dev/"/>
+ <tab label="Redesign" dir="dev/"/>
</tabs>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+ "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
<document>
<header>