Some test text!

menu
Latestkeyboard_arrow_down

Version 8.1.0 Changelog (December 2, 2020)

Version: 8.1.0.30522

Release Date: December 2, 2020

linkNotes

This release of PDFTron for Android brings the core PDF functionality inline with version 8.1.0 of the PDFTron cross-platform APIs. More information can be found on What's new for cross-platform APIs.

linkNew features

  • The new viewer ui is now officially released and all of the legacy components have been deprecated
Activity
  • New redaction toolbar in new ui

linkFixed

  • Toolbar customization is reset in this version to resolve incorrect state behavior
  • Hide toolbar section in favorite toolbar editor if all tools have been disabled
  • Fixed issue where slider does not work in RTL mode
  • Fixed issue where disabled tools showed up in the toolbar editors
  • Fixed issue where bottom nav APIs did not work if support action bar is disabled
  • Fixed issue where the poly shape tools did not work when activated from the long press menu with the new ui
  • Fixed issue where editing existing ink annotaitons did not work with the new ui
  • Fixed issue where eraser could get stuck in certain stylus as pen flow
  • Fixed issue where continuous mode ignores animated flag when turn page
  • Fixed issue where DefaultToolbars did not work properly when building custom toolbars
  • Fixed issue where file attachment tool did not work from the toolbar
  • Fixed issue where document sharing would not work if the app has its own version of provider_paths.xml
  • Fixed issue where the bottom toolbar still shows when disabled in the config

linkAPIs

linkPDFViewCtrlTools package

linkToolStyleConfig

new method: int numberOfAnnotPresetStyles(Context, int)

linkViewerConfig

new method: int[] getHideThumbnailFilterModes()

new method: boolean isImageInReflowEnabled()

new method: boolean isShowFileAttachmentOption()

new method: boolean isShowQuickNavigationButton()

linkViewerConfig.Builder

new method: Builder hideThumbnailFilterModes(FilterModes[])

new method: Builder imageInReflowEnabled(boolean)

new method: Builder showFileAttachmentOption(boolean)

new method: Builder showQuickNavigationButton(boolean)

linkPdfViewCtrlTabFragment2

new method: boolean handleKeyUp(int, KeyEvent)

new method: void setThumbSliderVisible(boolean, boolean, boolean)

linkPdfViewCtrlTabHostFragment2

new method: void setToolbarSwitcherVisible(boolean)

linkReflowControl

new method: void setImageInReflowEnabled(boolean)

linkReflowPagerAdapter

new method: void setImageInReflowEnabled(boolean)

linkThumbnailsViewFragment

new static method: ThumbnailsViewFragment newInstance(boolean, boolean, int[])

linkThumbnailsViewFragment.FilterModes

new final class: FilterModes

new static final field: FilterModes ANNOTATED

new static final field: FilterModes BOOKMARKED

new method: int getValue()

new static method: FilterModes valueOf(String)

new static method: FilterModes[] values()

linkDigitalSignatureDialogFragment

new static field: boolean HANDLE_INTENT_IN_ACTIVITY

new static method: DigitalSignatureViewModel getViewModel(FragmentActivity)

new static method: boolean isDigitalSignatureIntent(int)

new method: void onDestroy()

linkDigitalSignatureViewModel

new method: void setActivityResultIntent(int, int, Intent)

linkToolbarSwitcherItem

new method: String getToolbarName(Context)

removed method: String getToolbarName()

linkToolbarSwitcherState

new method: String getToolbarTagWithButtonId(int)

linkAnnotStyle

new static final field: int CUSTOM_RECT_REDACTION

new method: boolean isEnabled()

new method: void setEnabled(boolean)

linkActionUtils

new static method: void launchEmailIntent(Context, String)

new static method: void launchPhoneIntent(Context, String)

new static method: void launchWebPageIntent(Context, String)

linkAnnotUtils

new static method: void applyRedaction(PDFViewCtrl, Redaction, ArrayList<Redaction>)

new static method: void deleteAllAnnotsByType(PDFDoc, int)

new static method: ArrayList<Pair<Redaction, Integer>> getAllRedactions(PDFViewCtrl)

new static method: ArrayList<Redaction> getRedactionArray(Redaction, int)

linkPdfViewCtrlSettingsManager

new static final field: String KEY_PREF_NEW_UI_SHOW_TAB_BAR

new static method: boolean getShowTabBarForNewUI(Context)

new static method: void setShowTabBarForNewUI(Context, boolean)

linkRedactionManager

new method: void applyRedaction()

linkRequestCode

new static final field: int DIGITAL_SIGNATURE_IMAGE

removed static final field: int DIGITAL_SIGNATURE_KEYSTORE_IMAGE

linkShortcutHelper

new static method: boolean canHandleShortcut(ToolManager, int, KeyEvent)

new static method: ButtonId getButtonId(ToolManager, int, KeyEvent)

linkViewerUtils

new static method: Uri openImageIntent(Activity, int)

new static method: Uri openImageIntent(Fragment, int)

linkAnnotationFilterViewModel

new method: void addAnnotToHide(Annot)

new method: void removeAnnotToHide(Annot)

new method: boolean shouldHideAnnot(Annot)

removed method: void addAnnotToHide(String)

removed method: void removeAnnotToHide(String)

removed method: boolean shouldHideAnnot(String)

linkViewerShortcutViewModel

new class: ViewerShortcutViewModel

new constructor: ViewerShortcutViewModel()

new method: void observeKeyboardEvents(LifecycleOwner, Observer<KeyboardShortcut>)

new method: void setKeyboardEvent(int, KeyEvent)

linkKeyboardShortcut

new class: KeyboardShortcut

new constructor: KeyboardShortcut(int, KeyEvent)

new method: KeyEvent getEvent()

new method: int getKeyCode()

linkPresetBarView

new static final field: int MAX_NUMBER_OF_PRESETS

removed static final field: int DEFAULT_NUMBER_OF_PRESETS

linkDocumentSlider

new method: void setCanShowPageIndicator(boolean)

linkAnnotationToolbarBuilder

new method: String getToolbarName(Context)

new static method: void removeItems(List<ToolbarItem>, Set<ToolMode>)

new method: AnnotationToolbarBuilder setToolbarName(int)

removed method: String getToolbarName()

linkToolbarButtonType

new static final field: ToolbarButtonType RECT_REDACTION

new static final field: ToolbarButtonType TEXT_REDACTION

new static method: ToolbarButtonType valueOf(int)

linkAnnotationToolbarComponent

new method: void addToolbarLeftOptionalContainer(View)

new method: void clearOptionalToolbarContainer()

new method: void showEditToolbar(ToolMode, Annot, int, boolean)

removed method: void onEditToolbarDismissed()

modified class: AnnotationToolbarComponent

Declaration
From:public class AnnotationToolbarComponent implements OnEditToolbarListener,OnEditToolbarListener
To:public class AnnotationToolbarComponent implements OnEditToolbarListener

linkDefaultToolbars

new static final field: String TAG_REDACTION_TOOLBAR

new static field: AnnotationToolbarBuilder defaultRedactionToolbar

linkDefaultToolbars.ButtonId

new static final field: ButtonId RECT_REDACTION

new static final field: ButtonId REDACT_PAGE

new static final field: ButtonId REDACT_SEARCH

new static final field: ButtonId TEXT_REDACTION

linkTabletAnnotationToolbarComponent

removed method: void showEditToolbar(ToolMode, Annot, int, Bundle)

linkToolbarSharedPreferences

new method: LinkedHashMap<String, List<ToolbarItem>> getAllDefaultToolbarItems(Context)

new method: AnnotationToolbarBuilder getRedactToolbar(Context)

new static method: int getToolbarStringResByName(Context, String)

removed method: LinkedHashMap<String, List<ToolbarItem>> getAllDefaultToolbarItems()

removed static method: int getToolbarStringResByName(String)

linkActionToolbar

new static field: boolean AUTO_PAD_TOOLBAR

new method: void addToolbarLeftOptionalContainer(View)

new method: void clearOptionalContainers()

linkAnnotationToolbarView

new method: void addToolbarLeftOptionalContainer(View)

new method: void clearOptionContainers()

linkSingleButtonToolbar

new method: boolean isEditingAnnotation()

new method: void setEditingAnnotation(boolean)

linkToolbarDatabase

new static final field: Migration MIGRATION_1_2

linkToolbarItemEntity

new field: int buttonId

linkpdftron-collab package

linkCollabManager

new method: AnnotationCompletionListener getAnnotationCompletionListener()

new method: void setAnnotationCompletionListener(AnnotationCompletionListener)

linkAnnotationCompletionListener

new interface: AnnotationCompletionListener

new method: void onRemoteChangeImported()

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our upcoming webinar to find out about built-in, full-functioning document capabilities directly in Salesforce.

Save your seat
close