com.groupdocs.editor.metadata

Interface IDocumentInfo

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      IDocumentFormat getFormat()
      Returns a document format
      int getPageCount()
      In implementing type should return count (number) of pages or other similar format-dependent entities (tabs, slides etc.).
      long getSize()
      Document size in bytes
      boolean isEncrypted()
      Indicates whether specific file is encrypted and requires password for opening.
    • Method Detail

      • getFormat

        IDocumentFormat getFormat()

        Returns a document format

        Returns:
      • getPageCount

        int getPageCount()

        In implementing type should return count (number) of pages or other similar format-dependent entities (tabs, slides etc.). For those family types, that don't have something similar (like plain text documents or XML) should return 1.

        Returns:
      • getSize

        long getSize()

        Document size in bytes

        Returns:
      • isEncrypted

        boolean isEncrypted()

        Indicates whether specific file is encrypted and requires password for opening. For the document types, that cannot be encrypted (like all text-based) should always return 'false'.

        Returns: