Integration |
Start page Previous page Next page |
In order for the n2pdf "language extension" to be available in a database along with all functions, the definition file “n2pdfDef.SCR” for LotusScript or the Java wrapper class "n2pdfJNI.jar" for Java must be integrated in the programming.
You can integrate the language extension for LotusScript into the script by either using the command
%Include "n2pdfDef.SCR"
or by importing the content of the file (ASCII file) into the script.
Integration of n2pdf for the Java programming can be achieved using the command
import de.softvision.jni.N2pdf;
The definition file "n2pdfDef.scr" for LotusScript is saved in the Notes system directory during the installation of n2pdf. The Java wrapper class "n2pdfJNI.jar" for Java can be found in the standard directory “External Java Libraries" (\jvm\lib\ext).
This file "n2pdfDef.scr" (for Lotus Script) is only needed for integration (compiling the scripts) and does not have to be delivered with the finished integration. The Java wrapper class "n2pdfJNI.jar" is a constituent part of the application and must be installed together with it.
|