Some test text!

Getting started

keyboard_arrow_down
Running samplesTry demo in your projectDownloading PDFTronIntegrating PDFTron via GradleManually integrating PDFTronUpgradingAdding PDFTron license keyUsing ProGuardTroubleshooting integration

Fundamentals

keyboard_arrow_down
Document lockingSaving PDF documentsUnderstanding coordinates

Basics

keyboard_arrow_down
Using an ActivityUsing a FragmentUsing PDFViewCtrlViewer configConverting and viewing other document typesConverting HTML to PDF

Viewer

keyboard_arrow_down
PDFViewCtrl color modesPDFViewCtrl page view modePDFViewCtrl page presentation modeGenerating thumbnails in PDF

Features

keyboard_arrow_down

Tools

keyboard_arrow_down
Tools overviewSetting Up ToolManagerChanging and disabling toolsIntercepting annotation handlingToolManager eventsDefault annotation propertiesTool subclasses

Annotations

keyboard_arrow_down

UI components

keyboard_arrow_down
Quick menuAnnotation toolbarAnnotation style dialogThumbnail sliderAnnotations listOutline listUser bookmarks listBookmarks dialogPage thumbnails dialogAdd page dialogRotate pages dialogView mode dialogCrop page dialogReflow

Advanced

keyboard_arrow_down
Adding a custom view to a PDF pageCustom toolCustomizing quick menuCustomizing annotation style dialog

FAQ

keyboard_arrow_down
Running project in Android StudioSystem RequirementsPDFTron full vs. standardLocalizationIcon cheat sheetRunning sample with sourceReducing size of APKEnable multidexOut of memory when rotating device multiple timesDetachCurrentThread warning

PDF Processing API

keyboard_arrow_down
What is PDFNet?Opening a documentSerializing (saving) a documentWorking with pagesWorking with Page ContentWorking with BookmarksWorking with Interactive Forms (AcroForms)PDF SecurityLow-level PDF APIError handling
Localizationkeyboard_arrow_down

Localization

PDFTron ships with many languages built-in:

  • Arabic (ar)
  • Catalan (ca)
  • Chinese Simplified (zh-rCN)
  • Chinese Traditional (zh-rTW)
  • Czech (cs)
  • Danish (da)
  • Dutch (nl)
  • French(fr)
  • German (de)
  • Hindi (hi)
  • Hungarian (hu)
  • Indonesian (id)
  • Irish (ga-rIE)
  • Italian (it)
  • Japanese (ja)
  • Persian (fa)
  • Polish (pl)
  • Portuguese, Brazilian (pt-rBR)
  • Russian (ru)
  • Spanish (es-rES)
  • Turkish (tr)

You can add additional translations by putting them into the res/values-xx directory of your app (i.e. values-fr) . Android will automatically merge all string resources at build time. You can also override existing string translations by putting them into the respective string folders.

Since PDFTron tools and utils packages are all open-source, you will have access to all string and translation resources.