com.pega.pegarules.pub.util
Interface PDFUtils


public interface PDFUtils

Utilities for PDF generation.

Author:
Shobha Naslai

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Method Summary
 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 The following formatting options are available pyPDFPageOrientation : landscape/portrait default is landscape pyPDFPageSize :A4/LETTER/LEGAL default is A4 pyPDFFontsDirectory:The fonts directory pyPDFEmbedFont:true/false.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

static final java.lang.String VERSION
Method Detail

generatePDF

byte[] generatePDF(java.lang.String htmlStream)
Returns an byte array using the export data

Parameters:
htmlStream -
Returns:
byte array[]

generatePDF

byte[] generatePDF(java.lang.String aHtmlStream,
                   StringMap options)
Generates the PDF given the HTML Stream and formatting options The following formatting options are available pyPDFPageOrientation : landscape/portrait default is landscape pyPDFPageSize :A4/LETTER/LEGAL default is A4 pyPDFFontsDirectory:The fonts directory pyPDFEmbedFont:true/false. Default is false pyPDFEnableHyperlinks:true/false. Default is false

Parameters:
aHtmlStream - the html stream
options - the rendering options
Returns:
byte[]


Copyright © 2012 Pegasystems Inc. All Rights Reserved.