PDFjetB4A is a PDF document authoring library for B4A
PDFjetB4A 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 both free evaluation and paid for licenses.
PDFjetB4A can be used with both the free evaluation and paid for licenses.
The free license version used to be feature limited, it looks as though the latest free license version contains all the features of the paid for license but i have not checked that.
PDFjetB4A wraps all available features of the paid for license version - if any of those features are not available in the free license version then the features will show in the B4A 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 PDFjetB4A 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 to find out about all available versions of PDFjet for Java.
Your PDFjet for Java download will contain the java library file PDFjet.jar.
Copy PDFjet.jar to your B4A additional libraries folder.
Now download the attached PDFjetB4A library files and copy these to your B4A additional library folder.
Your B4A additional libraries folder should now contain: PDFjetB4A.jar, PDFjetB4A.xml and PDFjet.jar.
PDFjetB4A.html is for reference only - you don't need to copy this file to your additional libraries folder.
If you upgrade from the free version to the paid for version you just need to overwrite the 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 B4A 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.
I have also created a B4J version of this library, see the jPDFjet thread.
Both B4A and B4J versions share the same syntax.
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 a B4J project and this B4J project is available in the jPDFjet thread.
(I've not had time to create a B4A demo project).
Library files attached.
Martin.
PDFjetB4A 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 both free evaluation and paid for licenses.
PDFjetB4A can be used with both the free evaluation and paid for licenses.
The free license version used to be feature limited, it looks as though the latest free license version contains all the features of the paid for license but i have not checked that.
PDFjetB4A wraps all available features of the paid for license version - if any of those features are not available in the free license version then the features will show in the B4A 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 to find out about all available versions of PDFjet for Java.
Your PDFjet for Java download will contain the java library file PDFjet.jar.
Copy PDFjet.jar to your B4A additional libraries folder.
Now download the attached PDFjetB4A library files and copy these to your B4A additional library folder.
Your B4A additional libraries folder should now contain: PDFjetB4A.jar, PDFjetB4A.xml and PDFjet.jar.
PDFjetB4A.html is for reference only - you don't need to copy this file to your additional libraries folder.
If you upgrade from the free version to the paid for version you just need to overwrite the 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 B4A 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.
I have also created a B4J version of this library, see the jPDFjet thread.
Both B4A and B4J versions share the same syntax.
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 a B4J project and this B4J project is available in the jPDFjet thread.
(I've not had time to create a B4A demo project).
Library files attached.
Martin.
Attachments
Last edited: