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.

userconfig.xml 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!--<!DOCTYPE configuration SYSTEM "config.dtd">-->
  2. <!--
  3. this file contains templates which allow an user easy
  4. configuration of Fop. Actually normally you don't need this configuration
  5. file, but if you need to change configuration, you should
  6. always use this file and *not* config.xml.
  7. Usage: java org.apache.fop.apps.Fop -c userconfig.xml -fo fo-file -pdf pdf-file
  8. -->
  9. <configuration>
  10. <entry>
  11. <key>debugMode</key>
  12. <value>true</value>
  13. </entry>
  14. <entry>
  15. <key>inputMode</key>
  16. <value>fo</value>
  17. </entry>
  18. <!--
  19. <entry>
  20. <key>foFileName</key>
  21. <value>/tmp/test.fo</value>
  22. </entry>
  23. -->
  24. <entry>
  25. <key>outputMode</key>
  26. <value>pdf</value>
  27. </entry>
  28. <!--
  29. <entry>
  30. <key>outputFileName</key>
  31. <value>/tmp/test.pdf</value>
  32. </entry>
  33. -->
  34. <!-- NOT IMPLEMENTED
  35. basedir: normally the base directory is the directory where the fo file is
  36. located. if you want to specify your own, uncomment this entry
  37. -->
  38. <!--
  39. <entry>
  40. <key>baseDir</key>
  41. <value></value>
  42. </entry>
  43. -->
  44. <!--
  45. ************************************************************************
  46. HYPHENATION
  47. ************************************************************************
  48. -->
  49. <!--
  50. hyphenation directory
  51. if you want to specify your own directory with hyphenation pattern
  52. then uncomment the next entry and add the directory name
  53. -->
  54. <!--
  55. <entry>
  56. <key>hyphenation-dir</key>
  57. <value>/java/xml-fop/hyph</value>
  58. </entry>
  59. -->
  60. <!--
  61. ************************************************************************
  62. Add fonts here
  63. ************************************************************************
  64. -->
  65. <fonts>
  66. <!-- example -->
  67. <!--
  68. <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf">
  69. <font-triplet name="Arial" style="normal" weight="normal"/>
  70. <font-triplet name="ArialMT" style="normal" weight="normal"/>
  71. </font>
  72. <font metrics-file="arialb.xml" kerning="yes" embed-file="arialb.ttf">
  73. <font-triplet name="Arial" style="normal" weight="bold"/>
  74. <font-triplet name="ArialMT" style="normal" weight="bold"/>
  75. </font>
  76. <font metrics-file="ariali.xml" kerning="yes" embed-file="ariali.ttf">
  77. <font-triplet name="Arial" style="italic" weight="normal"/>
  78. <font-triplet name="ArialMT" style="italic" weight="normal"/>
  79. </font>
  80. <font metrics-file="arialbi.xml" kerning="yes" embed-file="arialbi.ttf">
  81. <font-triplet name="Arial" style="italic" weight="bold"/>
  82. <font-triplet name="ArialMT" style="italic" weight="bold"/>
  83. </font>
  84. -->
  85. </fonts>
  86. </configuration>