Package com.pspdfkit.compose.provider
Interface DocumentDataProvider
-
- All Implemented Interfaces:
public interface DocumentDataProvider
Interface for providing detail data for a PDF document.
-
-
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 -
-
Method Detail
-
getBitmap
abstract Unit getBitmap(Integer index, Function1<Bitmap, Unit> bitmapCallback)
returns the bitmap of the page at the given index
-
getPageSize
abstract Size getPageSize(Integer index)
returns the size of the page in pdf points at the given index
-
getPageCount
abstract Integer getPageCount()
returns the total number of pages in the document
-
-
-
-