com.groupdocs.assembly

Class FileFormat

  • java.lang.Object
    • com.groupdocs.assembly.FileFormat


  • public final class FileFormat
    extends java.lang.Object
    A utility class providing constants. Specifies the format of a file.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int DOC
      Specifies the Microsoft Word 97 - 2007 Binary Document format.
      static int DOCM
      Specifies the Office Open XML WordprocessingML Macro-Enabled Document format.
      static int DOCX
      Specifies the Office Open XML WordprocessingML Document (macro-free) format.
      static int DOT
      Specifies the Microsoft Word 97 - 2007 Binary Template format.
      static int DOTM
      Specifies the Office Open XML WordprocessingML Macro-Enabled Template format.
      static int DOTX
      Specifies the Office Open XML WordprocessingML Template (macro-free) format.
      static int EML
      Specifies the MIME standard format.
      static int EMLX
      Specifies the Apple Mail.app program file format.
      static int EPUB
      Specifies the IDPF EPUB format.
      static int FLAT_OPC
      Specifies the Office Open XML WordprocessingML format stored in a flat XML file instead of a ZIP package.
      static int FLAT_OPC_MACRO_ENABLED
      Specifies the Office Open XML WordprocessingML Macro-Enabled Document format stored in a flat XML file instead of a ZIP package.
      static int FLAT_OPC_TEMPLATE
      Specifies the Office Open XML WordprocessingML Template (macro-free) format stored in a flat XML file instead of a ZIP package.
      static int FLAT_OPC_TEMPLATE_MACRO_ENABLED
      Specifies the Office Open XML WordprocessingML Macro-Enabled Template format stored in a flat XML file instead of a ZIP package.
      static int HTML
      Specifies the HTML format.
      static int length 
      static int MARKDOWN
      Specifies the Markdown format.
      static int MHTML
      Specifies the MHTML (Web archive) format.
      static int MSG_ASCII
      Specifies the Microsoft Outlook Message (MSG) format using ASCII character encoding.
      static int MSG_UNICODE
      Specifies the Microsoft Outlook Message (MSG) format using Unicode character encoding.
      static int ODP
      Specifies the ODF Presentation format.
      static int ODS
      Specifies the ODF Spreadsheet format.
      static int ODT
      Specifies the ODF Text Document format.
      static int OPEN_XPS
      Specifies the OpenXPS (Ecma-388) format.
      static int OTT
      Specifies the ODF Text Document Template format.
      static int PCL
      Specifies the PCL (Printer Control Language) format.
      static int PDF
      Specifies the PDF (Adobe Portable Document) format.
      static int POTM
      Specifies the Office Open XML PresentationML Macro-Enabled Template format.
      static int POTX
      Specifies the Office Open XML PresentationML Template (macro-free) format.
      static int PPS
      Specifies the Microsoft PowerPoint 97 - 2007 Binary Slide Show format.
      static int PPSM
      Specifies the Office Open XML PresentationML Macro-Enabled Slide Show format.
      static int PPSX
      Specifies the Office Open XML PresentationML Slide Show (macro-free) format.
      static int PPT
      Specifies the Microsoft PowerPoint 97 - 2007 Binary Presentation format.
      static int PPTM
      Specifies the Office Open XML PresentationML Macro-Enabled Presentation format.
      static int PPTX
      Specifies the Office Open XML PresentationML Presentation (macro-free) format.
      static int PS
      Specifies the PS (PostScript) format.
      static int RTF
      Specifies the RTF format.
      static int SPREADSHEET_ML 
      static int SVG
      Specifies the SVG (Scalable Vector Graphics) format.
      static int TEXT
      Specifies the plain text format.
      static int TIFF
      Specifies the TIFF format.
      static int UNSPECIFIED
      Specifies an unset value.
      static int WORD_ML 
      static int XAML
      Specifies the Extensible Application Markup Language (XAML) format.
      static int XAML_PACKAGE
      Specifies the Extensible Application Markup Language (XAML) package format.
      static int XLAM
      Specifies the Office Open XML SpreadsheetML Macro-Enabled Add-in format.
      static int XLS
      Specifies the Microsoft Excel 97 - 2007 Binary Workbook format.
      static int XLSB
      Specifies the Microsoft Excel 2007 Macro-Enabled Binary File format.
      static int XLSM
      Specifies the Office Open XML SpreadsheetML Macro-Enabled Workbook format.
      static int XLSX
      Specifies the Office Open XML SpreadsheetML Workbook (macro-free) format.
      static int XLTM
      Specifies the Office Open XML SpreadsheetML Macro-Enabled Template format.
      static int XLTX
      Specifies the Office Open XML SpreadsheetML Template (macro-free) format.
      static int XML
      Specifies the XML format of a general form.
      static int XPS
      Specifies the XPS (XML Paper Specification) format.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int fromName(java.lang.String fileFormatName) 
      static java.lang.String getName(int fileFormat) 
      static int[] getValues() 
      static java.lang.String toString(int fileFormat) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • UNSPECIFIED

        public static final int UNSPECIFIED
        Specifies an unset value. The default.
      • DOC

        public static final int DOC
        Specifies the Microsoft Word 97 - 2007 Binary Document format.
      • DOT

        public static final int DOT
        Specifies the Microsoft Word 97 - 2007 Binary Template format.
      • DOCX

        public static final int DOCX
        Specifies the Office Open XML WordprocessingML Document (macro-free) format.
      • DOCM

        public static final int DOCM
        Specifies the Office Open XML WordprocessingML Macro-Enabled Document format.
      • DOTX

        public static final int DOTX
        Specifies the Office Open XML WordprocessingML Template (macro-free) format.
      • DOTM

        public static final int DOTM
        Specifies the Office Open XML WordprocessingML Macro-Enabled Template format.
      • FLAT_OPC

        public static final int FLAT_OPC
        Specifies the Office Open XML WordprocessingML format stored in a flat XML file instead of a ZIP package.
      • FLAT_OPC_MACRO_ENABLED

        public static final int FLAT_OPC_MACRO_ENABLED
        Specifies the Office Open XML WordprocessingML Macro-Enabled Document format stored in a flat XML file instead of a ZIP package.
      • FLAT_OPC_TEMPLATE

        public static final int FLAT_OPC_TEMPLATE
        Specifies the Office Open XML WordprocessingML Template (macro-free) format stored in a flat XML file instead of a ZIP package.
      • FLAT_OPC_TEMPLATE_MACRO_ENABLED

        public static final int FLAT_OPC_TEMPLATE_MACRO_ENABLED
        Specifies the Office Open XML WordprocessingML Macro-Enabled Template format stored in a flat XML file instead of a ZIP package.
      • WORD_ML

        public static final int WORD_ML
      • ODT

        public static final int ODT
        Specifies the ODF Text Document format.
      • OTT

        public static final int OTT
        Specifies the ODF Text Document Template format.
      • XLS

        public static final int XLS
        Specifies the Microsoft Excel 97 - 2007 Binary Workbook format.
      • XLSX

        public static final int XLSX
        Specifies the Office Open XML SpreadsheetML Workbook (macro-free) format.
      • XLSM

        public static final int XLSM
        Specifies the Office Open XML SpreadsheetML Macro-Enabled Workbook format.
      • XLTX

        public static final int XLTX
        Specifies the Office Open XML SpreadsheetML Template (macro-free) format.
      • XLTM

        public static final int XLTM
        Specifies the Office Open XML SpreadsheetML Macro-Enabled Template format.
      • XLAM

        public static final int XLAM
        Specifies the Office Open XML SpreadsheetML Macro-Enabled Add-in format.
      • XLSB

        public static final int XLSB
        Specifies the Microsoft Excel 2007 Macro-Enabled Binary File format.
      • SPREADSHEET_ML

        public static final int SPREADSHEET_ML
      • ODS

        public static final int ODS
        Specifies the ODF Spreadsheet format.
      • PPT

        public static final int PPT
        Specifies the Microsoft PowerPoint 97 - 2007 Binary Presentation format.
      • PPS

        public static final int PPS
        Specifies the Microsoft PowerPoint 97 - 2007 Binary Slide Show format.
      • PPTX

        public static final int PPTX
        Specifies the Office Open XML PresentationML Presentation (macro-free) format.
      • PPTM

        public static final int PPTM
        Specifies the Office Open XML PresentationML Macro-Enabled Presentation format.
      • PPSX

        public static final int PPSX
        Specifies the Office Open XML PresentationML Slide Show (macro-free) format.
      • PPSM

        public static final int PPSM
        Specifies the Office Open XML PresentationML Macro-Enabled Slide Show format.
      • POTX

        public static final int POTX
        Specifies the Office Open XML PresentationML Template (macro-free) format.
      • POTM

        public static final int POTM
        Specifies the Office Open XML PresentationML Macro-Enabled Template format.
      • ODP

        public static final int ODP
        Specifies the ODF Presentation format.
      • MSG_ASCII

        public static final int MSG_ASCII
        Specifies the Microsoft Outlook Message (MSG) format using ASCII character encoding.
      • MSG_UNICODE

        public static final int MSG_UNICODE
        Specifies the Microsoft Outlook Message (MSG) format using Unicode character encoding.
      • EML

        public static final int EML
        Specifies the MIME standard format.
      • EMLX

        public static final int EMLX
        Specifies the Apple Mail.app program file format.
      • RTF

        public static final int RTF
        Specifies the RTF format.
      • TEXT

        public static final int TEXT
        Specifies the plain text format.
      • XML

        public static final int XML
        Specifies the XML format of a general form.
      • XAML

        public static final int XAML
        Specifies the Extensible Application Markup Language (XAML) format.
      • XAML_PACKAGE

        public static final int XAML_PACKAGE
        Specifies the Extensible Application Markup Language (XAML) package format.
      • HTML

        public static final int HTML
        Specifies the HTML format.
      • MHTML

        public static final int MHTML
        Specifies the MHTML (Web archive) format.
      • XPS

        public static final int XPS
        Specifies the XPS (XML Paper Specification) format.
      • OPEN_XPS

        public static final int OPEN_XPS
        Specifies the OpenXPS (Ecma-388) format.
      • PDF

        public static final int PDF
        Specifies the PDF (Adobe Portable Document) format.
      • EPUB

        public static final int EPUB
        Specifies the IDPF EPUB format.
      • PS

        public static final int PS
        Specifies the PS (PostScript) format.
      • PCL

        public static final int PCL
        Specifies the PCL (Printer Control Language) format.
      • SVG

        public static final int SVG
        Specifies the SVG (Scalable Vector Graphics) format.
      • TIFF

        public static final int TIFF
        Specifies the TIFF format.
      • MARKDOWN

        public static final int MARKDOWN
        Specifies the Markdown format.
      • length

        public static final int length
    • Method Detail

      • getName

        public static java.lang.String getName(int fileFormat)
      • toString

        public static java.lang.String toString(int fileFormat)
      • fromName

        public static int fromName(java.lang.String fileFormatName)
      • getValues

        public static int[] getValues()