class PdfBuilder extends Object
Use org.xhtmlrenderer.pdf.ITextRenderer to generate PDF guide
Constructor and description |
---|
PdfBuilder() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
build(String baseDir, String htmlFile, String outputFile) |
|
void |
build(Map<String, String> options) Builds a PDF file from the manual's single.html file. |
|
String |
cleanupHtml(File htmlFile, String xml) |
|
org.w3c.dom.Document |
createDocument(String xml) |
|
void |
createPdf(String xml, File outputFile, File urlBase) |
|
void |
createPdfWithDocument(org.w3c.dom.Document doc, File outputFile, File urlBase) |
|
String |
createXml(File htmlFile, String base) |
|
String |
removeCssLinks(String html) |
Builds a PDF file from the manual's single.html file.
The following directories are assumed to exist:
options
map should have the following key/value pairs