com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class XslFoLoadOptions



  • public final class XslFoLoadOptions
    extends XmlLoadOptions

    Represents options for loading/importing XSL-FO file into pdf document.

    • Constructor Detail

      • XslFoLoadOptions

        public XslFoLoadOptions()

        Creates XslFoLoadOptions object without xsl data.

      • XslFoLoadOptions

        public XslFoLoadOptions(String xslFile)

        Creates XslFoLoadOptions object with xsl data.

        Parameters:
        xslFile - Xsl file to convert XSL-FO document into pdf document.
      • XslFoLoadOptions

        public XslFoLoadOptions(InputStream xslStream)

        Creates XslFoLoadOptions object with xsl data.

        Parameters:
        xslStream - Xsl stream to convert XSL-FO document into pdf document.
    • Method Detail

      • getParsingErrorsHandlingType

        public int getParsingErrorsHandlingType()

        Source XSLFO document can contain formatting errors. This enum enumerates possible strategies of handking of that errors

        Returns:
        ParsingErrorsHandlingTypes element
        See Also:
        XslFoLoadOptions.ParsingErrorsHandlingTypes
      • setParsingErrorsHandlingType

        public void setParsingErrorsHandlingType(int parsingErrorsHandlingType)

        Source XSLFO document can contain formatting errors. This enum enumerates possible strategies of handking of that errors

        Parameters:
        parsingErrorsHandlingType - ParsingErrorsHandlingTypes element
        See Also:
        XslFoLoadOptions.ParsingErrorsHandlingTypes
      • 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:
        String
      • setBasePath

        public void setBasePath(String value)