PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
The Samples use preset parameters and documentation to call the API of ComPDFKit PDF SDK for Java for each function without UI interaction or parameter settings. This is achieved through modular code examples. The functions include creating, getting, and deleting various types of annotations and forms, extracting text and images, encrypting and decrypting documents, adding watermarks and bates numbers, and more.
These projects not only demonstrate the best practices for each function but also provide detailed introductions. The impact of each function on PDF documents can be observed in the output directory. With the help of the Samples, you can quickly learn how to use the functions you need and apply them to your projects.
| Name | Description |
|---|---|
| Annotation | Print the annotation list information, set the annotations (including markup, note, ink, free text, circle, square, line annotations), and delete the annotations. |
| AnnotationImportExport | Export and import annotations with an xfdf file. |
| InteractiveForms | Print form list information, set up interactive forms (including text, checkbox, radio button, button, list, combo boxes and deleting forms), and fill out form information. |
| PDFPage | Manipulate PDF pages, including inserting, splitting, merging, rotating, and replacing, etc. |
| DocumentInfo | Display the information of PDF files like the author, created time, etc. |
| Encrypt | Set passwords to encrypt PDFs and set document permissions. Allow decrypting PDFs. |
| Watermark | Create text/image watermarks and delete watermarks. |
| Compare | Compare the differences between two documents, providing both content comparison and overlay comparison. |
| Flatten | Flatten PDF annotations and forms, and merge all layouts as one layout. |
| PDFRedact | Create redaction to remove sensitive information or private data, which cannot be viewed and searched once applied. |
| Background | Set color background, image background, set background properties, remove background. |
| ConvertPDFA | Convert PDF file to PDF/A, PDF/X, PDF/E, PDF/UA and PDF/VT format. |
| HeaderFooter | Add header and footer, set header and footer properties, remove header and footer. |
| Bates | Add Bates numbers, get Bates numbers, set Bates number properties, remove Bates numbers. |
| ImageDoc | Determine if a document is a scanned document, determine if a page is a scanned page. |
| Optimize | Document compression and optimization, configure optimization options, set image compression options. |
| Outline | Create outlines, read outline information, remove outlines. |
| TextSearch | Text search, configure search options, get search results. |
| QRCode | Create a QR code form field, set its content, error correction level and quiet zone, generate its vector appearance, and read the values back from the saved document. |