Version 6.8.0 Changelog (April 4, 2018)
Version: 6.8.0.64821
Release Date: April 4, 2018
New features
New
CustomRelativeLayoutthat allows UI views to be put onPDFViewCtrlIntroducing new
com.pdftron:demo(demo.aar or pdfnet-demo-utils project) open source library package with various utility UI and APIs along with ready to use Activities. Try out com.pdftron:demo library package here.New
SimpleReaderActivitythat allows easy integration with a ready to go viewer, and highly configurableDifferent tool modes can be easily disabled through public API, this will remove icons from the
QuickMenuand theAnnotationToolbarAll UI components now support day and night mode
New annotation syncing API that allows easy real time collaboration among different clients
Introducing three new form field creation tools:
TextFieldCreate,CheckboxFieldCreate, andSignatureFieldCreateNew ways to have custom behavior in response to tool events
Adding custom annotation creation tool with ease
Bookmarks dialog UI and annotation list dialog UI have been updated
Breaking changes
[
PDFNet.initialize](https://sdk.apryse.com/api/android/javadoc/reference/com/pdftron/pdf/PDFNet.html#initialize(android.content.Context, int, java.lang.String))no longer accepts null or empty license keys. A valid demo or commercial license key is required at all times.Apryse core library has been repackaged to a single
pdftron.aarfile (full/pdftron.aarandstandard/pdftron.aar). To learn more about how to integrate with latest Apryse library, see the manual integration guide. The following files that were required from previous release are no longer needed and should be removed from your project:libs/PDFNet.jarjniLibs/arm64-v8a/libPDFNetC.sojniLibs/armeabi/libPDFNetC.sojniLibs/armeabi-v7a/libPDFNetC-v7a.sojniLibs/x86/libPDFNetC.sojniLibs/x86_64/libPDFNetC.sores/raw/pdfnet.resres/raw/pdftron_layout_resources.pluginres/raw/pdftron_smart_substitution.plugin
PDFViewCtrlTools (
tools.aar) project is using vector drawables from the support library, if your application does not have this yet, add the following to your module Gradle file (usuallyapp/build.gradle):
The minimum API requirement has been changed to API 16, your app will run on approximately 99.2% of devices.
Dependency AAR files have been renamed and now available to integrate via Gradle package manager:
PDFViewCtrlTools.aar->tools.aarFloatingActionButton.aar->floatingactionbutton.aarPageCropper.aar->pagecropper.aar
A number of static integers in
PDFViewCtrlandToolManagerare now changed to enum class to better represent the data:Removed APIs
PDFViewCtrl.openURL: use [
PDFViewCtrl.openUrlAsync](https://sdk.apryse.com/api/android/javadoc/reference/com/pdftron/pdf/PDFViewCtrl.html#openUrlAsync(java.lang.String, java.lang.String, java.lang.String, com.pdftron.pdf.PDFViewCtrl.HTTPRequestOptions)) insteadToolManager.setBuiltInPanModeToolbarEnable: for search, see text search guide, for page slider, see thumbnail slider instead
ToolManager.showBuiltInTopToolbar: see text search guide
ToolManager.showBuiltInBottomToolbar: see thumbnail slider
Deprecated
All static integers with a corresponding enum representation are now deprecated, use the enum version instead.
Changed
[
PDFViewCtrl.setZoomLimits](https://sdk.apryse.com/api/android/javadoc/reference/com/pdftron/pdf/PDFViewCtrl.html#setZoomLimits(com.pdftron.pdf.PDFViewCtrl.ZoomLimitMode, double, double))[
PDFViewCtrl.setRelativeZoomLimits](https://sdk.apryse.com/api/android/javadoc/reference/com/pdftron/pdf/PDFViewCtrl.html#setRelativeZoomLimits(com.pdftron.pdf.PDFViewCtrl.PageViewMode, double, double))PDFViewCtrl.setDocumentDownloadListener ->
PDFViewCtrl.addDocumentDownloadListenerandPDFViewCtrl.removeDocumentDownloadListenerPDFViewCtrl.setUniversalDocumentConversionListener ->
PDFViewCtrl.addUniversalDocumentConversionListenerandPDFViewCtrl.removeUniversalDocumentConversionListenerPDFViewCtrl.setDocumentDownloadListener ->
PDFViewCtrl.addPageChangeListenerandPDFViewCtrl.removePageChangeListenerPolygon.createPolygon -> [
Polygon.create](https://sdk.apryse.com/api/android/javadoc/reference/com/pdftron/pdf/annots/Polygon.html#create(com.pdftron.sdf.Doc, com.pdftron.pdf.Rect))PolyLine.createPolyLine -> [
PolyLine.create](https://sdk.apryse.com/api/android/javadoc/reference/com/pdftron/pdf/annots/PolyLine.html#create(com.pdftron.sdf.Doc, com.pdftron.pdf.Rect))Markup.SetPadding ->
Markup.setPaddingLine.setCapPos ->
Line.setCaptionPosition
Bug fixes
Miscellaneous bug fixes and improvements
Last updated
Was this helpful?