Skip to content
ComPDF

Overview

Supports dynamic PDF file generation through HTML templates, or generating PDF files from standard HTML files or HTML strings.

To use the PDF generation feature through HTML templates, you need to prepare the following:

  • Template: Design your template in HTML format.
  • Replacement data: Provide the filling data in JSON format.

To use the PDF generation feature through HTML files or HTML strings, you need to prepare standard HTML files or HTML strings.

During the process of generating a PDF through HTML templates, ComPDF will merge the data you provide with the template to efficiently generate PDF files. During the filling process, you can also use conditional statements, loops, and more, allowing you to implement more flexible filling rules. The remaining tasks are taken care of by ComPDF.