You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pdfoutline.fo 67KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. THIS IS NOT THE LATEST VERSION OF THE FOP DOCUMENTATION BUT ONLY AN EXAMPLE FILE
  4. This files shows next to the trivial usage of fo:block and fo:inline examples of
  5. - fo:basic-link external-destination
  6. - fo:basic-link internal-destination
  7. - fo:table
  8. - fo:list-block (including a bullet from the font Symbol as list-item-label)
  9. - fo:page-number-citation (computes dynamically the page number in section 'content')
  10. -->
  11. <!-- note the extensions namespace (fox) -->
  12. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
  13. xmlns:fox="http://xml.apache.org/fop/extensions">
  14. <fo:layout-master-set>
  15. <!-- layout for the first page -->
  16. <fo:simple-page-master master-name="first"
  17. page-height="29.7cm"
  18. page-width="21cm"
  19. margin-top="1cm"
  20. margin-bottom="2cm"
  21. margin-left="2.5cm"
  22. margin-right="2.5cm">
  23. <fo:region-body margin-top="3cm"/>
  24. <fo:region-before extent="3cm"/>
  25. <fo:region-after extent="1.5cm"/>
  26. </fo:simple-page-master>
  27. <!-- layout for the other pages -->
  28. <fo:simple-page-master master-name="rest"
  29. page-height="29.7cm"
  30. page-width="21cm"
  31. margin-top="1cm"
  32. margin-bottom="2cm"
  33. margin-left="2.5cm"
  34. margin-right="2.5cm">
  35. <fo:region-body margin-top="2.5cm"/>
  36. <fo:region-before extent="2.5cm"/>
  37. <fo:region-after extent="1.5cm"/>
  38. </fo:simple-page-master>
  39. <fo:page-sequence-master master-name="basicPSM" >
  40. <fo:repeatable-page-master-alternatives>
  41. <fo:conditional-page-master-reference master-reference="first"
  42. page-position="first" />
  43. <fo:conditional-page-master-reference master-reference="rest"
  44. page-position="rest" />
  45. <!-- recommended fallback procedure -->
  46. <fo:conditional-page-master-reference master-reference="rest" />
  47. </fo:repeatable-page-master-alternatives>
  48. </fo:page-sequence-master>
  49. </fo:layout-master-set>
  50. <!-- end: defines page layout -->
  51. <!-- beginning of the PDF outline extensions -->
  52. <fox:bookmarks>
  53. <fox:outline internal-destination="sec1">
  54. <fox:label>What is FOP?</fox:label>
  55. </fox:outline>
  56. <fox:outline internal-destination="sec2">
  57. <fox:label>Downloading FOP</fox:label>
  58. </fox:outline>
  59. <fox:outline internal-destination="sec3">
  60. <fox:label>Running FOP</fox:label>
  61. <fox:outline internal-destination="sec3-1">
  62. <fox:label>Prerequisites</fox:label>
  63. <fox:outline internal-destination="sec3-1-1">
  64. <fox:label>Java 1.1</fox:label>
  65. </fox:outline>
  66. <fox:outline internal-destination="sec3-1-2">
  67. <fox:label>XML Parser</fox:label>
  68. </fox:outline>
  69. <fox:outline internal-destination="sec3-1-3">
  70. <fox:label>XSLT Processor</fox:label>
  71. </fox:outline>
  72. </fox:outline>
  73. <fox:outline internal-destination="sec3-2">
  74. <fox:label>Starting FOP</fox:label>
  75. </fox:outline>
  76. </fox:outline>
  77. <fox:outline internal-destination="sec4">
  78. <fox:label>Embedding FOP</fox:label>
  79. </fox:outline>
  80. <fox:outline internal-destination="sec5">
  81. <fox:label>What's Implemented?</fox:label>
  82. </fox:outline>
  83. <fox:outline internal-destination="sec6">
  84. <fox:label>Limitations</fox:label>
  85. </fox:outline>
  86. <fox:outline internal-destination="sec7">
  87. <fox:label>Bugs</fox:label>
  88. </fox:outline>
  89. <fox:outline internal-destination="sec8">
  90. <fox:label>Compiling FOP</fox:label>
  91. </fox:outline>
  92. <fox:outline internal-destination="sec9">
  93. <fox:label>Getting Involved</fox:label>
  94. </fox:outline>
  95. <fox:outline internal-destination="sec10">
  96. <fox:label>FOP Relevant Specifications</fox:label>
  97. </fox:outline>
  98. <fox:outline internal-destination="sec11">
  99. <fox:label>License</fox:label>
  100. </fox:outline>
  101. </fox:bookmarks>
  102. <!-- actual layout -->
  103. <fo:page-sequence master-reference="basicPSM">
  104. <fo:static-content flow-name="xsl-region-before">
  105. <fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt" color="red" >
  106. This is not the latest Fop documentation, but just an fo example. FOP - p. <fo:page-number/>
  107. </fo:block>
  108. </fo:static-content>
  109. <fo:flow flow-name="xsl-region-body">
  110. <fo:block id="secA" font-size="18pt" font-family="sans-serif" line-height="24pt" space-after.optimum="15pt" background-color="blue" color="white" text-align="center" padding-top="3pt">FOP: An Open-Source XSL Formatter and Renderer</fo:block>
  111. <fo:block id="sec1" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >A)
  112. What is FOP?</fo:block>
  113. <fo:block space-after.optimum="3pt" font-family="serif">FOP is the world's first print formatter driven by XSL formatting
  114. objects. It is a Java 1.1 application that reads a formatting object
  115. tree and then turns it into a PDF document. The formatting object
  116. tree, can be in the form of an XML document (output by an XSLT engine
  117. like XT or Xalan) or can be passed in memory as a DOM Document or (in
  118. the case of XT) SAX events.
  119. </fo:block>
  120. <fo:block space-after.optimum="3pt" font-family="serif">FOP is part of Apache's XML project. The homepage of FOP is
  121. <fo:inline font-style="italic" font-family="serif"><fo:basic-link color="blue" external-destination="http://xml.apache.org/fop">http://xml.apache.org/fop</fo:basic-link></fo:inline>
  122. </fo:block>
  123. <fo:block id="sec2" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >B)
  124. Downloading FOP</fo:block>
  125. <fo:block space-after.optimum="3pt" font-family="serif">The latest release version is <fo:inline font-style="italic" font-family="serif">FOP
  126. 0.14</fo:inline> <fo:inline font-family="serif">
  127. ()
  128. </fo:inline>. </fo:block>
  129. <fo:block space-after.optimum="3pt" font-family="serif">NOTE: you do not have to unjar or unzip this jar file.</fo:block>
  130. <fo:block space-after.optimum="3pt" font-family="serif">Documentation can be downloaded here as <fo:inline font-style="italic" font-family="serif">HMTL file</fo:inline>
  131. <fo:inline font-family="serif">
  132. ()
  133. </fo:inline> or
  134. as <fo:inline font-style="italic" font-family="serif">PDF file</fo:inline>
  135. <fo:inline font-family="serif">
  136. ()
  137. </fo:inline>.</fo:block>
  138. <fo:block space-after.optimum="3pt" font-family="serif">To run FOP from the command line, see Running FOP. If you are interested in
  139. embedding FOP in a Java application of your own, see Embedding FOP.
  140. </fo:block>
  141. <fo:block space-after.optimum="3pt" font-family="serif">You can also download the <fo:inline font-style="italic" font-family="serif">source code v. 0.14</fo:inline>
  142. <fo:inline font-family="serif">
  143. ()
  144. </fo:inline> as jar file</fo:block>
  145. <fo:block id="sec3" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >C)
  146. Running FOP</fo:block>
  147. <fo:block id="sec3-1" font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >1) Prerequisites</fo:block>
  148. <fo:block space-after.optimum="3pt" font-family="serif">Following software must be installed:</fo:block>
  149. <fo:block id="sec3-1-1" space-after.optimum="3pt" font-family="serif">a) Java 1.1.x or later</fo:block>
  150. <fo:block space-after.optimum="3pt" font-family="serif">For the fo-file viewer mode of FOP (see below) you must have the swing classes installed.
  151. From Java 1.2 on (aka Java 2) they are part of the standard java distribution.
  152. If you use Java 1.1.x you must seperately include the swing classes, which can
  153. be found at the <fo:inline font-style="italic" font-family="serif">
  154. Sun website</fo:inline>
  155. <fo:inline font-family="serif">
  156. (http://java.sun.com/products/jfc/#download-swing)
  157. </fo:inline>.
  158. </fo:block>
  159. <fo:block id="sec3-1-2" space-after.optimum="3pt" font-family="serif">b) An XML parser which supports SAX and DOM like
  160. <fo:inline font-style="italic" font-family="serif">Xerces-J</fo:inline>
  161. <fo:inline font-family="serif">
  162. (http://xml.apache.org/xerces-j/index.html)
  163. </fo:inline>.</fo:block>
  164. <fo:block id="sec3-1-3" space-after.optimum="3pt" font-family="serif">c) If you have to produce the flow objects files, which are the input for FOP,
  165. you need a transformation utility to create this files from your xml files.
  166. Normally this is an XSLT stylesheet processor like
  167. <fo:inline font-style="italic" font-family="serif">XT</fo:inline>
  168. <fo:inline font-family="serif">
  169. (http://www.jclark.com/xml/xt.html)
  170. </fo:inline>
  171. or <fo:inline font-style="italic" font-family="serif">XALAN</fo:inline>
  172. <fo:inline font-family="serif">
  173. (http://xml.apache.org/xalan/index.html)
  174. </fo:inline>.
  175. </fo:block>
  176. <fo:block id="sec3-2" font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >2) Starting FOP as an standalone application</fo:block>
  177. <fo:block space-after.optimum="3pt" font-family="serif">There are three ways to run FOP from the command line.</fo:block>
  178. <fo:block space-after.optimum="3pt" font-family="serif">a) Batch processing formatting objects (fo) files: </fo:block>
  179. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">java org.apache.fop.apps.CommandLine fo-file pdf-file</fo:block>
  180. <fo:block space-after.optimum="3pt" font-family="serif">b) Batch processing xml files (includes production of the fo-files):</fo:block>
  181. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">java org.apache.fop.apps.CommandLine xml-file xsl-file pdf-file</fo:block>
  182. <fo:block space-after.optimum="3pt" font-family="serif">c) Previewing the fo-file:</fo:block>
  183. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">java org.apache.fop.apps.AWTCommandLine fo-file</fo:block>
  184. <fo:block space-after.optimum="3pt" font-family="serif">Each method uses next to the fop classes other packages. The following describes
  185. each method in detail.</fo:block>
  186. <fo:block font-size="14pt" font-family="serif" line-height="16pt" space-before.optimum="8pt" space-after.optimum="4pt" >a) Method One</fo:block>
  187. <fo:block space-after.optimum="3pt" font-family="serif">One is to first use an XSLT engine to produce the formatting object tree as an
  188. XML document and then running the class org.apache.fop.apps.CommandLine with the
  189. formatting object file name and PDF filename as arguments. You will need to include
  190. FOP and your XML Parser in your classpath and so you might invoke
  191. </fo:block>
  192. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">java -cp fop_x_xx_x.jar;xerces.jar</fo:block>
  193. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">org.apache.fop.apps.CommandLine fo-file pdf-file</fo:block>
  194. <fo:block space-after.optimum="3pt" font-family="serif">If your SAX Parser is other than Xerces, you will need to set the property
  195. org.xml.sax.parser to the SAX Parser class to use. The following example shows
  196. the command line, if you use XP, the XML parser from James Clark:
  197. </fo:block>
  198. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver</fo:block>
  199. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">-cp fop_x_xx_x.jar;sax.jar;xt.jar;xp.jar;xerces.jar</fo:block>
  200. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">org.apache.fop.apps.AWTCommandLine formatting-tree-file pdf-file</fo:block>
  201. <fo:block space-after.optimum="3pt" font-family="serif">(You have to include xerces.jar or another xml parser which supports DOM in your classpath.) </fo:block>
  202. <fo:block font-size="14pt" font-family="serif" line-height="16pt" space-before.optimum="8pt" space-after.optimum="4pt" >b) Method Two</fo:block>
  203. <fo:block space-after.optimum="3pt" font-family="serif">Rather than performing transformation with an XSLT before invoking FOP, it is
  204. possible, if you use XT as your XSLT engine, to just call FOP and have it call
  205. XT for you. To do this, run the class org.apache.fop.apps.CommandLine with the
  206. source XML file name, XSL file name and PDF file name as arguments. You will
  207. need to include FOP, SAX, your SAX Parser and XT in your classpath and so you might
  208. invoke
  209. </fo:block>
  210. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver</fo:block>
  211. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">-cp fop_x_xx_x.jar;xt.jar;xerces.jar</fo:block>
  212. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">org.apache.fop.apps.CommandLine xml-file xsl-file pdf-file</fo:block>
  213. <fo:block space-after.optimum="3pt" font-family="serif">Again, if your SAX Parser is other than Xerces, you will need to set the property
  214. org.xml.sax.parser to the SAX Parser class to use.
  215. </fo:block>
  216. <fo:block font-size="14pt" font-family="serif" line-height="16pt" space-before.optimum="8pt" space-after.optimum="4pt" >c) Method Three</fo:block>
  217. <fo:block space-after.optimum="3pt" font-family="serif">If you already produced the FO file, you can preview the results of your
  218. transformation without using any pdf viewer by invoking FOP with the viewer
  219. application. You will need to include FOP and your XML Parser in your classpath
  220. </fo:block>
  221. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">java -cp fop_x_xx_x.jar;xerces.jar</fo:block>
  222. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">org.apache.fop.apps.AWTCommandLine fo-file </fo:block>
  223. <fo:block space-after.optimum="3pt" font-family="serif">The viewer uses the swing classes.</fo:block>
  224. <fo:block space-after.optimum="3pt" font-family="serif">Note: If you are using java 2 or later (i.e. jdk 1.2. or later) you can put all
  225. needed jar files into the subdirectory jdk1.2.x\jre\lib\ext (windows example). Then
  226. FOP can be started without classpath:
  227. </fo:block>
  228. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">java org.apache.fop.apps.CommandLine fo-file pdf-file</fo:block>
  229. <fo:block font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >3) Running FOP on MacOS</fo:block>
  230. <fo:block space-after.optimum="3pt" font-family="serif">Ensure that you have a recent MRJ, and that you have downloaded and
  231. unpacked the XP and SAX distributions. The xp.jar and sax.jar files work
  232. as is on MacOS.
  233. </fo:block>
  234. <fo:block space-after.optimum="3pt" font-family="serif">Drag the FOP jarfile onto the JBindery icon. When the first dialog
  235. appears, type "org.apache.fop.apps.CommandLine" in the "Class name" field.
  236. Using UNIX syntax, type the names of the input formatting-object file and
  237. the output PDF in the "Optional parameters" field.
  238. </fo:block>
  239. <fo:block space-after.optimum="3pt" font-family="serif">Click on the Classpath icon. To add the xp.jar and sax.jar files, click
  240. the "Add .zip file" button, navigate to the file in question, and click
  241. Open.
  242. </fo:block>
  243. <fo:block space-after.optimum="3pt" font-family="serif">Once both are added (the FOP jarfile will already be in the list), click
  244. Run. A "stdout" window will appear and display FOP runtime messages.
  245. </fo:block>
  246. <fo:block font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >4) Problems</fo:block>
  247. <fo:block space-after.optimum="3pt" font-family="serif">If you have problems running FOP, please have a look at the
  248. <fo:inline font-style="italic" font-family="serif">FOP FAQ</fo:inline>
  249. <fo:inline font-family="serif">
  250. (faq.html)
  251. </fo:inline>. If you don't find a solution there,
  252. you can ask for help on the list fop-dev@xml.apache.org. Maybe it's bug and
  253. maybe somebody is already working on it.
  254. </fo:block>
  255. <fo:block id="sec4" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >D)
  256. Embedding FOP </fo:block>
  257. <fo:block space-after.optimum="3pt" font-family="serif">Instantiate org.apache.fop.apps.Driver. Once this class is
  258. instantiated, methods are called to set the
  259. Renderer to use, the (possibly multiple) ElementMapping(s) to
  260. use and the PrintWriter to use to output the results of the
  261. rendering (where applicable). In the case of the Renderer and
  262. ElementMapping(s), the Driver may be supplied either with the
  263. object itself, or the name of the class, in which case Driver will
  264. instantiate the class itself. The advantage of the latter is it
  265. enables runtime determination of Renderer and ElementMapping(s).
  266. </fo:block>
  267. <fo:block space-after.optimum="3pt" font-family="serif">Once the Driver is set up, the buildFOTree method
  268. is called. Depending on whether DOM or SAX is being used, the
  269. invocation of the method is either buildFOTree(Document) or
  270. buildFOTree(Parser, InputSource) respectively.
  271. </fo:block>
  272. <fo:block space-after.optimum="3pt" font-family="serif">A third possibility may be used to build the FO Tree, namely
  273. calling getDocumentHandler() and firing the SAX events yourself.
  274. </fo:block>
  275. <fo:block space-after.optimum="3pt" font-family="serif">Once the FO Tree is built, the format() and render() methods may be
  276. called in that order.
  277. </fo:block>
  278. <fo:block space-after.optimum="3pt" font-family="serif">Here is an example use of Driver from CommandLine.java:</fo:block>
  279. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">Driver driver = new Driver();</fo:block>
  280. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">driver.setRenderer("org.apache.fop.render.pdf.PDFRenderer", version);</fo:block>
  281. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">driver.addElementMapping("org.apache.fop.fo.StandardElementMapping");</fo:block>
  282. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">driver.addElementMapping("org.apache.fop.svg.SVGElementMapping");</fo:block>
  283. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">driver.setWriter(new PrintWriter(new FileWriter(args[1])));</fo:block>
  284. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">driver.buildFOTree(parser, fileInputSource(args[0]));</fo:block>
  285. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">driver.format();</fo:block>
  286. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">driver.render();</fo:block>
  287. <fo:block id="sec5" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >E)
  288. What's Implemented?</fo:block>
  289. <fo:block space-after.optimum="3pt" font-family="serif">Also see STATUS for what is being worked on.</fo:block>
  290. <fo:block font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >1) Formatting Objects</fo:block>
  291. <fo:list-block start-indent="1cm" provisional-distance-between-starts="12pt" font-family="serif">
  292. <fo:list-item>
  293. <fo:list-item-label end-indent="label-end()">
  294. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  295. </fo:list-item-label>
  296. <fo:list-item-body start-indent="body-start()">
  297. <fo:block>root </fo:block>
  298. </fo:list-item-body>
  299. </fo:list-item>
  300. <fo:list-item>
  301. <fo:list-item-label end-indent="label-end()">
  302. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  303. </fo:list-item-label>
  304. <fo:list-item-body start-indent="body-start()">
  305. <fo:block>layout-master-set </fo:block>
  306. </fo:list-item-body>
  307. </fo:list-item>
  308. <fo:list-item>
  309. <fo:list-item-label end-indent="label-end()">
  310. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  311. </fo:list-item-label>
  312. <fo:list-item-body start-indent="body-start()">
  313. <fo:block>simple-page-master </fo:block>
  314. </fo:list-item-body>
  315. </fo:list-item>
  316. <fo:list-item>
  317. <fo:list-item-label end-indent="label-end()">
  318. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  319. </fo:list-item-label>
  320. <fo:list-item-body start-indent="body-start()">
  321. <fo:block>region-body </fo:block>
  322. </fo:list-item-body>
  323. </fo:list-item>
  324. <fo:list-item>
  325. <fo:list-item-label end-indent="label-end()">
  326. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  327. </fo:list-item-label>
  328. <fo:list-item-body start-indent="body-start()">
  329. <fo:block>region-before </fo:block>
  330. </fo:list-item-body>
  331. </fo:list-item>
  332. <fo:list-item>
  333. <fo:list-item-label end-indent="label-end()">
  334. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  335. </fo:list-item-label>
  336. <fo:list-item-body start-indent="body-start()">
  337. <fo:block>region-after </fo:block>
  338. </fo:list-item-body>
  339. </fo:list-item>
  340. <fo:list-item>
  341. <fo:list-item-label end-indent="label-end()">
  342. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  343. </fo:list-item-label>
  344. <fo:list-item-body start-indent="body-start()">
  345. <fo:block>page-sequence </fo:block>
  346. </fo:list-item-body>
  347. </fo:list-item>
  348. <fo:list-item>
  349. <fo:list-item-label end-indent="label-end()">
  350. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  351. </fo:list-item-label>
  352. <fo:list-item-body start-indent="body-start()">
  353. <fo:block>sequence-specification </fo:block>
  354. </fo:list-item-body>
  355. </fo:list-item>
  356. <fo:list-item>
  357. <fo:list-item-label end-indent="label-end()">
  358. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  359. </fo:list-item-label>
  360. <fo:list-item-body start-indent="body-start()">
  361. <fo:block>sequence-specifier-single </fo:block>
  362. </fo:list-item-body>
  363. </fo:list-item>
  364. <fo:list-item>
  365. <fo:list-item-label end-indent="label-end()">
  366. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  367. </fo:list-item-label>
  368. <fo:list-item-body start-indent="body-start()">
  369. <fo:block>sequence-specifier-repeating </fo:block>
  370. </fo:list-item-body>
  371. </fo:list-item>
  372. <fo:list-item>
  373. <fo:list-item-label end-indent="label-end()">
  374. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  375. </fo:list-item-label>
  376. <fo:list-item-body start-indent="body-start()">
  377. <fo:block>sequence-specifier-alternating </fo:block>
  378. </fo:list-item-body>
  379. </fo:list-item>
  380. <fo:list-item>
  381. <fo:list-item-label end-indent="label-end()">
  382. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  383. </fo:list-item-label>
  384. <fo:list-item-body start-indent="body-start()">
  385. <fo:block>flow </fo:block>
  386. </fo:list-item-body>
  387. </fo:list-item>
  388. <fo:list-item>
  389. <fo:list-item-label end-indent="label-end()">
  390. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  391. </fo:list-item-label>
  392. <fo:list-item-body start-indent="body-start()">
  393. <fo:block>static-content </fo:block>
  394. </fo:list-item-body>
  395. </fo:list-item>
  396. <fo:list-item>
  397. <fo:list-item-label end-indent="label-end()">
  398. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  399. </fo:list-item-label>
  400. <fo:list-item-body start-indent="body-start()">
  401. <fo:block>block </fo:block>
  402. </fo:list-item-body>
  403. </fo:list-item>
  404. <fo:list-item>
  405. <fo:list-item-label end-indent="label-end()">
  406. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  407. </fo:list-item-label>
  408. <fo:list-item-body start-indent="body-start()">
  409. <fo:block>list-block </fo:block>
  410. </fo:list-item-body>
  411. </fo:list-item>
  412. <fo:list-item>
  413. <fo:list-item-label end-indent="label-end()">
  414. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  415. </fo:list-item-label>
  416. <fo:list-item-body start-indent="body-start()">
  417. <fo:block>list-item </fo:block>
  418. </fo:list-item-body>
  419. </fo:list-item>
  420. <fo:list-item>
  421. <fo:list-item-label end-indent="label-end()">
  422. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  423. </fo:list-item-label>
  424. <fo:list-item-body start-indent="body-start()">
  425. <fo:block>list-item-label </fo:block>
  426. </fo:list-item-body>
  427. </fo:list-item>
  428. <fo:list-item>
  429. <fo:list-item-label end-indent="label-end()">
  430. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  431. </fo:list-item-label>
  432. <fo:list-item-body start-indent="body-start()">
  433. <fo:block>list-item-body </fo:block>
  434. </fo:list-item-body>
  435. </fo:list-item>
  436. <fo:list-item>
  437. <fo:list-item-label end-indent="label-end()">
  438. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  439. </fo:list-item-label>
  440. <fo:list-item-body start-indent="body-start()">
  441. <fo:block>page-number </fo:block>
  442. </fo:list-item-body>
  443. </fo:list-item>
  444. <fo:list-item>
  445. <fo:list-item-label end-indent="label-end()">
  446. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  447. </fo:list-item-label>
  448. <fo:list-item-body start-indent="body-start()">
  449. <fo:block>display-sequence </fo:block>
  450. </fo:list-item-body>
  451. </fo:list-item>
  452. <fo:list-item>
  453. <fo:list-item-label end-indent="label-end()">
  454. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  455. </fo:list-item-label>
  456. <fo:list-item-body start-indent="body-start()">
  457. <fo:block>inline </fo:block>
  458. </fo:list-item-body>
  459. </fo:list-item>
  460. <fo:list-item>
  461. <fo:list-item-label end-indent="label-end()">
  462. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  463. </fo:list-item-label>
  464. <fo:list-item-body start-indent="body-start()">
  465. <fo:block>display-rule </fo:block>
  466. </fo:list-item-body>
  467. </fo:list-item>
  468. <fo:list-item>
  469. <fo:list-item-label end-indent="label-end()">
  470. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  471. </fo:list-item-label>
  472. <fo:list-item-body start-indent="body-start()">
  473. <fo:block>display-graphic </fo:block>
  474. </fo:list-item-body>
  475. </fo:list-item>
  476. <fo:list-item>
  477. <fo:list-item-label end-indent="label-end()">
  478. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  479. </fo:list-item-label>
  480. <fo:list-item-body start-indent="body-start()">
  481. <fo:block>table (minimal support)</fo:block>
  482. </fo:list-item-body>
  483. </fo:list-item>
  484. <fo:list-item>
  485. <fo:list-item-label end-indent="label-end()">
  486. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  487. </fo:list-item-label>
  488. <fo:list-item-body start-indent="body-start()">
  489. <fo:block>table-column (minimal support)</fo:block>
  490. </fo:list-item-body>
  491. </fo:list-item>
  492. <fo:list-item>
  493. <fo:list-item-label end-indent="label-end()">
  494. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  495. </fo:list-item-label>
  496. <fo:list-item-body start-indent="body-start()">
  497. <fo:block>table-body (minimal support)</fo:block>
  498. </fo:list-item-body>
  499. </fo:list-item>
  500. <fo:list-item>
  501. <fo:list-item-label end-indent="label-end()">
  502. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  503. </fo:list-item-label>
  504. <fo:list-item-body start-indent="body-start()">
  505. <fo:block>table-row (minimal support)</fo:block>
  506. </fo:list-item-body>
  507. </fo:list-item>
  508. <fo:list-item>
  509. <fo:list-item-label end-indent="label-end()">
  510. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  511. </fo:list-item-label>
  512. <fo:list-item-body start-indent="body-start()">
  513. <fo:block>table-cell (minimal support)</fo:block>
  514. </fo:list-item-body>
  515. </fo:list-item>
  516. </fo:list-block>
  517. <fo:block font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >2) Properties</fo:block>
  518. <fo:list-block start-indent="1cm" provisional-distance-between-starts="12pt" font-family="serif">
  519. <fo:list-item>
  520. <fo:list-item-label end-indent="label-end()">
  521. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  522. </fo:list-item-label>
  523. <fo:list-item-body start-indent="body-start()">
  524. <fo:block>end-indent </fo:block>
  525. </fo:list-item-body>
  526. </fo:list-item>
  527. <fo:list-item>
  528. <fo:list-item-label end-indent="label-end()">
  529. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  530. </fo:list-item-label>
  531. <fo:list-item-body start-indent="body-start()">
  532. <fo:block>page-master-name </fo:block>
  533. </fo:list-item-body>
  534. </fo:list-item>
  535. <fo:list-item>
  536. <fo:list-item-label end-indent="label-end()">
  537. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  538. </fo:list-item-label>
  539. <fo:list-item-body start-indent="body-start()">
  540. <fo:block>page-master-first </fo:block>
  541. </fo:list-item-body>
  542. </fo:list-item>
  543. <fo:list-item>
  544. <fo:list-item-label end-indent="label-end()">
  545. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  546. </fo:list-item-label>
  547. <fo:list-item-body start-indent="body-start()">
  548. <fo:block>page-master-repeating </fo:block>
  549. </fo:list-item-body>
  550. </fo:list-item>
  551. <fo:list-item>
  552. <fo:list-item-label end-indent="label-end()">
  553. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  554. </fo:list-item-label>
  555. <fo:list-item-body start-indent="body-start()">
  556. <fo:block>page-master-odd </fo:block>
  557. </fo:list-item-body>
  558. </fo:list-item>
  559. <fo:list-item>
  560. <fo:list-item-label end-indent="label-end()">
  561. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  562. </fo:list-item-label>
  563. <fo:list-item-body start-indent="body-start()">
  564. <fo:block>page-master-even </fo:block>
  565. </fo:list-item-body>
  566. </fo:list-item>
  567. <fo:list-item>
  568. <fo:list-item-label end-indent="label-end()">
  569. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  570. </fo:list-item-label>
  571. <fo:list-item-body start-indent="body-start()">
  572. <fo:block>margin-top (only on pages and regions)</fo:block>
  573. </fo:list-item-body>
  574. </fo:list-item>
  575. <fo:list-item>
  576. <fo:list-item-label end-indent="label-end()">
  577. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  578. </fo:list-item-label>
  579. <fo:list-item-body start-indent="body-start()">
  580. <fo:block>margin-bottom (only on pages and regions)</fo:block>
  581. </fo:list-item-body>
  582. </fo:list-item>
  583. <fo:list-item>
  584. <fo:list-item-label end-indent="label-end()">
  585. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  586. </fo:list-item-label>
  587. <fo:list-item-body start-indent="body-start()">
  588. <fo:block>margin-left (only on pages and regions)</fo:block>
  589. </fo:list-item-body>
  590. </fo:list-item>
  591. <fo:list-item>
  592. <fo:list-item-label end-indent="label-end()">
  593. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  594. </fo:list-item-label>
  595. <fo:list-item-body start-indent="body-start()">
  596. <fo:block>margin-right (only on pages and regions)</fo:block>
  597. </fo:list-item-body>
  598. </fo:list-item>
  599. <fo:list-item>
  600. <fo:list-item-label end-indent="label-end()">
  601. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  602. </fo:list-item-label>
  603. <fo:list-item-body start-indent="body-start()">
  604. <fo:block>extent </fo:block>
  605. </fo:list-item-body>
  606. </fo:list-item>
  607. <fo:list-item>
  608. <fo:list-item-label end-indent="label-end()">
  609. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  610. </fo:list-item-label>
  611. <fo:list-item-body start-indent="body-start()">
  612. <fo:block>page-width </fo:block>
  613. </fo:list-item-body>
  614. </fo:list-item>
  615. <fo:list-item>
  616. <fo:list-item-label end-indent="label-end()">
  617. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  618. </fo:list-item-label>
  619. <fo:list-item-body start-indent="body-start()">
  620. <fo:block>page-height </fo:block>
  621. </fo:list-item-body>
  622. </fo:list-item>
  623. <fo:list-item>
  624. <fo:list-item-label end-indent="label-end()">
  625. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  626. </fo:list-item-label>
  627. <fo:list-item-body start-indent="body-start()">
  628. <fo:block>flow-name </fo:block>
  629. </fo:list-item-body>
  630. </fo:list-item>
  631. <fo:list-item>
  632. <fo:list-item-label end-indent="label-end()">
  633. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  634. </fo:list-item-label>
  635. <fo:list-item-body start-indent="body-start()">
  636. <fo:block>font-family </fo:block>
  637. </fo:list-item-body>
  638. </fo:list-item>
  639. <fo:list-item>
  640. <fo:list-item-label end-indent="label-end()">
  641. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  642. </fo:list-item-label>
  643. <fo:list-item-body start-indent="body-start()">
  644. <fo:block>font-style </fo:block>
  645. </fo:list-item-body>
  646. </fo:list-item>
  647. <fo:list-item>
  648. <fo:list-item-label end-indent="label-end()">
  649. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  650. </fo:list-item-label>
  651. <fo:list-item-body start-indent="body-start()">
  652. <fo:block>font-weight </fo:block>
  653. </fo:list-item-body>
  654. </fo:list-item>
  655. <fo:list-item>
  656. <fo:list-item-label end-indent="label-end()">
  657. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  658. </fo:list-item-label>
  659. <fo:list-item-body start-indent="body-start()">
  660. <fo:block>font-size </fo:block>
  661. </fo:list-item-body>
  662. </fo:list-item>
  663. <fo:list-item>
  664. <fo:list-item-label end-indent="label-end()">
  665. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  666. </fo:list-item-label>
  667. <fo:list-item-body start-indent="body-start()">
  668. <fo:block>line-height </fo:block>
  669. </fo:list-item-body>
  670. </fo:list-item>
  671. <fo:list-item>
  672. <fo:list-item-label end-indent="label-end()">
  673. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  674. </fo:list-item-label>
  675. <fo:list-item-body start-indent="body-start()">
  676. <fo:block>text-align </fo:block>
  677. </fo:list-item-body>
  678. </fo:list-item>
  679. <fo:list-item>
  680. <fo:list-item-label end-indent="label-end()">
  681. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  682. </fo:list-item-label>
  683. <fo:list-item-body start-indent="body-start()">
  684. <fo:block>text-align-last </fo:block>
  685. </fo:list-item-body>
  686. </fo:list-item>
  687. <fo:list-item>
  688. <fo:list-item-label end-indent="label-end()">
  689. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  690. </fo:list-item-label>
  691. <fo:list-item-body start-indent="body-start()">
  692. <fo:block>space-before.optimum </fo:block>
  693. </fo:list-item-body>
  694. </fo:list-item>
  695. <fo:list-item>
  696. <fo:list-item-label end-indent="label-end()">
  697. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  698. </fo:list-item-label>
  699. <fo:list-item-body start-indent="body-start()">
  700. <fo:block>space-after.optimum </fo:block>
  701. </fo:list-item-body>
  702. </fo:list-item>
  703. <fo:list-item>
  704. <fo:list-item-label end-indent="label-end()">
  705. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  706. </fo:list-item-label>
  707. <fo:list-item-body start-indent="body-start()">
  708. <fo:block>start-indent </fo:block>
  709. </fo:list-item-body>
  710. </fo:list-item>
  711. <fo:list-item>
  712. <fo:list-item-label end-indent="label-end()">
  713. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  714. </fo:list-item-label>
  715. <fo:list-item-body start-indent="body-start()">
  716. <fo:block>end-indent </fo:block>
  717. </fo:list-item-body>
  718. </fo:list-item>
  719. <fo:list-item>
  720. <fo:list-item-label end-indent="label-end()">
  721. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  722. </fo:list-item-label>
  723. <fo:list-item-body start-indent="body-start()">
  724. <fo:block>provisional-distance-between-starts </fo:block>
  725. </fo:list-item-body>
  726. </fo:list-item>
  727. <fo:list-item>
  728. <fo:list-item-label end-indent="label-end()">
  729. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  730. </fo:list-item-label>
  731. <fo:list-item-body start-indent="body-start()">
  732. <fo:block>provisional-label-separation </fo:block>
  733. </fo:list-item-body>
  734. </fo:list-item>
  735. <fo:list-item>
  736. <fo:list-item-label end-indent="label-end()">
  737. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  738. </fo:list-item-label>
  739. <fo:list-item-body start-indent="body-start()">
  740. <fo:block>rule-thickness </fo:block>
  741. </fo:list-item-body>
  742. </fo:list-item>
  743. <fo:list-item>
  744. <fo:list-item-label end-indent="label-end()">
  745. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  746. </fo:list-item-label>
  747. <fo:list-item-body start-indent="body-start()">
  748. <fo:block>color </fo:block>
  749. </fo:list-item-body>
  750. </fo:list-item>
  751. <fo:list-item>
  752. <fo:list-item-label end-indent="label-end()">
  753. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  754. </fo:list-item-label>
  755. <fo:list-item-body start-indent="body-start()">
  756. <fo:block>wrap-option </fo:block>
  757. </fo:list-item-body>
  758. </fo:list-item>
  759. <fo:list-item>
  760. <fo:list-item-label end-indent="label-end()">
  761. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  762. </fo:list-item-label>
  763. <fo:list-item-body start-indent="body-start()">
  764. <fo:block>white-space-treatment </fo:block>
  765. </fo:list-item-body>
  766. </fo:list-item>
  767. <fo:list-item>
  768. <fo:list-item-label end-indent="label-end()">
  769. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  770. </fo:list-item-label>
  771. <fo:list-item-body start-indent="body-start()">
  772. <fo:block>break-before </fo:block>
  773. </fo:list-item-body>
  774. </fo:list-item>
  775. <fo:list-item>
  776. <fo:list-item-label end-indent="label-end()">
  777. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  778. </fo:list-item-label>
  779. <fo:list-item-body start-indent="body-start()">
  780. <fo:block>break-after </fo:block>
  781. </fo:list-item-body>
  782. </fo:list-item>
  783. <fo:list-item>
  784. <fo:list-item-label end-indent="label-end()">
  785. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  786. </fo:list-item-label>
  787. <fo:list-item-body start-indent="body-start()">
  788. <fo:block>text-indent </fo:block>
  789. </fo:list-item-body>
  790. </fo:list-item>
  791. <fo:list-item>
  792. <fo:list-item-label end-indent="label-end()">
  793. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  794. </fo:list-item-label>
  795. <fo:list-item-body start-indent="body-start()">
  796. <fo:block>href</fo:block>
  797. </fo:list-item-body>
  798. </fo:list-item>
  799. <fo:list-item>
  800. <fo:list-item-label end-indent="label-end()">
  801. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  802. </fo:list-item-label>
  803. <fo:list-item-body start-indent="body-start()">
  804. <fo:block>column-width</fo:block>
  805. </fo:list-item-body>
  806. </fo:list-item>
  807. <fo:list-item>
  808. <fo:list-item-label end-indent="label-end()">
  809. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  810. </fo:list-item-label>
  811. <fo:list-item-body start-indent="body-start()">
  812. <fo:block>background-color</fo:block>
  813. </fo:list-item-body>
  814. </fo:list-item>
  815. <fo:list-item>
  816. <fo:list-item-label end-indent="label-end()">
  817. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  818. </fo:list-item-label>
  819. <fo:list-item-body start-indent="body-start()">
  820. <fo:block>padding-top (only in conjunction with background color)</fo:block>
  821. </fo:list-item-body>
  822. </fo:list-item>
  823. <fo:list-item>
  824. <fo:list-item-label end-indent="label-end()">
  825. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  826. </fo:list-item-label>
  827. <fo:list-item-body start-indent="body-start()">
  828. <fo:block>padding-left (only in conjunction with background color)</fo:block>
  829. </fo:list-item-body>
  830. </fo:list-item>
  831. <fo:list-item>
  832. <fo:list-item-label end-indent="label-end()">
  833. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  834. </fo:list-item-label>
  835. <fo:list-item-body start-indent="body-start()">
  836. <fo:block>padding-bottom (only in conjunction with background color)</fo:block>
  837. </fo:list-item-body>
  838. </fo:list-item>
  839. <fo:list-item>
  840. <fo:list-item-label end-indent="label-end()">
  841. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  842. </fo:list-item-label>
  843. <fo:list-item-body start-indent="body-start()">
  844. <fo:block>padding-right (only in conjunction with background color)</fo:block>
  845. </fo:list-item-body>
  846. </fo:list-item>
  847. </fo:list-block>
  848. <fo:block id="sec6" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >F)
  849. Limitations</fo:block>
  850. <fo:block space-after.optimum="3pt" font-family="serif">Although FOP implements the above listed fo objects and properties, sometimes it does so
  851. only in a limited way.
  852. </fo:block>
  853. <fo:block font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >list-block</fo:block>
  854. <fo:block space-after.optimum="3pt" font-family="serif">The fo working draft allows describes two ways to markup lists.The list-block must have as
  855. children either: 1) pairs of fo:list-item-label and fo:list-item-body formatting objects, or
  856. 2) fo:list-item formatting objects.</fo:block>
  857. <fo:block space-after.optimum="3pt" font-family="serif">At the moment FOP only implements the second way. Therefore a list has a basic structure like this:</fo:block>
  858. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">&lt;fo:list-block&gt;</fo:block>
  859. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">&lt;fo:list-item&gt;</fo:block>
  860. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">&lt;fo:list-item-label&gt;&lt;fo:block&gt;&lt;/fo:block&gt;&lt;/fo:list-item-label&gt;</fo:block>
  861. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">&lt;fo:list-item-body&gt;&lt;fo:block&gt;&lt;/fo:block&gt;&lt;/fo:list-item-body&gt;</fo:block>
  862. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">&lt;/fo:list-item&gt;</fo:block>
  863. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">&lt;/fo:list-block&gt;</fo:block>
  864. <fo:block font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >Padding</fo:block>
  865. <fo:block space-after.optimum="3pt" font-family="serif">Padding works in conjunction with indents and spaces. It is only implemented
  866. for blocks. At the moment padding can't be used to make extra space (indents+spaces
  867. must be used), but only to control how much the background-color extends beyond
  868. the content rectangle.
  869. </fo:block>
  870. <fo:block font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >Tables</fo:block>
  871. <fo:block space-after.optimum="3pt" font-family="serif">There two limitations for tables: 1) FOP needs you to explicitly specify column widths
  872. 2) Cells have to contain block-level FOs. They can't contain straight character data.
  873. </fo:block>
  874. <fo:block space-after.optimum="3pt" font-family="serif">A working basic example of a table looks like this: </fo:block>
  875. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">&lt;fo:table&gt;</fo:block>
  876. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-column column-width="150pt"/&gt;</fo:block>
  877. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-column column-width="150pt"/&gt;</fo:block>
  878. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-body font-size="10pt" font-family="sans-serif"&gt;</fo:block>
  879. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-row&gt;</fo:block>
  880. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-cell&gt;</fo:block>
  881. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:block&gt;text&lt;/fo:block&gt;</fo:block>
  882. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-cell&gt;</fo:block>
  883. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-cell&gt;</fo:block>
  884. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:block&gt;text&lt;/fo:block&gt;</fo:block>
  885. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-cell&gt;</fo:block>
  886. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-row&gt;</fo:block>
  887. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-row&gt;</fo:block>
  888. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-cell&gt;</fo:block>
  889. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:block&gt;text&lt;/fo:block&gt;</fo:block>
  890. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-cell&gt;</fo:block>
  891. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-cell&gt;</fo:block>
  892. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:block&gt;text&lt;/fo:block&gt;</fo:block>
  893. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-cell&gt;</fo:block>
  894. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-row&gt;</fo:block>
  895. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-row&gt;</fo:block>
  896. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-cell&gt;</fo:block>
  897. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:block&gt;text&lt;/fo:block&gt;</fo:block>
  898. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-cell&gt;</fo:block>
  899. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:table-cell&gt;</fo:block>
  900. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;fo:block&gt;text&lt;/fo:block&gt;</fo:block>
  901. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-cell&gt;</fo:block>
  902. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-row&gt;</fo:block>
  903. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt"> &lt;/fo:table-body&gt;</fo:block>
  904. <fo:block font-size="10pt" font-family="monospace" line-height="12pt" space-before.optimum="0pt" space-after.optimum="0pt">&lt;/fo:table&gt;</fo:block>
  905. <fo:block id="sec7" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >G)
  906. Bugs</fo:block>
  907. <fo:block space-after.optimum="3pt" font-family="serif">see STATUS file</fo:block>
  908. <fo:block id="sec8" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >H)
  909. Compiling FOP</fo:block>
  910. <fo:block font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >1. Prerequisites</fo:block>
  911. <fo:block font-size="14pt" font-family="serif" line-height="16pt" space-before.optimum="8pt" space-after.optimum="4pt" >a) Java 1.1.x or later</fo:block>
  912. <fo:block space-after.optimum="3pt" font-family="serif">If you use Java 1.1.x you must also seperately include the swing classes, which can
  913. be found at the <fo:inline font-style="italic" font-family="serif">
  914. Sun website</fo:inline>
  915. <fo:inline font-family="serif">
  916. (http://java.sun.com/products/jfc/#download-swing)
  917. </fo:inline>. From Java 1.2 on (aka Java 2) they are part of the standard
  918. distribution.
  919. </fo:block>
  920. <fo:block font-size="14pt" font-family="serif" line-height="16pt" space-before.optimum="8pt" space-after.optimum="4pt" >b) An XML parser</fo:block>
  921. <fo:block space-after.optimum="3pt" font-family="serif">An XML parser which supports DOM like
  922. <fo:inline font-style="italic" font-family="serif">Xerces-J</fo:inline>
  923. <fo:inline font-family="serif">
  924. (http://xml.apache.org/xerces-j/index.html)
  925. </fo:inline>.</fo:block>
  926. <fo:block font-size="14pt" font-family="serif" line-height="16pt" space-before.optimum="8pt" space-after.optimum="4pt" >c) XT from James Clark</fo:block>
  927. <fo:block space-after.optimum="3pt" font-family="serif">Some of the Java source code in FOP is generated from XML using
  928. XSLT. XT must be used to generate this code.</fo:block>
  929. <fo:block space-after.optimum="3pt" font-family="serif">XT is an XSL stylesheet processor written in java. At the moment you
  930. can't use any other processor, because the make file makes use of some
  931. proprietary features of Clark's xt which allow to write output in more
  932. then one document. You can find XT at <fo:inline font-style="italic" font-family="serif">
  933. James Clark's website</fo:inline>
  934. <fo:inline font-family="serif">
  935. (http://www.jclark.com/xml/xt.html)
  936. </fo:inline>. You have to use XT version 19991105 or later.</fo:block>
  937. <fo:block space-after.optimum="3pt" font-family="serif">(Under windows you shouldn't use the prepackaged xt.exe but also the
  938. generic jar file, otherwise make won't work)
  939. </fo:block>
  940. <fo:block space-after.optimum="3pt" font-family="serif">XT relies on an sax parser like XP (also J. Clark), which can be
  941. downloaded at <fo:inline font-style="italic" font-family="serif">James
  942. Clark's Website</fo:inline>
  943. <fo:inline font-family="serif">
  944. (http://www.jclark.com/xml/xp/index.html)
  945. </fo:inline>
  946. </fo:block>
  947. <fo:block font-size="14pt" font-family="serif" line-height="16pt" space-before.optimum="8pt" space-after.optimum="4pt" >d) make</fo:block>
  948. <fo:block space-after.optimum="3pt" font-family="serif">Under windows it has been reported that the use of the cygnus solutions port
  949. of the GNU utilities works. You can find it at
  950. <fo:inline font-style="italic" font-family="serif">Cygnus Solutions</fo:inline>
  951. <fo:inline font-family="serif">
  952. (http://sourceware.cygnus.com/cygwin/)
  953. </fo:inline>
  954. </fo:block>
  955. <fo:block font-size="16pt" font-family="serif" line-height="18pt" space-before.optimum="8pt" space-after.optimum="8pt" >Compiling FOP on MacOS</fo:block>
  956. <fo:block space-after.optimum="3pt" font-family="serif">We strongly recommend the use of Codewarrior Java. This Readme will
  957. contain a link to more information in the near future.
  958. </fo:block>
  959. <fo:block id="sec9" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >I)
  960. Getting involved</fo:block>
  961. <fo:block space-after.optimum="3pt" font-family="serif">1. Subscribe to fop-dev@xml.apache.org by sending an email
  962. to fop-dev-subscribe@xml.apache.org</fo:block>
  963. <fo:block space-after.optimum="3pt" font-family="serif">2. Read the archives to fop-dev to get an idea of the issues being
  964. discussed. </fo:block>
  965. <fo:block space-after.optimum="3pt" font-family="serif">3. Subscribe to fop-cvs@xml.apache.org by sending an email to
  966. fop-cvs-subscribe@xml.apache.org (it is important
  967. that you follow changes being made). </fo:block>
  968. <fo:block space-after.optimum="3pt" font-family="serif">4. Try :-) to wrap your head around the XSL working draft. </fo:block>
  969. <fo:block space-after.optimum="3pt" font-family="serif">5. Get CVS working on your system. </fo:block>
  970. <fo:block space-after.optimum="3pt" font-family="serif">6. Ask, on fop-dev, any questions you have at all about the code, design, etc. </fo:block>
  971. <fo:block space-after.optimum="3pt" font-family="serif">7. When you feel comfortable modifying the code, send diffs to
  972. fop-dev with your contributions. </fo:block>
  973. <fo:block space-after.optimum="3pt" font-family="serif">8. Have fun!</fo:block>
  974. <fo:block id="sec10" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >J)
  975. FOP Relevant Specifications</fo:block>
  976. <fo:list-block start-indent="1cm" provisional-distance-between-starts="12pt" font-family="serif">
  977. <fo:list-item>
  978. <fo:list-item-label end-indent="label-end()">
  979. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  980. </fo:list-item-label>
  981. <fo:list-item-body start-indent="body-start()">
  982. <fo:block>
  983. <fo:inline font-style="italic" font-family="serif">XML Recommendation</fo:inline>
  984. <fo:inline font-family="serif" >
  985. (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</fo:basic-link>)
  986. </fo:inline>
  987. </fo:block>
  988. </fo:list-item-body>
  989. </fo:list-item>
  990. <fo:list-item>
  991. <fo:list-item-label end-indent="label-end()">
  992. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  993. </fo:list-item-label>
  994. <fo:list-item-body start-indent="body-start()">
  995. <fo:block>
  996. <fo:inline font-style="italic" font-family="serif">XSL-FO Working Draft</fo:inline>
  997. <fo:inline font-family="serif">
  998. (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/WD-xsl/">http://www.w3.org/TR/WD-xsl/</fo:basic-link>)
  999. </fo:inline>
  1000. </fo:block>
  1001. </fo:list-item-body>
  1002. </fo:list-item>
  1003. <fo:list-item>
  1004. <fo:list-item-label end-indent="label-end()">
  1005. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  1006. </fo:list-item-label>
  1007. <fo:list-item-body start-indent="body-start()">
  1008. <fo:block>
  1009. <fo:inline font-style="italic" font-family="serif">XSLT Recommendation</fo:inline>
  1010. <fo:inline font-family="serif">
  1011. (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/xslt">http://www.w3.org/TR/xslt</fo:basic-link>)
  1012. </fo:inline>
  1013. </fo:block>
  1014. </fo:list-item-body>
  1015. </fo:list-item>
  1016. <fo:list-item>
  1017. <fo:list-item-label end-indent="label-end()">
  1018. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  1019. </fo:list-item-label>
  1020. <fo:list-item-body start-indent="body-start()">
  1021. <fo:block>
  1022. <fo:inline font-style="italic" font-family="serif">PDF Documentation</fo:inline>
  1023. <fo:inline font-family="serif">
  1024. (<fo:basic-link color="blue" external-destination="http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf">http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf</fo:basic-link>)
  1025. </fo:inline>
  1026. </fo:block>
  1027. </fo:list-item-body>
  1028. </fo:list-item>
  1029. <fo:list-item>
  1030. <fo:list-item-label end-indent="label-end()">
  1031. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  1032. </fo:list-item-label>
  1033. <fo:list-item-body start-indent="body-start()">
  1034. <fo:block>
  1035. <fo:inline font-style="italic" font-family="serif">Simple API for XML (SAX)</fo:inline>
  1036. <fo:inline font-family="serif">
  1037. (<fo:basic-link color="blue" external-destination="http://www.megginson.com/SAX/">http://www.megginson.com/SAX/</fo:basic-link>)
  1038. </fo:inline>
  1039. </fo:block>
  1040. </fo:list-item-body>
  1041. </fo:list-item>
  1042. <fo:list-item>
  1043. <fo:list-item-label end-indent="label-end()">
  1044. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  1045. </fo:list-item-label>
  1046. <fo:list-item-body start-indent="body-start()">
  1047. <fo:block>
  1048. <fo:inline font-style="italic" font-family="serif">Document Object Model (DOM)</fo:inline>
  1049. <fo:inline font-family="serif">
  1050. (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/REC-DOM-Level-1">http://www.w3.org/TR/REC-DOM-Level-1</fo:basic-link>)
  1051. </fo:inline>
  1052. </fo:block>
  1053. </fo:list-item-body>
  1054. </fo:list-item>
  1055. <fo:list-item>
  1056. <fo:list-item-label end-indent="label-end()">
  1057. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  1058. </fo:list-item-label>
  1059. <fo:list-item-body start-indent="body-start()">
  1060. <fo:block>
  1061. <fo:inline font-style="italic" font-family="serif">Namespaces in XML Recommendation</fo:inline>
  1062. <fo:inline font-family="serif">
  1063. (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/</fo:basic-link>)
  1064. </fo:inline>
  1065. </fo:block>
  1066. </fo:list-item-body>
  1067. </fo:list-item>
  1068. <fo:list-item>
  1069. <fo:list-item-label end-indent="label-end()">
  1070. <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
  1071. </fo:list-item-label>
  1072. <fo:list-item-body start-indent="body-start()">
  1073. <fo:block>
  1074. <fo:inline font-style="italic" font-family="serif">Java JDK 1.1 Documentation</fo:inline>
  1075. <fo:inline font-family="serif">
  1076. (<fo:basic-link color="blue" external-destination="http://java.sun.com/products/jdk/1.1/docs/index.html">http://java.sun.com/products/jdk/1.1/docs/index.html</fo:basic-link>)
  1077. </fo:inline>
  1078. </fo:block>
  1079. </fo:list-item-body>
  1080. </fo:list-item>
  1081. </fo:list-block>
  1082. <fo:block id="sec11" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >K)
  1083. Licence</fo:block>
  1084. <fo:block space-after.optimum="3pt" font-family="serif"> ============================================================================</fo:block>
  1085. <fo:block space-after.optimum="3pt" font-family="serif"> The Apache Software License, Version 1.1</fo:block>
  1086. <fo:block space-after.optimum="3pt" font-family="serif"> ============================================================================</fo:block>
  1087. <fo:block space-after.optimum="3pt" font-family="serif"> Copyright (C) 1999 The Apache Software Foundation. All rights reserved.</fo:block>
  1088. <fo:block space-after.optimum="3pt" font-family="serif"> Redistribution and use in source and binary forms, with or without modification,
  1089. are permitted provided that the following conditions are met:</fo:block>
  1090. <fo:block space-after.optimum="3pt" font-family="serif">1. Redistributions of source code must retain the above copyright notice,
  1091. this list of conditions and the following disclaimer.
  1092. </fo:block>
  1093. <fo:block space-after.optimum="3pt" font-family="serif">2. Redistributions in binary form must reproduce the above copyright notice,
  1094. this list of conditions and the following disclaimer in the documentation
  1095. and/or other materials provided with the distribution.
  1096. </fo:block>
  1097. <fo:block space-after.optimum="3pt" font-family="serif">3. The end-user documentation included with the redistribution, if any, must
  1098. include the following acknowledgment: "This product includes software
  1099. developed by the Apache Software Foundation (http://www.apache.org/)."
  1100. Alternately, this acknowledgment may appear in the software itself, if
  1101. and wherever such third-party acknowledgments normally appear.
  1102. </fo:block>
  1103. <fo:block space-after.optimum="3pt" font-family="serif">4. The names "FOP" and "Apache Software Foundation" must not be used to
  1104. endorse or promote products derived from this software without prior
  1105. written permission. For written permission, please contact
  1106. apache@apache.org.
  1107. </fo:block>
  1108. <fo:block space-after.optimum="3pt" font-family="serif">5. Products derived from this software may not be called "Apache", nor may
  1109. "Apache" appear in their name, without prior written permission of the
  1110. Apache Software Foundation.
  1111. </fo:block>
  1112. <fo:block space-after.optimum="3pt" font-family="serif">THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  1113. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  1114. FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  1115. APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  1116. INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
  1117. DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  1118. OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  1119. ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  1120. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  1121. THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  1122. </fo:block>
  1123. <fo:block space-after.optimum="3pt" font-family="serif">
  1124. This software consists of voluntary contributions made by many individuals
  1125. on behalf of the Apache Software Foundation and was originally created by
  1126. James Tauber &lt;jtauber@jtauber.com&gt;. For more information on the Apache
  1127. Software Foundation, please see <fo:inline font-style="italic" font-family="serif">http://www.apache.org/</fo:inline>
  1128. <fo:inline font-family="serif">
  1129. (http://www.apache.org/)
  1130. </fo:inline>.
  1131. </fo:block>
  1132. <fo:block font-size="14pt" font-family="sans-serif" line-height="10pt" space-after.optimum="15pt" font-weight="bold" start-indent="15pt" break-before="page">
  1133. Content
  1134. </fo:block>
  1135. <fo:table>
  1136. <fo:table-column column-width="1cm"/>
  1137. <fo:table-column column-width="12cm"/>
  1138. <fo:table-column column-width="1cm"/>
  1139. <fo:table-body font-size="10pt" font-family="sans-serif">
  1140. <fo:table-row line-height="12pt">
  1141. <fo:table-cell>
  1142. <fo:block text-align="end">A)
  1143. </fo:block>
  1144. </fo:table-cell>
  1145. <fo:table-cell>
  1146. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec1">What is FOP?</fo:basic-link></fo:block>
  1147. </fo:table-cell>
  1148. <fo:table-cell>
  1149. <fo:block text-align="end"><fo:page-number-citation ref-id="sec1"/></fo:block>
  1150. </fo:table-cell>
  1151. </fo:table-row>
  1152. <fo:table-row line-height="12pt">
  1153. <fo:table-cell>
  1154. <fo:block text-align="end">B)
  1155. </fo:block>
  1156. </fo:table-cell>
  1157. <fo:table-cell>
  1158. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec2">Downloading FOP</fo:basic-link></fo:block>
  1159. </fo:table-cell>
  1160. <fo:table-cell>
  1161. <fo:block text-align="end"><fo:page-number-citation ref-id="sec2"/></fo:block>
  1162. </fo:table-cell>
  1163. </fo:table-row>
  1164. <fo:table-row line-height="12pt">
  1165. <fo:table-cell>
  1166. <fo:block text-align="end">C)
  1167. </fo:block>
  1168. </fo:table-cell>
  1169. <fo:table-cell>
  1170. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec3">Running FOP</fo:basic-link></fo:block>
  1171. </fo:table-cell>
  1172. <fo:table-cell>
  1173. <fo:block text-align="end"><fo:page-number-citation ref-id="sec3"/></fo:block>
  1174. </fo:table-cell>
  1175. </fo:table-row>
  1176. <fo:table-row line-height="12pt">
  1177. <fo:table-cell>
  1178. <fo:block text-align="end">D)
  1179. </fo:block>
  1180. </fo:table-cell>
  1181. <fo:table-cell>
  1182. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec4">Embedding FOP</fo:basic-link> </fo:block>
  1183. </fo:table-cell>
  1184. <fo:table-cell>
  1185. <fo:block text-align="end"><fo:page-number-citation ref-id="sec4"/></fo:block>
  1186. </fo:table-cell>
  1187. </fo:table-row>
  1188. <fo:table-row line-height="12pt">
  1189. <fo:table-cell>
  1190. <fo:block text-align="end">E)
  1191. </fo:block>
  1192. </fo:table-cell>
  1193. <fo:table-cell>
  1194. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec5">What's Implemented?</fo:basic-link></fo:block>
  1195. </fo:table-cell>
  1196. <fo:table-cell>
  1197. <fo:block text-align="end"><fo:page-number-citation ref-id="sec5"/></fo:block>
  1198. </fo:table-cell>
  1199. </fo:table-row>
  1200. <fo:table-row line-height="12pt">
  1201. <fo:table-cell>
  1202. <fo:block text-align="end">F)
  1203. </fo:block>
  1204. </fo:table-cell>
  1205. <fo:table-cell>
  1206. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec6">Limitations</fo:basic-link></fo:block>
  1207. </fo:table-cell>
  1208. <fo:table-cell>
  1209. <fo:block text-align="end"><fo:page-number-citation ref-id="sec6"/></fo:block>
  1210. </fo:table-cell>
  1211. </fo:table-row>
  1212. <fo:table-row line-height="12pt">
  1213. <fo:table-cell>
  1214. <fo:block text-align="end">G)
  1215. </fo:block>
  1216. </fo:table-cell>
  1217. <fo:table-cell>
  1218. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec7">Bugs</fo:basic-link></fo:block>
  1219. </fo:table-cell>
  1220. <fo:table-cell>
  1221. <fo:block text-align="end"><fo:page-number-citation ref-id="sec7"/></fo:block>
  1222. </fo:table-cell>
  1223. </fo:table-row>
  1224. <fo:table-row line-height="12pt">
  1225. <fo:table-cell>
  1226. <fo:block text-align="end">H)
  1227. </fo:block>
  1228. </fo:table-cell>
  1229. <fo:table-cell>
  1230. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec8">Compiling FOP</fo:basic-link></fo:block>
  1231. </fo:table-cell>
  1232. <fo:table-cell>
  1233. <fo:block text-align="end"><fo:page-number-citation ref-id="sec8"/></fo:block>
  1234. </fo:table-cell>
  1235. </fo:table-row>
  1236. <fo:table-row line-height="12pt">
  1237. <fo:table-cell>
  1238. <fo:block text-align="end">I)
  1239. </fo:block>
  1240. </fo:table-cell>
  1241. <fo:table-cell>
  1242. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec9">Getting involved</fo:basic-link></fo:block>
  1243. </fo:table-cell>
  1244. <fo:table-cell>
  1245. <fo:block text-align="end"><fo:page-number-citation ref-id="sec9"/></fo:block>
  1246. </fo:table-cell>
  1247. </fo:table-row>
  1248. <fo:table-row line-height="12pt">
  1249. <fo:table-cell>
  1250. <fo:block text-align="end">J)
  1251. </fo:block>
  1252. </fo:table-cell>
  1253. <fo:table-cell>
  1254. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec10">FOP Relevant Specifications</fo:basic-link></fo:block>
  1255. </fo:table-cell>
  1256. <fo:table-cell>
  1257. <fo:block text-align="end"><fo:page-number-citation ref-id="sec10"/></fo:block>
  1258. </fo:table-cell>
  1259. </fo:table-row>
  1260. <fo:table-row line-height="12pt">
  1261. <fo:table-cell>
  1262. <fo:block text-align="end">K)
  1263. </fo:block>
  1264. </fo:table-cell>
  1265. <fo:table-cell>
  1266. <fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec11">Licence</fo:basic-link></fo:block>
  1267. </fo:table-cell>
  1268. <fo:table-cell>
  1269. <fo:block text-align="end"><fo:page-number-citation ref-id="sec11"/></fo:block>
  1270. </fo:table-cell>
  1271. </fo:table-row>
  1272. </fo:table-body>
  1273. </fo:table>
  1274. </fo:flow>
  1275. </fo:page-sequence>
  1276. </fo:root>