KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Documentation for export module? #2077

Open Jeremy Gray opened this topic on on May 12, 2021 - 1 comments

Jeremy Gray commented on May 12, 2021

Is there documentation somewhere that I have missed? Not usage examples, but documentation on each module, or at least the export module? What is the underlying library used for this? fpdf? tcpdf? wkhtmltopdf?

i.e. for the export module, is there a list of all values that can be passed to 'pdf' somewhere?

like so far, ____from examples.... I know I can pass these 2

->pdf(array(
    "format"=>"A4",
    "orientation"=>"portrait"
))

and I can also set

 {pageNum}

which is the current pagenum.... but what about total pages in the document? so I can write {pageNum} of {pageNumTotal} (or whatever it is)

Sebastian Morales commented on May 13, 2021

For the Export package we use PhantomJS as the headless browser to render report pages to PDF. Here's a list of its pdf setting:

https://www.koolreport.com/docs/export/get_started/#export-to-pdf

For the CloudExport package, we have headless chromium, wkhtmltopdf, and PhantomJS engines.

Regarding your other point, in Export package the total number of pages in header/footer could be inserted by using {numPages}.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None