Version 7.3.0 Changelog (2021-02-22)
WebViewer Core
New
Updated PDF workers to PDFNet 8.1. All new PDFNet 8.1 APIs are available
Updated the default style of annotation selection box and control handles
Added a few static variables on the ControlHandle that give more control over the styling
Added a CanvasHelper class which provides some utility functions for drawing on HTML canvases
Added support for creating custom annotations that are viewable in other PDF viewers
Added a new
useMouseLocationoption for pasteCopiedAnnotationsAdded a few new APIs for the TransformationBuilder
Added setEditableAnnotationStyles for setting the styles of editable annotations which appear in the widget editing mode
Added getExactViewportRegionRect which returns the exact viewport rendering region if viewport rendering is enabled
Added setMinimumAnnotationSizeWhenResizing that sets the minimum allowed size of an annotation when it's being resized
Added the .htaccess file back to the core folder which handles the default mime type setup for Apache servers
Added a [fallbackToClientSide] constructor option. If true, WebViewer will fall back to the client side rendering if the connection to WebViewer Server fails
Added setDocumentXFDFRetriever to easily import and merge saved annotations and form field data from the server
Added disableEnterKeypress and enableEnterKeypress that disables/enables usage of the enter key when editing the contents of a free text annotation
Added getIndex that returns the index of the bookmark among its siblings
Updated so that position and dimension attributes (X/Y/Width/Height) now will automatically sync up the underlying path locations for annotations defined by paths (e.g. line, polyline, polygon, free text)
Fixes
Fixed issue where pasted free text annotation did not have rich text styles
Fixed issue where changing an annotation's page number could drop the annotation's appearance
Fixed issue where cursor might display incorrectly after a page is rotated
Fixed issue where cloudy rectangle annotations could be invisible after importing
Fixed issue where read-only date picker widgets were still visible in the document
Fixed issue where choice widgets were always on top of other widgets
Fixed issue where automatically added link annotations would be included in exported XFDF commands
Fixed issue where annotations with duplicate ids weren't handled correctly
Fixed issue where loadCanvasAsync might be called too early when a new document is loaded
Fixed issue where fitText resized free text annotations incorrectly on rotated pages
Fixed issue where window.opener could be used for a potential XSS attack in Firefox and IE11
Fixed issue where annotations could appear to shift positions briefly when panning in viewport mode
Fixed issue where text of a free text annotation might not be wrapped properly in the appearance
Fixed issue where vector appearances of free text annotations weren't used when free text annotations didn't have rich text styles
Fixed issue where "undo" didn't work properly for free text annotations in all cases
Fixed issue where positions of internal annotations weren't kept after page rotated
Fixed issue where certain XOD files with compressed data weren't able to be loaded properly
Fixed issue where getParent did not return an instance of CoreControls.Bookmark as it is documented
Fixed issue where invalid points were not handled gracefully and caused errors
Fixed issue where automatically added links had a trailing dot
Fixed issue where saved signatures could not be imported properly back into the signature tool
Fixed issue where text selection could be flickering in some documents
Fixed issue where arrow line annotations did not have an intent (the IT property)
Fixed issue where redaction annotations did not have text contents
Fixed issue where "undo" didn't work for pending freehand annotations
Fixed issue where opening Office documents in IE11 sometimes would throw errors
Fixed issue where page operations did not work when WebViewer Server was used
Fixed issue where thumbnails weren't used properly for viewer optimized documents when zooming
Fixed issue where copying and pasting text didn't work the second time in Chrome
Fixed issue where applying redactions sometimes got stuck
Fixed issue with undefined CoreControls in the custom annotation and redact face samples
Fixed issue where the color separation sample wasn't working on Safari
Fixed issue where rendering a XOD tile with either 1px width or height would throw errors
Fixed issue where the textSelected event was triggered more times than expected
Fixed issue where null opacity and stroke thickness on default tool styles would cause issues
Fixed issue where lines that begin with hyphens couldn't be searched
Fixed various documentation issues
WebViewer UI
New
Added a new digital signature validation panel component that is enabled when
fullAPI: trueis used. The panel will show the verification results of digital signatures in the document.Added a new digital signature modal component that will show the detailed verification information of a digital signature
Updated the rich text popup component to be disabled by default because rich text styles are currently not supported by all other Apryse SDK platforms. They can still be used and enabled in WebViewer by calling
instance.enableElements('richTextPopup')and there are no issues if you're only using WebViewer.Updated the thumbnails in the thumbnail panel to rotate with viewer page rotation
Added a new setAnnotationReadState API that sets the read/unread state of annotations in the notes panel
Added a settingsMenuOverlay object on the instance, which can be used to add or update buttons in the menu overlay component
Added a new custom color picker component that can be used to create custom colors that are used for styling annotations or tools
Added a new print
current viewoption in the print modal componentAdded an indicator for each note in that notes panel that will show up when a note has a typed reply or comment that hasn't been submitted yet
Added a slider in the thumbnails panel that can be used to resize the thumbnails
Added toggleReaderMode which can be used to enter or exit reader mode
Added an annotationFilterChanged event on the instance that will be triggered when users change the filter options in the filter modal component
Added disableClearSearchOnPanelClose and [enableClearSearchOnPanelClose][/api/web/WebViewerInstance.html#enableClearSearchOnPanelClose__anchor]
Updated the link modal component to be able to accept page labels, not just page numbers
Updated the search panel to use a spinner to indicate that searching is in progress
Fixes
Fixed issue where keyboard would pop up when selecting an annotation on mobile devices
Fixed issue where non-viewable annotations were still showing up in the filter modal component
Fixed issue where date in the notes panel component weren't updated when the language changed
Fixed issue where annotation notes were selected even when the notes panel was closed
Fixed issue where the search input was focused after UI initialize, which caused the virtual keyboard to pop up on mobile devices
Fixed issue where double tapping on a free text annotation did not start editing it on mobile devices
Fixed issue where the document horizontal scrollbar wasn't working
Fixed issue where page operations weren't enabled when WebViewer Server was used
Fixed issue where an extra margin was added in the printed document in Firefox
Fixed issue where grouped annotations weren't hidden properly when printing
Fixed issue where clicking on the selection tool would change the zoom level of the document in some cases
Fixed issue where the blinking cursor wasn't showing when the rich text editor did not have any contents
Fixed issue where mentioned name couldn't be deleted properly when the mention feature was enabled
Fixed issue where plurals weren't handled properly in some languages
Fixed issue where printInBackground did not print with default options correctly
Fixed issue where the resize bar in the panels could be unreachable
Fixed issue where notes in the notes panel were always in the edit mode
Fixed issue where calibration wasn't applied to all the measurement tools
Fixed issue where the annotation filter modal component wouldn't close when a new document was loaded
Fixed issue where individual states in the state popup component couldn't be disabled
Fixed issue where the date picker widget wasn't using the correct embedded JavaScript in some cases
Fixed issue where the last page couldn't be scrolled to in the cover facing display mode
Fixed issue where signature previews were in the wrong rotation
Fixed issue where the tooltip of the underline tool's shortcut wasn't correct
Fixed issue where the annotation note line connector wasn't showing properly in IE11
Fixed issue where buttons in the page navigation component were invisible in IE11
Fixed issue where the search input in the search panel wasn't cleared after a new document was loaded
Fixed issue where the page navigation component did not work in non-scrollable display modes
Fixed issue where setActiveHeaderGroup did not work with toolGroups
Fixed issue where the annotation popup component did not appear when either the left or the right panel was open
Fixed issue where locked layers could still be toggled in the layers panel
Fixed issue where layers with the same layer name could not be toggled properly
Fixed issue where annotations with LockedContents could still be edited
Fixed issue where the annotation line connector component opened on the wrong page
Fixed issue where the annotation line connector component showed in the printed document
Fixed issue where the note wasn't focused when its corresponding annotation was selected in the document
Last updated
Was this helpful?