java.lang.Object
com.aspose.words.LoadFormat
public class LoadFormat
- extends java.lang.Object
Utility class containing constants.
Indicates the format of the document that is to be loaded.
Example:
Explicitly loads a document as HTML without automatic file format detection.
Document doc = new Document(getMyDir() + "Document.LoadFormat.html", LoadFormat.HTML, null);
Field Summary |
static final int | AUTO | |
Instructs Aspose.Words to recognize the format automatically.
|
static final int | DOC | |
Microsoft Word 97 - 2003 Document format.
|
static final int | DOCX | |
Microsoft Office 2007 Open XML format.
|
static final int | RTF | |
RTF format.
|
static final int | HTML | |
HTML format.
|
static final int | ODT | |
OpenDocument Text format (OpenOffice Writer) format. Beta!
|
static final int | UNKNOWN | |
Unrecognized format, cannot be loaded by Aspose.Words.
|
AUTO | |
public static final int AUTO |
-
Instructs Aspose.Words to recognize the format automatically.
DOC | |
public static final int DOC |
-
Microsoft Word 97 - 2003 Document format.
DOCX | |
public static final int DOCX |
-
Microsoft Office 2007 Open XML format.
RTF | |
public static final int RTF |
-
RTF format.
HTML | |
public static final int HTML |
-
HTML format.
ODT | |
public static final int ODT |
-
OpenDocument Text format (OpenOffice Writer) format. Beta!
UNKNOWN | |
public static final int UNKNOWN |
-
Unrecognized format, cannot be loaded by Aspose.Words.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.