You are on page 1of 3

Basic PDF Preview using

PDFTron
Status Designed

Assign

Basic Information
Feature Type: PDFTron

Solution Name: Basic PDF Preview

Package Name: pdftron_basic_pdf_preview

Screen Enum Name: PDFTRON_BASIC_PDF_PREVIEW

Button Label: "PDFTron Basic PDF Preview"

Possibly Needed Compose: PDFPreview.kt

Feature Description
UI Components
Select PDF button

PDFPreview: renders the selected PDF

Preview Controller:

Close icon button

Backward icon button

Forward icon button

x of y label

Basic PDF Preview using PDFTron 1


x : indicates current page number

y : indicates total number of pages

Requirements
Use PDFTron SDK to achieve the requirements (use free trial)

PDFPreview should be zoomable

When Select PDF button pressed, open a file chooser

Receive the selected PDF & show PDF Preview along with Preview Controller

When non PDF file selected, show Please select PDF file toast

When Close icon button pressed, show initial screen

When Backward icon button pressed, if the preview is not at the beginning,
navigate to the previous page

When Forward icon button pressed, if the preview is not at the end, navigate to the
next page

References
PDFTron android SDK instructions:
https://www.pdftron.com/documentation/android/get-started/integration/manually/

Basic PDF Preview using PDFTron 2


Basic PDF Preview using PDFTron 3

You might also like