WordProcessingFormats
Inheritance: java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase
public class WordProcessingFormats extends DocumentFormatBase
Encapsulates all WordProcessing formats. Includes the following file types: Doc, Docm, Docx, Dot, Dotm, Dotx, FlatOpc, Odt, Ott, Rtf, WordML. Learn more about Word Processing formats here.
MIME codes are grabbed from the given resources: https://filext.com/faq/office_mime_types.html https://docs.microsoft.com/en-us/previous-versions//cc179224(v=technet.10)
Fields
Field | Description |
---|---|
Doc | MS Word 97-2007 Binary File Format (DOC) represents documents generated by Microsoft Word or other word processing documents in binary file format. |
Docx | Office Open XML WordProcessingML Macro-Free Document (DOCX) is a well-known format for Microsoft Word documents. |
Dot | MS Word 97-2007 Template (DOT) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. |
Docm | Office Open XML WordProcessingML Macro-Enabled Document (DOCM) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. |
Dotx | Office Open XML WordprocessingML Macro-Free Template (DOTX) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. |
Dotm | Office Open XML WordprocessingML Macro-Enabled Template (DOTM) represents template files created with Microsoft Word 2007 or higher. |
FlatOpc | Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. |
Rtf | Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. |
Odt | Open Document Format Text Document (ODT) files are type of documents created with word processing applications that are based on OpenDocument Text File format. |
Ott | Open Document Format Text Document Template (OTT) represent template documents generated by applications in compliance with the OASIS’ OpenDocument standard format. |
WordML | Microsoft Office Word 2003 XML Format \u2014 WordProcessingML or WordML (.XML). |
Methods
Method | Description |
---|---|
getAll() | Gets an enumerable collection of all WordProcessingFormats. |
fromExtension(String extension) | Retrieves an instance of the specified type WordProcessingFormats that has the specified file extension. |
fromString(String extension) | Converts a string representing a file extension to a WordProcessingFormats object. |
Doc
public static final WordProcessingFormats Doc
MS Word 97-2007 Binary File Format (DOC) represents documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format here .
Docx
public static final WordProcessingFormats Docx
Office Open XML WordProcessingML Macro-Free Document (DOCX) is a well-known format for Microsoft Word documents. Learn more about this file format here .
Dot
public static final WordProcessingFormats Dot
MS Word 97-2007 Template (DOT) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format here .
Docm
public static final WordProcessingFormats Docm
Office Open XML WordProcessingML Macro-Enabled Document (DOCM) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format here .
Dotx
public static final WordProcessingFormats Dotx
Office Open XML WordprocessingML Macro-Free Template (DOTX) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format here .
Dotm
public static final WordProcessingFormats Dotm
Office Open XML WordprocessingML Macro-Enabled Template (DOTM) represents template files created with Microsoft Word 2007 or higher. Learn more about this file format here .
FlatOpc
public static final WordProcessingFormats FlatOpc
Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package.
Rtf
public static final WordProcessingFormats Rtf
Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format here .
Odt
public static final WordProcessingFormats Odt
Open Document Format Text Document (ODT) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format here .
Ott
public static final WordProcessingFormats Ott
Open Document Format Text Document Template (OTT) represent template documents generated by applications in compliance with the OASIS’ OpenDocument standard format. Learn more about this file format here .
WordML
public static final WordProcessingFormats WordML
Microsoft Office Word 2003 XML Format \u2014 WordProcessingML or WordML (.XML).
https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats
getAll()
public static List<WordProcessingFormats> getAll()
Gets an enumerable collection of all WordProcessingFormats.
Value: An IEnumerable{WordProcessingFormats} containing all instances of WordProcessingFormats.
Returns: java.util.List<com.groupdocs.editor.formats.WordProcessingFormats>
fromExtension(String extension)
public static WordProcessingFormats fromExtension(String extension)
Retrieves an instance of the specified type WordProcessingFormats that has the specified file extension.
Parameters:
Parameter | Type | Description |
---|---|---|
extension | java.lang.String | The file extension of the document format. |
Returns: WordProcessingFormats - An instance of the specified type WordProcessingFormats with the specified file extension.
fromString(String extension)
public static WordProcessingFormats fromString(String extension)
Converts a string representing a file extension to a WordProcessingFormats object.
Parameters:
Parameter | Type | Description |
---|---|---|
extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. |
Returns: WordProcessingFormats - A WordProcessingFormats object corresponding to the specified file extension.