|
|
@@ -0,0 +1,99 @@ |
|
|
|
<!--<!DOCTYPE configuration SYSTEM "config.dtd">--> |
|
|
|
<!-- |
|
|
|
this file contains templates which allow an user easy |
|
|
|
configuration of Fop. Actually normally you don't need this configuration |
|
|
|
file, but if you need to change configuration, you should |
|
|
|
always use this file and *not* config.xml. |
|
|
|
Usage: java org.apache.fop.apps.Fop -c userconfig.xml -fo fo-file -pdf pdf-file |
|
|
|
--> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
|
|
<entry> |
|
|
|
<key>debugMode</key> |
|
|
|
<value>true</value> |
|
|
|
</entry> |
|
|
|
|
|
|
|
<entry> |
|
|
|
<key>inputMode</key> |
|
|
|
<value>fo</value> |
|
|
|
</entry> |
|
|
|
|
|
|
|
<!-- |
|
|
|
<entry> |
|
|
|
<key>foFileName</key> |
|
|
|
<value>/tmp/test.fo</value> |
|
|
|
</entry> |
|
|
|
--> |
|
|
|
|
|
|
|
<entry> |
|
|
|
<key>outputMode</key> |
|
|
|
<value>pdf</value> |
|
|
|
</entry> |
|
|
|
|
|
|
|
<!-- |
|
|
|
<entry> |
|
|
|
<key>outputFileName</key> |
|
|
|
<value>/tmp/test.pdf</value> |
|
|
|
</entry> |
|
|
|
--> |
|
|
|
|
|
|
|
<!-- NOT IMPLEMENTED |
|
|
|
basedir: normally the base directory is the directory where the fo file is |
|
|
|
located. if you want to specify your own, uncomment this entry |
|
|
|
--> |
|
|
|
<!-- |
|
|
|
<entry> |
|
|
|
<key>baseDir</key> |
|
|
|
<value></value> |
|
|
|
</entry> |
|
|
|
--> |
|
|
|
|
|
|
|
<!-- |
|
|
|
************************************************************************ |
|
|
|
HYPHENATION |
|
|
|
************************************************************************ |
|
|
|
--> |
|
|
|
|
|
|
|
<!-- |
|
|
|
hyphenation directory |
|
|
|
if you want to specify your own directory with hyphenation pattern |
|
|
|
then uncomment the next entry and add the directory name |
|
|
|
--> |
|
|
|
|
|
|
|
<!-- |
|
|
|
<entry> |
|
|
|
<key>hyphenation-dir</key> |
|
|
|
<value>/java/xml-fop/hyph</value> |
|
|
|
</entry> |
|
|
|
--> |
|
|
|
|
|
|
|
<!-- |
|
|
|
************************************************************************ |
|
|
|
Add fonts here |
|
|
|
************************************************************************ |
|
|
|
--> |
|
|
|
|
|
|
|
<fonts> |
|
|
|
<!-- example --> |
|
|
|
<!-- |
|
|
|
<font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf"> |
|
|
|
<font-triplet name="Arial" style="normal" weight="normal"/> |
|
|
|
<font-triplet name="ArialMT" style="normal" weight="normal"/> |
|
|
|
</font> |
|
|
|
<font metrics-file="arialb.xml" kerning="yes" embed-file="arialb.ttf"> |
|
|
|
<font-triplet name="Arial" style="normal" weight="bold"/> |
|
|
|
<font-triplet name="ArialMT" style="normal" weight="bold"/> |
|
|
|
</font> |
|
|
|
<font metrics-file="ariali.xml" kerning="yes" embed-file="ariali.ttf"> |
|
|
|
<font-triplet name="Arial" style="italic" weight="normal"/> |
|
|
|
<font-triplet name="ArialMT" style="italic" weight="normal"/> |
|
|
|
</font> |
|
|
|
<font metrics-file="arialbi.xml" kerning="yes" embed-file="arialbi.ttf"> |
|
|
|
<font-triplet name="Arial" style="italic" weight="bold"/> |
|
|
|
<font-triplet name="ArialMT" style="italic" weight="bold"/> |
|
|
|
</font> |
|
|
|
--> |
|
|
|
</fonts> |
|
|
|
|
|
|
|
</configuration> |