-
- All Implemented Interfaces:
-
org.readium.r2.shared.util.SuspendingCloseable
public interface PdfDocument implements SuspendingCloseable
Represents a PDF document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPdfDocument.OutlineNodepublic classPdfDocument.Companion
-
Method Summary
Modifier and Type Method Description Bitmapcover(Context context)The first page rendered as a cover. StringgetIdentifier()abstract IntegergetPageCount()Number of pages in the document. ReadingProgressiongetReadingProgression()StringgetTitle()StringgetAuthor()StringgetSubject()List<String>getKeywords()List<PdfDocument.OutlineNode>getOutline()-
-
Method Detail
-
getIdentifier
String getIdentifier()
-
getPageCount
abstract Integer getPageCount()
Number of pages in the document.
-
getReadingProgression
ReadingProgression getReadingProgression()
-
getSubject
String getSubject()
-
getKeywords
List<String> getKeywords()
-
getOutline
List<PdfDocument.OutlineNode> getOutline()
-
-
-
-