XslFoLoadOptions
Inheritance: java.lang.Object, com.aspose.pdf.LoadOptions, com.aspose.pdf.XmlLoadOptions
public final class XslFoLoadOptions extends XmlLoadOptions
Represents options for loading/importing XSL-FO file into pdf document.
Constructors
Constructor | Description |
---|---|
XslFoLoadOptions() | Creates XslFoLoadOptions object without xsl data. |
XslFoLoadOptions(String xslFile) | Creates XslFoLoadOptions object with xsl data. |
XslFoLoadOptions(InputStream xslStream) | Creates XslFoLoadOptions object with xsl data. |
Methods
Method | Description |
---|---|
getParsingErrorsHandlingType() | Source XSLFO document can contain formatting errors. |
setParsingErrorsHandlingType(int parsingErrorsHandlingType) | Source XSLFO document can contain formatting errors. |
getBasePath() | The base path/url from which are searched relative pathes to external resources (if any) referenced in loaded SVG file. |
setBasePath(String value) |
XslFoLoadOptions()
public XslFoLoadOptions()
Creates XslFoLoadOptions object without xsl data.
XslFoLoadOptions(String xslFile)
public XslFoLoadOptions(String xslFile)
Creates XslFoLoadOptions object with xsl data.
Parameters:
Parameter | Type | Description |
---|---|---|
xslFile | java.lang.String | Xsl file to convert XSL-FO document into pdf document. |
XslFoLoadOptions(InputStream xslStream)
public XslFoLoadOptions(InputStream xslStream)
Creates XslFoLoadOptions object with xsl data.
Parameters:
Parameter | Type | Description |
---|---|---|
xslStream | java.io.InputStream | Xsl stream to convert XSL-FO document into pdf document. |
getParsingErrorsHandlingType()
public int getParsingErrorsHandlingType()
Source XSLFO document can contain formatting errors. This enum enumerates possible strategies of handking of that errors
Returns: int - ParsingErrorsHandlingTypes element
setParsingErrorsHandlingType(int parsingErrorsHandlingType)
public void setParsingErrorsHandlingType(int parsingErrorsHandlingType)
Source XSLFO document can contain formatting errors. This enum enumerates possible strategies of handking of that errors
Parameters:
Parameter | Type | Description |
---|---|---|
parsingErrorsHandlingType | int | ParsingErrorsHandlingTypes element |
getBasePath()
public String getBasePath()
The base path/url from which are searched relative pathes to external resources (if any) referenced in loaded SVG file.
Returns: java.lang.String - String
setBasePath(String value)
public void setBasePath(String value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |