public final class XslFoLoadOptions extends XmlLoadOptions
Represents options for loading/importing XSL-FO file into pdf document.
Modifier and Type | Class and Description |
---|---|
static class |
XslFoLoadOptions.ParsingErrorsHandlingTypes
Source XSLFO document can contain formatting errors.
|
LoadOptions.MarginsAreaUsageModes, LoadOptions.PageSizeAdjustmentModes, LoadOptions.ResourceLoadingResult, LoadOptions.ResourceLoadingStrategy
Modifier and Type | Field and Description |
---|---|
int |
ParsingErrorsHandlingType
Source XSLFO document can contain formatting errors.
|
Constructor and Description |
---|
XslFoLoadOptions()
Creates
XslFoLoadOptions object without xsl data. |
XslFoLoadOptions(InputStream xslStream)
Creates
XslFoLoadOptions object with xsl data. |
XslFoLoadOptions(String xslFile)
Creates
XslFoLoadOptions object with xsl data. |
Modifier and Type | Method and Description |
---|---|
String |
getBasePath()
The base path/url from which are searched relative pathes to external resources (if any)
referenced in loaded SVG file.
|
void |
setBasePath(String value) |
close, getXslStream
getLoadFormat, getWarningHandler, setWarningHandler
public int ParsingErrorsHandlingType
Source XSLFO document can contain formatting errors. This enum enumerates possible strategies of handking of that errors
public XslFoLoadOptions()
Creates XslFoLoadOptions
object without xsl data.
public XslFoLoadOptions(String xslFile)
Creates XslFoLoadOptions
object with xsl data.
xslFile
- Xsl file to convert XSL-FO document into pdf document.public XslFoLoadOptions(InputStream xslStream)
Creates XslFoLoadOptions
object with xsl data.
xslStream
- Xsl stream to convert XSL-FO document into pdf document.