public class Fop2PdfImpl extends Object implements FOPBuilder
Modifier and Type | Field and Description |
---|---|
static String |
AUTHOR_KEY |
static String |
DEFAULT_AUTHOR |
static int |
DEFAULT_RESOLUTION |
protected static org.apache.fop.apps.FopFactory |
fopFactory |
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()
some basic defaults for configuring the fop agent.
|
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
protected static org.apache.fop.apps.FopFactory fopFactory
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 void setConfiguration(NSMutableDictionary<String,Object> config)
FOPBuilder
setConfiguration
in interface FOPBuilder
Copyright © 2002 – 2017 Project Wonder.