Supported Document Formats

The following tables contain the file formats supported by GroupDocs.Assembly for Python via .NET. A template of any of these formats can be loaded and filled with data. The report is saved in the format of its file extension, or of the format named by LoadSaveOptions(FileFormat....); which report formats a template can be saved to depends on its family, as the last table shows.

Platform notes

The package runs the same engine on every platform, so the tables below hold on Windows, Linux and macOS, with these exceptions:

  • Presentations on Linux and macOS need libgdiplus. Without it no presentation template (PPT, PPTX, ODP and the others) can be filled: the call raises “The type initializer for ‘Gdip’ threw an exception”. Word processing, spreadsheet, email, HTML and text templates do not need it. See System Requirements.
  • On Linux, a presentation cannot be saved as TIFF (“Not implemented”); save it as PDF instead.
  • Text and HTML templates should start with a UTF-8 byte order mark. A text or HTML template without one, that holds only ASCII characters, is read as an ANSI document, and the report is written in the Windows-1252 code page on every platform: “Café” becomes a single byte that a UTF-8 reader cannot show. With the mark the report is UTF-8. The sample templates of this documentation have it.

Word Processing

FormatDescriptionTemplateReport
DOCMicrosoft Word 97-2003 Document✔✔
DOTMicrosoft Word 97-2003 Template✔✔
DOCXOffice Open XML Document✔✔
DOCMOffice Open XML Document, macro-enabled✔✔
DOTXOffice Open XML Template✔✔
DOTMOffice Open XML Template, macro-enabled✔✔
RTFRich Text Format✔✔
ODTOpenDocument Text✔✔
OTTOpenDocument Text Template✔✔
TXTPlain text✔✔
MDMarkdown✔✔

Spreadsheet

FormatDescriptionTemplateReport
XLSMicrosoft Excel 97-2003 Workbook✔✔
XLTMicrosoft Excel 97-2003 Template✔✔
XLSXOffice Open XML Workbook✔✔
XLSMOffice Open XML Workbook, macro-enabled✔✔
XLTXOffice Open XML Workbook Template✔✔
XLTMOffice Open XML Workbook Template, macro-enabled✔✔
XLSBExcel Binary Workbook✔✔
ODSOpenDocument Spreadsheet✔✔

Presentation

FormatDescriptionTemplateReport
PPTMicrosoft PowerPoint 97-2003 Presentation✔✔
PPSMicrosoft PowerPoint 97-2003 Slide Show✔✔
POTMicrosoft PowerPoint 97-2003 Template✔✔
PPTXOffice Open XML Presentation✔✔
PPTMOffice Open XML Presentation, macro-enabled✔✔
PPSXOffice Open XML Slide Show✔✔
PPSMOffice Open XML Slide Show, macro-enabled✔✔
POTXOffice Open XML Presentation Template✔✔
POTMOffice Open XML Presentation Template, macro-enabled✔✔
ODPOpenDocument Presentation✔✔
OTPOpenDocument Presentation Template✔✔

Email

FormatDescriptionTemplateReport
MSGMicrosoft Outlook Message✔✔
EMLE-mail Message (MIME)✔✔
EMLXApple Mail Message✔✔

Web

FormatDescriptionTemplateReport
HTMLHyperText Markup Language✔✔
MHTMLMIME HTML web archive✔✔

Report-only formats

FormatDescriptionTemplateReport
PDFPortable Document Format✔
XPSXML Paper Specification✔
OXPSOpenXPS✔
TIFFTagged Image File Format✔
SVGScalable Vector Graphics✔
PSPostScript✔
PCLPrinter Command Language✔
XAMLExtensible Application Markup Language✔
EPUBElectronic Publication✔

Report formats by template family

Each template family can be saved to the formats below. Saving to another format raises an error (“The document cannot be saved to the given format”).

Template familyReport formats
Word processing (DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF, ODT, OTT, TXT, MD), HTML, MHTMLAny word-processing format, HTML, MHTML, PDF, XPS, OXPS, TIFF, SVG, PS, PCL, XAML, EPUB
Spreadsheet (XLS, XLT, XLSX, XLSM, XLTX, XLTM, XLSB, ODS)Any spreadsheet format, HTML, MHTML, PDF, XPS, TIFF, PCL
Presentation (PPT, PPS, POT, PPTX, PPTM, PPSX, PPSM, POTX, POTM, ODP, OTP)Any presentation format, HTML, PDF, XPS, TIFF
Email (MSG, EML, EMLX)Any email format, MHTML, PDF, TIFF, SVG, PS, PCL, and from MSG or EMLX also HTML, XPS, OXPS, XAML, EPUB, Markdown, plain text and DOCX

An MHTML template can also be saved as an email message (MSG, EML). An EML template whose message has only a plain-text body loses that text when it is saved to HTML, Markdown, plain text, XPS, OXPS, XAML, EPUB or DOCX; save it as an email, MHTML or PDF instead. A Markdown template saved as MHTML loses its text too; save it as HTML instead.

Tip
Can’t find your file format? Please post a request on our Free Support Forum, and our team will assist you.
Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.