public class WordProcessingFormats extends com.aspose.ms.lang.Struct<WordProcessingFormats> implements IDocumentFormat
Encapsulates all WordProcessing formats
Modifier and Type | Class and Description |
---|---|
static class |
WordProcessingFormats.AllEnumerable
Implements IEnumerable generic interface, that enables a 'foreach'
possibility for the WordProcessingFormats type
|
Modifier and Type | Field and Description |
---|---|
static WordProcessingFormats.AllEnumerable |
All
Returns an internal class, that provides enumerable possibilities over
all existing WordProcessing formats
|
static WordProcessingFormats |
Doc
MS Word 97-2007 Binary File Format (DOC)
|
static WordProcessingFormats |
Docm
Office Open XML WordProcessingML Macro-Enabled Document (DOCM)
|
static WordProcessingFormats |
Docx
Office Open XML WordProcessingML Macro-Free Document (DOCX)
|
static WordProcessingFormats |
Dot
MS Word 97-2007 Template
|
static WordProcessingFormats |
Dotm
Office Open XML WordprocessingML Macro-Enabled Template (DOTM)
|
static WordProcessingFormats |
Dotx
Office Open XML WordprocessingML Macro-Free Template (DOTX)
|
static WordProcessingFormats |
FlatOpc
Office Open XML WordprocessingML stored in a flat XML file instead of a
ZIP package
|
static WordProcessingFormats |
Odt
Open Document Format Text Document (ODT)
|
static WordProcessingFormats |
Ott
Open Document Format Text Document Template (OTT)
|
static WordProcessingFormats |
Rtf
Rich Text Format (RTF)
|
static WordProcessingFormats |
WordML
Microsoft Office Word 2003 XML Format — WordProcessingML or WordML (.XML)
|
Constructor and Description |
---|
WordProcessingFormats() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
WordProcessingFormats |
Clone() |
void |
CloneTo(WordProcessingFormats that) |
boolean |
equals(IDocumentFormat other)
Determines whether this instance is equal to the other specified
IDocumentFormat instance
|
boolean |
equals(Object obj)
Determines whether this instance is equal to the other specified object,
that is presumably of boxed WordProcessingFormats
|
boolean |
equals(WordProcessingFormats other)
Determines whether this instance is equal to the other specified
WordProcessingFormats instance
|
static boolean |
equals(WordProcessingFormats obj1,
WordProcessingFormats obj2) |
static WordProcessingFormats |
fromExtension(String extension)
Returns instance of
WordProcessingFormats structure, associated
to specified filename extension, or throws an exception, if extension
cannot be properly parsed |
String |
getExtension()
Returns an extension (without leading dot character) of this
WordProcessing format in lower case
|
String |
getName()
Returns a formal full name of this WordProcessing format
|
int |
hashCode()
Returns a hash-code, that is immutable for this instance
|
static boolean |
op_Equality(WordProcessingFormats first,
WordProcessingFormats second)
Checks two given WordProcessingFormats instances on equality
|
static boolean |
op_Inequality(WordProcessingFormats first,
WordProcessingFormats second)
Checks two given WordProcessingFormats instances on inequality
|
public static final WordProcessingFormats.AllEnumerable All
Returns an internal class, that provides enumerable possibilities over all existing WordProcessing formats
public static final WordProcessingFormats Doc
MS Word 97-2007 Binary File Format (DOC)
public static final WordProcessingFormats Docm
Office Open XML WordProcessingML Macro-Enabled Document (DOCM)
public static final WordProcessingFormats Docx
Office Open XML WordProcessingML Macro-Free Document (DOCX)
public static final WordProcessingFormats Dot
MS Word 97-2007 Template
public static final WordProcessingFormats Dotm
Office Open XML WordprocessingML Macro-Enabled Template (DOTM)
public static final WordProcessingFormats Dotx
Office Open XML WordprocessingML Macro-Free Template (DOTX)
public static final WordProcessingFormats FlatOpc
Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package
public static final WordProcessingFormats Odt
Open Document Format Text Document (ODT)
public static final WordProcessingFormats Ott
Open Document Format Text Document Template (OTT)
public static final WordProcessingFormats Rtf
Rich Text Format (RTF)
public static final WordProcessingFormats WordML
Microsoft Office Word 2003 XML Format — WordProcessingML or WordML (.XML)
public WordProcessingFormats Clone()
Clone
in class com.aspose.ms.System.ValueType<WordProcessingFormats>
public void CloneTo(WordProcessingFormats that)
CloneTo
in class com.aspose.ms.System.ValueType<WordProcessingFormats>
public final boolean equals(IDocumentFormat other)
Determines whether this instance is equal to the other specified IDocumentFormat instance
other
- Other IDocumentFormat instance. If it is not a
WordProcessingFormats, method will return 'false'public boolean equals(Object obj)
Determines whether this instance is equal to the other specified object, that is presumably of boxed WordProcessingFormats
equals
in interface com.aspose.ms.System.IEquatable<IDocumentFormat>
equals
in class Object
obj
- Other boxed WordProcessingFormats instancepublic final boolean equals(WordProcessingFormats other)
Determines whether this instance is equal to the other specified WordProcessingFormats instance
other
- Other WordProcessingFormats instance, that should be checked
on equality with thispublic static boolean equals(WordProcessingFormats obj1, WordProcessingFormats obj2)
public static WordProcessingFormats fromExtension(String extension)
Returns instance of WordProcessingFormats
structure, associated
to specified filename extension, or throws an exception, if extension
cannot be properly parsed
extension
- Filename extension of any supportable WordProcessing
format, with or without leading dot character, case-independent. Cannot
be NULL or empty, should be valid.WordProcessingFormats
structure on success or
thrown exception on failurepublic final String getExtension()
Returns an extension (without leading dot character) of this WordProcessing format in lower case
getExtension
in interface IDocumentFormat
public final String getName()
Returns a formal full name of this WordProcessing format
getName
in interface IDocumentFormat
public int hashCode()
Returns a hash-code, that is immutable for this instance
public static boolean op_Equality(WordProcessingFormats first, WordProcessingFormats second)
Checks two given WordProcessingFormats instances on equality
first
- First WordProcessingFormats instance to checksecond
- Second WordProcessingFormats instance to checkpublic static boolean op_Inequality(WordProcessingFormats first, WordProcessingFormats second)
Checks two given WordProcessingFormats instances on inequality
first
- First WordProcessingFormats instance to checksecond
- Second WordProcessingFormats instance to check