public class Fop2PdfImpl extends Object implements FOPBuilder
Name | Description |
---|---|
er.pdf.builder.fop.resolution | Resolution of the pdf. Defaults to 300. |
er.pdf.builder.fop.author | Name of the author. Defaults to 'ERPDFGeneration'. |
er.pdf.builder.fop.generator | Name of the generator. Defaults to 'ERPDFGeneration'. |
er.pdf.builder.fop.config.filename | Set to the name of the fop configuration file. Defaults to 'fop.xconf'. |
er.pdf.builder.fop.config.framework | Name of the framework the config file exists within. Defaults to 'ERPDFGeneration'. |
Modifier and Type | Field and Description |
---|---|
static String |
AUTHOR_KEY |
static String |
DEFAULT_AUTHOR |
static int |
DEFAULT_RESOLUTION |
static String |
FOP_CONF_FILENAME |
static String |
FOP_CONF_FILENAME_KEY |
static String |
FOP_CONF_FRAMEWORK |
static String |
FOP_CONF_FRAMEWORK_KEY |
static String |
GENERATOR_NAME |
static String |
GENERATOR_NAME_KEY |
static String |
TARGET_RESOLUTION_KEY |
Constructor and Description |
---|
Fop2PdfImpl() |
Modifier and Type | Method and Description |
---|---|
NSDictionary<String,Object> |
agentDefaults() |
NSDictionary<String,Object> |
configuration() |
NSDictionary<String,Object> |
configurationDefaults() |
void |
createDocument(OutputStream os)
create the output file pdf.
|
void |
createDocument(OutputStream os,
NSDictionary<String,Object> agentAttributes) |
void |
setConfiguration(NSMutableDictionary<String,Object> config)
this is here for extension in order to pass configuration of the fop
engine from the program.
|
void |
setXML(String xmlToTransform)
set the xml string to be transformed.
|
void |
setXSL(String fopxslLocation)
set the location of the transform file.
|
public static final String GENERATOR_NAME_KEY
public static final String GENERATOR_NAME
public static final String AUTHOR_KEY
public static final String DEFAULT_AUTHOR
public static final String TARGET_RESOLUTION_KEY
public static final int DEFAULT_RESOLUTION
public static final String FOP_CONF_FILENAME_KEY
public static final String FOP_CONF_FILENAME
public static final String FOP_CONF_FRAMEWORK_KEY
public static final String FOP_CONF_FRAMEWORK
public void setXSL(String fopxslLocation)
FOPBuilder
setXSL
in interface FOPBuilder
public void setXML(String xmlToTransform)
FOPBuilder
setXML
in interface FOPBuilder
public NSDictionary<String,Object> agentDefaults()
public void createDocument(OutputStream os) throws Throwable
FOPBuilder
createDocument
in interface FOPBuilder
Throwable
public void createDocument(OutputStream os, NSDictionary<String,Object> agentAttributes) throws Throwable
createDocument
in interface FOPBuilder
Throwable
public NSDictionary<String,Object> configurationDefaults()
public NSDictionary<String,Object> configuration()
public void setConfiguration(NSMutableDictionary<String,Object> config)
FOPBuilder
setConfiguration
in interface FOPBuilder
Copyright © 2002 – 2020 Project Wonder.