WordProcessingSaveFileFormat

Inheritance: java.lang.Object

public final class WordProcessingSaveFileFormat

Defines different save file formats for WordProcessing documents.

Fields

Field Description
Default File Format will not be changed.
Doc Saves the document as Microsoft Word 97-2003 document.
Dot Saves the document as Microsoft Word 97-2003 template.
Docx Saves the document as Microsoft Word OpenXML document.
Docm Saves the document as Microsoft Word OpenXML macro-enabled document.
Dotx Saves the document as Microsoft Word OpenXML template.
Dotm Saves the document as Microsoft Word OpenXML macro-enabled template.
FlatOpc Saves the document as an Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package.
FlatOpcMacroEnabled Saves the document as an Office Open XML WordprocessingML Macro-Enabled Document stored in a flat XML file instead of a ZIP package.
FlatOpcTemplate Saves the document as an Office Open XML WordprocessingML Template (macro-free) stored in a flat XML file instead of a ZIP package.
FlatOpcTemplateMacroEnabled Saves the document as an Office Open XML WordprocessingML Macro-Enabled Template stored in a flat XML file instead of a ZIP package.
Rtf Saves the document in the RTF Format.
WordML Saves the document in the Microsoft Word 2003 WordprocessingML Format.
Pdf Saves the document as PDF (Adobe Portable Document) Format.
Xps Saves the document in the XPS (XML Paper Specification) Format.
Ps Saves the document in the PS (PostScript) Format.
Mhtml Saves the document in the MHTML (Web archive) Format.
Epub Saves the document in the IDPF EPUB Format.
Odt Saves the document as Open Office document.
Ott Saves the document as Open Office document template.
Text Saves the document in the plain text format.
Tiff Renders a page or pages of the document and saves them into a single or multi-page TIFF file.
Png Renders a page of the document and saves it as a PNG file.
Bmp Renders a page of the document and saves it as a BMP file.
Emf Renders a page of the document and saves it as a vector EMF (Enhanced Meta File) file.
Jpeg Renders a page of the document and saves it as a JPEG file.
Azw3 Renders a page of the document and saves it as a Azw3 file.

Default

public static final int Default

File Format will not be changed.

Doc

public static final int Doc

Saves the document as Microsoft Word 97-2003 document.

Dot

public static final int Dot

Saves the document as Microsoft Word 97-2003 template.

Docx

public static final int Docx

Saves the document as Microsoft Word OpenXML document.

Docm

public static final int Docm

Saves the document as Microsoft Word OpenXML macro-enabled document.

Dotx

public static final int Dotx

Saves the document as Microsoft Word OpenXML template.

Dotm

public static final int Dotm

Saves the document as Microsoft Word OpenXML macro-enabled template.

FlatOpc

public static final int FlatOpc

Saves the document as an Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package.

FlatOpcMacroEnabled

public static final int FlatOpcMacroEnabled

Saves the document as an Office Open XML WordprocessingML Macro-Enabled Document stored in a flat XML file instead of a ZIP package.

FlatOpcTemplate

public static final int FlatOpcTemplate

Saves the document as an Office Open XML WordprocessingML Template (macro-free) stored in a flat XML file instead of a ZIP package.

FlatOpcTemplateMacroEnabled

public static final int FlatOpcTemplateMacroEnabled

Saves the document as an Office Open XML WordprocessingML Macro-Enabled Template stored in a flat XML file instead of a ZIP package.

Rtf

public static final int Rtf

Saves the document in the RTF Format. All characters above 7-bits are escaped as hexadecimal or Unicode characters.

WordML

public static final int WordML

Saves the document in the Microsoft Word 2003 WordprocessingML Format.

Pdf

public static final int Pdf

Saves the document as PDF (Adobe Portable Document) Format.

Xps

public static final int Xps

Saves the document in the XPS (XML Paper Specification) Format.

Ps

public static final int Ps

Saves the document in the PS (PostScript) Format.

Mhtml

public static final int Mhtml

Saves the document in the MHTML (Web archive) Format.

Epub

public static final int Epub

Saves the document in the IDPF EPUB Format.

Odt

public static final int Odt

Saves the document as Open Office document.

Ott

public static final int Ott

Saves the document as Open Office document template.

Text

public static final int Text

Saves the document in the plain text format.

Tiff

public static final int Tiff

Renders a page or pages of the document and saves them into a single or multi-page TIFF file.

Png

public static final int Png

Renders a page of the document and saves it as a PNG file.

Bmp

public static final int Bmp

Renders a page of the document and saves it as a BMP file.

Emf

public static final int Emf

Renders a page of the document and saves it as a vector EMF (Enhanced Meta File) file.

Jpeg

public static final int Jpeg

Renders a page of the document and saves it as a JPEG file.

Azw3

public static final int Azw3

Renders a page of the document and saves it as a Azw3 file.