Some test text!

menu
Latestkeyboard_arrow_down

Version 8.1.1 Changelog (January 28, 2021)

Version: 8.1.1.76935

Release Date: January 28, 2021

linkNew features

  • New smart pen tool: a tool that will allow users to create text markups on text and create ink on blank space without the need of manually switching tools Smart pen
  • New PDF to Word allows users to easily export PDF to WORD and preview the result in the viewer, as well as saving it locally or sharing with others. This is distributed in a new PDFTron Actions package. Get started here: PDF to WordPDF to Word
  • Shape annotations (rectangle, oval, line, arrow) can now be created with a single tap when the respective shape creation tool is active Tap to create shape
  • Adds ability to create user bookmarks in the thumbnails browser Create user bookmark
  • Standard rubber stamps can now be localized
  • Adds APIs to set new annotation toolbars and show/hide annotation toolbars
  • Adds API to disable user bookmark creation through FAB in the user bookmarks dialog

linkFixed

  • Fixed reflow crash for apps targeting API 30
  • Fixed issue where sign signature with stamps flag would cause normal signature stamps to be placed incorrectly
  • Fixed issue where document slider behaves incorrectly in RTL mode
  • Fixed issue where document slider touch is not detected if too close to the edge of the screen
  • Fixed issue where selecting and moving multiple pressure inks would cause resized annotation appearance
  • Fixed annotation toolbar database leak warning
  • Fixed issue where unwanted artifact is drawn when dismiss the quick menu
  • Improved performance when signing on certain devices
  • Fixed issue where favourite toolbar editor does not reflect current state of the toolbar
  • Fixed issue where favourite toolbar editor still shows disabled tools
  • Fixed issue where done button is missing for poly-shape tools
  • Fixed issue where stylus as pen mode creates separate annotations per stroke

linkAPIs

linkPDFViewCtrlTools package

linkToolManagerBuilder

new method: ToolManagerBuilder setTapToCreateShapeHalfWidth(int)

linkViewerConfig.Builder

new method: Builder userBookmarkCreationEnabled(boolean)

linkAnnotStyleDialogFragment

new method: SparseArray<AnnotationPropertyPreviewView> getAnnotPreviews()

new method: ArrayList<AnnotStyle> getAnnotStyles()

new method: int getCurrentTabIndex()

new method: void onAnnotStyleLayoutUpdated()

new method: void onPageScrollStateChanged(int)

new method: void onPageScrolled(int, float, int)

new method: void onPageSelected(int)

new method: void setAnnotStyle(int, AnnotStyle)

new method: void setCanShowPressureSwitch(int, boolean)

new method: void setCanShowRichContentSwitch(int, boolean)

modified class: AnnotStyleDialogFragment

Declaration
From:public class AnnotStyleDialogFragment extends BaseBottomDialogFragment implements OnPresetSelectedListener,AnnotStyleHolder
To:public class AnnotStyleDialogFragment extends BaseBottomDialogFragment implements OnPresetSelectedListener,AnnotStyleHolder,OnPageChangeListener

linkAnnotStyleDialogFragment.Builder

new method: Builder setExtraAnnotStyles(ArrayList<AnnotStyle>)

new method: Builder setInitialTabIndex(int)

new method: Builder setMoreAnnotTypes(int, ArrayList<Integer>)

new method: Builder setTabTitles(String[])

linkAnnotStyleView

new method: void setAnnotType(int, int)

linkPdfViewCtrlTabBaseFragment.SaveFolderWrapper

new method: ExternalFileInfo getNewExternalFile()

new method: ExternalFileInfo getSelectedExternalFolder()

new method: File getSelectedFolder()

linkPdfViewCtrlTabHostFragment2

new method: void setAnnotationToolbarVisible(boolean, boolean)

new method: void setAnnotationToolbars(List<AnnotationToolbarBuilder>)

linkToolbarSwitcherItem

new method: List<ToolbarItem> getToolbarItems()

linkAnnotStyle

new static final field: int CUSTOM_SMART_PEN

linkAnnotStyleHolder

new method: SparseArray<AnnotationPropertyPreviewView> getAnnotPreviews()

new method: void onAnnotStyleLayoutUpdated()

linkStandardStampOption

new static method: void clearCache(Context)

linkStandardStampPreviewAppearance

new constructor: StandardStampPreviewAppearance(String, int, CustomStampPreviewAppearance)

new constructor: StandardStampPreviewAppearance(String, int, CustomStampPreviewAppearance, boolean, boolean)

new final field: String stampLabel

new method: String getText(Context)

linkFreehandCreate

new static method: float computeThresholdValue(View, float)

linkSmartPenInk

new class: SmartPenInk

new constructor: SmartPenInk(PDFViewCtrl)

new method: ToolModeBase getToolMode()

new method: boolean onDown(MotionEvent)

new method: void setupAnnotStyles(ArrayList<AnnotStyle>)

linkSmartPenMarkup

new class: SmartPenMarkup

new constructor: SmartPenMarkup(PDFViewCtrl)

new method: int getCreateAnnotType()

new method: ToolModeBase getToolMode()

new method: boolean onDown(MotionEvent)

new method: void setupAnnotProperty(AnnotStyle)

new method: void setupAnnotStyles(ArrayList<AnnotStyle>)

linkTool

new method: void setupAnnotStyles(ArrayList<AnnotStyle>)

linkToolManager

new method: void addToolSetListener(ToolSetListener)

new method: int getTapToCreateShapeHalfWidth()

new method: void removeToolSetListener(ToolSetListener)

new method: void setTapToCreateShapeHalfWidth(int)

linkToolManager.ToolMode

new static final field: ToolMode SMART_PEN_INK

new static final field: ToolMode SMART_PEN_TEXT_MARKUP

linkToolManager.ToolSetListener

new interface: ToolSetListener

new method: void onToolSet(Tool)

linkBookmarkManager

new static method: void removePdfBookmark(Context, PDFViewCtrl, long, int)

new static method: void removeUserBookmark(Context, String, long, int)

linkDialogGoToPage

new method: void show(int, int, String)

linkPdfViewCtrlSettingsManager

new static method: int getAnnotStylesMoreAnnotType(Context, int, int, String, int)

new static method: int getAnnotStylesTabIndex(Context, int, int, String)

new static method: void setAnnotStylesMoreAnnotType(Context, int, int, String, int)

new static method: void setAnnotStylesTabIndex(Context, int, int, String, int)

linkUtils

new static method: String createThumb(Context, PDFDoc, int)

new static method: String getTempFile(Context, String)

linkViewerUtils

new static method: void addPageToBookmark(Context, boolean, PDFViewCtrl, int)

new static method: void removePageBookmark(Context, boolean, PDFViewCtrl, int)

linkWrapContentViewPager

new class: WrapContentViewPager

new constructor: WrapContentViewPager(Context)

new constructor: WrapContentViewPager(Context, AttributeSet)

new method: void setContentHeight(int)

linkPresetBarViewModel

new method: void updateAnnotStyles(ArrayList<AnnotStyle>, int)

removed method: void updateAnnotStyle(AnnotStyle, int)

linkPresetBarState

new method: void updateAnnotStyles(ArrayList<AnnotStyle>, int)

removed method: void updateAnnotStyle(AnnotStyle, int)

linkPresetButtonState

new method: void addAnnotStyle(Context, int, int, String)

new method: ArrayList<AnnotStyle> getAnnotStyles()

new method: void setAnnotStyles(ArrayList<AnnotStyle>)

removed method: AnnotStyle getAnnotStyle()

removed method: void setAnnotStyle(AnnotStyle)

linkPresetActionButton

new method: void updateAppearance(ArrayList<AnnotStyle>)

linkToolManagerViewModel

new method: void observeToolSet(LifecycleOwner, Observer<ToolSet>)

linkToolManagerViewModel.ToolSet

new final class: ToolSet

new constructor: ToolSet(Tool)

new final field: Tool newTool

linkToolbarButtonType

new static final field: ToolbarButtonType SMART_PEN

linkDefaultToolbars.ButtonId

new static final field: ButtonId SMART_PEN

linkToolbarSharedPreferences

new static method: List<ToolbarItem> getCustomizableSublist(List<ToolbarItem>)

removed static method: int getToolbarStringResByName(Context, String)

linkActionButton

new method: void updateAppearance(ArrayList<AnnotStyle>)

removed method: void updateAppearance(AnnotStyle)

linkAnnotationToolbarTextButtonInflater

new class: AnnotationToolbarTextButtonInflater

new static method: AppCompatButton inflate(Context, int)

linkToolbarDatabase

new static method: ToolbarDatabase getInstance(Context)

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 learn about how to collaborate on videos frame by frame directly in your browser

Save your seat
close