Interface DocumentDataProvider

  • All Implemented Interfaces:

    
    public interface DocumentDataProvider
    
                        

    Interface for providing detail data for a PDF document.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit getBitmap(Integer index, Function1<Bitmap, Unit> bitmapCallback) returns the bitmap of the page at the given index
      abstract Size getPageSize(Integer index) returns the size of the page in pdf points at the given index
      abstract String getTitle() returns the title of the document
      abstract String getUid() returns the unique identifier of the document
      abstract Integer getPageCount() returns the total number of pages in the document
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getPageSize

         abstract Size getPageSize(Integer index)

        returns the size of the page in pdf points at the given index

      • getTitle

         abstract String getTitle()

        returns the title of the document

      • getUid

         abstract String getUid()

        returns the unique identifier of the document

      • getPageCount

         abstract Integer getPageCount()

        returns the total number of pages in the document