Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What rendering engine does cfdocument use for HTML->PDF conversion?

Tags:

coldfusion

pdf

Simple question: Does anyone know what CF8 uses to render HTML into PDF?

More specifically, I'd like to know the version and if there's a complete description of what styles it does/doesn't support.

(for example, it doesn't support CSS page breaking - you need to use cfdocumentitem which isn't as flexible)

like image 872
Peter Boughton Avatar asked May 08 '09 10:05

Peter Boughton


1 Answers

Yes, it does use iText. CF8 uses version 1.4:

<cfset doc = createObject("java", "com.lowagie.text.Document")>
<cfdump var="#doc.getVersion()#">
like image 121
Leigh Avatar answered Nov 20 '22 04:11

Leigh