public class Fop2PdfImpl extends java.lang.Object implements FOPBuilder
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AUTHOR_KEY |
static java.lang.String |
DEFAULT_AUTHOR |
static int |
DEFAULT_RESOLUTION |
protected static org.apache.fop.apps.FopFactory |
fopFactory |
static java.lang.String |
GENERATOR_NAME |
static java.lang.String |
GENERATOR_NAME_KEY |
static java.lang.String |
TARGET_RESOLUTION_KEY |
| Constructor and Description |
|---|
Fop2PdfImpl() |
| Modifier and Type | Method and Description |
|---|---|
NSDictionary<java.lang.String,java.lang.Object> |
agentDefaults()
some basic defaults for configuring the fop agent.
|
void |
createDocument(java.io.OutputStream os)
create the output file pdf.
|
void |
createDocument(java.io.OutputStream os,
NSDictionary<java.lang.String,java.lang.Object> agentAttributes) |
void |
setConfiguration(NSMutableDictionary<java.lang.String,java.lang.Object> config)
this is here for extension in order to pass configuration of the fop
engine from the program.
|
void |
setXML(java.lang.String xmlToTransform)
set the xml string to be transformed.
|
void |
setXSL(java.lang.String fopxslLocation)
set the location of the transform file.
|
public static final java.lang.String GENERATOR_NAME_KEY
public static final java.lang.String GENERATOR_NAME
public static final java.lang.String AUTHOR_KEY
public static final java.lang.String DEFAULT_AUTHOR
public static final java.lang.String TARGET_RESOLUTION_KEY
public static final int DEFAULT_RESOLUTION
protected static org.apache.fop.apps.FopFactory fopFactory
public void setXSL(java.lang.String fopxslLocation)
FOPBuildersetXSL in interface FOPBuilderpublic void setXML(java.lang.String xmlToTransform)
FOPBuildersetXML in interface FOPBuilderpublic NSDictionary<java.lang.String,java.lang.Object> agentDefaults()
public void createDocument(java.io.OutputStream os)
throws java.lang.Throwable
FOPBuildercreateDocument in interface FOPBuilderjava.lang.Throwablepublic void createDocument(java.io.OutputStream os,
NSDictionary<java.lang.String,java.lang.Object> agentAttributes)
throws java.lang.Throwable
createDocument in interface FOPBuilderjava.lang.Throwablepublic void setConfiguration(NSMutableDictionary<java.lang.String,java.lang.Object> config)
FOPBuildersetConfiguration in interface FOPBuilderCopyright © 2002 – 2022 Project Wonder.