SaveFormat

Inheritance: java.lang.Object, java.lang.Enum

public enum SaveFormat extends Enum<SaveFormat>

Specifies format

Fields

FieldDescription
Pdfmeans saving without change of format, i.e.
Nonemeans saving without change of format, i.e.
Docmeans saving in DOC format
Xpsmeans saving in XPS format
Htmlmeans saving in HTML format
Xmlmeans saving in XML format
TeXmeans saving in TEX format i.e.
DocXmeans saving in DOCX format
Svgmeans saving in SVG format
MobiXmlmeans saving in MobiXML format(special format of e-books)
Excelmeans saving in MsExcel format
Epubmeans saving in EPUB format(special format of e-books)
Pptxmeans saving in MHT(WebArchieve) ///
ApsSaving as APS XML file.
PdfXmlInternal PDF document structure in XML format
Psmeans saving in PostScript format.
Epsmeans saving in Encapsulated PostScript format.

Methods

MethodDescription
values()
valueOf(String name)
getValue()

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

public static final SaveFormat None

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)

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

Ps

public static final SaveFormat Ps

means saving in PostScript format.

Eps

public static final SaveFormat Eps

means saving in Encapsulated PostScript format.

values()

public static SaveFormat[] values()

Returns: com.aspose.pdf.SaveFormat[]

valueOf(String name)

public static SaveFormat valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: SaveFormat

getValue()

public int getValue()

Returns: int