com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Enum LoadFormat

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      APS
      means loading document in APS format.
      CGM
      means loading of document in CGM format
      EPUB
      means loading of document in EPUB format(special format of e-books)
      HTML
      means loading of document in HTML format
      MD
      means loading document is in MD format (markdown).
      MHT
      means loading of document in MHT format(that is packed HTML format)
      PCL
      means loading of document in PCL format
      PDFXML
      Internal PDF document structure in XML format.
      PS
      means loading of document in PS format(format of PostScript document)
      SVG
      means loading of document in SVG format - format of Latex text editor
      TEX
      means loading of document in TEX format - format of Latex text editor
      TXT
      means loading document is in TXT format.
      XML
      means loading of document in XML format(special XML that represent logical structure of PDF document)
      XPS
      means loading of document in XPS format
      XSLFO
      means loading of document in XSLFO format
    • Enum Constant Detail

      • CGM

        public static final LoadFormat CGM

        means loading of document in CGM format

      • HTML

        public static final LoadFormat HTML

        means loading of document in HTML format

      • EPUB

        public static final LoadFormat EPUB

        means loading of document in EPUB format(special format of e-books)

      • XML

        public static final LoadFormat XML

        means loading of document in XML format(special XML that represent logical structure of PDF document)

      • XSLFO

        public static final LoadFormat XSLFO

        means loading of document in XSLFO format

      • PCL

        public static final LoadFormat PCL

        means loading of document in PCL format

      • XPS

        public static final LoadFormat XPS

        means loading of document in XPS format

      • TEX

        public static final LoadFormat TEX

        means loading of document in TEX format - format of Latex text editor

      • SVG

        public static final LoadFormat SVG

        means loading of document in SVG format - format of Latex text editor

      • MHT

        public static final LoadFormat MHT

        means loading of document in MHT format(that is packed HTML format)

      • PS

        public static final LoadFormat PS

        means loading of document in PS format(format of PostScript document)

      • MD

        public static final LoadFormat MD

        means loading document is in MD format (markdown).

      • TXT

        public static final LoadFormat TXT

        means loading document is in TXT format.

      • APS

        public static final LoadFormat APS

        means loading document in APS format.

      • PDFXML

        public static final LoadFormat PDFXML

        Internal PDF document structure in XML format.

    • Method Detail

      • values

        public static LoadFormat[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LoadFormat c : LoadFormat.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LoadFormat valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public int getValue()