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.

examples.xml 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
  3. "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
  4. <document>
  5. <header>
  6. <title>FO Examples</title>
  7. </header>
  8. <body>
  9. <section>
  10. <title>Example Documents Using FOP</title>
  11. <p>
  12. These examples have been rendered using FOP.
  13. </p>
  14. </section>
  15. <section>
  16. <title>Images Examples</title>
  17. <p>
  18. Embedding images in FO:
  19. </p>
  20. <table>
  21. <caption>Images in FO</caption>
  22. <tr>
  23. <th>description</th>
  24. <th>fo file</th>
  25. <th>pdf result</th>
  26. </tr>
  27. <tr>
  28. <td>align in larger viewport</td>
  29. <td><link href="../fo/align.fo">align.fo</link></td>
  30. <td><link href="../fo/align.fo.pdf">align.fo.pdf</link></td>
  31. </tr>
  32. <tr>
  33. <td>align in smaller viewport</td>
  34. <td><link href="../fo/align2.fo">align2.fo</link></td>
  35. <td><link href="../fo/align2.fo.pdf">align2.fo.pdf</link></td>
  36. </tr>
  37. <tr>
  38. <td>scaling image</td>
  39. <td><link href="../fo/size.fo">size.fo</link></td>
  40. <td><link href="../fo/size.fo.pdf">size.fo.pdf</link></td>
  41. </tr>
  42. </table>
  43. </section>
  44. <section>
  45. <title>Instream Foreign Object Examples</title>
  46. <p>
  47. Instream Foreign Object images in FO, there are more on the
  48. <link href="svg.html">SVG Page</link>:
  49. </p>
  50. <table>
  51. <caption>Embedding instream-foreign-object</caption>
  52. <tr>
  53. <th>description</th>
  54. <th>fo file</th>
  55. <th>pdf result</th>
  56. </tr>
  57. <tr>
  58. <td>embedding svg in viewport</td>
  59. <td><link href="../fo/embed.fo">embed.fo</link></td>
  60. <td><link href="../fo/embed.fo.pdf">embed.fo.pdf</link></td>
  61. </tr>
  62. </table>
  63. </section>
  64. </body>
  65. </document>