Some test text!

Search
Hamburger Icon

Android / Changelog / v7.0.4

Version 7.0.4 Changelog (November 26, 2019)

Version: 7.0.4.73249

Release Date: November 26, 2019

New features

  • Collaboration APIs have been improved to help with faster integration process, see guide: Connect with server
  • New magnifying glasses appearance

magnifying-glasses-appearance

Fixed

  • Fixed issue where when sharing documents in the collaboration viewer, not all annotations are included
  • Fixed issue where download dialog is missing for non-PDF remote links
  • Fixed issue where CustomRelativeLayout does not exactly match annotation bounding box, as well as issue where the location is incorrect after a fling
  • Fixed issue where rich text would crash on API 19, rich text will now be a feature available on API 21+
  • Fixed issue where some annotations would appear to be rotated upon selection when viewer is rotated
  • Fixed issue where EditText would not show on some corrupted text fields
  • Fixed issue where thumbnail slider is hidden on API 19 in full screen mode
  • Fixed potential OOM crash when open and close the ThumbnailsViewFragment many times in the same session

APIs

PDFViewCtrlTools package

FreehandCreate

new method: void setFromEditToolbar(boolean)

UndoRedoManager

new method: boolean canInkUndo()

new method: void takeInitialInkSnapshot()

new method: void undoToPreviousInitialInk()

BookmarkManager

new static method: String exportPdfBookmarks(PDFDoc)

new static method: String exportUserBookmarks(Context, String)

new static method: ArrayList<UserBookmarkItem> fromJSON(String)

new static method: List<UserBookmarkItem> getPdfBookmarks(PDFDoc)

new static method: void importPdfBookmarks(PDFViewCtrl, String)

new static method: void importUserBookmarks(Context, String, String)

new static method: String toJSON(List<UserBookmarkItem>)

PdfViewCtrlSettingsManager

new static method: boolean getFollowSystemDarkMode(Context)

new static method: void setFollowSystemDarkMode(Context, boolean)

Utils

new static method: void closeDocQuietly(PDFViewCtrl)

SelectionLoupe

new constructor: SelectionLoupe(PDFViewCtrl)

new method: void dismiss()

new method: void setup(Bitmap)

new method: void show()

new method: void show(float, float)

removed constructor: SelectionLoupe(Context)

removed constructor: SelectionLoupe(Context, AttributeSet)

removed constructor: SelectionLoupe(Context, AttributeSet, int)

removed method: void setup(Bitmap, float)

modified class: SelectionLoupe

Declaration
From:public class SelectionLoupe extends LinearLayout
To:public class SelectionLoupe extends CardView

pdftron-collab package

DataRepository

removed method: void close()

UserDao

new method: void updateIsCurrentUser(String, boolean)

UserEntity

new method: boolean isCurrentUser()

new method: void setIsCurrentUser(boolean)

User

new method: boolean isCurrentUser()

CustomService

new method: void importAnnotationCommand(CollabDatabase, String, String, boolean)

new method: void importAnnotations(CollabDatabase, String, String, boolean)

new method: void setCurrentUser(CollabDatabase, String, String)

CustomServiceUtils

new static method: void addLastXfdf(CollabDatabase, String)

new static method: void importAnnotationCommand(CollabDatabase, String, String, boolean)

new static method: void importAnnotations(CollabDatabase, String, String, boolean)

new static method: void setCurrentUser(CollabDatabase, String, String)

modified static method: void addAnnotations(CollabDatabase, HashMap<String, AnnotationEntity>)

Declaration
From:public static void addAnnotations(CollabDatabase, HashMap<String, AnnotationEntity>)
To:public static String addAnnotations(CollabDatabase, HashMap<String, AnnotationEntity>)

CollabManager

new class: CollabManager

new method: void addAnnotation(AnnotationEntity)

new method: void addAnnotations(HashMap<String, AnnotationEntity>)

new method: void addUser(String, String)

new method: void cleanup()

new method: void deleteAnnotation(String)

new method: DocumentViewModel getViewModel()

new method: void importAnnotationCommand(String)

new method: void importAnnotationCommand(String, boolean)

new method: void importAnnotations(String, boolean)

new method: void modifyAnnotation(AnnotationEntity)

new method: void sendAnnotation(String, ArrayList<AnnotationEntity>, String, String)

new method: void setCollabManagerListener(CollabManagerListener)

new method: void setCurrentDocument(DocumentEntity)

new method: void setCurrentDocument(String)

new method: void setCurrentUser(String, String)

new method: void setCustomConnection(CustomService)

CollabManager.CollabManagerListener

new interface: CollabManagerListener

new method: void onSendAnnotation(String, ArrayList<AnnotationEntity>, String, String)

CollabViewerTabFragment

new method: void handleOnlineShare()

CollabViewerTabHostFragment

new method: CollabManager getCollabManager()

JsonUtils

removed static method: boolean isValidInsertEntity(AnnotationEntity)

XfdfUtils

new static method: void fillAnnotationEntity(String, AnnotationEntity)

new static method: boolean isValidInsertEntity(AnnotationEntity)

new static method: HashMap<String, AnnotationEntity> parseXfdf(String, String)

new static method: HashMap<String, AnnotationEntity> parseXfdfCommand(String, String)

new static method: AnnotationEntity toAnnotationEntity(PDFDoc, String, Annot)

new static method: AnnotationEntity xfdfToAnnotationEntity(String, JSONObject)

removed static method: void fillAnnotationEntity(AnnotationEntity)

removed static method: HashMap<String, Object> parseXfdf(String)

removed static method: AnnotationEntity toAnnotationEntity(PDFDoc, Annot)

removed static method: AnnotationEntity xfdfToAnnotationEntity(JSONObject)

pdftron-collab-wvs package

BlackBoxConnection

new constructor: BlackBoxConnection()

new method: void onSendAnnotation(String, ArrayList<AnnotationEntity>, String, String)

new method: void setCollabManager(CollabManager)

removed constructor: BlackBoxConnection(Context)

removed method: void sendAnnotation(String, ArrayList<AnnotationEntity>, String, String)

modified class: BlackBoxConnection

Declaration
From:public class BlackBoxConnection extends WebSocketListener implements CustomService
To:public class BlackBoxConnection extends WebSocketListener implements CollabManagerListener

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales