jPDFjet is a PDF document authoring library for B4J
jPDFjet wraps the PDFjet for Java library from pdfjet.com.
Here are some of it's features:
Drawing support for:
Text
Embedding of the following types of images:
High level components:
PDFjet for Java is available under Open Source, free evaluation and paid for licenses.
jPDFjet can be used with all three licenses.
The Open Source Edition is feature limited.
jPDFjet wraps all available features of the paid for license version - any features that are not available in the Open Source Edition will show in the B4J IDE but not be available for use.
Trying to use a feature that is not available is like to raise a ClassNotFound exception.
In order to use jPDFjet you will need to:
When downloading either version you will agree to and accept the license terms and conditions that apply to the version you download.
EDIT: Please read post #2 in this thread to find out about the available versions of PDFjet for Java.
Your PDFjet for Java download will contain the java library file PDFjet.jar.
Copy PDFjet.jar to your B4J additional libraries folder.
Now download the attached jPDFjet library files and copy these to your B4J additional library folder.
Your B4J additional libraries folder should now contain: jPDFjet.jar, jPDFjet.xml and PDFjet.jar.
jPDFjet.html is for reference only - you don't need to copy this file to your additional libraries folder.
If you upgrade from the Open Source Edition or from the free version to the paid for version you just need to overwrite the Open Source Edition or free version of PDFjet.jar with your paid for version of PDFjet.jar.
One thing i have not done is to add a lot of the javadoc reference to the B4J library.
Many methods are self-explanatory, some are obscure and some lack any javadoc reference.
In your download from pdfjet.com there is a folder docs/java which contains the PDFjet for Java javadoc reference.
Open docs/java/index.html in your browser to see all the available reference/documentation.
There are some java examples of usage of PDFjet both online and in the download from pdfjet.com.
I have converted some of these java examples to B4J and the attached B4J demo project contains those converted examples.
Note that i have also created a B4A version of this library and shall upload the B4A version shortly.
Both B4A and B4J versions share the same syntax.
Library files and demo project attached.
Martin.
jPDFjet wraps the PDFjet for Java library from pdfjet.com.
Here are some of it's features:
Drawing support for:
- Points
- Lines
- Boxes
- Circles
- Bezier Curves
- Polygons
- Stars
- Complex paths and shapes
Text
- Unicode support
- Text kerning when using the Helvetica and Times-Roman families of core fonts
- Embedding hyperlinks
- Support for embedding OpenType and TrueType fonts
- Support for the fonts included with Reader 7.0 and Reader 8.0 installations
Embedding of the following types of images:
- PNG
- JPEG
- BMP
High level components:
- Simple to use Table class with flexible reporting capabilities
- Flexible Chart component with support for scatter plots and lines
- TextColumn component with text kerning and justification support
- Support for Code 39 and Code 128 barcodes
- Support for PDF417 and QR code 2D barcodes
PDFjet for Java is available under Open Source, free evaluation and paid for licenses.
jPDFjet can be used with all three licenses.
The Open Source Edition is feature limited.
jPDFjet wraps all available features of the paid for license version - any features that are not available in the Open Source Edition will show in the B4J IDE but not be available for use.
Trying to use a feature that is not available is like to raise a ClassNotFound exception.
Download the free evaluation PDFjet for Java from: http://pdfjet.com/java/download.htmlORPurchase and download the paid for PDFjet for Java from: http://pdfjet.com/java/buy.html
EDIT: Please read post #2 in this thread to find out about the available versions of PDFjet for Java.
Your PDFjet for Java download will contain the java library file PDFjet.jar.
Copy PDFjet.jar to your B4J additional libraries folder.
Now download the attached jPDFjet library files and copy these to your B4J additional library folder.
Your B4J additional libraries folder should now contain: jPDFjet.jar, jPDFjet.xml and PDFjet.jar.
jPDFjet.html is for reference only - you don't need to copy this file to your additional libraries folder.
If you upgrade from the Open Source Edition or from the free version to the paid for version you just need to overwrite the Open Source Edition or free version of PDFjet.jar with your paid for version of PDFjet.jar.
One thing i have not done is to add a lot of the javadoc reference to the B4J library.
Many methods are self-explanatory, some are obscure and some lack any javadoc reference.
In your download from pdfjet.com there is a folder docs/java which contains the PDFjet for Java javadoc reference.
Open docs/java/index.html in your browser to see all the available reference/documentation.
There are some java examples of usage of PDFjet both online and in the download from pdfjet.com.
I have converted some of these java examples to B4J and the attached B4J demo project contains those converted examples.
Note that i have also created a B4A version of this library and shall upload the B4A version shortly.
Both B4A and B4J versions share the same syntax.
Library files and demo project attached.
Martin.
Attachments
Last edited: