com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Enum SaveFormat

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      Aps
      Saving as APS XML file.
      Doc
      means saving in DOC format
      DocX
      means saving in DOCX format
      Epub
      means saving in EPUB format(special format of e-books)
      Excel
      means saving in MsExcel format
      Html
      means saving in HTML format
      MobiXml
      means saving in MobiXML format(special format of e-books)
      None
      Deprecated. 
      Pdf
      means saving without change of format, i.e. as PDF use it please instead of 'SaveFormat.None', that is obsolete one
      PdfXml
      Internal PDF document structure in XML format
      Plugin
      means saving with the aid of a plugin
      Pptx
      means saving in MHT(WebArchieve) /// Convet document to Mht format.
      Svg
      means saving in SVG format
      TeX
      means saving in TEX format i.e. format suitable for Latex text editor
      Xml
      means saving in XML format
      Xps
      means saving in XPS format
    • Enum Constant Detail

      • Pdf

        public static final SaveFormat Pdf

        means saving without change of format, i.e. as PDF use it please instead of 'SaveFormat.None', that is obsolete one

      • None

        @Deprecated
        public static final SaveFormat None
        Deprecated. 

        means saving without change of format, i.e. as PDF It's obsolete one and will be deleted eventually, please use instead 'SaveFormat.Pdf'

      • Doc

        public static final SaveFormat Doc

        means saving in DOC format

      • Xps

        public static final SaveFormat Xps

        means saving in XPS format

      • Html

        public static final SaveFormat Html

        means saving in HTML format

      • Xml

        public static final SaveFormat Xml

        means saving in XML format

      • TeX

        public static final SaveFormat TeX

        means saving in TEX format i.e. format suitable for Latex text editor

      • DocX

        public static final SaveFormat DocX

        means saving in DOCX format

      • Svg

        public static final SaveFormat Svg

        means saving in SVG format

      • MobiXml

        public static final SaveFormat MobiXml

        means saving in MobiXML format(special format of e-books)

      • Excel

        public static final SaveFormat Excel

        means saving in MsExcel format

      • Epub

        public static final SaveFormat Epub

        means saving in EPUB format(special format of e-books)

      • Plugin

        public static final SaveFormat Plugin

        means saving with the aid of a plugin

      • Pptx

        public static final SaveFormat Pptx

        means saving in MHT(WebArchieve) ///

        Convet document to Mht format. This code was experimental one used during works related to https://pdf.aspose.com/jira/browse/PDFNEWNET-36340 is not going on production, cause there are cross-browsers problems with created MHT - so, it can be used in the future if finally it will be necessary to create MHT itself. PDFNEWNET-36340 was resolved with usage of DataSceme URLs(embedding data into HTML http://en.wikipedia.org/wiki/Data_URI_scheme) So, this conversion really not used right now.

        means saving in PPTX format

      • Aps

        public static final SaveFormat Aps

        Saving as APS XML file.

      • PdfXml

        public static final SaveFormat PdfXml

        Internal PDF document structure in XML format

    • Method Detail

      • values

        public static SaveFormat[] 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 (SaveFormat c : SaveFormat.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SaveFormat 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()