Some test text!

menu
search
v7.0.1keyboard_arrow_down

Version 7.0.1 Changelog (August 20, 2019)

Version: 7.0.1.72223

Release Date: August 20, 2019

linkNew features

  • Digital signature tool now comes with certificate picker, signing flow is updated for better user experience

digital signature

  • Digital signature info dialog has been updated to include more information

signature info

List boxCombo box
list box widgetcombo box widget
  • Measurement tools now comes with magnifying glasses for more precision, see guide here: Measurement
  • The following annotation types now support real time editing: ink, free text, sticky note, sound, attachment, form widget and link
  • UI improvements in various areas:
SearchText selection
searchtext selection
Thumbnail sliderPage number indicator
sliderpage indicator

linkDependency changes

  • com.madgag.spongycastle is now removed from the PDFViewCtrlTools library project and all samples
  • com.squareup.picasso:picasso is now added to the PDFViewCtrlTools library project and all samples

linkFixed

  • Fixed issue where PdfViewCtrlTabHostFragment cannot be used together with com.google.android.material:material library
  • Fixed unexpected behaviour when selecting annotation group with multi-select tool
  • Fixed issue where link annotation cannot be followed when it is part of an annotation group
  • Fixed issue where annotation rotation handle renders incorrectly on pre-lollipop devices
  • Fixed potential out of memory issue with saved signature dialog
  • Fixed potential missing stroke issue in create signature dialog
  • Fixed issue where undo/redo menu shows up when in read only mode
  • Fixed incorrect undo/redo button state when rotating device in EditToolbar
  • Fixed issue where free highlighter renders without blend mode in Adobe reader

linkAPIs

linkPDFTron package

linkComboBoxWidget

new method: String[] getOptions()

new method: removeOption(String)

new method: replaceOptions(String[])

linkListBoxWidget

new method: String[] getOptions()

new method: removeOption(String)

new method: replaceOptions(String[])

linkPDFViewCtrlTools package

linkSavedSignatureAdapter

new method: void add(File)

new method: void dispose()

new method: void insert(File, int)

new method: boolean remove(File)

removed method: void add(Bitmap)

removed method: File getFileItem(int)

removed method: void insert(Bitmap, int)

removed method: boolean remove(Bitmap)

removed method: void setBitmaps(Bitmap[])

modified class: SavedSignatureAdapter

Declaration
From:public class SavedSignatureAdapter extends SimpleRecyclerViewAdapter<Bitmap, ViewHolder>
To:public class SavedSignatureAdapter extends SimpleRecyclerViewAdapter<File, ViewHolder>

linkViewerConfig.Builder

new method: Builder showFormToolbarOption(boolean)

linkAnnotationToolbar

new static final field: int START_MODE_FORM_TOOLBAR

new method: boolean isInFormMode()

new method: void onFormToolbarWillClose()

new method: void showFormToolbar(ToolMode)

modified class: AnnotationToolbar

Declaration
From:public class AnnotationToolbar extends InsectHandlerToolbar implements ToolChangedListener,OnEditToolbarListener,OnEditToolbarListener
To:public class AnnotationToolbar extends BaseToolbar implements ToolChangedListener,OnEditToolbarListener,OnEditToolbarListener,FormToolbarListener

linkBaseToolbar

new abstract class: BaseToolbar

new constructor: BaseToolbar(Context)

new constructor: BaseToolbar(Context, AttributeSet)

new constructor: BaseToolbar(Context, AttributeSet, int)

new constructor: BaseToolbar(Context, AttributeSet, int, int)

new method: boolean isShowing()

new abstract method: void selectTool(View, int)

linkCustomFragmentTabLayout

new method: void addOnTabSelectedListener(BaseOnTabSelectedListener)

new method: void removeOnTabSelectedListener(BaseOnTabSelectedListener)

removed method: void addOnTabSelectedListener(OnTabSelectedListener)

removed method: void removeOnTabSelectedListener(OnTabSelectedListener)

modified class: CustomFragmentTabLayout

Declaration
From:public class CustomFragmentTabLayout extends TabLayout implements OnTabSelectedListener
To:public class CustomFragmentTabLayout extends TabLayout implements BaseOnTabSelectedListener

linkEditToolbarImpl

new method: void onOrientationChanged()

modified class: EditToolbarImpl

Declaration
From:public class EditToolbarImpl implements OnToolbarStateUpdateListener,OnToolSelectedListener
To:public class EditToolbarImpl implements OnToolbarStateUpdateListener,OnToolSelectedListener,OnEditToolbarChangedListener

linkFavoriteColorDialogFragment

modified class: FavoriteColorDialogFragment

Declaration
From:public class FavoriteColorDialogFragment extends DialogFragment implements OnPageChangeListener,OnTabSelectedListener
To:public class FavoriteColorDialogFragment extends DialogFragment implements OnPageChangeListener,BaseOnTabSelectedListener

linkFormToolbar

new class: FormToolbar

new constructor: FormToolbar(Context)

new constructor: FormToolbar(Context, AttributeSet)

new constructor: FormToolbar(Context, AttributeSet, int)

new constructor: FormToolbar(Context, AttributeSet, int, int)

new method: void close()

new method: void closePopups()

new method: boolean handleKeyUp(int, KeyEvent)

new method: void selectTool(View, int)

new method: void setButtonStayDown(boolean)

new method: void setFormToolbarListener(FormToolbarListener)

new method: void setup(ToolManager)

new method: void show(ToolMode)

new method: void toolChanged(Tool, Tool)

new method: void updateButtonsVisibility()

linkFormToolbarListener

new interface: FormToolbarListener

new method: void onFormToolbarWillClose()

linkPdfViewCtrlTabHostFragment

modified class: PdfViewCtrlTabHostFragment

Declaration
From:public class PdfViewCtrlTabHostFragment extends Fragment implements TabListener,AnnotationToolbarListener,QuickMenuListener,OnTabSelectedListener,SearchResultsListener,ViewModePickerDialogFragmentListener,BookmarksDialogListener,BookmarksTabsListener,UserCropSelectionDialogFragmentListener,OnUserCropDialogDismissListener,AutoCropTaskListener,OnThumbnailsViewDialogDismissListener,OnThumbnailsEditAttemptWhileReadOnlyListener,OnExportThumbnailsListener,OnLayoutChangeListener,OnSystemUiVisibilityChangeListener
To:public class PdfViewCtrlTabHostFragment extends Fragment implements TabListener,AnnotationToolbarListener,QuickMenuListener,BaseOnTabSelectedListener,SearchResultsListener,ViewModePickerDialogFragmentListener,BookmarksDialogListener,BookmarksTabsListener,UserCropSelectionDialogFragmentListener,OnUserCropDialogDismissListener,AutoCropTaskListener,OnThumbnailsViewDialogDismissListener,OnThumbnailsEditAttemptWhileReadOnlyListener,OnExportThumbnailsListener,OnLayoutChangeListener,OnSystemUiVisibilityChangeListener

linkBookmarksDialogFragment

modified class: BookmarksDialogFragment

Declaration
From:public class BookmarksDialogFragment extends DialogFragment implements OnTabSelectedListener
To:public class BookmarksDialogFragment extends DialogFragment implements BaseOnTabSelectedListener

linkDialogSignatureInfo

new class: DialogSignatureInfo

new constructor: DialogSignatureInfo(Context)

new method: void setContactInfo(String)

new method: void setDocumentPermission(String)

new method: void setLocation(String)

new method: void setName(String)

new method: void setReason(String)

new method: void setSigningTime(String)

linkDigitalSignatureDialogFragment

new class: DigitalSignatureDialogFragment

new constructor: DigitalSignatureDialogFragment()

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

new method: void onCreate(Bundle)

new method: View onCreateView(LayoutInflater, ViewGroup, Bundle)

new method: void onSignatureCreated(String)

new method: void onSignatureFromImage(PointF, int, Long)

new method: void onSignatureSelected(String)

new method: void setOnKeystoreUpdatedListener(OnKeystoreUpdatedListener)

linkDigitalSignatureUserInputFragment

new class: DigitalSignatureUserInputFragment

new constructor: DigitalSignatureUserInputFragment()

new method: void onCreate(Bundle)

new method: View onCreateView(LayoutInflater, ViewGroup, Bundle)

new method: void onViewCreated(View, Bundle)

linkDigitalSignatureViewModel

new class: DigitalSignatureViewModel

new constructor: DigitalSignatureViewModel()

new method: void setKeystoreFileUri(Uri)

linkSignatureInfoView

new class: SignatureInfoView

new constructor: SignatureInfoView(Context)

new constructor: SignatureInfoView(Context, AttributeSet)

new constructor: SignatureInfoView(Context, AttributeSet, int)

new method: void setDetails(String)

new method: void setLabel(String)

linkDialogSignatureInfo

removed class: DialogSignatureInfo

removed constructor: DialogSignatureInfo(Context)

removed method: void setLocation(String)

removed method: void setName(String)

removed method: void setReason(String)

linkSignatureDialogFragment

new method: void onEditModeChanged(boolean)

linkSignatureDialogFragmentBuilder

new static final field: String BUNDLE_HAS_DEFAULT_KEYSTORE

new static final field: boolean HAS_DEFAULT_KEYSTORE

new method: SignatureDialogFragmentBuilder usingDefaultKeystore(boolean)

removed method: SignatureDialogFragmentBuilder usingDigitalSignature(boolean)

linkEditListAdapter

new abstract class: EditListAdapter<T>

new constructor: EditListAdapter()

new constructor: EditListAdapter(ViewHolderBindListener)

new method: void onBindViewHolder(ViewHolder, int)

new method: void onBindViewHolder(EditListViewHolder, int)

new method: ViewHolder onCreateViewHolder(ViewGroup, int)

new method: void setEditing(boolean)

new method: void setSelectedIndex(int)

linkEditListItemTouchHelperCallback

new class: EditListItemTouchHelperCallback

new constructor: EditListItemTouchHelperCallback(ItemTouchHelperAdapter, boolean, int)

new method: void clearView(RecyclerView, ViewHolder)

new method: int getMovementFlags(RecyclerView, ViewHolder)

new method: void onChildDraw(Canvas, RecyclerView, ViewHolder, float, float, int, boolean)

new method: void setDragging(boolean)

linkEditListViewHolder

new class: EditListViewHolder

new constructor: EditListViewHolder(View)

new final field: ImageButton confirmButton

new final field: ImageButton contextButton

new final field: EditText editText

new final field: TextView textView

linkChoiceDialogFragment

new class: ChoiceDialogFragment

new constructor: ChoiceDialogFragment()

new static final field: String EXISTING_OPTIONS

new static final field: String FIELD_TYPE

new static final field: String SELECTION_TYPE

new static final field: String TAG

new static final field: String WIDGET

new static final field: String WIDGET_PAGE

new static method: ChoiceDialogFragment newInstance(long, int, boolean, boolean)

new static method: ChoiceDialogFragment newInstance(long, int, boolean, boolean, String[])

new method: void onCreate(Bundle)

new method: View onCreateView(LayoutInflater, ViewGroup, Bundle)

new method: void onDismiss(DialogInterface)

linkChoiceResult

new class: ChoiceResult

new constructor: ChoiceResult(long, int, boolean, String[])

new method: String[] getOptions()

new method: int getPage()

new method: long getWidget()

new method: boolean isSingleChoice()

linkChoiceViewModel

new class: ChoiceViewModel

new constructor: ChoiceViewModel()

linkOnKeystoreUpdatedListener

new interface: OnKeystoreUpdatedListener

new method: void onKeystoreFileUpdated(Uri)

new method: void onKeystorePasswordUpdated(String)

linkOnSavedSignatureListener

new method: void onEditModeChanged(boolean)

linkAreaMeasureCreate

new method: void onDraw(Canvas, Matrix)

new method: boolean onMove(MotionEvent, MotionEvent, float, float)

new method: boolean onUp(MotionEvent, PriorEventMode)

linkBaseTool

new abstract class: BaseTool

new constructor: BaseTool(PDFViewCtrl)

new static final field: int LOUPE_RADIUS

new static final field: int LOUPE_SIZE

new method: void onClose()

new method: boolean onDown(MotionEvent)

new method: void onDraw(Canvas, Matrix)

new method: boolean onMove(MotionEvent, MotionEvent, float, float)

linkChoiceFieldCreate

new abstract class: ChoiceFieldCreate

new constructor: ChoiceFieldCreate(PDFViewCtrl)

linkComboBoxFieldCreate

new class: ComboBoxFieldCreate

new constructor: ComboBoxFieldCreate(PDFViewCtrl)

new method: int getCreateAnnotType()

new method: ToolModeBase getToolMode()

linkDigitalSignature

new static method: String createSignatureImageFile(Context, Page)

new method: boolean onLongPress(MotionEvent)

new method: boolean onUp(MotionEvent, PriorEventMode)

linkFreehandCreate

new static method: PointF convPagePtToDrawingPt(PDFViewCtrl, float, float, int, PointF)

new static method: ArrayList<ArrayList<PointF>> createDrawingStrokesFromPageStrokes(PDFViewCtrl, ArrayList<ArrayList<PointF>>, boolean, int, PointF)

removed static method: PointF convPagePtToDrawingPt(PDFViewCtrl, float, float, int, PointF, float, float)

removed static method: ArrayList<ArrayList<PointF>> createDrawingStrokesFromPageStrokes(PDFViewCtrl, ArrayList<ArrayList<PointF>>, boolean, int, PointF, float, float)

linkListBoxFieldCreate

new class: ListBoxFieldCreate

new constructor: ListBoxFieldCreate(PDFViewCtrl)

new method: int getCreateAnnotType()

new method: ToolModeBase getToolMode()

linkPerimeterMeasureCreate

new method: void onDraw(Canvas, Matrix)

new method: boolean onMove(MotionEvent, MotionEvent, float, float)

new method: boolean onUp(MotionEvent, PriorEventMode)

linkRulerCreate

new method: boolean onUp(MotionEvent, PriorEventMode)

linkSimpleShapeCreate

modified abstract class: SimpleShapeCreate

Declaration
From:public abstract class SimpleShapeCreate extends Tool
To:public abstract class SimpleShapeCreate extends BaseTool

linkTextHighlighter

new method: void highlightSelection()

linkTextMarkupCreate

modified abstract class: TextMarkupCreate

Declaration
From:public abstract class TextMarkupCreate extends Tool
To:public abstract class TextMarkupCreate extends BaseTool

linkTextSelect

modified class: TextSelect

Declaration
From:public class TextSelect extends Tool
To:public class TextSelect extends BaseTool

linkTool

new method: boolean getSnappingEnabled()

new static method: void updateFont(PDFViewCtrl, Widget, String)

linkToolManager

new method: boolean isUsingDigitalSignature()

new method: void setUsingDigitalSignature(boolean)

linkToolManager.ToolMode

new static final field: ToolMode FORM_COMBO_BOX_CREATE

new static final field: ToolMode FORM_LIST_BOX_CREATE

linkAnnotUtils

new static method: Bitmap getAnnotationAppearance(PDFViewCtrl, Annot)

new static method: Date getLocalDate(Date)

new static method: boolean isGroupSelected(PDFViewCtrl, ArrayList<Annot>, int)

new static method: boolean isListBox(Annot)

removed static method: Bitmap getStampAppearance(PDFViewCtrl, Annot)

modified static method: Completable loadSystemFonts()

Declaration
From:public static Completable loadSystemFonts()
To:public static Single loadSystemFonts()

linkDrawingUtils

new static final field: int sRotateHandleMargin

new static method: void drawInk(PDFViewCtrl, Canvas, ArrayList<InkItem>, boolean, Matrix, PointF, boolean)

removed static method: void drawInk(PDFViewCtrl, Canvas, ArrayList<InkItem>, boolean, PointF, float, float, boolean)

linkMySignatureHandler

removed class: MySignatureHandler

removed constructor: MySignatureHandler(int, Resources, String)

removed constructor: MySignatureHandler(String, String)

removed method: void appendData(byte[])

removed method: byte[] createSignature()

removed method: String getName()

removed method: boolean reset()

linkRequestCode

new static final field: int DIGITAL_SIGNATURE_KEYSTORE

new static final field: int DIGITAL_SIGNATURE_KEYSTORE_IMAGE

linkStampManager

new method: File getSavedSignatureJpegFile(Context, File)

linkUtils

new static method: Intent createSystemPickerIntent()

new static method: Intent createSystemPickerIntent(String[])

linkViewerUtils

new static method: Uri getImageUriFromIntent(Intent, Activity, Uri)

linkAnnotDrawingView

new method: boolean getCanDraw()

new method: void setAnnotRect(RectF)

removed method: void setAnnotRect(Rect)

linkAnnotView

new method: boolean getCanDraw()

new method: void invalidate()

linkAnnotViewImpl

new field: RectF mAnnotRectF

linkRotateHandleView

modified class: RotateHandleView

Declaration
From:public class RotateHandleView extends FloatingActionButton
To:public class RotateHandleView extends LinearLayout

linkSelectionLoupe

new class: SelectionLoupe

new constructor: SelectionLoupe(Context)

new constructor: SelectionLoupe(Context, AttributeSet)

new constructor: SelectionLoupe(Context, AttributeSet, int)

new method: void setup(Bitmap, float)

linkpdfnet-demo-utils package

linkMiscUtils

removed static method: Intent createSystemPickerIntent()

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.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn More
close