Core
New
- Added optimizations to greatly improve speed of searching PDF files
- Added support for annotation snap rotation when holding the shift key
- Added support for importing and exporting inline appearance data with XFDF
- Added support for displaying text as justified inside a FreeText annotation using
freeText.textAlign = 'justify'
- Updated behavior so that moving an annotation to the edge of the viewport will automatically scroll the viewport
- Added
DateFreeTextCreateTool
which lets the user create a FreeText annotation that is flagged as a "date" type. The default WebViewer UI will show a date picker when it is being edited. - Added the
getDateFormat
andsetDateFormat
APIs on FreeText annotations to determine the date format associated with them (if applicable). - Added setStampText and getStampText APIs for getting and setting stamp text
- Added enableReadOnlyMode and disableReadOnlyMode API for documentViewer
- Added support for custom annotation appearances with WebViewer Server
- Added Core.syncNamespaces API easily sync namespaces from multiple WebViewer instances for easier interoperability between them
- Added disableAutoFocusOnCreate, enableAutoFocusOnCreate, and isAutoFocusingOnCreate API to the FreeTextCreateTool to allow FreeText annotations to be created by a user without autofocusing them
- Updated the appearance of "readOnly" radio buttons
- Added new enableTextSelection, disableTextSelection, enableAutoSwitch, disableAutoSwitch, enableAnnotationHoverCursors, disableAnnotationHoverCursors, allowAnnotationsOutsidePage, and disallowAnnotationsOutsidePage APIs for controlling tools
Fixes
- Fixed bug where documents could not be loaded when workers are loaded cross origin
- Fixed bug where signatures would not be parsed in some situations
- Fixed bug where text combing was not working
- Fixed bug where annotations that perfectly overlapped could not be selected
- Fixed issue with userName property in embedded JS
- Fixed issue with auto sizing FreeText annotations on rotated pages
- Fixed issue with line annotations being offset in particular cases
- Fixed issue with transparent annotations displaying incorrect rotation
- Fixed issue with flickering when switching pages in single page mode
- Fixed issue with
DoNotScroll
field flag not working - Fixed issue with text field with multiple lines
- Fixed issue with annotation resizing when dragging
- Fixed issue where copied annotation was pasted on top of other copied annotations
- Fixed issue where an annotation Rect without any values was causing problems
- Fixed issue where annotation rotation was not working with
immediateActionOnAnnotationSelection
create tool option - Fixed issue with FreeText annotation text going outside of the page in some cases
- Fixed issue that prevented loading documents without "http://" prefix
- Fixed issue with signature widget "Sign Here" text being visible in some cases even when it has a signature
- Fixed issue with text alignment for rich text
- Fixed issue with using
exportAnnotCommand
with undo and redo - Fixed issue with text not wrapping as expected inside a FreeText with richtext content
- Fixed issue where text widget wouldn't update display when the
readonly
property changed - Fixed issue with text not fitting inside text widgets
UI
New
- Added UI controls to change the FreeText font, vertical and horizontal text alignment and rich text styles from the annotation style menu
- Added getWatermarkModalOptions API for getting the watermark options that may have been set by the printing watermark modal
- Added a replies count in the notes panel
- Added new icons for "filter" and "reply" in the notes panel
- Added new toolbarGroupChanged event
- Updated dropdown and overlays to automatically close when loading a new document or clicking outside the element
- Added ability to support custom elements in menu overlay
- Added the
outlineBookmarksChanged
event that is fired when a bookmark changes in the outlines panel - Added the
fullscreenModeToggled
event that is fired when fullscreen mode is toggled - Added new Date tool in the fill and sign toolbar
- Updated sorting by dates in the notes panel. Can now sort by both creation date and modified date.
- Updated notes panel to now display rich text used in annotations as well as their text color.
- Improved several language translations
Fixes
- Fixed issue where loading a new document didn't clear text search
- Fixed custom content overlay positioning
- Fixed issue with popup showing up when editing text in FreeText annotation
- Fixed styling issue with the loading icon not disappearing when digital signature was loaded