Skip to content
DemoSampleAPI ReferenceFAQ

PDF Generation Template Editor

Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.

View on GitHub

PDF Generation SDK Package Structure ​

The package of ComPDF Generation SDK for Java includes the following files:

  • "samples" - Java sample projects.
    • "ConvertToPdf" - Convert HTML to PDF.
    • "RenderTemplate" - Populate an HTML template with JSON.
    • "RenderAndConvert" - Render a template and convert it to PDF.
    • "PrintOptionsTest" - Configure page margins and headers/footers.
    • "FamilyHeaderFooterTest" - Convert the family HTML example with cover-page and numbering settings.
    • "EmailConvertTest" - Parse EML/MSG and demonstrate HTML packages and PDF output from files and streams.
    • "TestFiles" - Sample inputs, including email and family_html.
    • "lib" - The sample dependency generation-1.3.0.jar.
  • "generation-1.3.0.jar" - The SDK JAR, including the matching Linux native library.
  • "API Reference" - Java API reference; open index.html.
  • "develop_guide_java_en.pdf" - English developer guide.
  • "release_notes.txt" - Release information.
  • "legal.txt" - Legal and copyright information.

package