public interface PDFUtils
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
PARAM_CLEARCACHE
isClearCache: enable clearing the conversion cache
|
static java.lang.String |
PARAM_EMBEDFONT
pyPDFEmbedFont: true/false.
|
static java.lang.String |
PARAM_ENABLEHYPERLINKS
pyPDFEnableHyperlinks: true/false.
|
static java.lang.String |
PARAM_ENABLESMARTTABLEBREAKS
pyEnableSmartTableBreaks: enable smart table breaks
|
static java.lang.String |
PARAM_FONTSDIR
pyPDFFontsDirectory: The fonts directory
|
static java.lang.String |
PARAM_FOOTER
footer: page number template for footer
|
static java.lang.String |
PARAM_FOOTERHTML
pyPDFFooterHTMLTemplate: optional HTML template for footer in PDF
|
static java.lang.String |
PARAM_GENTOOLTIPS
pyGenerateToolTips: generate tooltips
|
static java.lang.String |
PARAM_HALT_ERR
HaltOnHTMLError: throw exception if we detect an error during html processing
|
static java.lang.String |
PARAM_HALT_WARN
HaltOnHTMLWarning: throw an exception if we detect a warning during html processing
|
static java.lang.String |
PARAM_HEADER
header: page number template for header
|
static java.lang.String |
PARAM_HEADERHTML
pyPDFHeaderHTMLTemplate: optional HTML template for header in PDF
|
static java.lang.String |
PARAM_HTMLDISABLEPROCESSING
pyHTMLDisableProcessing: true/false.
|
static java.lang.String |
PARAM_KEEPPROPS
pyKeepPropsFile: optionally keep pd4ml properties after processing
|
static java.lang.String |
PARAM_ORIENTATION
pyPDFPageOrientation : landscape/portrait default is landscape
|
static java.lang.String |
PARAM_OUTLINES
pyEnableOutlines: enable support for PDF Bookmarks and Outlines
|
static java.lang.String |
PARAM_PAGESIZE
pyPDFPageSize :A4/LETTER/LEGAL default is A4
|
static java.lang.String |
PARAM_PDFA
pyPDFGeneratePDFA: true/false.
|
static java.lang.String |
PARAM_PROPSDIR
pyPDFPropsDirectory: optional directory for pd4ml properties file
|
static java.lang.String |
PARAM_START_PAGE
startPage: starting number (offset) for page numbering
|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
byte[] |
generatePDF(java.lang.String htmlStream)
Returns an byte array using the export data
|
byte[] |
generatePDF(java.lang.String aHtmlStream,
StringMap options)
Generates the PDF given the HTML Stream and formatting options
Formatting options are declared as constants with the "PARAM_" prefix in this interface.
|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
static final java.lang.String PARAM_PAGESIZE
static final java.lang.String PARAM_ORIENTATION
static final java.lang.String PARAM_FONTSDIR
static final java.lang.String PARAM_EMBEDFONT
static final java.lang.String PARAM_ENABLEHYPERLINKS
static final java.lang.String PARAM_PDFA
static final java.lang.String PARAM_HTMLDISABLEPROCESSING
static final java.lang.String PARAM_PROPSDIR
static final java.lang.String PARAM_KEEPPROPS
static final java.lang.String PARAM_HEADERHTML
static final java.lang.String PARAM_FOOTERHTML
static final java.lang.String PARAM_HALT_ERR
static final java.lang.String PARAM_HALT_WARN
static final java.lang.String PARAM_GENTOOLTIPS
static final java.lang.String PARAM_ENABLESMARTTABLEBREAKS
static final java.lang.String PARAM_CLEARCACHE
static final java.lang.String PARAM_FOOTER
static final java.lang.String PARAM_HEADER
static final java.lang.String PARAM_START_PAGE
static final java.lang.String PARAM_OUTLINES
byte[] generatePDF(java.lang.String htmlStream)
htmlStream
- byte[] generatePDF(java.lang.String aHtmlStream, StringMap options)
PARAM_ORIENTATION
, PARAM_PAGESIZE
aHtmlStream
- the html streamoptions
- the rendering optionsCopyright © 2015 Pegasystems Inc. All Rights Reserved.