Interface IDocumentInfo

    • Method Detail

      • getPageCount

        int getPageCount()
        Returns:
        Number of pages
      • isAnnotated

        boolean isAnnotated()
        Returns:
        true if the document contains annotations
      • getBaseFormat

        String getBaseFormat()
        Returns:
        The description of the document's page format. Might be null if the document has an unknown or unsupported format
      • getSize

        Dimension2D getSize​(int pageIndex)
        Determine the size of a given page in Unit.JadiceDocumentUnit.
        Parameters:
        pageIndex - The index of the page (0-based). Value must be in range [0.. getPageCount()-1]
        Returns:
        The size of the page in Unit.JadiceDocumentUnit
      • getVerticalResolution

        float getVerticalResolution​(int pageIndex)
        Determine the vertical resolution of a given page in dpi.
        Parameters:
        pageIndex - The index of the page (0-based). Value must be in range [0.. getPageCount()-1]
        Returns:
        The vertical resolution of the page in dpi
      • getHorizontalResolution

        float getHorizontalResolution​(int pageIndex)
        Determine the horizontal resolution of a given page in dpi.
        Parameters:
        pageIndex - The index of the page (0-based). Value must be in range [0.. getPageCount()-1]
        Returns:
        The horizontal resolution of the page in dpi
      • getFormat

        String getFormat​(int pageIndex)
        Determine the Format of a given page.
        Parameters:
        pageIndex - The index of the page (0-based). Value must be in range [0.. getPageCount()-1]
        Returns:
        The format description of the page, might be null
      • getMetadata

        com.levigo.jadice.document.metadata.Metadata getMetadata​(int pageIndex)
        Return the Metadata for a given page.
        Parameters:
        pageIndex - The index of the page (0-based). Value must be in range [0.. getPageCount()-1]
        Returns:
        The meta data of the page, might be null
        Since:
        jadice server 5.1.4.0