Apr 12, 2022
Core
New
- Added new
ArcCreateTool
andArcMeasurementCreateTool
to allow users to create Arc annotations - Added
DistanceMeasurementCreateTool.setLeaderLineDefaultOptions
to control whether leader lines are enabled, whether they should be created by default and what their length should be when annotations are created using the tool. - Added
Core.MeasurementManager
with APIs related to annotation and tool style syncing - Added new APIs
SignatureWidgetAnnotation.getAssociatedSignatureAnnotation
andSignatureWidgetAnnotation.setAssociatedSignatureAnnotation
to manage theannot
property instead of having only the property itself - Added new APIs
DocumentViewer.getPDFCoordinatesFromMouseEvent
andDocumentViewer.getViewerCoordinatesFromMouseEvent
to make converting from mouse coordinates easier - Added
isSmoothScroll
option forAnnotationManager.jumpToAnnotation
API for scrolling the viewer smoothly when jumping to an annotation - Added
isSmoothScroll
parameter toDocumentViewer.setCurrentPage
for scrolling the viewer smoothly when setting the current page - Updated the
DistanceMeasurementCreateTool
behavior so that annotations created will not have their text displayed upside down. - Added support for automatically setting the filename of the document if the
Content-Disposition
header was set - Added grayscale mode APIs on
DocumentViewer
:enableGrayscaleMode
,disableGrayscaleMode
,enableGrayscaleAnnotationsMode
anddisableGrayscaleAnnotationsMode
Fixes
- Fixed issue where measurement arrow tips would slightly poke past leader lines
- Fixed issue where automatic linkifying of text didn't work if the link was uppercase
- Fixed issue with embedded JavaScript where the correct type wasn't given for numbers in text fields
- Fixed issue with setting hour and minute when selecting a date or today
- Fixed i18n locale issue in date picker when there is an invalid date
- Fixed issue where if the value returned from getDisplayAuthor has changed then the author name wouldn't update in the notes panel
- Fixed issue where editing text on a particular document would cause some characters to be missing
- Fixed Windows touch device error
- Fixed issue with searching up and down when using single search API
- Fixed issue where newly created signature is not center-aligned
- Fixed issue that caused Express to crash when building a custom UI
UI
New
- Added new language switcher for switching the current language
- Updated UI for file attachments with the multi-tab feature
- Added support for displaying measurements with imperial units and fractions
- Added new APIs on the
UI.Fonts
namespaces to get, add, updated and remove fonts for the UI related to annotations - Added new API
UI.VerificationOptions.loadTrustList
so that you can store and load inputted items - Added new API
UI.getAvailableLanguages
to return all available languages as a list - Added new API
UI.willUseEmbeddedPrinting
which returns true if embedded printing will be used - Added new feature toggle to turn on/off multi-tab
UI.enableFeatures(['MultiTab'])
- Added new
UI.TabManager
APIsdeleteTab
andaddTab
to manipulate tabs - Added a new File Attachment view button while multi-tab is on
- Added a new checkbox for creating new tabs that specifies whether to open tab immediately
- Added support for printing in grayscale mode if
DocumentViewer.enableGrayscaleMode
orDocumentViewer.enableGrayscaleAnnotations
was enabled
Fixes
- When hotkeys are disabled, also remove the shortcut from the tooltips
- Fixed issue that there's no data element for Sort Container in Notes Panel
- Fixed issue where signature tool style popup is closed when hovering over text
- Fixed issue where the Label Text functionality wasn't able to be disabled