com.groupdocs.editor.formats

Class WordProcessingFormats

    • Field Detail

      • Doc

        public static final WordProcessingFormats Doc

        MS Word 97-2007 Binary File Format (DOC)


        https://en.wikipedia.org/wiki/Doc_(computing)
      • Docm

        public static final WordProcessingFormats Docm

        Office Open XML WordProcessingML Macro-Enabled Document (DOCM)

      • Docx

        public static final WordProcessingFormats Docx

        Office Open XML WordProcessingML Macro-Free Document (DOCX)

      • Dotm

        public static final WordProcessingFormats Dotm

        Office Open XML WordprocessingML Macro-Enabled Template (DOTM)

      • Dotx

        public static final WordProcessingFormats Dotx

        Office Open XML WordprocessingML Macro-Free Template (DOTX)

      • FlatOpc

        public static final WordProcessingFormats FlatOpc

        Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package


        https://en.wikipedia.org/wiki/Open_Packaging_Conventions
      • Rtf

        public static final WordProcessingFormats Rtf

        Rich Text Format (RTF)


        https://en.wikipedia.org/wiki/Rich_Text_Format
      • WordML

        public static final WordProcessingFormats WordML

        Microsoft Office Word 2003 XML Format — WordProcessingML or WordML (.XML)


        https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats
    • Constructor Detail

      • WordProcessingFormats

        public WordProcessingFormats()
    • 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 WordProcessingFormats, 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 WordProcessingFormats

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

        public final boolean equals(WordProcessingFormats other)

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

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

        public static WordProcessingFormats fromExtension(String extension)

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

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

        public final String getExtension()

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

        Specified by:
        getExtension in interface IDocumentFormat
        Returns:
      • getName

        public final String getName()

        Returns a formal full name of this WordProcessing 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(WordProcessingFormats first,
                          WordProcessingFormats second)

        Checks two given WordProcessingFormats instances on equality

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

        public static boolean op_Inequality(WordProcessingFormats first,
                            WordProcessingFormats second)

        Checks two given WordProcessingFormats instances on inequality

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