com.groupdocs.editor.formats

Class SpreadsheetFormats

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<IDocumentFormat>, IDocumentFormat


    public class SpreadsheetFormats
    extends com.aspose.ms.lang.Struct<SpreadsheetFormats>
    implements IDocumentFormat

    Encapsulates all binary, XML and textual Spreadsheet formats (excluding all textual delimiter-based formats with separator like CSV, TSV, semicolon-delimited etc.), in which the workbook can be saved.

    • Field Detail

      • All

        public static final SpreadsheetFormats.AllEnumerable All

        Returns an internal class, that provides enumerable possibilities over all existing Spreadsheet formats

      • Dif

        public static final SpreadsheetFormats Dif

        Data Interchange Format (DIF)


        https://en.wikipedia.org/wiki/Data_Interchange_Format
      • Fods

        public static final SpreadsheetFormats Fods

        Flat OpenDocument Spreadsheet (FODS) — stored as a single uncompressed XML document


        https://en.wikipedia.org/wiki/OpenDocument_technical_specification#Document_representation
      • Ods

        public static final SpreadsheetFormats Ods

        OpenDocument Spreadsheet (ODS)


        https://en.wikipedia.org/wiki/OpenDocument
      • SpreadsheetML

        public static final SpreadsheetFormats SpreadsheetML

        SpreadsheetML — Microsoft Office Excel 2002 and Excel 2003 XML Format


        https://en.wikipedia.org/wiki/SpreadsheetML https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats
      • Sxc

        public static final SpreadsheetFormats Sxc

        StarOffice or OpenOffice.org Calc XML Spreadsheet (SXC)


        https://en.wikipedia.org/wiki/OpenOffice.org_XML#File_formats
      • Xlam

        public static final SpreadsheetFormats Xlam

        Excel Add-in (XLAM)


        Excel add-in to add extra functionality and tools. Inherent macro support because of the file purpose.
      • Xls

        public static final SpreadsheetFormats Xls

        Excel 97-2003 Binary File Format (XLS)


        https://en.wikipedia.org/wiki/Microsoft_Excel#File_formats
      • Xlsb

        public static final SpreadsheetFormats Xlsb

        Excel Binary Workbook (XLSB)


        Excel Macro-enabled Workbook, but storing information in binary form rather than XML documents for opening and saving documents more quickly and efficiently — using a binary format (BIFF12). Intended especially for very large documents with tens of thousands of rows, and/or several hundreds of columns.
      • Xlsm

        public static final SpreadsheetFormats Xlsm

        Office Open XML Workbook Macro-Enabled (XLSM)


        https://en.wikipedia.org/wiki/Office_Open_XML
      • Xlsx

        public static final SpreadsheetFormats Xlsx

        Office Open XML Workbook Macro-Free (XLSX)


        https://en.wikipedia.org/wiki/Office_Open_XML
      • Xltm

        public static final SpreadsheetFormats Xltm

        Office Open XML Template Macro-Enabled (XLTM)

      • Xltx

        public static final SpreadsheetFormats Xltx

        Office Open XML Template Macro-Free (XLTX)

    • Constructor Detail

      • SpreadsheetFormats

        public SpreadsheetFormats()
    • Method Detail

      • equals

        public final boolean equals(IDocumentFormat other)

        Determines whether this instance is equal to the other specified IDocumentFormat instance

        Parameters:
        other - Other IDocumentFormat instance. If it is not a SpreadsheetFormats, method will return 'false'
        Returns:
        True if are equal, false if are unequal
      • equals

        public boolean equals(Object obj)

        Determines whether this instance is equal to the other specified object, that is presumably of boxed SpreadsheetFormats

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<IDocumentFormat>
        Overrides:
        equals in class Object
        Parameters:
        obj - Other boxed SpreadsheetFormats instance
        Returns:
        True if are equal, false if are unequal
      • equals

        public final boolean equals(SpreadsheetFormats other)

        Determines whether this instance is equal to the other specified SpreadsheetFormats instance

        Parameters:
        other - Other SpreadsheetFormats instance, that should be checked on equality with this
        Returns:
        True if are equal, false if are unequal
      • fromExtension

        public static SpreadsheetFormats fromExtension(String extension)

        Returns instance of SpreadsheetFormats structure, associated to specified filename extension, or throws an exception, if extension cannot be properly parsed

        Parameters:
        extension - Filename extension of any supportable Spreadsheet format, with or without leading dot character, case-independent. Cannot be NULL or empty, should be valid.
        Returns:
        Instance of SpreadsheetFormats structure on success or thrown exception on failure
      • getExtension

        public final String getExtension()

        Returns an extension (without leading dot character) of this Spreadsheet format in lower case

        Specified by:
        getExtension in interface IDocumentFormat
        Returns:
      • getName

        public final String getName()

        Returns a formal full name of this Spreadsheet format

        Specified by:
        getName in interface IDocumentFormat
        Returns:
      • hashCode

        public int hashCode()

        Returns a hash-code, that is immutable for this instance

        Overrides:
        hashCode in class Object
        Returns:
        Signed 4-byte integer
      • op_Equality

        public static boolean op_Equality(SpreadsheetFormats first,
                          SpreadsheetFormats second)

        Checks two given SpreadsheetFormats instances on equality

        Parameters:
        first - First SpreadsheetFormats instance to check
        second - Second SpreadsheetFormats instance to check
        Returns:
        True if are equal, false if are unequal
      • op_Inequality

        public static boolean op_Inequality(SpreadsheetFormats first,
                            SpreadsheetFormats second)

        Checks two given SpreadsheetFormats instances on inequality

        Parameters:
        first - First SpreadsheetFormats instance to check
        second - Second SpreadsheetFormats instance to check
        Returns:
        True if are not equal, false if are equal