-
Couldn't load subscription status.
- Fork 1
Support for OpenOffice Word
Aspose edited this page Mar 17, 2014
·
1 revision
ODT and OTT is a file extension for a word file format used by OpenOffice.org in the OASIS Open Document standard.
The Open Document Format (ODF) is an XML-based open source file format for saving and exchanging text, spreadsheets, charts, and presentations.
Besides ODP, the most commonly encountered OpenDocuments extensions include:
- ODT for text files
- ODC for charts
- ODS for spreadsheets
- ODG for graphics
- ODF for formulas or other mathematical equations.
public static void ConvertingFromOdt()
{
Document doc = new Document(MyDir+"OpenOfficeWord.odt");
doc.Save("ConvertedOdtFromDoc.docx",SaveFormat.Docx);
}
public static void ConvertingFromOtt()
{
Document doc = new Document(MyDir + "Sample.ott");
doc.Save("ConvertedFromOttFromDoc.docx", SaveFormat.Docx);
}
public static void ConvertingToOdt()
{
Document doc = new Document(MyDir + "ConvertedOdtFromDoc.docx");
doc.Save("ConvertedToODT.odt", SaveFormat.Odt);
}
Download