Using the Apache FO processor
If your application uses the Apache processor to save as PDF or
XSL-FO, you must deploy the fop-0.20.4 directory and the Java Runtime
Environment (JRE) with your application.
They must be deployed in the same directory as the PowerBuilder
runtime files. For example, if you deploy your application and pbvm.dll
and the other PowerBuilder runtime files in a directory called
MyApplication, the Apache processor must be deployed in
MyApplication/fop-0.20.4, and the JRE in MyApplication/jre. However, you
do not need to place a copy of the JRE in this location if the full JDK
is installed on the target computer and is in the classpath.
The following JAR files must be in the user’s classpath:
| fop-0.20.4uildfop.jar |
| fop-0.20.4libatik.jar |
| fop-0.20.4libxalan-2.3.1.jar |
| fop-0.20.4libxercesImpl-2.1.0.jar |
| fop-0.20.4libxml-apis.jar |
| fop-0.20.4libavalon-framework-cvs-20020315.jar |
For more information about the JRE, see Java support.
On Windows DBCS platforms, you also need to deploy a file that
supports DBCS characters to the Windows font directory on the target
computer, for example, C:WINDOWSfonts. For more information about
configuring fonts, see the Apache website at http://xmlgraphics.apache.org/fop/1.1/fonts.html.
For how to set properties for the XSL-FO method, see the section called “Saving as PDF using XSL-FO” in Users Guide.