com.groupdocs.editor.metadata

Class MarkdownDocumentInfo

  • All Implemented Interfaces:
    IDocumentInfo


    public class MarkdownDocumentInfo
    extends Object
    implements IDocumentInfo

    Represents metadata of one Markdown document

    • Method Detail

      • equals

        public final boolean equals(MarkdownDocumentInfo other)

        Determines whether this instance is equal to the other specified MarkdownDocumentInfo instance.

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

        public final int getPageCount()

        Returns number of pages. Markdown documents usually have no fixed pages and thus page count, so this number is calculated from standard page size set to A4 in portrait orientation.

        Specified by:
        getPageCount in interface IDocumentInfo
        Returns:
      • getSize

        public final long getSize()

        Returns size in bytes of this Markdown document

        Specified by:
        getSize in interface IDocumentInfo
        Returns:
      • isEncrypted

        public final boolean isEncrypted()

        Because Markdown documents cannot be encrypted with password, this property always returns 'false'

        Specified by:
        isEncrypted in interface IDocumentInfo
        Returns: