JsPDF
UI Extension
jsPDF is a JavaScript library for generating PDF documents in the browser with support for text, images, and vector graphics.
Status
Planned
Supported Version
TBD
Licensing
Open Source
Priority
Rank #156
KEY FEATURES
PDF generation
Text and images
Tables
Forms
Encryption
Compression
Custom fonts
Usage Example
Here's how you'll use JsPDF with Oorian once the extension is available:
Java
// Create and configure JsPDF component
JsPDF component = new JsPDF();
component.setWidth("100%");
component.setHeight("400px");
// Configure component options
component.setEnabled(true);
// Register for events using Oorian's event model
component.registerForEvent(this, JsPDFEvent.class);
// Add to your page
container.addElement(component);Note: This is a preview of the expected API. The actual implementation may vary slightly when released.