WordProcessingFormat

Contents
[ ]

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

All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue

public enum WordProcessingFormat extends Enum<WordProcessingFormat> implements IEnumValue

Defines various word processing document subformats.

Fields

Field Description
Unknown The format is not recognized.
Doc Represents the .DOC Word format.
Docm Represents the .DOCM Word format.
Docx Represents the .DOCX Word format.
Dot Represents the .DOT Word format.
Dotx Represents the .DOTX Word format.
Dotm Represents the .DOTM Word format.
Odt Represents the .ODT format.

Methods

Method Description
values()
valueOf(String name)
getByRawValue(int rawValue)
getFirst()
getAllValues()
getEnumValueByRawValue(int rawValue)
getEnumValueByName(String name)
getRawValueType()
getRawValue()

Unknown

public static final WordProcessingFormat Unknown

The format is not recognized.

Doc

public static final WordProcessingFormat Doc

Represents the .DOC Word format. Files with .doc extension represent documents generated by Microsoft Word or other word processing applications in binary file format. The extension was initially used for plain text documentation on several different operating systems. It can contain several different types of data such as images, formatted as well as plain text, graphs, charts, embedded objects, links, pages, page formatting, print settings and a lot others. Learn more about this file format here .

Docm

public static final WordProcessingFormat Docm

Represents the .DOCM Word format. DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. It is similar to DOCX file format but the ability to run macros makes it different from DOCX. Like DOCX, DOCM files can be store text, images, tables, shapes, charts and other contents. Learn more about this file format here .

Docx

public static final WordProcessingFormat Docx

Represents the .DOCX Word format. DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions. Learn more about this file format here .

Dot

public static final WordProcessingFormat Dot

Represents the .DOT Word format. Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. A template file is created in order to have specific user settings that should be applied to subsequent files created from these. Learn more about this file format here .

Dotx

public static final WordProcessingFormat Dotx

Represents the .DOTX Word format. Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. A template file is created in order to have specific user settings that should be applied to subsequent flies created from these. Learn more about this file format here .

Dotm

public static final WordProcessingFormat Dotm

Represents the .DOTM Word format. A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. It is similar to the popular DOCX file format other than it retains the user defined settings for reuse in case of creating new documents. Learn more about this file format here .

Odt

public static final WordProcessingFormat Odt

Represents the .ODT format. ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format here .

values()

public static WordProcessingFormat[] values()

Returns: com.groupdocs.metadata.core.WordProcessingFormat[]

valueOf(String name)

public static WordProcessingFormat valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: WordProcessingFormat

getByRawValue(int rawValue)

public static WordProcessingFormat getByRawValue(int rawValue)

Parameters:

Parameter Type Description
rawValue int

Returns: WordProcessingFormat

getFirst()

public static IEnumValue getFirst()

Returns: IEnumValue

getAllValues()

public Object[] getAllValues()

Returns the array of all values defined in the class.

Returns: java.lang.Object[]

getEnumValueByRawValue(int rawValue)

public IEnumValue getEnumValueByRawValue(int rawValue)

Returns the enumeration value by the raw value associated with it.

Parameters:

Parameter Type Description
rawValue int

Returns: IEnumValue

getEnumValueByName(String name)

public IEnumValue getEnumValueByName(String name)

Returns the enumeration value by its name.

Parameters:

Parameter Type Description
name java.lang.String

Returns: IEnumValue

getRawValueType()

public RawIntegerType getRawValueType()

Returns the underlying type of the raw value of this enumeration value.

Returns: RawIntegerType

getRawValue()

public int getRawValue()

Returns the raw value of this enumeration value.

Returns: int