diff options
Diffstat (limited to 'docs')
117 files changed, 2214 insertions, 1374 deletions
diff --git a/docs/apidoc.jar b/docs/apidoc.jar Binary files differdeleted file mode 100644 index 4a800cdd8..000000000 --- a/docs/apidoc.jar +++ /dev/null diff --git a/docs/bugs.html b/docs/bugs.html new file mode 100644 index 000000000..97e82882c --- /dev/null +++ b/docs/bugs.html @@ -0,0 +1,41 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Bugs</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/bugs-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="Bugs" border="0" height="12" hspace="0" src="graphics/bugs-label-1.jpg" vspace="0" width="120"><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>How to report bugs</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>Please use the bug reporting system <A href="http://xml.apache.org/bugs/">bugzilla + </A>, which is part of xml.apache.org.</P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Some bugs</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>In release version 0.12.0 you cannot use FOP with the commandline XTCommandLine. + This results always in the fatal error "Root element must be root". If you need + XTCommandLine please use the cvs version, where the bug is fixed, or a newer version + of FOP. + </P> + <P>The page count (/Count tag) in the Pages dictionary is 0 in PDF files produced by + FOP. Most of the time this doesn't do any harm, but it has been reported to be a + problem with xpdf. + </P> + <P>Colour not continued onto subsequent pages, if coloured block goes over page. + </P> + </FONT></TD></TR></TABLE><BR> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/compiling.html b/docs/compiling.html new file mode 100644 index 000000000..58b4980b7 --- /dev/null +++ b/docs/compiling.html @@ -0,0 +1,65 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Compiling FOP</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/compiling-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <IMG alt="Compiling" border="0" height="12" hspace="0" src="graphics/compiling-label-1.jpg" vspace="0" width="120"><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Prerequisites</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Java 1.1.x or later</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>If you use Java 1.1.x you must also seperately include the swing classes, which can + be found at the <A href="http://java.sun.com/products/jfc/#download-swing"> + Sun website</A>. From Java 1.2 on (aka Java 2) they are part of the standard + distribution. + </P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>An XML parser</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>An XML parser which supports DOM like + <A href="http://xml.apache.org/xerces-j/index.html">Xerces-J</A>.</P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>XT from James Clark</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>Some of the Java source code in FOP is generated from XML using + XSLT. XT must be used to generate this code.</P> + <P>XT is an XSL stylesheet processor written in java. At the moment you + can't use any other processor, because the make file makes use of some + proprietary features of Clark's xt which allow to write output in more + then one document. You can find XT at <A href="http://www.jclark.com/xml/xt.html"> + James Clark's website</A>. You have to use XT version 19991105 or later.</P> + <P>(Under windows you shouldn't use the prepackaged xt.exe but also the + generic jar file, otherwise make won't work) + </P> + <P>XT relies on an sax parser like XP (also J. Clark), which can be + downloaded at <A href="http://www.jclark.com/xml/xp/index.html">James + Clark's Website</A> + </P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>make</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>Under windows it has been reported that the use of the cygnus solutions port + of the GNU utilities works. You can find it at + <A href="http://sourceware.cygnus.com/cygwin/">Cygnus Solutions</A> + </P> + </FONT></TD></TR></TABLE><BR> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Compiling FOP on MacOS</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + + <P>We strongly recommend the use of Codewarrior Java. You will find + a link to more information in the near future. + </P> + </FONT></TD></TR></TABLE><BR> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/download.html b/docs/download.html new file mode 100644 index 000000000..c62fe5b34 --- /dev/null +++ b/docs/download.html @@ -0,0 +1,43 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Downloading FOP</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/download-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="Download" border="0" height="12" hspace="0" src="graphics/download-label-1.jpg" vspace="0" width="120"><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Downloading binaries</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>You can download the latest release version <A href="http://xml.apache.org/dist/fop_bin_0_12_1.jar">FOP 0.12.1</A>. </P> + <P>NOTE: you do not have to unjar or unzip this jar file.</P> + <P>To run FOP from the command line, see <A href="running.html">Running FOP</A>. If you are + interested in embedding FOP in a Java application of your own, see + <A href="embedding.html">Embedding FOP</A>. + </P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Downloading documentation</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>Documentation can be downloaded here as <A href="http://xml.apache.org/dist/fop_doc_0_12_1.jar">jar file</A>. + </P> + </FONT></TD></TR></TABLE><BR> +--> + + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Downloading source code</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>You can also download the <A href="http://xml.apache.org/dist/fop_src_0_12_1.jar">source code + v. 0.12.1</A> as a jar file + </P> + </FONT></TD></TR></TABLE><BR> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/embedding.html b/docs/embedding.html new file mode 100644 index 000000000..5605049c5 --- /dev/null +++ b/docs/embedding.html @@ -0,0 +1,56 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Embedding FOP </TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/embedding-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="Embedding" border="0" height="12" hspace="0" src="graphics/embedding-label-1.jpg" vspace="0" width="120"><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B></B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>Instantiate org.apache.fop.apps.Driver. Once this class is + instantiated, methods are called to set the + Renderer to use, the (possibly multiple) ElementMapping(s) to + use and the PrintWriter to use to output the results of the + rendering (where applicable). In the case of the Renderer and + ElementMapping(s), the Driver may be supplied either with the + object itself, or the name of the class, in which case Driver will + instantiate the class itself. The advantage of the latter is it + enables runtime determination of Renderer and ElementMapping(s). + </P> + <P>Once the Driver is set up, the buildFOTree method + is called. Depending on whether DOM or SAX is being used, the + invocation of the method is either buildFOTree(Document) or + buildFOTree(Parser, InputSource) respectively. + </P> + <P>A third possibility may be used to build the FO Tree, namely + calling getDocumentHandler() and firing the SAX events yourself. + </P> + <P>Once the FO Tree is built, the format() and render() methods may be + called in that order. + </P> + <P>Here is an example use of Driver from CommandLine.java:</P> + <P><CODE><FONT face="courier, monospaced">Driver driver = new Driver();</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">driver.setRenderer("org.apache.fop.render.pdf.PDFRenderer", version);</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">driver.addElementMapping("org.apache.fop.fo.StandardElementMapping");</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">driver.addElementMapping("org.apache.fop.svg.SVGElementMapping");</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">driver.setWriter(new PrintWriter(new FileWriter(args[1])));</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">driver.buildFOTree(parser, fileInputSource(args[0]));</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">driver.format();</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">driver.render();</FONT></CODE></P> + </FONT></TD></TR></TABLE><BR> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/examples.html b/docs/examples.html new file mode 100644 index 000000000..df81eae69 --- /dev/null +++ b/docs/examples.html @@ -0,0 +1,60 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Examples</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/examples-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="Examples" border="0" height="12" hspace="0" src="graphics/examples-label-1.jpg" vspace="0" width="120"><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Warning</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>The following files show some simple examples, how formatting object files conforming to the xsl working + draft could look like to work with FOP. Please be warned: At the moment FOP only supports the + XSL Working Draft 21 April 1999 and the examples are also following this version. + </P> + + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Normal text</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <UL> + <LI><A href="examples/normal.fo">xsl-fo-file</A></LI> + <LI><A href="examples/normal.pdf">pdf-file</A></LI> + </UL> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Simple table</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <UL> + <LI><A href="examples/table.fo">xsl-fo-file</A></LI> + <LI><A href="examples/table.pdf">pdf-file</A></LI> + </UL> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Simple list</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <UL> + <LI><A href="examples/list.fo">xsl-fo-file</A></LI> + <LI><A href="examples/list.pdf">pdf-file</A></LI> + </UL> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>All examples</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <UL> + <LI><A href="examples/fop-examples.jar">jar file</A></LI> + </UL> + <P>You can unpack this jar file by using the java command line tool jar</P> + <P>jar xf fop-examples.jar</P> + <P>The jar file format is identical with the zip file format, so you can + can also use your normal unzip tools instead of jar + </P> + </FONT></TD></TR></TABLE><BR> + +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/examples/fop-examples.jar b/docs/examples/fop-examples.jar Binary files differnew file mode 100644 index 000000000..e1ed9e343 --- /dev/null +++ b/docs/examples/fop-examples.jar diff --git a/docs/examples/list.fo b/docs/examples/list.fo new file mode 100644 index 000000000..90c673474 --- /dev/null +++ b/docs/examples/list.fo @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> + + <!-- defines the layout master --> + <fo:layout-master-set> + <fo:simple-page-master page-master-name="first" + height="29.7cm" width="21cm" + margin-top="1cm" + margin-bottom="2cm" + margin-left="2.5cm" + margin-right="2.5cm"> + <fo:region-before extent="3cm"/> + <fo:region-body margin-top="3cm"/> + <fo:region-after extent="1.5cm"/> + </fo:simple-page-master> + </fo:layout-master-set> + + <!-- starts actual layout --> + <fo:page-sequence> + + <!-- applies layout master --> + <fo:sequence-specification> + <fo:sequence-specifier-single page-master-name="first"/> + </fo:sequence-specification> + + <!-- Inserts a header with the page number --> + <fo:static-content flow-name="xsl-before"> + <fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt"> + XSL-FO Example: simple list - p. <fo:page-number/> + </fo:block> + </fo:static-content> + + <fo:flow flow-name="xsl-body"> + + <!-- title --> + <fo:block font-size="14pt" + font-family="sans-serif" + line-height="18pt" + space-before.optimum="3pt" + space-after.optimum="3pt" + font-weight="bold" + start-indent="15pt"> + Validity Constraint: Standalone Document Declaration + </fo:block> + + <!-- normal text --> + <fo:block font-size="12pt" + font-family="sans-serif" + line-height="15pt" + space-after.optimum="3pt" > + The standalone document declaration must have the value "no" if + any external markup declarations contain declarations of: + </fo:block> + + <!-- list --> + <fo:list-block> + + <!-- list item --> + <fo:list-item> + <!-- insert a bullet --> + <fo:list-item-label> + <fo:block>•</fo:block> + </fo:list-item-label> + <!-- list text --> + <fo:list-item-body> + <fo:block> + attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or + </fo:block> + </fo:list-item-body> + </fo:list-item> + + <!-- list item --> + <fo:list-item> + <!-- insert a bullet --> + <fo:list-item-label> + <fo:block>•</fo:block> + </fo:list-item-label> + <!-- list text --> + <fo:list-item-body> + <fo:block> + entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or + </fo:block> + </fo:list-item-body> + </fo:list-item> + + <!-- list entry --> + <fo:list-item> + <!-- insert a bullet --> + <fo:list-item-label> + <fo:block>•</fo:block> + </fo:list-item-label> + <!-- list text --> + <fo:list-item-body> + <fo:block> + attributes with values subject to normalization, where the attribute appears in the document with a value which will + </fo:block> + </fo:list-item-body> + </fo:list-item> + + <!-- list entry --> + <fo:list-item> + <!-- insert a bullet --> + <fo:list-item-label> + <fo:block>•</fo:block> + </fo:list-item-label> + <!-- list text --> + <fo:list-item-body> + <fo:block> + change as a result of normalization, or + </fo:block> + </fo:list-item-body> + </fo:list-item> + + <!-- list entry --> + <fo:list-item> + <!-- insert a bullet --> + <fo:list-item-label> + <fo:block>•</fo:block> + </fo:list-item-label> + <!-- list text --> + <fo:list-item-body> + <fo:block> + element types with element content, if white space occurs directly within any instance of those types. + </fo:block> + </fo:list-item-body> + </fo:list-item> + + </fo:list-block> + <!-- end list --> + + </fo:flow> + </fo:page-sequence> +</fo:root> + + diff --git a/docs/examples/list.pdf b/docs/examples/list.pdf new file mode 100644 index 000000000..f5dbeb5f1 --- /dev/null +++ b/docs/examples/list.pdf @@ -0,0 +1,282 @@ +%PDF-1.2 +1 0 obj +<< /Type /Catalog +/Pages 2 0 R >> +endobj +2 0 obj +<< /Type /Pages +/Count 0 +/Kids [18 0 R ] >> +endobj +3 0 obj +<< /Type /Info +/Producer (FOP 0.12.1[dev]) >> +endobj +4 0 obj +<< /Font << /F11 5 0 R +/F10 6 0 R +/F9 7 0 R +/F8 8 0 R +/F7 9 0 R +/F6 10 0 R +/F5 11 0 R +/F4 12 0 R +/F3 13 0 R +/F2 14 0 R +/F1 15 0 R +/F12 16 0 R +>> +/ProcSet [ /PDF /ImageC /Text ] >> +endobj +5 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F11 +/BaseFont /Courier-Bold +/Encoding /WinAnsiEncoding >> +endobj +6 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F10 +/BaseFont /Courier-Oblique +/Encoding /WinAnsiEncoding >> +endobj +7 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F9 +/BaseFont /Courier +/Encoding /WinAnsiEncoding >> +endobj +8 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F8 +/BaseFont /Times-BoldItalic +/Encoding /WinAnsiEncoding >> +endobj +9 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F7 +/BaseFont /Times-Bold +/Encoding /WinAnsiEncoding >> +endobj +10 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F6 +/BaseFont /Times-Italic +/Encoding /WinAnsiEncoding >> +endobj +11 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F5 +/BaseFont /Times-Roman +/Encoding /WinAnsiEncoding >> +endobj +12 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F4 +/BaseFont /Helvetica-BoldOblique +/Encoding /WinAnsiEncoding >> +endobj +13 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F3 +/BaseFont /Helvetica-Bold +/Encoding /WinAnsiEncoding >> +endobj +14 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F2 +/BaseFont /Helvetica-Oblique +/Encoding /WinAnsiEncoding >> +endobj +15 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F1 +/BaseFont /Helvetica +/Encoding /WinAnsiEncoding >> +endobj +16 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F12 +/BaseFont /Courier-BoldOblique +/Encoding /WinAnsiEncoding >> +endobj +17 0 obj +<< /Length 4557 >> +stream +BT +1 0 0 1 70.875 678.6 Tm +/F3 14 Tf +1 0 0 1 85.875 663.548 Tm (Validity) Tj +1 0 0 1 139.565 663.548 Tm (Constraint:) Tj +1 0 0 1 218.119 663.548 Tm (Standalone) Tj +1 0 0 1 297.471 663.548 Tm (Document) Tj +1 0 0 1 369.809 663.548 Tm (Declaration) Tj +/F1 12 Tf +1 0 0 1 70.875 645.534 Tm (The) Tj +1 0 0 1 94.887 645.534 Tm (standalone) Tj +1 0 0 1 156.927 645.534 Tm (document) Tj +1 0 0 1 212.955 645.534 Tm (declaration) Tj +1 0 0 1 274.983 645.534 Tm (must) Tj +1 0 0 1 304.323 645.534 Tm (have) Tj +1 0 0 1 333.675 645.534 Tm (the) Tj +1 0 0 1 353.691 645.534 Tm (value) Tj +1 0 0 1 385.707 645.534 Tm ("no") Tj +1 0 0 1 410.907 645.534 Tm (if) Tj +1 0 0 1 420.243 645.534 Tm (any) Tj +1 0 0 1 442.923 645.534 Tm (external) Tj +1 0 0 1 70.875 631.434 Tm (markup) Tj +1 0 0 1 114.219 631.434 Tm (declarations) Tj +1 0 0 1 182.247 631.434 Tm (contain) Tj +1 0 0 1 224.271 631.434 Tm (declarations) Tj +1 0 0 1 292.299 631.434 Tm (of:) Tj +1 0 0 1 70.875 614.634 Tm (\225) Tj +1 0 0 1 94.875 614.634 Tm (attributes) Tj +1 0 0 1 147.567 614.634 Tm (with) Tj +1 0 0 1 172.239 614.634 Tm (default) Tj +1 0 0 1 211.599 614.634 Tm (values,) Tj +1 0 0 1 252.951 614.634 Tm (if) Tj +1 0 0 1 262.287 614.634 Tm (elements) Tj +1 0 0 1 314.307 614.634 Tm (to) Tj +1 0 0 1 327.651 614.634 Tm (which) Tj +1 0 0 1 361.659 614.634 Tm (these) Tj +1 0 0 1 394.347 614.634 Tm (attributes) Tj +1 0 0 1 447.039 614.634 Tm (apply) Tj +1 0 0 1 94.875 601.134 Tm (appear) Tj +1 0 0 1 135.567 601.134 Tm (in) Tj +1 0 0 1 148.239 601.134 Tm (the) Tj +1 0 0 1 168.255 601.134 Tm (document) Tj +1 0 0 1 224.283 601.134 Tm (without) Tj +1 0 0 1 265.635 601.134 Tm (specifications) Tj +1 0 0 1 340.995 601.134 Tm (of) Tj +1 0 0 1 354.339 601.134 Tm (values) Tj +1 0 0 1 392.355 601.134 Tm (for) Tj +1 0 0 1 409.695 601.134 Tm (these) Tj +1 0 0 1 442.383 601.134 Tm (attributes,) Tj +1 0 0 1 94.875 587.634 Tm (or) Tj +1 0 0 1 70.875 574.134 Tm (\225) Tj +1 0 0 1 94.875 574.134 Tm (entities) Tj +1 0 0 1 136.227 574.134 Tm (\(other) Tj +1 0 0 1 170.907 574.134 Tm (than) Tj +1 0 0 1 197.595 574.134 Tm (amp,) Tj +1 0 0 1 227.607 574.134 Tm (lt,) Tj +1 0 0 1 240.279 574.134 Tm (gt,) Tj +1 0 0 1 256.959 574.134 Tm (apos,) Tj +1 0 0 1 289.647 574.134 Tm (quot\),) Tj +1 0 0 1 323.667 574.134 Tm (if) Tj +1 0 0 1 333.003 574.134 Tm (references) Tj +1 0 0 1 393.027 574.134 Tm (to) Tj +1 0 0 1 406.371 574.134 Tm (those) Tj +1 0 0 1 439.059 574.134 Tm (entities) Tj +1 0 0 1 94.875 560.634 Tm (appear) Tj +1 0 0 1 135.567 560.634 Tm (in) Tj +1 0 0 1 148.239 560.634 Tm (the) Tj +1 0 0 1 168.255 560.634 Tm (document,) Tj +1 0 0 1 227.619 560.634 Tm (or) Tj +1 0 0 1 70.875 547.134 Tm (\225) Tj +1 0 0 1 94.875 547.134 Tm (attributes) Tj +1 0 0 1 147.567 547.134 Tm (with) Tj +1 0 0 1 172.239 547.134 Tm (values) Tj +1 0 0 1 210.255 547.134 Tm (subject) Tj +1 0 0 1 251.607 547.134 Tm (to) Tj +1 0 0 1 264.951 547.134 Tm (normalization,) Tj +1 0 0 1 342.975 547.134 Tm (where) Tj +1 0 0 1 378.987 547.134 Tm (the) Tj +1 0 0 1 399.003 547.134 Tm (attribute) Tj +1 0 0 1 445.695 547.134 Tm (appears) Tj +1 0 0 1 492.387 547.134 Tm (in) Tj +1 0 0 1 94.875 533.634 Tm (the) Tj +1 0 0 1 114.891 533.634 Tm (document) Tj +1 0 0 1 170.919 533.634 Tm (with) Tj +1 0 0 1 195.591 533.634 Tm (a) Tj +1 0 0 1 205.599 533.634 Tm (value) Tj +1 0 0 1 237.615 533.634 Tm (which) Tj +1 0 0 1 271.623 533.634 Tm (will) Tj +1 0 0 1 70.875 520.134 Tm (\225) Tj +1 0 0 1 94.875 520.134 Tm (change) Tj +1 0 0 1 137.571 520.134 Tm (as) Tj +1 0 0 1 153.579 520.134 Tm (a) Tj +1 0 0 1 163.587 520.134 Tm (result) Tj +1 0 0 1 196.263 520.134 Tm (of) Tj +1 0 0 1 209.607 520.134 Tm (normalization,) Tj +1 0 0 1 287.631 520.134 Tm (or) Tj +1 0 0 1 70.875 506.634 Tm (\225) Tj +1 0 0 1 94.875 506.634 Tm (element) Tj +1 0 0 1 140.895 506.634 Tm (types) Tj +1 0 0 1 172.911 506.634 Tm (with) Tj +1 0 0 1 197.583 506.634 Tm (element) Tj +1 0 0 1 243.603 506.634 Tm (content,) Tj +1 0 0 1 289.635 506.634 Tm (if) Tj +1 0 0 1 298.971 506.634 Tm (white) Tj +1 0 0 1 330.315 506.634 Tm (space) Tj +1 0 0 1 365.667 506.634 Tm (occurs) Tj +1 0 0 1 404.343 506.634 Tm (directly) Tj +1 0 0 1 445.683 506.634 Tm (within) Tj +1 0 0 1 479.691 506.634 Tm (any) Tj +1 0 0 1 94.875 493.134 Tm (instance) Tj +1 0 0 1 142.899 493.134 Tm (of) Tj +1 0 0 1 156.243 493.134 Tm (those) Tj +1 0 0 1 188.931 493.134 Tm (types.) Tj +1 0 0 1 70.875 763.65 Tm +/F5 10 Tf +1 0 0 1 359.565 754.82 Tm (XSL-FO) Tj +1 0 0 1 397.065 754.82 Tm (Example:) Tj +1 0 0 1 437.895 754.82 Tm (simple) Tj +1 0 0 1 467.065 754.82 Tm (list) Tj +1 0 0 1 481.795 754.82 Tm (-) Tj +1 0 0 1 487.625 754.82 Tm (p.) Tj +1 0 0 1 497.625 754.82 Tm (1) Tj +1 0 0 1 70.875 99.225 Tm +ET + +endstream +endobj +18 0 obj +<< /Type /Page +/Parent 2 0 R +/MediaBox [ 0 0 576 792 ] +/Resources 4 0 R +/Contents 17 0 R +>> +endobj +xref +0 19 +0000000000 65535 f +0000000009 00000 n +0000000058 00000 n +0000000117 00000 n +0000000178 00000 n +0000000373 00000 n +0000000484 00000 n +0000000598 00000 n +0000000703 00000 n +0000000817 00000 n +0000000925 00000 n +0000001036 00000 n +0000001146 00000 n +0000001266 00000 n +0000001379 00000 n +0000001495 00000 n +0000001603 00000 n +0000001722 00000 n +0000006331 00000 n +trailer +<< +/Size 19 +/Root 1 0 R +/Info 3 0 R +>> +startxref +6439 +%%EOF diff --git a/docs/examples/normal.fo b/docs/examples/normal.fo new file mode 100644 index 000000000..a15753784 --- /dev/null +++ b/docs/examples/normal.fo @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="utf-8"?> + +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> + + <!-- defines page layout --> + <fo:layout-master-set> + + <!-- layout for the first page --> + <fo:simple-page-master page-master-name="first" + height="29.7cm" + width="21cm" + margin-top="1cm" + margin-bottom="2cm" + margin-left="2.5cm" + margin-right="2.5cm"> + <fo:region-before extent="3cm"/> + <fo:region-body margin-top="3cm"/> + <fo:region-after extent="1.5cm"/> + </fo:simple-page-master> + + <!-- layout for the other pages --> + <fo:simple-page-master page-master-name="rest" + height="29.7cm" + width="21cm" + margin-top="1cm" + margin-bottom="2cm" + margin-left="2.5cm" + margin-right="2.5cm"> + <fo:region-before extent="2.5cm"/> + <fo:region-body margin-top="2.5cm"/> + <fo:region-after extent="1.5cm"/> + </fo:simple-page-master> + + </fo:layout-master-set> + <!-- end: defines page layout --> + + <!-- actual layout --> + <fo:page-sequence> + + <!-- usage of page layout --> + <fo:sequence-specification> + <fo:sequence-specifier-repeating page-master-first="first" + page-master-repeating="rest"/> + </fo:sequence-specification> + + <!-- header --> + <fo:static-content flow-name="xsl-before"> + <fo:block text-align="end" + font-size="10pt" + font-family="serif" + line-height="14pt" > + XML Recommendation - p. <fo:page-number/> + </fo:block> + </fo:static-content> + + <fo:flow flow-name="xsl-body"> + + <!-- defines text title level 1--> + <fo:block font-size="18pt" + font-family="sans-serif" + line-height="24pt" + space-after.optimum="15pt" + background-color="blue" + color="white" + text-align="centered" + padding-top="3pt"> + Extensible Markup Language (XML) 1.0 + </fo:block> + + <!-- defines text title level 2--> + <fo:block font-size="16pt" + font-family="sans-serif" + line-height="20pt" + space-before.optimum="10pt" + space-after.optimum="10pt" + text-align="start" + padding-top="3pt"> + Abstract + </fo:block> + + <!-- Normal text --> + <fo:block font-size="12pt" + font-family="sans-serif" + line-height="15pt" + space-after.optimum="3pt" + text-align="start"> + The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to + enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML + has been designed for ease of implementation and for interoperability with both SGML and HTML. + </fo:block> + + <!-- defines text title level 2--> + <fo:block font-size="16pt" + font-family="sans-serif" + line-height="20pt" + space-before.optimum="10pt" + space-after.optimum="10pt" + text-align="start" + padding-top="3pt"> + Status of this document + </fo:block> + + <!-- Normal text --> + <fo:block font-size="12pt" + font-family="sans-serif" + line-height="15pt" + space-after.optimum="3pt" + text-align="start"> + This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a + W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from + another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its + widespread deployment. This enhances the functionality and interoperability of the Web. + </fo:block> + + <!-- Normal text --> + <fo:block font-size="12pt" + font-family="sans-serif" + line-height="15pt" + space-after.optimum="3pt" + text-align="start"> + This document specifies a syntax created by subsetting an existing, widely used international text processing standard + (Standard Generalized Markup Language, ISO 8879:1986(E) as amended and corrected) for use on the World Wide Web. It + is a product of the W3C XML Activity, details of which can be found at http://www.w3.org/XML. A list of current W3C + Recommendations and other technical documents can be found at http://www.w3.org/TR. + </fo:block> + </fo:flow> + </fo:page-sequence> +</fo:root> diff --git a/docs/examples/normal.pdf b/docs/examples/normal.pdf new file mode 100644 index 000000000..ea48e1da6 --- /dev/null +++ b/docs/examples/normal.pdf @@ -0,0 +1,386 @@ +%PDF-1.2 +1 0 obj +<< /Type /Catalog +/Pages 2 0 R >> +endobj +2 0 obj +<< /Type /Pages +/Count 0 +/Kids [18 0 R ] >> +endobj +3 0 obj +<< /Type /Info +/Producer (FOP 0.12.1[dev]) >> +endobj +4 0 obj +<< /Font << /F11 5 0 R +/F10 6 0 R +/F9 7 0 R +/F8 8 0 R +/F7 9 0 R +/F6 10 0 R +/F5 11 0 R +/F4 12 0 R +/F3 13 0 R +/F2 14 0 R +/F1 15 0 R +/F12 16 0 R +>> +/ProcSet [ /PDF /ImageC /Text ] >> +endobj +5 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F11 +/BaseFont /Courier-Bold +/Encoding /WinAnsiEncoding >> +endobj +6 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F10 +/BaseFont /Courier-Oblique +/Encoding /WinAnsiEncoding >> +endobj +7 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F9 +/BaseFont /Courier +/Encoding /WinAnsiEncoding >> +endobj +8 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F8 +/BaseFont /Times-BoldItalic +/Encoding /WinAnsiEncoding >> +endobj +9 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F7 +/BaseFont /Times-Bold +/Encoding /WinAnsiEncoding >> +endobj +10 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F6 +/BaseFont /Times-Italic +/Encoding /WinAnsiEncoding >> +endobj +11 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F5 +/BaseFont /Times-Roman +/Encoding /WinAnsiEncoding >> +endobj +12 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F4 +/BaseFont /Helvetica-BoldOblique +/Encoding /WinAnsiEncoding >> +endobj +13 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F3 +/BaseFont /Helvetica-Bold +/Encoding /WinAnsiEncoding >> +endobj +14 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F2 +/BaseFont /Helvetica-Oblique +/Encoding /WinAnsiEncoding >> +endobj +15 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F1 +/BaseFont /Helvetica +/Encoding /WinAnsiEncoding >> +endobj +16 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F12 +/BaseFont /Courier-BoldOblique +/Encoding /WinAnsiEncoding >> +endobj +17 0 obj +<< /Length 8284 >> +stream +BT +1 0 0 1 70.875 678.6 Tm +0.0 0.0 1.0 rg +0.0 0.0 1.0 RG +70.875 681.6 434.25 -25.65 re S +70.875 681.6 434.25 -25.65 re f +0 0 0 RG 0 0 0 rg +/F1 18 Tf +1.0 1.0 1.0 rg +1 0 0 1 126.927 662.676 Tm (Extensible) Tj +1 0 0 1 214.965 662.676 Tm (Markup) Tj +1 0 0 1 279.981 662.676 Tm (Language) Tj +1 0 0 1 365.049 662.676 Tm (\(XML\)) Tj +1 0 0 1 419.049 662.676 Tm (1.0) Tj +/F1 16 Tf +0.0 0.0 0.0 rg +1 0 0 1 70.875 617.462 Tm (Abstract) Tj +/F1 12 Tf +1 0 0 1 70.875 592.034 Tm (The) Tj +1 0 0 1 94.887 592.034 Tm (Extensible) Tj +1 0 0 1 153.579 592.034 Tm (Markup) Tj +1 0 0 1 196.923 592.034 Tm (Language) Tj +1 0 0 1 253.635 592.034 Tm (\(XML\)) Tj +1 0 0 1 289.635 592.034 Tm (is) Tj +1 0 0 1 301.635 592.034 Tm (a) Tj +1 0 0 1 311.643 592.034 Tm (subset) Tj +1 0 0 1 350.331 592.034 Tm (of) Tj +1 0 0 1 363.675 592.034 Tm (SGML) Tj +1 0 0 1 401.019 592.034 Tm (that) Tj +1 0 0 1 424.371 592.034 Tm (is) Tj +1 0 0 1 436.371 592.034 Tm (completely) Tj +1 0 0 1 70.875 577.934 Tm (described) Tj +1 0 0 1 126.231 577.934 Tm (in) Tj +1 0 0 1 138.903 577.934 Tm (this) Tj +1 0 0 1 160.911 577.934 Tm (document.) Tj +1 0 0 1 220.275 577.934 Tm (Its) Tj +1 0 0 1 236.283 577.934 Tm (goal) Tj +1 0 0 1 262.299 577.934 Tm (is) Tj +1 0 0 1 274.299 577.934 Tm (to) Tj +1 0 0 1 287.643 577.934 Tm (enable) Tj +1 0 0 1 327.003 577.934 Tm (generic) Tj +1 0 0 1 369.687 577.934 Tm (SGML) Tj +1 0 0 1 407.031 577.934 Tm (to) Tj +1 0 0 1 420.375 577.934 Tm (be) Tj +1 0 0 1 437.055 577.934 Tm (served,) Tj +1 0 0 1 70.875 563.834 Tm (received,) Tj +1 0 0 1 122.895 563.834 Tm (and) Tj +1 0 0 1 146.247 563.834 Tm (processed) Tj +1 0 0 1 204.939 563.834 Tm (on) Tj +1 0 0 1 221.619 563.834 Tm (the) Tj +1 0 0 1 241.635 563.834 Tm (Web) Tj +1 0 0 1 269.643 563.834 Tm (in) Tj +1 0 0 1 282.315 563.834 Tm (the) Tj +1 0 0 1 302.331 563.834 Tm (way) Tj +1 0 0 1 327.003 563.834 Tm (that) Tj +1 0 0 1 350.355 563.834 Tm (is) Tj +1 0 0 1 362.355 563.834 Tm (now) Tj +1 0 0 1 387.699 563.834 Tm (possible) Tj +1 0 0 1 435.051 563.834 Tm (with) Tj +1 0 0 1 459.723 563.834 Tm (HTML.) Tj +1 0 0 1 70.875 549.734 Tm (XML) Tj +1 0 0 1 98.883 549.734 Tm (has) Tj +1 0 0 1 121.563 549.734 Tm (been) Tj +1 0 0 1 151.587 549.734 Tm (designed) Tj +1 0 0 1 203.619 549.734 Tm (for) Tj +1 0 0 1 220.959 549.734 Tm (ease) Tj +1 0 0 1 250.311 549.734 Tm (of) Tj +1 0 0 1 263.655 549.734 Tm (implementation) Tj +1 0 0 1 348.351 549.734 Tm (and) Tj +1 0 0 1 371.703 549.734 Tm (for) Tj +1 0 0 1 389.043 549.734 Tm (interoperability) Tj +1 0 0 1 470.403 549.734 Tm (with) Tj +1 0 0 1 70.875 535.634 Tm (both) Tj +1 0 0 1 97.563 535.634 Tm (SGML) Tj +1 0 0 1 134.907 535.634 Tm (and) Tj +1 0 0 1 158.259 535.634 Tm (HTML.) Tj +/F1 16 Tf +1 0 0 1 70.875 505.162 Tm (Status) Tj +1 0 0 1 120.683 505.162 Tm (of) Tj +1 0 0 1 138.475 505.162 Tm (this) Tj +1 0 0 1 167.819 505.162 Tm (document) Tj +/F1 12 Tf +1 0 0 1 70.875 479.734 Tm (This) Tj +1 0 0 1 96.879 479.734 Tm (document) Tj +1 0 0 1 152.907 479.734 Tm (has) Tj +1 0 0 1 175.587 479.734 Tm (been) Tj +1 0 0 1 205.611 479.734 Tm (reviewed) Tj +1 0 0 1 256.959 479.734 Tm (by) Tj +1 0 0 1 272.967 479.734 Tm (W3C) Tj +1 0 0 1 302.967 479.734 Tm (Members) Tj +1 0 0 1 356.307 479.734 Tm (and) Tj +1 0 0 1 379.659 479.734 Tm (other) Tj +1 0 0 1 410.343 479.734 Tm (interested) Tj +1 0 0 1 466.371 479.734 Tm (parties) Tj +1 0 0 1 70.875 465.634 Tm (and) Tj +1 0 0 1 94.227 465.634 Tm (has) Tj +1 0 0 1 116.907 465.634 Tm (been) Tj +1 0 0 1 146.931 465.634 Tm (endorsed) Tj +1 0 0 1 200.295 465.634 Tm (by) Tj +1 0 0 1 216.303 465.634 Tm (the) Tj +1 0 0 1 236.319 465.634 Tm (Director) Tj +1 0 0 1 281.655 465.634 Tm (as) Tj +1 0 0 1 297.663 465.634 Tm (a) Tj +1 0 0 1 307.671 465.634 Tm (W3C) Tj +1 0 0 1 337.671 465.634 Tm (Recommendation.) Tj +1 0 0 1 438.375 465.634 Tm (It) Tj +1 0 0 1 448.383 465.634 Tm (is) Tj +1 0 0 1 460.383 465.634 Tm (a) Tj +1 0 0 1 470.391 465.634 Tm (stable) Tj +1 0 0 1 70.875 451.534 Tm (document) Tj +1 0 0 1 126.903 451.534 Tm (and) Tj +1 0 0 1 150.255 451.534 Tm (may) Tj +1 0 0 1 176.259 451.534 Tm (be) Tj +1 0 0 1 192.939 451.534 Tm (used) Tj +1 0 0 1 222.291 451.534 Tm (as) Tj +1 0 0 1 238.299 451.534 Tm (reference) Tj +1 0 0 1 292.323 451.534 Tm (material) Tj +1 0 0 1 338.331 451.534 Tm (or) Tj +1 0 0 1 352.335 451.534 Tm (cited) Tj +1 0 0 1 381.015 451.534 Tm (as) Tj +1 0 0 1 397.023 451.534 Tm (a) Tj +1 0 0 1 407.031 451.534 Tm (normative) Tj +1 0 0 1 70.875 437.434 Tm (reference) Tj +1 0 0 1 124.899 437.434 Tm (from) Tj +1 0 0 1 152.235 437.434 Tm (another) Tj +1 0 0 1 196.263 437.434 Tm (document.) Tj +1 0 0 1 255.627 437.434 Tm (W3C's) Tj +1 0 0 1 293.919 437.434 Tm (role) Tj +1 0 0 1 317.259 437.434 Tm (in) Tj +1 0 0 1 329.931 437.434 Tm (making) Tj +1 0 0 1 371.943 437.434 Tm (the) Tj +1 0 0 1 391.959 437.434 Tm (Recommendation) Tj +1 0 0 1 489.327 437.434 Tm (is) Tj +1 0 0 1 70.875 423.334 Tm (to) Tj +1 0 0 1 84.219 423.334 Tm (draw) Tj +1 0 0 1 113.559 423.334 Tm (attention) Tj +1 0 0 1 162.927 423.334 Tm (to) Tj +1 0 0 1 176.271 423.334 Tm (the) Tj +1 0 0 1 196.287 423.334 Tm (specification) Tj +1 0 0 1 265.647 423.334 Tm (and) Tj +1 0 0 1 288.999 423.334 Tm (to) Tj +1 0 0 1 302.343 423.334 Tm (promote) Tj +1 0 0 1 349.695 423.334 Tm (its) Tj +1 0 0 1 365.031 423.334 Tm (widespread) Tj +1 0 0 1 429.723 423.334 Tm (deployment.) Tj +1 0 0 1 70.875 409.234 Tm (This) Tj +1 0 0 1 96.879 409.234 Tm (enhances) Tj +1 0 0 1 152.247 409.234 Tm (the) Tj +1 0 0 1 172.263 409.234 Tm (functionality) Tj +1 0 0 1 238.959 409.234 Tm (and) Tj +1 0 0 1 262.311 409.234 Tm (interoperability) Tj +1 0 0 1 343.671 409.234 Tm (of) Tj +1 0 0 1 357.015 409.234 Tm (the) Tj +1 0 0 1 377.031 409.234 Tm (Web.) Tj +1 0 0 1 70.875 392.134 Tm (This) Tj +1 0 0 1 96.879 392.134 Tm (document) Tj +1 0 0 1 152.907 392.134 Tm (specifies) Tj +1 0 0 1 202.923 392.134 Tm (a) Tj +1 0 0 1 212.931 392.134 Tm (syntax) Tj +1 0 0 1 250.947 392.134 Tm (created) Tj +1 0 0 1 294.303 392.134 Tm (by) Tj +1 0 0 1 310.311 392.134 Tm (subsetting) Tj +1 0 0 1 368.343 392.134 Tm (an) Tj +1 0 0 1 385.023 392.134 Tm (existing,) Tj +1 0 0 1 432.375 392.134 Tm (widely) Tj +1 0 0 1 469.047 392.134 Tm (used) Tj +1 0 0 1 70.875 378.034 Tm (international) Tj +1 0 0 1 139.575 378.034 Tm (text) Tj +1 0 0 1 162.255 378.034 Tm (processing) Tj +1 0 0 1 223.611 378.034 Tm (standard) Tj +1 0 0 1 273.639 378.034 Tm (\(Standard) Tj +1 0 0 1 329.667 378.034 Tm (Generalized) Tj +1 0 0 1 397.695 378.034 Tm (Markup) Tj +1 0 0 1 441.039 378.034 Tm (Language,) Tj +1 0 0 1 70.875 363.934 Tm (ISO) Tj +1 0 0 1 94.887 363.934 Tm (8879:1986\(E\)) Tj +1 0 0 1 170.931 363.934 Tm (as) Tj +1 0 0 1 186.939 363.934 Tm (amended) Tj +1 0 0 1 240.303 363.934 Tm (and) Tj +1 0 0 1 263.655 363.934 Tm (corrected\)) Tj +1 0 0 1 321.003 363.934 Tm (for) Tj +1 0 0 1 338.343 363.934 Tm (use) Tj +1 0 0 1 361.023 363.934 Tm (on) Tj +1 0 0 1 377.703 363.934 Tm (the) Tj +1 0 0 1 397.719 363.934 Tm (World) Tj +1 0 0 1 432.387 363.934 Tm (Wide) Tj +1 0 0 1 463.059 363.934 Tm (Web.) Tj +1 0 0 1 494.403 363.934 Tm (It) Tj +1 0 0 1 70.875 349.834 Tm (is) Tj +1 0 0 1 82.875 349.834 Tm (a) Tj +1 0 0 1 92.883 349.834 Tm (product) Tj +1 0 0 1 136.239 349.834 Tm (of) Tj +1 0 0 1 149.583 349.834 Tm (the) Tj +1 0 0 1 169.599 349.834 Tm (W3C) Tj +1 0 0 1 199.599 349.834 Tm (XML) Tj +1 0 0 1 227.607 349.834 Tm (Activity,) Tj +1 0 0 1 272.283 349.834 Tm (details) Tj +1 0 0 1 310.299 349.834 Tm (of) Tj +1 0 0 1 323.643 349.834 Tm (which) Tj +1 0 0 1 357.651 349.834 Tm (can) Tj +1 0 0 1 380.331 349.834 Tm (be) Tj +1 0 0 1 397.011 349.834 Tm (found) Tj +1 0 0 1 430.371 349.834 Tm (at) Tj +1 0 0 1 70.875 335.734 Tm (http://www.w3.org/XML.) Tj +1 0 0 1 200.919 335.734 Tm (A) Tj +1 0 0 1 212.259 335.734 Tm (list) Tj +1 0 0 1 230.259 335.734 Tm (of) Tj +1 0 0 1 243.603 335.734 Tm (current) Tj +1 0 0 1 284.283 335.734 Tm (W3C) Tj +1 0 0 1 314.283 335.734 Tm (Recommendations) Tj +1 0 0 1 417.651 335.734 Tm (and) Tj +1 0 0 1 441.003 335.734 Tm (other) Tj +1 0 0 1 70.875 321.634 Tm (technical) Tj +1 0 0 1 121.563 321.634 Tm (documents) Tj +1 0 0 1 183.591 321.634 Tm (can) Tj +1 0 0 1 206.271 321.634 Tm (be) Tj +1 0 0 1 222.951 321.634 Tm (found) Tj +1 0 0 1 256.311 321.634 Tm (at) Tj +1 0 0 1 269.655 321.634 Tm (http://www.w3.org/TR.) Tj +1 0 0 1 70.875 763.65 Tm +/F5 10 Tf +1 0 0 1 384.025 754.82 Tm (XML) Tj +1 0 0 1 408.745 754.82 Tm (Recommendation) Tj +1 0 0 1 481.795 754.82 Tm (-) Tj +1 0 0 1 487.625 754.82 Tm (p.) Tj +1 0 0 1 497.625 754.82 Tm (1) Tj +1 0 0 1 70.875 99.225 Tm +ET + +endstream +endobj +18 0 obj +<< /Type /Page +/Parent 2 0 R +/MediaBox [ 0 0 576 792 ] +/Resources 4 0 R +/Contents 17 0 R +>> +endobj +xref +0 19 +0000000000 65535 f +0000000009 00000 n +0000000058 00000 n +0000000117 00000 n +0000000178 00000 n +0000000373 00000 n +0000000484 00000 n +0000000598 00000 n +0000000703 00000 n +0000000817 00000 n +0000000925 00000 n +0000001036 00000 n +0000001146 00000 n +0000001266 00000 n +0000001379 00000 n +0000001495 00000 n +0000001603 00000 n +0000001722 00000 n +0000010058 00000 n +trailer +<< +/Size 19 +/Root 1 0 R +/Info 3 0 R +>> +startxref +10166 +%%EOF diff --git a/docs/examples/table.fo b/docs/examples/table.fo new file mode 100644 index 000000000..5c8f46823 --- /dev/null +++ b/docs/examples/table.fo @@ -0,0 +1,137 @@ +<?xml version="1.0" encoding="utf-8"?> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> + + + <!-- defines the layout master --> + <fo:layout-master-set> + <fo:simple-page-master page-master-name="first" + height="29.7cm" width="21cm" + margin-top="1cm" + margin-bottom="2cm" + margin-left="2.5cm" + margin-right="2.5cm"> + <fo:region-before extent="3cm"/> + <fo:region-body margin-top="3cm"/> + <fo:region-after extent="1.5cm"/> + </fo:simple-page-master> + </fo:layout-master-set> + + <!-- starts actual layout --> + <fo:page-sequence> + + <!-- applies layout master --> + <fo:sequence-specification> + <fo:sequence-specifier-single page-master-name="first"/> + </fo:sequence-specification> + + <!-- Inserts a header with the page number --> + <fo:static-content flow-name="xsl-before"> + <fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt"> + FOP - p. <fo:page-number/> + </fo:block> + </fo:static-content> + + <fo:flow flow-name="xsl-body"> + + <fo:block font-size="10pt" font-family="sans-serif" line-height="10pt" space-after.optimum="3pt" font-weight="bold" start-indent="15pt"> + Content + </fo:block> + + <!-- Here starts the table --> + <fo:table> + <fo:table-column column-width="1cm"/> + <fo:table-column column-width="15cm"/> + <fo:table-body font-size="10pt" font-family="sans-serif"> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">A) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">What is FOP?</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">B) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">Downloading FOP</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">C) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">Running FOP</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">D) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">Embedding FOP </fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">E) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">What's Implemented?</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">F) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">Limitations</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">G) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">Bugs</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">H) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">Compiling FOP</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">I) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">Getting involved</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">J) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">FOP Relevant Specifications</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row line-height="12pt"> + <fo:table-cell> + <fo:block text-align="end">K) </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block text-align="start">Licence</fo:block> + </fo:table-cell> + </fo:table-row> + </fo:table-body> + </fo:table> + </fo:flow> + </fo:page-sequence> +</fo:root> diff --git a/docs/examples/table.pdf b/docs/examples/table.pdf new file mode 100644 index 000000000..4182580c9 --- /dev/null +++ b/docs/examples/table.pdf @@ -0,0 +1,203 @@ +%PDF-1.2 +1 0 obj +<< /Type /Catalog +/Pages 2 0 R >> +endobj +2 0 obj +<< /Type /Pages +/Count 0 +/Kids [18 0 R ] >> +endobj +3 0 obj +<< /Type /Info +/Producer (FOP 0.12.1[dev]) >> +endobj +4 0 obj +<< /Font << /F11 5 0 R +/F10 6 0 R +/F9 7 0 R +/F8 8 0 R +/F7 9 0 R +/F6 10 0 R +/F5 11 0 R +/F4 12 0 R +/F3 13 0 R +/F2 14 0 R +/F1 15 0 R +/F12 16 0 R +>> +/ProcSet [ /PDF /ImageC /Text ] >> +endobj +5 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F11 +/BaseFont /Courier-Bold +/Encoding /WinAnsiEncoding >> +endobj +6 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F10 +/BaseFont /Courier-Oblique +/Encoding /WinAnsiEncoding >> +endobj +7 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F9 +/BaseFont /Courier +/Encoding /WinAnsiEncoding >> +endobj +8 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F8 +/BaseFont /Times-BoldItalic +/Encoding /WinAnsiEncoding >> +endobj +9 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F7 +/BaseFont /Times-Bold +/Encoding /WinAnsiEncoding >> +endobj +10 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F6 +/BaseFont /Times-Italic +/Encoding /WinAnsiEncoding >> +endobj +11 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F5 +/BaseFont /Times-Roman +/Encoding /WinAnsiEncoding >> +endobj +12 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F4 +/BaseFont /Helvetica-BoldOblique +/Encoding /WinAnsiEncoding >> +endobj +13 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F3 +/BaseFont /Helvetica-Bold +/Encoding /WinAnsiEncoding >> +endobj +14 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F2 +/BaseFont /Helvetica-Oblique +/Encoding /WinAnsiEncoding >> +endobj +15 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F1 +/BaseFont /Helvetica +/Encoding /WinAnsiEncoding >> +endobj +16 0 obj +<< /Type /Font +/Subtype /Type1 +/Name /F12 +/BaseFont /Courier-BoldOblique +/Encoding /WinAnsiEncoding >> +endobj +17 0 obj +<< /Length 1457 >> +stream +BT +1 0 0 1 70.875 678.6 Tm +/F3 10 Tf +1 0 0 1 85.875 671.42 Tm (Content) Tj +/F1 10 Tf +1 0 0 1 86.445 658.17 Tm (A\)) Tj +1 0 0 1 99.225 658.17 Tm (What) Tj +1 0 0 1 125.345 658.17 Tm (is) Tj +1 0 0 1 135.345 658.17 Tm (FOP?) Tj +1 0 0 1 86.445 646.92 Tm (B\)) Tj +1 0 0 1 99.225 646.92 Tm (Downloading) Tj +1 0 0 1 159.805 646.92 Tm (FOP) Tj +1 0 0 1 85.895 635.67 Tm (C\)) Tj +1 0 0 1 99.225 635.67 Tm (Running) Tj +1 0 0 1 139.245 635.67 Tm (FOP) Tj +1 0 0 1 85.895 624.42 Tm (D\)) Tj +1 0 0 1 99.225 624.42 Tm (Embedding) Tj +1 0 0 1 152.585 624.42 Tm (FOP) Tj +1 0 0 1 86.445 613.17 Tm (E\)) Tj +1 0 0 1 99.225 613.17 Tm (What's) Tj +1 0 0 1 132.255 613.17 Tm (Implemented?) Tj +1 0 0 1 87.005 601.92 Tm (F\)) Tj +1 0 0 1 99.225 601.92 Tm (Limitations) Tj +1 0 0 1 85.335 590.67 Tm (G\)) Tj +1 0 0 1 99.225 590.67 Tm (Bugs) Tj +1 0 0 1 85.895 579.42 Tm (H\)) Tj +1 0 0 1 99.225 579.42 Tm (Compiling) Tj +1 0 0 1 146.455 579.42 Tm (FOP) Tj +1 0 0 1 90.335 568.17 Tm (I\)) Tj +1 0 0 1 99.225 568.17 Tm (Getting) Tj +1 0 0 1 134.245 568.17 Tm (involved) Tj +1 0 0 1 88.115 556.92 Tm (J\)) Tj +1 0 0 1 99.225 556.92 Tm (FOP) Tj +1 0 0 1 122.565 556.92 Tm (Relevant) Tj +1 0 0 1 164.805 556.92 Tm (Specifications) Tj +1 0 0 1 86.445 545.67 Tm (K\)) Tj +1 0 0 1 99.225 545.67 Tm (Licence) Tj +1 0 0 1 70.875 763.65 Tm +/F5 10 Tf +1 0 0 1 460.955 754.82 Tm (FOP) Tj +1 0 0 1 481.795 754.82 Tm (-) Tj +1 0 0 1 487.625 754.82 Tm (p.) Tj +1 0 0 1 497.625 754.82 Tm (1) Tj +1 0 0 1 70.875 99.225 Tm +ET + +endstream +endobj +18 0 obj +<< /Type /Page +/Parent 2 0 R +/MediaBox [ 0 0 576 792 ] +/Resources 4 0 R +/Contents 17 0 R +>> +endobj +xref +0 19 +0000000000 65535 f +0000000009 00000 n +0000000058 00000 n +0000000117 00000 n +0000000178 00000 n +0000000373 00000 n +0000000484 00000 n +0000000598 00000 n +0000000703 00000 n +0000000817 00000 n +0000000925 00000 n +0000001036 00000 n +0000001146 00000 n +0000001266 00000 n +0000001379 00000 n +0000001495 00000 n +0000001603 00000 n +0000001722 00000 n +0000003231 00000 n +trailer +<< +/Size 19 +/Root 1 0 R +/Info 3 0 R +>> +startxref +3339 +%%EOF diff --git a/docs/faq-running.html b/docs/faq-running.html new file mode 100644 index 000000000..002f546ee --- /dev/null +++ b/docs/faq-running.html @@ -0,0 +1,52 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>FAQ Running FOP</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/faq-running-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Questions</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"><UL><LI><A href="#faq-1">Formatting object xxx doesn't work as expected</A></LI><LI><A href="#faq-2">Fatal error: Root element must be root</A></LI><LI><A href="#faq-3">Char '>' inserted into page number</A></LI><LI><A href="#faq-4">Are font properties allowed here</A></LI><LI><A href="#faq-5">Embedding fonts</A></LI></UL></FONT></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Answers</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"><BR><A name="faq-1"><!--anchor--></A><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Q: Feature xxx of the XSL Working Draft 12 January 2000 does not work as it should. Why?</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><P>A: First: Only a small subset of formatting objects and properties is + implemented at the moment. Please have a look at the section "Features", + which lists the supported fo and properties. Second: At the moment only + Working Draft 21 Apr 1999 is supported. + </P> + </FONT></TD></TR></TABLE><BR><A name="faq-2"><!--anchor--></A><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Q: Running FOP I get the following messages or something similar: + "WARNING: Unknown formatting object http://www.w3.org/XSL/Format/1.0^root" + and then a FATAL Error "Root element must be root, not default FO".</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>A: Make sure that you have specified as the namespace for fo the + following string: "http://www.w3.org/1999/XSL/Format". It is analogous + to the xslt namespace "http://www.w3.org/1999/XSL/Transform" + </P> + </FONT></TD></TR></TABLE><BR><A name="faq-3"><!--anchor--></A><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Q: The char ">" is inserted into the page number display like this + "formatting FOs into areas [1] [2] [3>>>>]". Is this a bug?</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><P>A: No, a feature. It simply means that on that page an area + overflowed (ie there was not enough room to fit the text in).</P></FONT></TD></TR></TABLE><BR><A name="faq-4"><!--anchor--></A><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Q: It looks like FOP must be honoring font properties when it shouldn't be? + Example: According to the dtd coming with the xsl-fo spec inline-sequence + shouldn't have any attributes, but FOP doesn't reject them. + </B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>Font properties are inherited down to individual characters. You can + specify font properties on any formatting object you like and any textual content + will inherit those properties (unless overriden by a closer ancestor). + </P> + <P>The dtd coming with the xsl-fo spec isn't correct in this respect. + </P> + </FONT></TD></TR></TABLE><BR><A name="faq-5"><!--anchor--></A><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>I need some additional fonts in FOP. How I can set embedding fonts? + </B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>At present, FOP does not support any fonts other than the in-built fonts + Times, Helvetica and Courier. + </P> + </FONT></TD></TR></TABLE><BR></FONT></TD></TR></TABLE><BR></TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/faq.xml b/docs/faq.xml deleted file mode 100644 index 0abaa19bc..000000000 --- a/docs/faq.xml +++ /dev/null @@ -1,75 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- This file uses the question and answer dtd - QAML Version 2.4. More info about it can be found in the dtd file. - There should be some xslt stylesheets in this distribution - which produce ascii, html and pdf files - - Usage of attributes: - p: attr "class" can have "pre" (for code) or "li" for lists. No class attr is the normal ---> - -<?xml-stylesheet type="text/css" href="qaml.css"?> -<!DOCTYPE faq SYSTEM "qaml-xml.dtd"> - -<faq> - -<head> - <title>FOP - Frequently Asked Questions</title> - <version>1.0.1 1999/11/29 </version> - <maintain> - <name>James Tauber</name> - <name>Fotis Jannidis</name> - <email>jtauber@jtauber.com</email> - <email>jannidis@lrz.uni-muenchen.de</email><subject>FOP</subject> - </maintain> -</head> - - -<body> -<section class="level1"> - <title>FAQ - Running FOP</title> - -<qna> - <q>Q: Running FOP I get the following messages or something similar: - "WARNING: Unknown formatting object http://www.w3.org/XSL/Format/1.0^root" - and then a FATAL Error "Root element must be root, not default FO".</q> - <a> - <p>A: Make sure that you have specified as the namespace for fo the - following string: "http://www.w3.org/1999/XSL/Format". It is analogous - to the xslt namespace "http://www.w3.org/1999/XSL/Transform" - </p> - </a> -</qna> - -<qna> - <q>Q: The char ">" is inserted into the page number display like this - "formatting FOs into areas [1] [2] [3>>>>]". Is this a bug?</q> - <a><p>A: No, a feature. It simply means that on that page an area - overflowed (ie there was not enough room to fit the text in).</p></a> -</qna> - - -<!-- Template for next question -<qna> - <q></q> - <a><p></p></a> -</qna> - --> - -</section> - - -<!-- Template for compiling section -<section class="level1"> - <title>FAQ - Compiling FOP</title> - -<qna> - <q></q> - <a><p></p></a> -</qna> -</section> ---> - -</body> -</faq> - diff --git a/docs/faqs.html b/docs/faqs.html new file mode 100644 index 000000000..a3c96f426 --- /dev/null +++ b/docs/faqs.html @@ -0,0 +1,26 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>FAQs</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/faqs-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <IMG alt="FAQs" border="0" height="12" hspace="0" src="graphics/faqs-label-1.jpg" vspace="0" width="120"><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>FAQ Running FOP</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"><P> + Read the <A href="faq-running.html">FAQ Running FOP</A> + document or jump directly to: + </P><UL><LI><A href="faq-running.html#faq-1">Formatting object xxx doesn't work as expected</A></LI><LI><A href="faq-running.html#faq-2">Fatal error: Root element must be root</A></LI><LI><A href="faq-running.html#faq-3">Char '>' inserted into page number</A></LI><LI><A href="faq-running.html#faq-4">Are font properties allowed here</A></LI><LI><A href="faq-running.html#faq-5">Embedding fonts</A></LI></UL></FONT></TD></TR></TABLE><BR></TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/graphics/bugs-header.jpg b/docs/graphics/bugs-header.jpg Binary files differnew file mode 100644 index 000000000..6505ebe7e --- /dev/null +++ b/docs/graphics/bugs-header.jpg diff --git a/docs/graphics/bugs-label-1.jpg b/docs/graphics/bugs-label-1.jpg Binary files differnew file mode 100644 index 000000000..0debde946 --- /dev/null +++ b/docs/graphics/bugs-label-1.jpg diff --git a/docs/graphics/bugs-label-2.jpg b/docs/graphics/bugs-label-2.jpg Binary files differnew file mode 100644 index 000000000..c89db23e5 --- /dev/null +++ b/docs/graphics/bugs-label-2.jpg diff --git a/docs/graphics/bugs-label-3.jpg b/docs/graphics/bugs-label-3.jpg Binary files differnew file mode 100644 index 000000000..b536ca6b6 --- /dev/null +++ b/docs/graphics/bugs-label-3.jpg diff --git a/docs/graphics/compiling-header.jpg b/docs/graphics/compiling-header.jpg Binary files differnew file mode 100644 index 000000000..8fff9eb32 --- /dev/null +++ b/docs/graphics/compiling-header.jpg diff --git a/docs/graphics/compiling-label-1.jpg b/docs/graphics/compiling-label-1.jpg Binary files differnew file mode 100644 index 000000000..c271a5b0a --- /dev/null +++ b/docs/graphics/compiling-label-1.jpg diff --git a/docs/graphics/compiling-label-2.jpg b/docs/graphics/compiling-label-2.jpg Binary files differnew file mode 100644 index 000000000..eac45b9dd --- /dev/null +++ b/docs/graphics/compiling-label-2.jpg diff --git a/docs/graphics/compiling-label-3.jpg b/docs/graphics/compiling-label-3.jpg Binary files differnew file mode 100644 index 000000000..23a040b77 --- /dev/null +++ b/docs/graphics/compiling-label-3.jpg diff --git a/docs/graphics/download-header.jpg b/docs/graphics/download-header.jpg Binary files differnew file mode 100644 index 000000000..736e06da9 --- /dev/null +++ b/docs/graphics/download-header.jpg diff --git a/docs/graphics/download-label-1.jpg b/docs/graphics/download-label-1.jpg Binary files differnew file mode 100644 index 000000000..c0ed10bcb --- /dev/null +++ b/docs/graphics/download-label-1.jpg diff --git a/docs/graphics/download-label-2.jpg b/docs/graphics/download-label-2.jpg Binary files differnew file mode 100644 index 000000000..5fa70388f --- /dev/null +++ b/docs/graphics/download-label-2.jpg diff --git a/docs/graphics/download-label-3.jpg b/docs/graphics/download-label-3.jpg Binary files differnew file mode 100644 index 000000000..b3bbbb11a --- /dev/null +++ b/docs/graphics/download-label-3.jpg diff --git a/docs/graphics/embedding-header.jpg b/docs/graphics/embedding-header.jpg Binary files differnew file mode 100644 index 000000000..fa87f2031 --- /dev/null +++ b/docs/graphics/embedding-header.jpg diff --git a/docs/graphics/embedding-label-1.jpg b/docs/graphics/embedding-label-1.jpg Binary files differnew file mode 100644 index 000000000..8b4088e1d --- /dev/null +++ b/docs/graphics/embedding-label-1.jpg diff --git a/docs/graphics/embedding-label-2.jpg b/docs/graphics/embedding-label-2.jpg Binary files differnew file mode 100644 index 000000000..7a8e3189b --- /dev/null +++ b/docs/graphics/embedding-label-2.jpg diff --git a/docs/graphics/embedding-label-3.jpg b/docs/graphics/embedding-label-3.jpg Binary files differnew file mode 100644 index 000000000..487430bf8 --- /dev/null +++ b/docs/graphics/embedding-label-3.jpg diff --git a/docs/graphics/examples-header.jpg b/docs/graphics/examples-header.jpg Binary files differnew file mode 100644 index 000000000..aea07771f --- /dev/null +++ b/docs/graphics/examples-header.jpg diff --git a/docs/graphics/examples-label-1.jpg b/docs/graphics/examples-label-1.jpg Binary files differnew file mode 100644 index 000000000..bfa05413c --- /dev/null +++ b/docs/graphics/examples-label-1.jpg diff --git a/docs/graphics/examples-label-2.jpg b/docs/graphics/examples-label-2.jpg Binary files differnew file mode 100644 index 000000000..d0a410fea --- /dev/null +++ b/docs/graphics/examples-label-2.jpg diff --git a/docs/graphics/examples-label-3.jpg b/docs/graphics/examples-label-3.jpg Binary files differnew file mode 100644 index 000000000..49ca66f80 --- /dev/null +++ b/docs/graphics/examples-label-3.jpg diff --git a/docs/graphics/ext-2-label-1.jpg b/docs/graphics/ext-2-label-1.jpg Binary files differnew file mode 100644 index 000000000..45da04370 --- /dev/null +++ b/docs/graphics/ext-2-label-1.jpg diff --git a/docs/graphics/ext-2-label-2.jpg b/docs/graphics/ext-2-label-2.jpg Binary files differnew file mode 100644 index 000000000..237513646 --- /dev/null +++ b/docs/graphics/ext-2-label-2.jpg diff --git a/docs/graphics/ext-2-label-3.jpg b/docs/graphics/ext-2-label-3.jpg Binary files differnew file mode 100644 index 000000000..af1728148 --- /dev/null +++ b/docs/graphics/ext-2-label-3.jpg diff --git a/docs/graphics/faq-running-header.jpg b/docs/graphics/faq-running-header.jpg Binary files differnew file mode 100644 index 000000000..865b25b4d --- /dev/null +++ b/docs/graphics/faq-running-header.jpg diff --git a/docs/graphics/faqs-header.jpg b/docs/graphics/faqs-header.jpg Binary files differnew file mode 100644 index 000000000..df4674f24 --- /dev/null +++ b/docs/graphics/faqs-header.jpg diff --git a/docs/graphics/faqs-label-1.jpg b/docs/graphics/faqs-label-1.jpg Binary files differnew file mode 100644 index 000000000..a54c57686 --- /dev/null +++ b/docs/graphics/faqs-label-1.jpg diff --git a/docs/graphics/faqs-label-2.jpg b/docs/graphics/faqs-label-2.jpg Binary files differnew file mode 100644 index 000000000..298163c44 --- /dev/null +++ b/docs/graphics/faqs-label-2.jpg diff --git a/docs/graphics/faqs-label-3.jpg b/docs/graphics/faqs-label-3.jpg Binary files differnew file mode 100644 index 000000000..e03d73cb8 --- /dev/null +++ b/docs/graphics/faqs-label-3.jpg diff --git a/docs/graphics/implemented-header.jpg b/docs/graphics/implemented-header.jpg Binary files differnew file mode 100644 index 000000000..fe7242296 --- /dev/null +++ b/docs/graphics/implemented-header.jpg diff --git a/docs/graphics/implemented-label-1.jpg b/docs/graphics/implemented-label-1.jpg Binary files differnew file mode 100644 index 000000000..fd57cbdf2 --- /dev/null +++ b/docs/graphics/implemented-label-1.jpg diff --git a/docs/graphics/implemented-label-2.jpg b/docs/graphics/implemented-label-2.jpg Binary files differnew file mode 100644 index 000000000..a6e4b29b4 --- /dev/null +++ b/docs/graphics/implemented-label-2.jpg diff --git a/docs/graphics/implemented-label-3.jpg b/docs/graphics/implemented-label-3.jpg Binary files differnew file mode 100644 index 000000000..2645a4439 --- /dev/null +++ b/docs/graphics/implemented-label-3.jpg diff --git a/docs/graphics/index-header.jpg b/docs/graphics/index-header.jpg Binary files differnew file mode 100644 index 000000000..9aee794ff --- /dev/null +++ b/docs/graphics/index-header.jpg diff --git a/docs/graphics/index-label-1.jpg b/docs/graphics/index-label-1.jpg Binary files differnew file mode 100644 index 000000000..c0b812cfc --- /dev/null +++ b/docs/graphics/index-label-1.jpg diff --git a/docs/graphics/index-label-2.jpg b/docs/graphics/index-label-2.jpg Binary files differnew file mode 100644 index 000000000..e2681f6af --- /dev/null +++ b/docs/graphics/index-label-2.jpg diff --git a/docs/graphics/index-label-3.jpg b/docs/graphics/index-label-3.jpg Binary files differnew file mode 100644 index 000000000..807c2452a --- /dev/null +++ b/docs/graphics/index-label-3.jpg diff --git a/docs/graphics/involved-header.jpg b/docs/graphics/involved-header.jpg Binary files differnew file mode 100644 index 000000000..98f6d8c78 --- /dev/null +++ b/docs/graphics/involved-header.jpg diff --git a/docs/graphics/involved-label-1.jpg b/docs/graphics/involved-label-1.jpg Binary files differnew file mode 100644 index 000000000..0255c7103 --- /dev/null +++ b/docs/graphics/involved-label-1.jpg diff --git a/docs/graphics/involved-label-2.jpg b/docs/graphics/involved-label-2.jpg Binary files differnew file mode 100644 index 000000000..6bcf01a3f --- /dev/null +++ b/docs/graphics/involved-label-2.jpg diff --git a/docs/graphics/involved-label-3.jpg b/docs/graphics/involved-label-3.jpg Binary files differnew file mode 100644 index 000000000..e1b5d6467 --- /dev/null +++ b/docs/graphics/involved-label-3.jpg diff --git a/docs/graphics/license-header.jpg b/docs/graphics/license-header.jpg Binary files differnew file mode 100644 index 000000000..20140ff9c --- /dev/null +++ b/docs/graphics/license-header.jpg diff --git a/docs/graphics/license-label-1.jpg b/docs/graphics/license-label-1.jpg Binary files differnew file mode 100644 index 000000000..39ff9887b --- /dev/null +++ b/docs/graphics/license-label-1.jpg diff --git a/docs/graphics/license-label-2.jpg b/docs/graphics/license-label-2.jpg Binary files differnew file mode 100644 index 000000000..aebcc7e55 --- /dev/null +++ b/docs/graphics/license-label-2.jpg diff --git a/docs/graphics/license-label-3.jpg b/docs/graphics/license-label-3.jpg Binary files differnew file mode 100644 index 000000000..eff6866d9 --- /dev/null +++ b/docs/graphics/license-label-3.jpg diff --git a/docs/graphics/limitations-header.jpg b/docs/graphics/limitations-header.jpg Binary files differnew file mode 100644 index 000000000..caedc251f --- /dev/null +++ b/docs/graphics/limitations-header.jpg diff --git a/docs/graphics/limitations-label-1.jpg b/docs/graphics/limitations-label-1.jpg Binary files differnew file mode 100644 index 000000000..e128f654c --- /dev/null +++ b/docs/graphics/limitations-label-1.jpg diff --git a/docs/graphics/limitations-label-2.jpg b/docs/graphics/limitations-label-2.jpg Binary files differnew file mode 100644 index 000000000..9eee12496 --- /dev/null +++ b/docs/graphics/limitations-label-2.jpg diff --git a/docs/graphics/limitations-label-3.jpg b/docs/graphics/limitations-label-3.jpg Binary files differnew file mode 100644 index 000000000..94922ec85 --- /dev/null +++ b/docs/graphics/limitations-label-3.jpg diff --git a/docs/graphics/running-header.jpg b/docs/graphics/running-header.jpg Binary files differnew file mode 100644 index 000000000..2ddb0b9cc --- /dev/null +++ b/docs/graphics/running-header.jpg diff --git a/docs/graphics/running-label-1.jpg b/docs/graphics/running-label-1.jpg Binary files differnew file mode 100644 index 000000000..334fb96e4 --- /dev/null +++ b/docs/graphics/running-label-1.jpg diff --git a/docs/graphics/running-label-2.jpg b/docs/graphics/running-label-2.jpg Binary files differnew file mode 100644 index 000000000..201dd0b28 --- /dev/null +++ b/docs/graphics/running-label-2.jpg diff --git a/docs/graphics/running-label-3.jpg b/docs/graphics/running-label-3.jpg Binary files differnew file mode 100644 index 000000000..d85abe692 --- /dev/null +++ b/docs/graphics/running-label-3.jpg diff --git a/docs/graphics/specs-header.jpg b/docs/graphics/specs-header.jpg Binary files differnew file mode 100644 index 000000000..aadb2ec1a --- /dev/null +++ b/docs/graphics/specs-header.jpg diff --git a/docs/graphics/specs-label-1.jpg b/docs/graphics/specs-label-1.jpg Binary files differnew file mode 100644 index 000000000..fc87255a8 --- /dev/null +++ b/docs/graphics/specs-label-1.jpg diff --git a/docs/graphics/specs-label-2.jpg b/docs/graphics/specs-label-2.jpg Binary files differnew file mode 100644 index 000000000..dc1cde80a --- /dev/null +++ b/docs/graphics/specs-label-2.jpg diff --git a/docs/graphics/specs-label-3.jpg b/docs/graphics/specs-label-3.jpg Binary files differnew file mode 100644 index 000000000..f7ef8a68a --- /dev/null +++ b/docs/graphics/specs-label-3.jpg diff --git a/docs/implemented.html b/docs/implemented.html new file mode 100644 index 000000000..990b2d9e7 --- /dev/null +++ b/docs/implemented.html @@ -0,0 +1,108 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Features</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/implemented-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="Features" border="0" height="12" hspace="0" src="graphics/implemented-label-1.jpg" vspace="0" width="120"><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>What's Implemented?</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>The following formatting objects and properties of the xsl-fo + working draft (21 Apr 1999) are implemented. Please have also a look at the + section on <A href="limitations.html">limitations</A> + </P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>1) Formatting Objects</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <UL> + <LI>root</LI> + <LI>layout-master-set </LI> + <LI>simple-page-master </LI> + <LI>region-body </LI> + <LI>region-before </LI> + <LI>region-after </LI> + <LI>page-sequence </LI> + <LI>sequence-specification </LI> + <LI>sequence-specifier-single </LI> + <LI>sequence-specifier-repeating </LI> + <LI>sequence-specifier-alternating </LI> + <LI>flow </LI> + <LI>static-content </LI> + <LI>block </LI> + <LI>list-block </LI> + <LI>list-item </LI> + <LI>list-item-label </LI> + <LI>list-item-body </LI> + <LI>page-number </LI> + <LI>display-sequence </LI> + <LI>inline-sequence </LI> + <LI>display-rule </LI> + <LI>display-graphic </LI> + <LI>table (minimal support)</LI> + <LI>table-column (minimal support)</LI> + <LI>table-body (minimal support)</LI> + <LI>table-row (minimal support)</LI> + <LI>table-cell (minimal support)</LI> + </UL> + </FONT></TD></TR></TABLE><BR> + + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>2) Properties</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <UL> + <LI>end-indent </LI> + <LI>page-master-name </LI> + <LI>page-master-first </LI> + <LI>page-master-repeating </LI> + <LI>page-master-odd </LI> + <LI>page-master-even </LI> + <LI>margin-top (only on pages and regions)</LI> + <LI>margin-bottom (only on pages and regions)</LI> + <LI>margin-left (only on pages and regions)</LI> + <LI>margin-right (only on pages and regions)</LI> + <LI>extent </LI> + <LI>page-width </LI> + <LI>page-height </LI> + <LI>flow-name </LI> + <LI>font-family </LI> + <LI>font-style </LI> + <LI>font-weight </LI> + <LI>font-size </LI> + <LI>line-height </LI> + <LI>text-align </LI> + <LI>text-align-last </LI> + <LI>space-before.optimum </LI> + <LI>space-after.optimum </LI> + <LI>start-indent </LI> + <LI>end-indent </LI> + <LI>provisional-distance-between-starts </LI> + <LI>provisional-label-separation </LI> + <LI>rule-thickness </LI> + <LI>color </LI> + <LI>wrap-option </LI> + <LI>white-space-treatment </LI> + <LI>break-before </LI> + <LI>break-after </LI> + <LI>text-indent </LI> + <LI>href</LI> + <LI>column-width</LI> + <LI>background-color</LI> + <LI>padding-top (only in conjunction with background color)</LI> + <LI>padding-left (only in conjunction with background color)</LI> + <LI>padding-bottom (only in conjunction with background color)</LI> + <LI>padding-right (only in conjunction with background color)</LI> + </UL> + </FONT></TD></TR></TABLE><BR> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 000000000..fcece4c80 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,36 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>What is FOP?</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/index-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <IMG alt="Readme" border="0" height="12" hspace="0" src="graphics/index-label-1.jpg" vspace="0" width="120"><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B></B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>FOP is the world's first print formatter driven by XSL formatting + objects. It is a Java 1.1 application that reads a formatting object + tree and then turns it into a PDF document. The formatting object + tree, can be in the form of an XML document (output by an XSLT engine + like XT or Xalan) or can be passed in memory as a DOM Document or (in + the case of XT) SAX events. + </P> + <P>FOP is part of Apache's XML project. The homepage of FOP is + <A href="http://xml.apache.org/fop">http://xml.apache.org/fop</A>. + </P> + </FONT></TD></TR></TABLE><BR> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/involved.html b/docs/involved.html new file mode 100644 index 000000000..69a189941 --- /dev/null +++ b/docs/involved.html @@ -0,0 +1,97 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Getting involved</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/involved-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="Getting involved" border="0" height="12" hspace="0" src="graphics/involved-label-1.jpg" vspace="0" width="120"><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>First steps</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>1. Subscribe to fop-dev@xml.apache.org by sending an email + to fop-dev-subscribe@xml.apache.org</P> + <P>2. Read the archives to fop-dev to get an idea of the issues being + discussed. </P> + <P>3. Subscribe to fop-cvs@xml.apache.org by sending an email to + fop-cvs-subscribe@xml.apache.org (it is important + that you follow changes being made). </P> + <P>4. Try :-) to wrap your head around the XSL working draft. </P> + <P>5. Get CVS working on your system. </P> + <P>6. Ask, on fop-dev, any questions you have at all about the code, design, etc. </P> + <P>7. When you feel comfortable modifying the code, send diffs to + fop-dev with your contributions. </P> + <P>8. Have fun!</P> + <P><A href="http://xml.apache.org/overview.html">xml.apache.org</A> + has a more explicit description how to get involved. </P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>The Ways of FOP</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>The following shows an example use of FOP from org.apache.fop.apps.CommandLine.java:</P> + + <P>1)<CODE><FONT face="courier, monospaced"> Driver driver = new Driver();</FONT></CODE></P> + <P>2)<CODE><FONT face="courier, monospaced"> driver.setRenderer ("org.apache.fop.render.pdf.PDFRenderer", version);</FONT></CODE></P> + <P>3)<CODE><FONT face="courier, monospaced"> driver.addElementMapping ("org.apache.fop.fo.StandardElementMapping");</FONT></CODE></P> + <P>3)<CODE><FONT face="courier, monospaced"> driver.addElementMapping ("org.apache.fop.svg.SVGElementMapping");</FONT></CODE></P> + <P>4)<CODE><FONT face="courier, monospaced"> driver.setWriter (new PrintWriter(new FileWriter(args[1])));</FONT></CODE></P> + <P>5)<CODE><FONT face="courier, monospaced"> driver.buildFOTree(parser, fileInputSource(args[0]));</FONT></CODE></P> + <P>6)<CODE><FONT face="courier, monospaced"> driver.format();</FONT></CODE></P> + <P>7)<CODE><FONT face="courier, monospaced"> driver.render();</FONT></CODE></P> + + <P>1. step: Initiate class Driver</P> + <P>Driver is the primary class that drives overall FOP process.</P> + + <P>2. step: Set Renderer</P> + <P>You set the renderer for the output format of your choice. At the moment 3 formats are supported: a) pdf (org.apache.fop.render.pdf.PDFRenderer)</P> + <P>b) awt (org.apache.fop.render.awt.AWTRenderer)</P> + <P>c) xml (org.apache.fop.render.xml.XMLRenderer)</P> + + <P>All renderers implement the interface Renderer which defines the methods an area needs to be laid out. </P> + + <P>The xml renderer is meant for debugging purposes.</P> + + <P>The interface Renderer takes a string as a version argument indicating the application that is producing the output. Many output formats like PDF allow the inclusion of a "Producer" string. </P> + + + <P>3. step: Set Element Mapping</P> + <P>By setting the element mapping you choose the dictionaries of elements which FOP can handle. At the moment two dictionaries are available: </P> + <P>a) Standard xsl elements (org.apache.fop.fo.StandardElementMapping)</P> + <P>b) Graphic elements described by SVG (org.apache.fop.svg.SVGElementMapping)</P> + + <P>All element mappings implement the interface ElementMapping.</P> + + <P>4. step: Set output destination </P> + <P>Normally this will be a Printwriter of some sort. If you are just displaying the output on screen you can skip this step.</P> + + <P>5. step: Build FO Tree</P> + <P>Builds the tree of formatting objects contained in the input source. Either walks the tree of the input document (DOM) or uses SAX events to build up the tree by looking up the definitions of the fo in the element mappings. Depending on whether DOM or SAX is being used, the invocation of the method is either buildFOTree(Document) or buildFOTree(Parser, InputSource) respectively.</P> + + <P>6. step: Build Area Tree from FO Tree</P> + <P>By calling format() of the driver class the fo tree is written/formatted into a area tree. Every formatting object knows how to layout itself, that is every formatting object has a an layout method which is now called to produce an area. </P> + <P>The setup of the font info for the renderer is also done in this step. </P> + + <P>7. step: Renderer renders Areas</P> + <P>The renderer, which has been set in step 2, is given the area tree. It uses the layout information to output it in its specific format. Example: For the PDF renderer there is a set of methods to create a pdf file containing the FOP supported kind of layout features.</P> + + <P>-------------------------------------</P> + <P>If you want to extend the functionality of FOP by adding new formatting objects, you should do the following: </P> + + <P>1. FO Object: Write a class which contains the description of your formatting object and put it into the package fop.fo.flow, fop.fo.pagination (if it is a property it goes to fop.fo.properties. The classes in this package are generated via an xslt stylesheet located in codegen/properties.xml)</P> + <P>2. Element Mapping: Add it to the list in fop.fo.StandardElementMapping (if it is a property you need to add it to fop.fo.PropertyListBuilder)</P> + <P>3. Area: Either your need can be fulfilled within one of the existing classes in fop.layout, then just add the code to handle the new fo/property or you must write a new one.</P> + <P>4. Renderer: Choose the renderer you are interested in. If you worked on an existing layout class you must add code to handle the new features to the already existing area specific method in the renderer class. Otherwise you have to add a new method. </P> + + </FONT></TD></TR></TABLE><BR> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/license.html b/docs/license.html new file mode 100644 index 000000000..901e19da2 --- /dev/null +++ b/docs/license.html @@ -0,0 +1,73 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>License</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/license-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="License" border="0" height="12" hspace="0" src="graphics/license-label-1.jpg" vspace="0" width="120"><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>The Apache Software License, Version 1.1</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P> Copyright (C) 1999 The Apache Software Foundation. All rights reserved.</P> + <P> Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met:</P> + <P>1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + </P> + + <P>2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + </P> + + <P>3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: "This product includes software + developed by the Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowledgment may appear in the software itself, if + and wherever such third-party acknowledgments normally appear. + </P> + + <P>4. The names "FOP" and "Apache Software Foundation" must not be used to + endorse or promote products derived from this software without prior + written permission. For written permission, please contact + apache@apache.org. + </P> + + <P>5. Products derived from this software may not be called "Apache", nor may + "Apache" appear in their name, without prior written permission of the + Apache Software Foundation. + </P> + <P>THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- + DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + </P> + + <P> + This software consists of voluntary contributions made by many individuals + on behalf of the Apache Software Foundation and was originally created by + James Tauber <jtauber@jtauber.com>. For more information on the Apache + Software Foundation, please see <A href="http://www.apache.org/">http://www.apache.org/</A>. + </P> + </FONT></TD></TR></TABLE><BR> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/limitations.html b/docs/limitations.html new file mode 100644 index 000000000..868f85ec6 --- /dev/null +++ b/docs/limitations.html @@ -0,0 +1,109 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Limitations</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/limitations-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="Limitations" border="0" height="12" hspace="0" src="graphics/limitations-label-1.jpg" vspace="0" width="120"><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <P>The main limitation at the moment is: FOP only supports the XSL working draft 21 Apr 1999, + not the latest from 12 January 2000. FOP implements the fo objects and properties listed + in 'features', sometimes it does so only in a limited way. + </P> + + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>differences between XSL WD 1999 and 2000</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>The following formatting objects (supported by FOP) have changed between + XSL wd 1999 and wd 2000: + </P> + <P><sequence-specification> changed to <page-sequence-master></P> + <P><sequence-specifier-single> changed to <single-page-master-reference> </P> + <P><sequence-specifier-repeating> changed to <repeatable-page-master-reference> </P> + <P><sequence-specifier-alternating> changed to <repeatable-page-master-alternatives> </P> + <P><display-sequence> changed to <block-container> </P> + <P><inline-sequence> <inline-container> </P> + <P><display-rule> nuked</P> + <P><display-graphic> changed to two tags: <external-graphic> <instream-graphic> </P> + <P>The following properties have changed between XSL wd 1999 and wd 2000: + </P> + <P>page-master-name nuked replaced with master-name</P> + <P>page-master-first implemented using conditional page reference object </P> + <P>page-master-repeating do</P> + <P>page-master-odd do </P> + <P>page-master-even do </P> + </FONT></TD></TR></TABLE><BR> + + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>list-block</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>The fo working draft allows describes two ways to markup lists.The list-block must have as + children either: 1) pairs of fo:list-item-label and fo:list-item-body formatting objects, or + 2) fo:list-item formatting objects.</P> + <P>At the moment FOP only implements the second way. Therefore a list has a basic structure like this:</P> + <P><CODE><FONT face="courier, monospaced"><fo:list-block></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"><fo:list-item></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"><fo:list-item-label><fo:block></fo:block></fo:list-item-label></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"><fo:list-item-body><fo:block></fo:block></fo:list-item-body></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"></fo:list-item></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"></fo:list-block></FONT></CODE></P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Padding</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>Padding works in conjunction with indents and spaces. It is only implemented + for blocks. At the moment padding can't be used to make extra space (indents+spaces + must be used), but only to control how much the background-color extends beyond + the content rectangle. + </P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Tables</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>There two limitations for tables: 1) FOP needs you to explicitly specify column widths + 2) Cells have to contain block-level FOs. They can't contain straight character data. + </P> + <P>A working basic example of a table looks like this: </P> + <P><CODE><FONT face="courier, monospaced"><fo:table></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-column column-width="150pt"/></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-column column-width="150pt"/></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-body font-size="10pt" font-family="sans-serif"></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-row></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:block>text</fo:block></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:block>text</fo:block></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-row></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-row></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:block>text</fo:block></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:block>text</fo:block></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-row></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-row></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:block>text</fo:block></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> <fo:block>text</fo:block></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-cell></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-row></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"> </fo:table-body></FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced"></fo:table></FONT></CODE></P> + </FONT></TD></TR></TABLE><BR> + + + + +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/qaml-html.css b/docs/qaml-html.css deleted file mode 100644 index 66ddc4059..000000000 --- a/docs/qaml-html.css +++ /dev/null @@ -1,43 +0,0 @@ -/* Use Times New Roman for default font */ - - -body { - background-color:#FFFF99; - font-family: serif,Times,"Times New Roman"; - font-size: 12pt; - margin-left: 20%; - margin-right: 20%; -} - -h1 { - font-size: 16pt; - margin-top: 5pt; - margin-bottom: 5pt; - -} - -h1.title { - font-size: 18pt; - margin-top: 10pt; - margin-bottom: 10pt; -} - -h2 { - font-size: 14pt; -} - -h3 { - font-size: 12pt; - font-weight: bold; -} - - -p.pre { - font-family: monospace,Courier,"Courier New"; - font-size: 10pt; -} - -p.contact { - font-size: 9pt; - text-align= right; -} diff --git a/docs/qaml-xml.css b/docs/qaml-xml.css deleted file mode 100644 index 4ec17d720..000000000 --- a/docs/qaml-xml.css +++ /dev/null @@ -1,139 +0,0 @@ -/* the "state of the art" xml browser don't support - xlink and list-item */ - -faq { - display:block; - font-family:"Times Roman",Times,serif; - font-size:12pt; - margin-left:15%; - margin-right:15%; -} - -a { - display:block; -} - -address { - display:block; -} - -althdr { - display:block; -} - -archive { - display:block; -} - -author { - display:block; -} - -body { - display:block; -} - -content { - display:block; -} - -contributor { - display:block; -} - -div { - display:block; -} - -email { - display:block; -} - -head { - display:block; -} - -hdr { - display:block; -} - -label { - display:block; -} - -link { - display:inline; -} - -logo { - display:inline; -} - -maintain { - display:block; -} - -name { - display:block; -} - -p { - display:block; - font-style:monospace; -} - -/*not supported by mozilla 5 and ie 5 */ -p.li { - display:list-item; -} - -p.pre { - display:block; - font-family:Monospace; - font-size:10pt; - margin-top:5pt; - margin-bottom:5pt; - -} - -q { - display:block; -} - -qna { - display:block; -} - -section { - display:block; -} - - -span { - display:block; -} - -subject { - display:block; -} - -title { - display:block; - margin-top:9pt; - margin-bottom:6pt; - font-size:14pt; - font-weight:bold; -} - -topic { - display:block; -} - -type { - display:block; -} - -version { - display:block; -} - diff --git a/docs/qaml-xml.dtd b/docs/qaml-xml.dtd deleted file mode 100644 index 5159a02a1..000000000 --- a/docs/qaml-xml.dtd +++ /dev/null @@ -1,303 +0,0 @@ -<!-- - This is an XML DTD for writing Frequently Asked Questions FAQs. - QAML Version 2.4 last modified Oct 6 1999 - by Justin Higgins (jhiggins@dn.net) - www.faq.org - and Rick Jelliffe (ricko@gate.sinica.edu.tw) - www.ascc.net/xml/ - - It is based on the QAML 1.0 DTD, with minimal alterations - for XML, I18N (internationalization), XLL hypertext linking, - style, accessability and tracking. Multi-part answers are - supported a little better. Corporate and "look-and-feel" - needs are supported better: rights, PICS, logos, advertising - sections, corporate addresses. - - * XML: Documents written using the QAML 1.0 DTD - are structurally compatible with this DTD; however, such - documents need to be converted into "well-formed" XML: - make sure they are fully tagged with start-end tags for - every element. If you are not using 7-bit ACSCII or - UTF-8, specify the appropriate XML encoding header. If you are - not using English, specify the appropriate xml:lang language - attributes. Use lower-case element type names. - - * I18N: All elements with data content, and the top element, - may have a language attribute. People may have alternative names - in different scripts: e.g., a Chinese name and an English - name. - - * XLink: All elements may have an ID attribute. A fixed xml:link - attribute has been added to link and archive, for housekeeping. - (Link is used like HTML's <a> and <img> and <link> element types. - Archive points to the official location of the current and - precious version of the FAQ, and to translations.) - Note that the xml:show attribute is available in this DTD, but - may not be available at the user's system. The following - link roles are defined by this DTD, but you can add your own: - "Text", "Image", "Sound", "Software", "Data", "Interactive" - are the base Dublin Core categories for the resource types. - A logo is a special XLink: it just points to some icon or logo - or picture. (The logo does not represent a clickable hypertext - link: it is just for graphical purposes.) The link elements at - the start of the head element are intended for similar uses as - the HTML link element type: a role "bgimage" is defined by this DTD. - - * Style: An element "span" is introduced with the same use as in HTML. - All elements have a class attribute, which may help better - processing in CSS. The following classes are defined by this DTD, - but you can add your own: - For section elements: "intro" (a preamble), "rights" (copyright), - "advert" (for advertising), "info" (for corporate info about the - siteowner, subject, product, or sponsor) and "links" (related sites); - For p elements: "li" and "pre", with the HTML meanings: there - is no provision for nested lists or tables; - For span elements: "tt", "em", "i", "b" & "strong", with the HTML meanings; - Also: "definition" and "keyword", for indexing - For p and span elements: "sent", with the JSML meaning - (a sentence); - For the span element type: "literal" with the JSML meaning - (to be spelled out as letters)-this helps WAI too; - For the span element type: "abbr" and "acronym" are also available, - (an acronym is pronouncable: NASA), roughly from HTML - For the div element type: "ul" and "ol" with the HTML meanings. - The div element type is new with QAML 2.1; we found we could - not create good HTML lists without it. However, we have not - allowed nested lists with it, at this stage. - - Note: if you use class="pre", also specify xml:space="preserve" - to inhibit the stripping of white space by the XML processor. - If you are attempting "ASCII art", use - <p class="pre" xml:space="preserve" alt="explanatory text">... - where the alt attribute holds some explanatory text. - - Please note that you should not rely on format effects - (font, boldness) to convey meaning in these FAQs. The output - system of the user may not support them. - - If you do not put your own numbers in titles, you can signify this - by specifying the autonum attribute on a body or section to "yes". - - * Accessability: QAML has been checked against the W3C WAI guidelines; - the link, p & span elements can have an "title" attribute. - The span element can have a class="literal", for contractions to be - spoken out in individual letters, "abbr" for an abbreviations, - and "acronym" for acronyms. The latter two may be marked up with - title attribute for better pronunciation. Multiple logos are possible, - to allow sound as well as visual logos. - Refer /www.w3.org/TR/WD-WAI-PAGEAUTH/ - - * Dublin Core: The mappings to Dublin Core metadata are noted. - The Dublin Core type for FAQs is "faq". (The althdr element - can be used similar to the HTML meta element, to add arbitrary - kinds of metadata.) - - * Tracking: A data attribute has been added to various elements. - Use an ISO 8601 format date: yyyy-mm-dd or yyyymmdd. - The archive element can link to previous versions and translations. - The maintainer can advise the preferred subject line to be used - in emails about the FAQ, using the element type "subject". - A version element has been added to element type head - - * PICS and rights: PICS labels can be added to the header using the - label element type. Refer http://www.w3.org/PICS/ - A text version concerning rights can be given in a section - with a class="rights" attribute. - - * PDA and Wireless Systems: to allow better interaction with PDA and - wireless systems, which have very small screen real-estate, the - <a> answer element type can take a "gist" attribute: this can have - a 1 to 5 word summary of the answer. The PDA would use that for example: - Q: What is a dog? - A: Barking animal >more> - Q: Are dogs cats? - A: No! >more> - where the ">more>" links to the full answer. - - QAML Version 1.0 last modified 16 July 1997 - by Justin Higgins (jhiggins@dn.net) - - Public identifier for SGML version of QAML Version 1,0: - +//ISBN 82-7640-023//DTD Frequently Asked Questions//EN//19940603 - - Public identifier for this XML version: - +//IDN faq.org//DTD Frequently Asked Questions 2.3//EN//XML - - Rights: This DTD is copyright 1994-1999 Justin Higgins and Rick - Jelliffe. You can use it freely for any purpose under the terms - of the MPL or GPL. Documents created using this DTD are copyright - their (human or corporate) authors and maintainers, subject to - local law, unless explicitly noted in the FAQ text or markup. - - Thanks: Eric Luhrs, C.T.Chang, Andy Leighton, David Pawson - - Notice: ID attributes will soon be made #REQUIRED on section and on - qna. Please always use them. - ---> -<!-- New in version 2.4 - email not mandatory for authors and contributors - block of links allowed at start of head ---> -<!-- New in version 2.3 - Version element added - Allow someone to have more than one email address (deprecated) - Namespace declaration added ---> -<!ELEMENT faq (head, body) > - - -<!ELEMENT a (p | div)+ > -<!ELEMENT address (#PCDATA) > -<!ELEMENT althdr (type, content) ><!-- DC:DESCRIPTION --> -<!ELEMENT archive (#PCDATA) ><!-- DC:IDENTIFIER? --> -<!ELEMENT author (logo*, name+, email?) ><!-- DC:CREATOR --> -<!ELEMENT body (section+ | qna+) > -<!ELEMENT content (#PCDATA) > -<!ELEMENT contributor (logo*, name, email?) ><!-- DC:CONTRIBUTOR --> -<!ELEMENT div (p)+ > -<!ELEMENT email (#PCDATA) > -<!ELEMENT head (title, version?, maintain+, hdr*, althdr*, archive*,label*, link*)> -<!ELEMENT hdr (type, content) ><!-- DC:DESCRIPTION --> -<!ELEMENT label (#PCDATA) > -<!ELEMENT link (#PCDATA) > -<!ELEMENT logo (#PCDATA) > -<!ELEMENT maintain (logo*, name+, email+, subject?, address?) > - <!-- DC:AUTHOR or DC:PUBLISHER --> -<!ELEMENT name (#PCDATA) > -<!ELEMENT p (#PCDATA | link | span)* > -<!ELEMENT q (#PCDATA | link | span)* > -<!ELEMENT qna (logo*, q, (logo?,topic?,author?,contributor*,a)+)> -<!ELEMENT section (logo*, title, (qna+ | q+ | ( p | div | section)+)) > -<!ELEMENT span (#PCDATA) > -<!ELEMENT subject (#PCDATA) > -<!ELEMENT title (#PCDATA) ><!-- DC:TITLE --> -<!ELEMENT topic (#PCDATA) ><!-- DC:TITLE --> -<!ELEMENT type (#PCDATA) ><!-- DC:SUBJECT --> -<!ELEMENT version (#PCDATA) > - <!-- Type categories include: - Animals - Art - Audio - Business & Finance - Computers - Programming - Software - Countries - Food - Games - Health - History - Hobbies - Internet - Learning - Misc. - Movies - Music - People - Politics & Law - Books & Magazines - Religion - Science - Sports - Technology - Television & Radio --> - - -<!ATTLIST a id ID #IMPLIED - class CDATA #IMPLIED - gist CDATA #IMPLIED - xml:lang CDATA #IMPLIED > -<!ATTLIST archive href CDATA #REQUIRED - type CDATA #IMPLIED - class CDATA #IMPLIED - xml:link CDATA #FIXED "simple" > -<!ATTLIST author id ID #IMPLIED - class CDATA #IMPLIED > -<!ATTLIST althdr id ID #IMPLIED - class CDATA #IMPLIED - schema CDATA #IMPLIED > -<!ATTLIST div id ID #IMPLIED - class CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED > -<!ATTLIST body id ID #IMPLIED - class CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED - autonum ( yes | no ) "no" > -<!ATTLIST content id ID #IMPLIED - class CDATA #IMPLIED > -<!ATTLIST contributor id ID #IMPLIED - class CDATA #IMPLIED > -<!ATTLIST email id ID #IMPLIED - class CDATA #IMPLIED > -<!ATTLIST faq id ID #IMPLIED - xmlns:html CDATA #FIXED "http://www.w3.org/TR/REC-html40" - class CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED - date CDATA #IMPLIED ><!-- DC:DATE --> -<!ATTLIST head id ID #IMPLIED - class CDATA #IMPLIED > -<!ATTLIST hdr id ID #IMPLIED - class CDATA #IMPLIED - schema CDATA #IMPLIED > -<!ATTLIST label PICSversion CDATA #IMPLIED > -<!ATTLIST link id ID #IMPLIED - class CDATA #IMPLIED - xml:link CDATA #FIXED "simple" - href CDATA #REQUIRED - alt CDATA #IMPLIED - role CDATA #IMPLIED - title CDATA #IMPLIED - show (embed|replace|new) "new" - actuate (auto|user) "user" - behavior CDATA #IMPLIED > -<!ATTLIST logo - id ID #IMPLIED - class CDATA #IMPLIED - alt CDATA #IMPLIED - href CDATA #REQUIRED - xml:lang NMTOKEN #IMPLIED - xml:link CDATA "simple" - show (embed) "embed" - actuate (auto|user) "auto" > -<!ATTLIST maintain id ID #IMPLIED - class CDATA #IMPLIED > -<!ATTLIST name id ID #IMPLIED - class CDATA #IMPLIED > -<!ATTLIST p id ID #IMPLIED - class CDATA #IMPLIED - title CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED - alt CDATA #IMPLIED - date CDATA #IMPLIED - xml:space ( default | preserve ) #IMPLIED > -<!ATTLIST q id ID #IMPLIED - class CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED > -<!ATTLIST qna id ID #IMPLIED - class CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED - date CDATA #IMPLIED > -<!ATTLIST section id ID #IMPLIED - class CDATA #IMPLIED - gist CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED - autonum ( yes | no ) "no" > -<!ATTLIST span id ID #IMPLIED - class CDATA #IMPLIED - title CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED > -<!ATTLIST title id ID #IMPLIED - class CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED > -<!ATTLIST topic id ID #IMPLIED - class CDATA #IMPLIED - xml:lang NMTOKEN #IMPLIED - alt CDATA #IMPLIED > -<!ATTLIST type id ID #IMPLIED - class CDATA #IMPLIED > - -<!-- Why use QAML instead of HTML? - Because unconstrained HTML is too powerful and loose! --> - - diff --git a/docs/readme.xml b/docs/readme.xml deleted file mode 100644 index 4af694b70..000000000 --- a/docs/readme.xml +++ /dev/null @@ -1,319 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- $Id$ --> -<!-- This file uses the question and answer dtd - QAML Version 2.4. More info about it can be found in the dtd file. - There should be some xslt stylesheets in this distribution - which produce ascii, html and pdf files - -Usage of attributes: - section: attr "class" has the value "level1", "level2" etc. to mark the level of nesting - p: attr "class" can have "pre" (for code) or "li" for lists. No class attr is the normal ---> - -<?xml-stylesheet type="text/css" href="qaml-xml.css"?> -<!DOCTYPE faq SYSTEM "qaml-xml.dtd"> - -<faq> - -<head> - <title>FOP: An Open-Source XSL Formatter and Renderer</title> - <version>1.5 1999/12/01 16:00</version> - <maintain> - <name>James Tauber</name> - <name>Fotis Jannidis</name> - <email>jtauber@jtauber.com</email> - <email>fotis.jannidis@lrz.uni-muenchen.de</email> - <subject>FOP</subject> - </maintain> -</head> - -<body> - -<section class="level1"> - <!--<logo href="logo.gif">fop logo</logo>--> - <title>What is FOP?</title> - <p>FOP is the world's first print formatter driven by XSL formatting - objects. It is a Java 1.1 application that reads a formatting object - tree and then turns it into a PDF document. The formatting object - tree, can be in the form of an XML document (output by an XSLT engine - like XT or Xalan) or can be passed in memory as a DOM Document or (in - the case of XT) SAX events. - - </p> - <p>FOP is part of Apache's XML project. The homepage of FOP is - <link href="http:/xml.apache.org/fop">http:/xml.apache.org/fop</link>. - </p> -</section> - -<!-- Compiling FOP --> - -<section class="level1"> - <title>Compiling FOP</title> - <section class="level2"> - <title>1. Prerequisites</title> - <section class="level3"> - <title>a) Java 1.1.x or later</title> - <p>If you use Java 1.1.x you must also seperately include the swing classes, which can - be found at the <link href="http://java.sun.com/products/jfc/#download-swing"> - Sun website</link>. From Java 1.2 on (aka Java 2) they are part of the standard - distribution. - </p> - </section> - <section class="level3"> - <title>b) An XML parser</title> - <p>An XML parser which supports DOM like - <link href="http://xml.apache.org/xerces-j/index.html">Xerces-J</link>.</p> - </section> - <section class="level3"> - <title>c) XT from James Clark</title> - <p>Some of the Java source code in FOP is generated from XML using - XSLT. XT must be used to generate this code.</p> - <p>XT is an XSL stylesheet processor written in java. At the moment you - can't use any other processor, because the make file makes use of some - proprietary features of Clark's xt which allow to write output in more - then one document. You can find XT at <link href="http://www.jclark.com/xml/xt.html"> - James Clark's website</link>. You have to use XT version 19991105 or later.</p> - <p>(Under windows you shouldn't use the prepackaged xt.exe but also the - generic jar file, otherwise make won't work) - </p> - <p>XT relies on an sax parser like XP (also J. Clark), which can be - downloaded at <link href="http://www.jclark.com/xml/xp/index.html">James - Clark's Website</link> - </p> - </section> - <section class="level3"> - <title>d) make</title> - <p>Under windows it has been reported that the use of the cygnus solutions port - of the GNU utilities works. You can find it at - <link href="http://sourceware.cygnus.com/cygwin/">Cygnus Solutions</link> - </p> - </section> - </section> -</section> - -<!-- Running FOP --> - -<section class="level1"> - <title>Running FOP</title> - <section class="level2"> - <title>1) Prerequisites</title> - <p>Following software must be installed:</p> - <p>a) Java 1.1.x or later</p> - <p>For the fo-file viewer mode of FOP (see below) you must have the swing classes installed. - From Java 1.2 on (aka Java 2) they are part of the standard java distribution. - If you use Java 1.1.x you must seperately include the swing classes, which can - be found at the <link href="http://java.sun.com/products/jfc/#download-swing"> - Sun website</link>. - </p> - <p>b) An XML parser which supports SAX and DOM like - <link href="http://xml.apache.org/xerces-j/index.html">Xerces-J</link>.</p> - <p>c) If you have to produce the flow objects files, which are the input for FOP, - you need a transformation utility to create this files from your xml files. - Normally this is an XSLT stylesheet processor like - <link href="http://www.jclark.com/xml/xt.html">XT</link> - or <link href="http://xml.apache.org/xalan/index.html">XALAN</link>. - </p> - </section> - <section class="level2"> - <title>2) Starting FOP as an standalone application</title> - <p>There are three ways to run FOP from the command line.</p> - <p>a) Batch processing formatting objects (fo) files: </p> - <p class="pre">java org.apache.fop.apps.CommandLine fo-file pdf-file</p> - <p>b) Batch processing xml files (includes production of the fo-files):</p> - <p class="pre">java org.apache.fop.apps.CommandLine xml-file xsl-file pdf-file</p> - <p>c) Previewing the fo-file:</p> - <p class="pre">java org.apache.fop.apps.AWTCommandLine fo-file</p> - <p>Each method uses next to the fop classes other packages. The following describes - each method in detail.</p> - <section class="level3"> - <title>a) Method One</title> - <p>One is to first use an XSLT engine to produce the formatting object tree as an - XML document and then running the class org.apache.fop.apps.CommandLine with the - formatting object file name and PDF filename as arguments. You will need to include - FOP and your XML Parser in your classpath and so you might invoke - </p> - <p class="pre">java -cp fop_x_xx_x.jar;xerces.jar</p> - <p class="pre">org.apache.fop.apps.CommandLine fo-file pdf-file</p> - <p>If your SAX Parser is other than Xerces, you will need to set the property - org.xml.sax.parser to the SAX Parser class to use. The following example shows - the command line, if you use XP, the XML parser from James Clark: - </p> - <p class="pre">java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver</p> - <p class="pre">-cp fop_x_xx_x.jar;sax.jar;xt.jar;xp.jar;xerces.jar</p> - <p class="pre">org.apache.fop.apps.AWTCommandLine formatting-tree-file pdf-file</p> - <p>(You have to include xerces.jar or another xml parser which supports DOM in your classpath.) </p> - </section> - <section class="level3"> - <title>b) Method Two</title> - <p>Rather than performing transformation with an XSLT before invoking FOP, it is - possible, if you use XT as your XSLT engine, to just call FOP and have it call - XT for you. To do this, run the class org.apache.fop.apps.CommandLine with the - source XML file name, XSL file name and PDF file name as arguments. You will - need to include FOP, SAX, your SAX Parser and XT in your classpath and so you might - invoke - </p> - <p class="pre">java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver</p> - <p class="pre">-cp fop_x_xx_x.jar;xt.jar;xerces.jar</p> - <p class="pre">org.apache.fop.apps.CommandLine xml-file xsl-file pdf-file</p> - <p>Again, if your SAX Parser is other than Xerces, you will need to set the property - org.xml.sax.parser to the SAX Parser class to use. - </p> - </section> - <section class="level3"> - <title>c) Method Three</title> - <p>If you already produced the FO file, you can preview the results of your - transformation without using any pdf viewer by invoking FOP with the viewer - application. You will need to include FOP and your XML Parser in your classpath - </p> - <p class="pre">java -cp fop_x_xx_x.jar;xerces.jar</p> - <p class="pre">org.apache.fop.apps.AWTCommandLine fo-file </p> - <p>The viewer uses the swing classes.</p> - <p>Note: If you are using java 2 or later (i.e. jdk 1.2. or later) you can put all - needed jar files into the subdirectory jdk1.2.x\jre\lib\ext (windows example). Then - FOP can be started without classpath: - </p> - <p class="pre">java org.apache.fop.apps.CommandLine fo-file pdf-file</p> - </section> - </section> - <section class="level2"> - <title>3) Problems</title> - <p>If you have problems running FOP, please have a look at the - <link href="faq.html">FOP FAQ</link>. If you don't find a solution there, - you can ask for help on the list fop-dev@xml.apache.org. Maybe it's bug and - maybe somebody is already working on it. - </p> - </section> -</section> - -<!-- What's Implemented? --> - -<section class="level1"> - <title>What's Implemented?</title> - <p>Also see STATUS for what is being worked on.</p> - <section class="level2"> - <title>1) Formatting Objects</title> - <div class="list"> - <p class="li">root </p> - <p class="li">layout-master-set </p> - <p class="li">simple-page-master </p> - <p class="li">region-body </p> - <p class="li">region-before </p> - <p class="li">region-after </p> - <p class="li">page-sequence </p> - <p class="li">sequence-specification </p> - <p class="li">sequence-specifier-single </p> - <p class="li">sequence-specifier-repeating </p> - <p class="li">sequence-specifier-alternating </p> - <p class="li">flow </p> - <p class="li">static-content </p> - <p class="li">block </p> - <p class="li">list-block </p> - <p class="li">list-item </p> - <p class="li">list-item-label </p> - <p class="li">list-item-body </p> - <p class="li">page-number </p> - <p class="li">display-sequence </p> - <p class="li">inline-sequence </p> - <p class="li">display-rule </p> - <p class="li">display-graphic </p> - <p class="li">table (minimal support)</p> - <p class="li">table-column (minimal support)</p> - <p class="li">table-body (minimal support)</p> - <p class="li">table-row (minimal support)</p> - <p class="li">table-cell (minimal support)</p> - </div> - </section> - - <section class="level2"> - <title>2) Properties</title> - <div class="list"> - <p class="li">end-indent </p> - <p class="li">page-master-name </p> - <p class="li">page-master-first </p> - <p class="li">page-master-repeating </p> - <p class="li">page-master-odd </p> - <p class="li">page-master-even </p> - <p class="li">margin-top (only on pages and regions)</p> - <p class="li">margin-bottom (only on pages and regions)</p> - <p class="li">margin-left (only on pages and regions)</p> - <p class="li">margin-right (only on pages and regions)</p> - <p class="li">extent </p> - <p class="li">page-width </p> - <p class="li">page-height </p> - <p class="li">flow-name </p> - <p class="li">font-family </p> - <p class="li">font-style </p> - <p class="li">font-weight </p> - <p class="li">font-size </p> - <p class="li">line-height </p> - <p class="li">text-align </p> - <p class="li">text-align-last </p> - <p class="li">space-before.optimum </p> - <p class="li">space-after.optimum </p> - <p class="li">start-indent </p> - <p class="li">end-indent </p> - <p class="li">provisional-distance-between-starts </p> - <p class="li">provisional-label-separation </p> - <p class="li">rule-thickness </p> - <p class="li">color </p> - <p class="li">wrap-option </p> - <p class="li">white-space-treatment </p> - <p class="li">break-before </p> - <p class="li">break-after </p> - <p class="li">text-indent </p> - <p class="li">href</p> - <p class="li">column-width</p> - <p class="li">background-color</p> - <p class="li">padding-top (only in conjunction with background color)</p> - <p class="li">padding-left (only in conjunction with background color)</p> - <p class="li">padding-bottom (only in conjunction with background color)</p> - <p class="li">padding-right (only in conjunction with background color)</p> - </div> - </section> -</section> - -<!-- Bugs --> - -<section class="level1"> - <title>Bugs</title> - <p>see STATUS file</p> -</section> - -<!-- getting involved --> - -<section class="level1"> - <title>Getting involved</title> - <p>1. Subscribe to fop-dev@xml.apache.org by sending an email - to fop-dev-subscribe@xml.apache.org</p> - <p>2. Read the archives to fop-dev to get an idea of the issues being - discussed. </p> - <p>3. Subscribe to fop-cvs@xml.apache.org by sending an email to - fop-cvs-subscribe@xml.apache.org (it is important - that you follow changes being made). </p> - <p>4. Try :-) to wrap your head around the XSL working draft. </p> - <p>5. Get CVS working on your system. </p> - <p>6. Ask, on fop-dev, any questions you have at all about the code, design, etc. </p> - <p>7. When you feel comfortable modifying the code, send diffs to - fop-dev with your contributions. </p> - <p>8. Have fun!</p> -</section> - - -<!-- FOP Relevant Specifications --> - -<section class="level1"> - <title>FOP Relevant Specifications</title> - <div class="list"> - <p class="li"><link href="http://www.w3.org/TR/REC-xml">XML Recommendation</link></p> - <p class="li"><link href="http://www.w3.org/TR/WD-xsl/">XSL-FO Working Draft</link></p> - <p class="li"><link href="http://www.w3.org/TR/xslt">XSLT Recommendation</link></p> - <p class="li"><link href="http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf">PDF Documentation</link></p> - <p class="li"><link href="http://www.megginson.com/SAX/">Simple API for XML (SAX)</link></p> - <p class="li"><link href="http://www.w3.org/TR/REC-DOM-Level-1">Document Object Model (DOM)</link></p> - <p class="li"><link href="http://www.w3.org/TR/REC-xml-names/">Namespaces in XML Recommendation</link></p> - <p class="li"><link href="http://java.sun.com/products/jdk/1.1/docs/index.html">Java JDK 1.1 Documentation</link></p> - </div> -</section> - -</body> -</faq> diff --git a/docs/resources/bottom.gif b/docs/resources/bottom.gif Binary files differnew file mode 100644 index 000000000..f39031efa --- /dev/null +++ b/docs/resources/bottom.gif diff --git a/docs/resources/button-asf-hi.gif b/docs/resources/button-asf-hi.gif Binary files differnew file mode 100644 index 000000000..08b880a74 --- /dev/null +++ b/docs/resources/button-asf-hi.gif diff --git a/docs/resources/button-asf-lo.gif b/docs/resources/button-asf-lo.gif Binary files differnew file mode 100644 index 000000000..134580f37 --- /dev/null +++ b/docs/resources/button-asf-lo.gif diff --git a/docs/resources/button-w3c-hi.gif b/docs/resources/button-w3c-hi.gif Binary files differnew file mode 100644 index 000000000..3bf0be395 --- /dev/null +++ b/docs/resources/button-w3c-hi.gif diff --git a/docs/resources/button-w3c-lo.gif b/docs/resources/button-w3c-lo.gif Binary files differnew file mode 100644 index 000000000..d383d3dd9 --- /dev/null +++ b/docs/resources/button-w3c-lo.gif diff --git a/docs/resources/button-xml-hi.gif b/docs/resources/button-xml-hi.gif Binary files differnew file mode 100644 index 000000000..01d095ce4 --- /dev/null +++ b/docs/resources/button-xml-hi.gif diff --git a/docs/resources/button-xml-lo.gif b/docs/resources/button-xml-lo.gif Binary files differnew file mode 100644 index 000000000..5719c7ef0 --- /dev/null +++ b/docs/resources/button-xml-lo.gif diff --git a/docs/resources/close.gif b/docs/resources/close.gif Binary files differnew file mode 100644 index 000000000..48a9782ce --- /dev/null +++ b/docs/resources/close.gif diff --git a/docs/resources/dot.gif b/docs/resources/dot.gif Binary files differnew file mode 100644 index 000000000..6227d1d86 --- /dev/null +++ b/docs/resources/dot.gif diff --git a/docs/resources/green-bar-1.gif b/docs/resources/green-bar-1.gif Binary files differnew file mode 100644 index 000000000..cb6f509f9 --- /dev/null +++ b/docs/resources/green-bar-1.gif diff --git a/docs/resources/green-bar-2.gif b/docs/resources/green-bar-2.gif Binary files differnew file mode 100644 index 000000000..1a77881ab --- /dev/null +++ b/docs/resources/green-bar-2.gif diff --git a/docs/resources/green-bar.gif b/docs/resources/green-bar.gif Binary files differnew file mode 100644 index 000000000..cd65efcea --- /dev/null +++ b/docs/resources/green-bar.gif diff --git a/docs/resources/green-hi.gif b/docs/resources/green-hi.gif Binary files differnew file mode 100644 index 000000000..9641ea1e1 --- /dev/null +++ b/docs/resources/green-hi.gif diff --git a/docs/resources/green-lo.gif b/docs/resources/green-lo.gif Binary files differnew file mode 100644 index 000000000..1d0c7aaaa --- /dev/null +++ b/docs/resources/green-lo.gif diff --git a/docs/resources/join.gif b/docs/resources/join.gif Binary files differnew file mode 100644 index 000000000..02e7611bb --- /dev/null +++ b/docs/resources/join.gif diff --git a/docs/resources/line.gif b/docs/resources/line.gif Binary files differnew file mode 100644 index 000000000..fd25c3943 --- /dev/null +++ b/docs/resources/line.gif diff --git a/docs/resources/logo-1.gif b/docs/resources/logo-1.gif Binary files differnew file mode 100644 index 000000000..ad7119a31 --- /dev/null +++ b/docs/resources/logo-1.gif diff --git a/docs/resources/logo-2.gif b/docs/resources/logo-2.gif Binary files differnew file mode 100644 index 000000000..c524eec84 --- /dev/null +++ b/docs/resources/logo-2.gif diff --git a/docs/resources/logo-3.gif b/docs/resources/logo-3.gif Binary files differnew file mode 100644 index 000000000..645902d75 --- /dev/null +++ b/docs/resources/logo-3.gif diff --git a/docs/resources/logo.gif b/docs/resources/logo.gif Binary files differnew file mode 100644 index 000000000..53538c3f6 --- /dev/null +++ b/docs/resources/logo.gif diff --git a/docs/resources/note.gif b/docs/resources/note.gif Binary files differnew file mode 100644 index 000000000..339422266 --- /dev/null +++ b/docs/resources/note.gif diff --git a/docs/resources/red-hi.gif b/docs/resources/red-hi.gif Binary files differnew file mode 100644 index 000000000..4128eab6c --- /dev/null +++ b/docs/resources/red-hi.gif diff --git a/docs/resources/red-lo.gif b/docs/resources/red-lo.gif Binary files differnew file mode 100644 index 000000000..75eb812cc --- /dev/null +++ b/docs/resources/red-lo.gif diff --git a/docs/resources/right.gif b/docs/resources/right.gif Binary files differnew file mode 100644 index 000000000..bcb50e386 --- /dev/null +++ b/docs/resources/right.gif diff --git a/docs/resources/script.js b/docs/resources/script.js new file mode 100644 index 000000000..ebadeb2b8 --- /dev/null +++ b/docs/resources/script.js @@ -0,0 +1,21 @@ +rolloverImagesOn=new Array(); +rolloverImagesOff=new Array(); + +function rolloverOn(name) { + if(rolloverImagesOn[name]){ + document.images[name].src=rolloverImagesOn[name].src; + } +} + +function rolloverOff(name) { + if(rolloverImagesOff[name]){ + document.images[name].src=rolloverImagesOff[name].src; + } +} + +function rolloverLoad(name,on,off) { + rolloverImagesOn[name]=new Image(); + rolloverImagesOn[name].src=on; + rolloverImagesOff[name]=new Image(); + rolloverImagesOff[name].src=off; +} diff --git a/docs/resources/separator.gif b/docs/resources/separator.gif Binary files differnew file mode 100644 index 000000000..e7749432f --- /dev/null +++ b/docs/resources/separator.gif diff --git a/docs/resources/void.gif b/docs/resources/void.gif Binary files differnew file mode 100644 index 000000000..75b945d25 --- /dev/null +++ b/docs/resources/void.gif diff --git a/docs/resources/www.apache.org.gif b/docs/resources/www.apache.org.gif Binary files differnew file mode 100644 index 000000000..31e3a3597 --- /dev/null +++ b/docs/resources/www.apache.org.gif diff --git a/docs/resources/www.w3.org.gif b/docs/resources/www.w3.org.gif Binary files differnew file mode 100644 index 000000000..3ecc0e297 --- /dev/null +++ b/docs/resources/www.w3.org.gif diff --git a/docs/resources/www.xml.org.gif b/docs/resources/www.xml.org.gif Binary files differnew file mode 100644 index 000000000..beb94be8c --- /dev/null +++ b/docs/resources/www.xml.org.gif diff --git a/docs/resources/xml.apache.org.gif b/docs/resources/xml.apache.org.gif Binary files differnew file mode 100644 index 000000000..6fa4e5bba --- /dev/null +++ b/docs/resources/xml.apache.org.gif diff --git a/docs/running.html b/docs/running.html new file mode 100644 index 000000000..9568e2b10 --- /dev/null +++ b/docs/running.html @@ -0,0 +1,121 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Running FOP</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/running-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="Running FOP" border="0" height="12" hspace="0" src="graphics/running-label-1.jpg" vspace="0" width="120"><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="specs.html" onMouseOut="rolloverOff('side-specs');" onMouseOver="rolloverOn('side-specs');"><IMG alt="Specifications" border="0" height="12" hspace="0" name="side-specs" onLoad="rolloverLoad('side-specs','graphics/specs-label-2.jpg','graphics/specs-label-3.jpg');" src="graphics/specs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Prerequisites</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>Following software must be installed:</P> + <P>a) Java 1.1.x or later</P> + <P>b) An XML parser which supports SAX and DOM like + <A href="http://xml.apache.org/xerces-j/index.html">Xerces-J</A>. + (Xerces is the default xml parser)</P> + <P>c) If you have to produce the flow objects files, which are the input for FOP, + you need a transformation utility to create this files from your xml files. + Normally this is an XSLT stylesheet processor like + <A href="http://www.jclark.com/xml/xt.html">XT</A> + or <A href="http://xml.apache.org/xalan/index.html">XALAN</A>. + </P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Starting FOP as an standalone application</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>There are three ways to run FOP from the command line.</P> + <P>a) Batch processing formatting objects (fo) files: </P> + <P><CODE><FONT face="courier, monospaced">java org.apache.fop.apps.CommandLine fo-file pdf-file</FONT></CODE></P> + <P>b) Batch processing xml files (includes production of the fo-files):</P> + <P><CODE><FONT face="courier, monospaced">java org.apache.fop.apps.XTCommandLine xml-file xsl-file pdf-file</FONT></CODE></P> + <P>c) Previewing the fo-file:</P> + <P><CODE><FONT face="courier, monospaced">java org.apache.fop.apps.AWTCommandLine fo-file</FONT></CODE></P> + <P>Each method uses next to the fop classes other packages. The following describes + each method in detail.</P> + <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Method One</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>One is to first use an XSLT engine to produce the formatting object tree as an + XML document and then running the class org.apache.fop.apps.CommandLine with the + formatting object file name and PDF filename as arguments. You need to set classpath + and set the used sax parser according to your enviroment + </P> + <P>Classpath settings: You will need to include FOP and your XML Parser + in your classpath and so you might invoke FOP, if Xerces-J is your xml parser: + </P> + <P><CODE><FONT face="courier, monospaced">java -cp fop_bin_0_12_1.jar;xerces.jar </FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">org.apache.fop.apps.CommandLine fo-file pdf-file</FONT></CODE></P> + <P>If you want to use another sax parser, you will need to set the property + org.xml.sax.parser to any other SAX Parser class to use. The following example shows + the command line, if you use XP from James Clark: + </P> + <P><CODE><FONT face="courier, monospaced">java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">-cp fop_bin_0_12_1.jar;xerces.jar;xp.jar</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">org.apache.fop.apps.CommandLine fo-file pdf-file</FONT></CODE></P> + <P>Note: The xerces jar file must be included, because xp has no dom support.</P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Method Two</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>Rather than performing transformation with an XSLT before invoking FOP, it is + possible, if you use XT as your XSLT engine, to just call FOP and have it call + XT for you. To do this, run the class org.apache.fop.apps.CommandLine with the + source XML file name, XSL file name and PDF file name as arguments. You will + need to include XT in your classpath and so you might invoke + </P> + <P><CODE><FONT face="courier, monospaced">java -cp fop_bin_0_12_1.jar;xt.jar;xerces.jar</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">org.apache.fop.apps.XTCommandLine xml-file xsl-file pdf-file</FONT></CODE></P> + <P>Again, if your SAX Parser is other than Xerces, you will need to set the property + org.xml.sax.parser to the SAX Parser class to use. + </P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="666699" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Method Three</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> + <P>If you already produced the FO file, you can preview the results of your + transformation without using any pdf viewer by invoking FOP with the viewer + application. You will need to include FOP and your XML Parser in your classpath + </P> + <P><CODE><FONT face="courier, monospaced">java -cp fop_bin_0_12_1.jar;xerces.jar</FONT></CODE></P> + <P><CODE><FONT face="courier, monospaced">org.apache.fop.apps.AWTCommandLine fo-file </FONT></CODE></P> + <P>The viewer uses the swing classes.</P> + <P>Note: If you are using java 2 or later (i.e. jdk 1.2. or later) you can put all + needed jar files into the subdirectory jdk1.2.x\jre\lib\ext (windows example). Then + FOP can be started without classpath: + </P> + <P><CODE><FONT face="courier, monospaced">java org.apache.fop.apps.CommandLine fo-file pdf-file</FONT></CODE></P> + </FONT></TD></TR></TABLE><BR> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Running FOP on MacOS</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + + <P>Ensure that you have a recent MRJ, and that you have downloaded and + unpacked the XP and SAX distributions. The xp.jar and sax.jar files work + as is on MacOS. + </P> + <P>Drag the FOP jarfile onto the JBindery icon. When the first dialog + appears, type "org.apache.fop.apps.CommandLine" in the "Class name" field. + Using UNIX syntax, type the names of the input formatting-object file and + the output PDF in the "Optional parameters" field. + </P> + <P>Click on the Classpath icon. To add the xp.jar and sax.jar files, click + the "Add .zip file" button, navigate to the file in question, and click + Open. + </P> + <P>Once both are added (the FOP jarfile will already be in the list), click + Run. A "stdout" window will appear and display FOP runtime messages. + </P> + </FONT></TD></TR></TABLE><BR> + <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="666699" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Problems</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> + <P>If you have problems running FOP, please have a look at the + <A href="faq-running.html">FOP FAQ</A>. If you don't find a solution there, + you can ask for help on the list fop-dev@xml.apache.org. Maybe it is a bug and + maybe somebody is already working on it. + </P> + </FONT></TD></TR></TABLE><BR> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/specs.html b/docs/specs.html new file mode 100644 index 000000000..dfebaa96f --- /dev/null +++ b/docs/specs.html @@ -0,0 +1,35 @@ +<HTML><HEAD><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>FOP Relevant Specifications</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/specs-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR> + <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="download.html" onMouseOut="rolloverOff('side-download');" onMouseOver="rolloverOn('side-download');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-download" onLoad="rolloverLoad('side-download','graphics/download-label-2.jpg','graphics/download-label-3.jpg');" src="graphics/download-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="running.html" onMouseOut="rolloverOff('side-running');" onMouseOver="rolloverOn('side-running');"><IMG alt="Running FOP" border="0" height="12" hspace="0" name="side-running" onLoad="rolloverLoad('side-running','graphics/running-label-2.jpg','graphics/running-label-3.jpg');" src="graphics/running-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="implemented.html" onMouseOut="rolloverOff('side-implemented');" onMouseOver="rolloverOn('side-implemented');"><IMG alt="Features" border="0" height="12" hspace="0" name="side-implemented" onLoad="rolloverLoad('side-implemented','graphics/implemented-label-2.jpg','graphics/implemented-label-3.jpg');" src="graphics/implemented-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="limitations.html" onMouseOut="rolloverOff('side-limitations');" onMouseOver="rolloverOn('side-limitations');"><IMG alt="Limitations" border="0" height="12" hspace="0" name="side-limitations" onLoad="rolloverLoad('side-limitations','graphics/limitations-label-2.jpg','graphics/limitations-label-3.jpg');" src="graphics/limitations-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="bugs.html" onMouseOut="rolloverOff('side-bugs');" onMouseOver="rolloverOn('side-bugs');"><IMG alt="Bugs" border="0" height="12" hspace="0" name="side-bugs" onLoad="rolloverLoad('side-bugs','graphics/bugs-label-2.jpg','graphics/bugs-label-3.jpg');" src="graphics/bugs-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="examples.html" onMouseOut="rolloverOff('side-examples');" onMouseOver="rolloverOn('side-examples');"><IMG alt="Examples" border="0" height="12" hspace="0" name="side-examples" onLoad="rolloverLoad('side-examples','graphics/examples-label-2.jpg','graphics/examples-label-3.jpg');" src="graphics/examples-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="compiling.html" onMouseOut="rolloverOff('side-compiling');" onMouseOver="rolloverOn('side-compiling');"><IMG alt="Compiling" border="0" height="12" hspace="0" name="side-compiling" onLoad="rolloverLoad('side-compiling','graphics/compiling-label-2.jpg','graphics/compiling-label-3.jpg');" src="graphics/compiling-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="embedding.html" onMouseOut="rolloverOff('side-embedding');" onMouseOver="rolloverOn('side-embedding');"><IMG alt="Embedding" border="0" height="12" hspace="0" name="side-embedding" onLoad="rolloverLoad('side-embedding','graphics/embedding-label-2.jpg','graphics/embedding-label-3.jpg');" src="graphics/embedding-label-3.jpg" vspace="0" width="120"></A><BR> + <A href="involved.html" onMouseOut="rolloverOff('side-involved');" onMouseOver="rolloverOn('side-involved');"><IMG alt="Getting involved" border="0" height="12" hspace="0" name="side-involved" onLoad="rolloverLoad('side-involved','graphics/involved-label-2.jpg','graphics/involved-label-3.jpg');" src="graphics/involved-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR> + <A href="faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','graphics/faqs-label-2.jpg','graphics/faqs-label-3.jpg');" src="graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> + <IMG alt="Specifications" border="0" height="12" hspace="0" src="graphics/specs-label-1.jpg" vspace="0" width="120"><BR> + <A href="license.html" onMouseOut="rolloverOff('side-license');" onMouseOver="rolloverOn('side-license');"><IMG alt="License" border="0" height="12" hspace="0" name="side-license" onLoad="rolloverLoad('side-license','graphics/license-label-2.jpg','graphics/license-label-3.jpg');" src="graphics/license-label-3.jpg" vspace="0" width="120"></A><BR> + +<IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> + <UL> + <LI><A href="http://www.w3.org/TR/REC-xml">XML Recommendation</A></LI> + <LI><A href="http://www.w3.org/TR/WD-xsl/">Latest XSL-FO Working Draft (12 January 2000)</A></LI> + <LI><A href="http://www.w3.org/TR/1999/WD-xsl-19990421/">XSL-FO Working Draft 21 Apr 1999 </A></LI> + <LI><A href="http://www.w3.org/TR/xslt">XSLT Recommendation</A></LI> + <LI><A href="http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf">PDF Documentation</A></LI> + <LI><A href="http://www.megginson.com/SAX/">Simple API for XML (SAX)</A></LI> + <LI><A href="http://www.w3.org/TR/REC-DOM-Level-1">Document Object Model (DOM)</A></LI> + <LI><A href="http://www.w3.org/TR/REC-xml-names/">Namespaces in XML Recommendation</A></LI> + <LI><A href="http://java.sun.com/products/jdk/1.1/docs/index.html">Java JDK 1.1 Documentation</A></LI> + </UL> +</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> + Copyright © 1999 The Apache Software Foundation. + All Rights Reserved. + </I></FONT></TD></TR></TABLE></BODY></HTML>
\ No newline at end of file diff --git a/docs/xml2ascii.xsl b/docs/xml2ascii.xsl deleted file mode 100644 index 1c4bb0c46..000000000 --- a/docs/xml2ascii.xsl +++ /dev/null @@ -1,86 +0,0 @@ -<?xml version="1.0"?> -<!-- XSLT stylesheet: QAML -> No Markup (QAML = FAQ Markup Language) - author: F. Jannidis <jannidis@.lrz.uni-muenchen.de> - version: 1.00ß ---> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> -<xsl:output method="text"/> -<xsl:template match ="/"> - <xsl:apply-templates/> -</xsl:template> - -<!-- writes the header of the html file with a link to css stylesheet--> -<xsl:template match ="head"> -<xsl:apply-templates/> -</xsl:template> - -<!-- don't output maintain and version--> -<xsl:template match ="maintain"> -</xsl:template> -<xsl:template match ="version"> -</xsl:template> - -<!-- header title --> -<xsl:template match ="head/title"> - <xsl:apply-templates/> -</xsl:template> - -<!-- body --> -<xsl:template match ="body"> -<!-- generates table of contents with links to the different levels--> -<xsl:for-each select="section[@class='level1']/title"> -<xsl:text> </xsl:text><xsl:number value="position()"/>) <xsl:value-of select="."/> -</xsl:for-each> - -<!-- processing of the rest --> -<xsl:apply-templates/> - -<!-- writes the footer --> - -Version: <xsl:value-of select="/faq/head/version"/> - -Contact: <xsl:value-of select="//head/maintain/name"/> (<xsl:value-of select="//head/maintain/email"/>) -</xsl:template> - -<!-- title level1, numbering is generated --> -<xsl:template match ="section[@class='level1']/title"> -<xsl:number count="section[@class='level1']"/>) <xsl:apply-templates/> -</xsl:template> - -<!-- title level2 --> -<xsl:template match ="section[@class='level2']/title"> - <xsl:apply-templates/> -</xsl:template> - -<!-- title level3 --> -<xsl:template match ="section[@class='level3']/title"> - <xsl:apply-templates/> -</xsl:template> - -<!-- question --> -<xsl:template match ="q"> - <xsl:apply-templates/> -</xsl:template> - -<!-- answer --> -<xsl:template match ="a"> - <xsl:apply-templates/> -</xsl:template> - -<!-- para --> -<xsl:template match ="p"> -<xsl:apply-templates/> -</xsl:template> - -<!-- test span --> -<xsl:template match ="span"> -<xsl:apply-templates/> -</xsl:template> - -<!-- links --> -<xsl:template match ="link"> - <xsl:apply-templates/> (<xsl:value-of select="@href"/>) -</xsl:template> - -</xsl:stylesheet> - - diff --git a/docs/xml2html.xsl b/docs/xml2html.xsl deleted file mode 100644 index 209b45083..000000000 --- a/docs/xml2html.xsl +++ /dev/null @@ -1,173 +0,0 @@ -<?xml version="1.0"?> -<!-- XSLT stylesheet: QAML -> HTML (QAML = FAQ Markup Language) - author: F. Jannidis <jannidis@.lrz.uni-muenchen.de> - version: 1.00ß ---> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> -<xsl:output method="html"/> - - -<xsl:template match ="/"> - <html> - <xsl:apply-templates/> - </html> -</xsl:template> - - -<!-- writes the header of the html file with a link to css stylesheet--> -<xsl:template match ="head"> -<head> -<link rel="stylesheet" type="text/css" href="qaml-html.css"></link> -<xsl:apply-templates/> -</head> -</xsl:template> - -<!-- don't output all of maintain and version--> -<xsl:template match ="maintain"> -</xsl:template> -<xsl:template match ="version"> -</xsl:template> - - -<!-- header title --> -<xsl:template match ="head/title"> -<title> - <xsl:apply-templates/> -</title> -</xsl:template> - - -<!-- body --> -<xsl:template match ="body"> -<body> -<!-- defines text title --> -<h1 class="title"><xsl:value-of select="//head/title"/></h1> - -<!-- generates table of contents with links to the different levels--> -<p> -<xsl:for-each select="section[@class='level1']/title"> -<xsl:number value="position()" format="A"/>) -<a href=""> -<xsl:attribute name="href"> -#<xsl:number count="section[@class='level1']"/> -</xsl:attribute> -<xsl:value-of select="."/> -</a> -<br/> -</xsl:for-each> -</p> -<!-- processing of the rest --> -<xsl:apply-templates/> - -<!-- writes the footer --> -<hr/> -<p class="contact"> -Version: <xsl:value-of select="/faq/head/version"/> - -Contact: -<a> -<xsl:attribute name="href"> -mailto:<xsl:value-of select="//head/maintain/email"/> -</xsl:attribute> -<xsl:value-of select="//head/maintain/name"/> -</a> -</p> -</body> -</xsl:template> - -<!-- title level1, numbering is generated --> -<xsl:template match ="section[@class='level1']/title"> -<h1> -<a> -<xsl:attribute name="name"> -<xsl:number count="section[@class='level1']" format="A"/> -</xsl:attribute> -</a> -<xsl:number count="section[@class='level1']" format="A"/>) - <xsl:apply-templates/> -</h1> -</xsl:template> - -<!-- title level2 --> -<xsl:template match ="section[@class='level2']/title"> -<h2> - <xsl:apply-templates/> -</h2> -</xsl:template> - -<!-- title level3 --> -<xsl:template match ="section[@class='level3']/title"> -<h3> - <xsl:apply-templates/> -</h3> -</xsl:template> - -<!-- question --> -<xsl:template match ="q"> -<p class="question"> - <xsl:apply-templates/> -</p> -</xsl:template> - -<!-- answer --> -<xsl:template match ="a"> - <xsl:apply-templates/> -</xsl:template> - -<!-- para in answer --> -<xsl:template match ="a/p"> -<p class="answer"> -<xsl:apply-templates/> -</p> -</xsl:template> - -<!-- test span --> -<xsl:template match ="span"> -<b><xsl:apply-templates/> </b> -</xsl:template> - -<!-- list --> -<xsl:template match ="div[@class='list']"> -<ul> -<xsl:apply-templates/> -</ul> -</xsl:template> - -<!-- list items --> -<xsl:template match ="div/p[@class='li']"> -<li> -<xsl:apply-templates/> -</li> -</xsl:template> - - -<!-- code fragments, marked by attribute pre --> -<xsl:template match ="section/p[@class='pre']"> -<p> -<xsl:attribute name="class"> -<xsl:value-of select="@class"/> -</xsl:attribute> -<xsl:apply-templates/> -</p> -</xsl:template> - - -<!-- normal paras without class attribute --> -<xsl:template match ="section/p[not(@class)]"> -<p> -<xsl:apply-templates/> -</p> -</xsl:template> - - -<!-- links --> -<xsl:template match ="link"> -<a> -<xsl:attribute name="href"> -<xsl:value-of select="@href"/> -</xsl:attribute> - <xsl:apply-templates/> -</a> -</xsl:template> - -</xsl:stylesheet> - diff --git a/docs/xml2pdf.xsl b/docs/xml2pdf.xsl deleted file mode 100644 index 3e774c9de..000000000 --- a/docs/xml2pdf.xsl +++ /dev/null @@ -1,236 +0,0 @@ -<?xml version="1.0"?> -<!-- XSLT stylesheet: QAML -> FO (QAML = FAQ Markup Language) - version: 1.00ß ---> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" - xmlns:fo="http://www.w3.org/1999/XSL/Format" - result-ns="fo" indent-result="yes"> - - <xsl:output indent="yes"/> - -<xsl:template match ="/"> - <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> - - <!-- defines page layout --> - <fo:layout-master-set> - - <fo:simple-page-master page-master-name="first" - height="29.7cm" - width="21cm" - margin-top="1cm" - margin-bottom="2cm" - margin-left="2.5cm" - margin-right="2.5cm"> - <fo:region-before extent="3cm"/> - <fo:region-body margin-top="3cm"/> - <fo:region-after extent="1.5cm"/> - </fo:simple-page-master> - - <fo:simple-page-master page-master-name="rest" - height="29.7cm" - width="21cm" - margin-top="1cm" - margin-bottom="2cm" - margin-left="2.5cm" - margin-right="2.5cm"> - <fo:region-before extent="2.5cm"/> - <fo:region-body margin-top="2.5cm"/> - <fo:region-after extent="1.5cm"/> - </fo:simple-page-master> - - </fo:layout-master-set> - - <fo:page-sequence> - <fo:sequence-specification> - <fo:sequence-specifier-repeating page-master-first="first" - page-master-repeating="rest"/> - </fo:sequence-specification> - - <fo:static-content flow-name="xsl-before"> - <fo:block text-align="end" - font-size="10pt" - font-family="serif" - line-height="14pt" > - FOP - p. <fo:page-number/> - </fo:block> - </fo:static-content> - - <fo:flow flow-name="xsl-body"> - <xsl:apply-templates select="faq"/> - </fo:flow> - - </fo:page-sequence> - </fo:root> -</xsl:template> - -<!-- don't output head --> -<xsl:template match ="head"> -</xsl:template> - - -<!-- body --> -<xsl:template match ="body"> - -<!-- insert logo - doesn't work yet --> -<!--<fo:display-graphic href="logo.bmp"/>--> - -<!-- defines text title --> - <fo:block font-size="18pt" - font-family="sans-serif" - line-height="24pt" - space-after.optimum="15pt" - background-color="blue" - color="white" - text-align="centered" - padding-top="3pt"> - <xsl:value-of select="//head/title"/> - </fo:block> - -<!-- generates table of contents --> - - <fo:block font-size="10pt" - font-family="serif" - line-height="10pt" - space-after.optimum="10pt" - start-indent="15pt"> - <fo:block font-size="10pt" - font-family="serif" - line-height="10pt" - space-after.optimum="3pt" - font-weight="bold"> - Content - </fo:block> - <xsl:for-each select="section[@class='level1']/title"> - <fo:block font-size="10pt" - font-family="serif" - line-height="10pt" - space-after.optimum="3pt"> - <xsl:number value="position()" format="A"/>) - <xsl:value-of select="."/> - </fo:block> - </xsl:for-each> - </fo:block> - -<!-- processing of the rest --> -<xsl:apply-templates/> - -</xsl:template> -<!-- end body --> - -<!-- title level1, numbering is generated --> -<xsl:template match ="section[@class='level1']/title"> - <fo:block font-size="18pt" - font-family="serif" - line-height="20pt" - space-before.optimum="20pt" - space-after.optimum="14pt" - keep-with-next="true"> - <xsl:number count="section[@class='level1']" format="A"/>) - <xsl:apply-templates/> - </fo:block> -</xsl:template> - -<!-- title level2 --> -<xsl:template match ="section[@class='level2']/title"> - <fo:block font-size="16pt" - font-family="serif" - line-height="18pt" - space-before.optimum="8pt" - space-after.optimum="8pt" - keep-with-next="true"> - <xsl:apply-templates/> - </fo:block> -</xsl:template> - -<!-- title level3 --> -<xsl:template match ="section[@class='level3']/title"> - <fo:block font-size="14pt" - font-family="serif" - line-height="16pt" - space-before.optimum="8pt" - space-after.optimum="4pt" - keep-with-next="true"> - <xsl:apply-templates/> - </fo:block> -</xsl:template> - -<!-- section --> -<xsl:template match ="section"> - <xsl:apply-templates/> -</xsl:template> - -<!-- question group --> -<xsl:template match ="qna"> - <xsl:apply-templates/> -</xsl:template> - -<!-- question --> -<xsl:template match ="q"> - <fo:block start-indent="0.7cm" - space-before.optimum="12pt"> - <xsl:value-of select="."/> - </fo:block> -</xsl:template> - -<!-- para in answer --> -<xsl:template match ="a/p"> - <fo:block start-indent="0.7cm"> - <xsl:apply-templates/> - </fo:block> -</xsl:template> - -<!-- list --> -<xsl:template match ="div[@class='list']"> - <fo:list-block start-indent="1cm" - provisional-distance-between-starts="12pt" - font-family="serif"> - <xsl:apply-templates/> - </fo:list-block> -</xsl:template> - -<!-- list items --> -<xsl:template match ="div/p[@class='li']"> - <fo:list-item > - <fo:list-item-label><fo:block>*</fo:block></fo:list-item-label> - <fo:list-item-body> - <fo:block> - <xsl:apply-templates/> - </fo:block> - </fo:list-item-body> - </fo:list-item> -</xsl:template> - - -<!-- code fragments, marked by attribute pre --> -<xsl:template match ="section/p[@class='pre']"> - <fo:block font-size="10pt" - font-family="monospace" - line-height="12pt" - space-before.optimum="3pt" - space-after.optimum="3pt"> - <xsl:apply-templates/> - </fo:block> -</xsl:template> - -<!-- normal paras without class attribute --> -<xsl:template match ="section/p[not(@class)]"> - <fo:block space-after.optimum="3pt" - font-family="serif"> - <xsl:apply-templates/> - </fo:block> -</xsl:template> - -<!-- link --> -<xsl:template match ="link"> - <fo:inline-sequence font-style="italic" - font-family="serif"> - <xsl:apply-templates/> - </fo:inline-sequence> - <fo:inline-sequence font-family="serif"> - (<xsl:value-of select="@href"/>) - </fo:inline-sequence> -</xsl:template> - -</xsl:stylesheet> |