Version 8.3.0 Changelog (2022-02-11)
WebViewer Core
New
Added support for PDF Text and Image Editing. The Core.ContentEdit namespace was added with new APIs (preloadWorker, updateDocumentContent and getDocumentContent). The getContentEditType and isContentEditPlaceholder APIs were added to the Annotation class and the ContentEditTool class was added. See the editing guide for more details.
Added support for loops and conditionals when filling MS Office templates. See the officeOptions.templateValues
Significant Optimizations for PDF client-only backend. On average this reduced page rendering time by 15-25%.
Updated the version of
PDFNetused to version 9.2. All Apryse SDK 9.2 APIs are available with the full API.Added ability to move annotations between pages
Updates to speed up rendering when PDF data is not downloaded yet
Added support for sound annotations audio playback
Improvements to how Webviewer handles "comb" text fields
Added getters and setters for both Freehand creation tools'
createDelayandsimplifyPen(getCreateDelay, setCreateDelay, getSimplifyPen, setSimplifyPen)Added support to change the rasterizer options when working with XOD or WebViewer Server via updateRasterizerOptions
Added API to extract text given a Rect and a Page (getTextByPageAndRect)
Added constants for color post process modes (ColorPostProcessMode)
Add fill color support for checkboxes
Improvements to performance when generating thumbnails and when fetching thumbnails from WebViewer Server
General improvements in the API documentation
Added constants to be used as the value of WebViewer's instantiation options
preloadWorker(WebViewer.WorkerTypes) andbackendType(WebViewer.BackendTypes).Added the setCustomHandlers API to customize annotation selection model handlers
Added support for button widgets with the embedded JS
PrintactionAdded support for embedded JS
launchURLAdded function called setCustomControlHandleDrawHandler to customize appearance of annotation control handles
Added function called setCustomCreateSignHereElementHandler to customize the HTML element of
Sign HereplaceholdersRenamed method that returns the WebViewer Server annotation manager from
getBlackBoxAnnotationManagertogetWebViewerServerAnnotationManagerRenamed method to export and import annotation commands from
importAnnotCommand/exportAnnotCommandtoimportAnnotationCommand/exportAnnotationCommandRenamed function that gets the value of the specified hash parameter from the window URL from
getHashParamtogetHashParameterAdded API to enable and disable annotations after instantiating WebViewer (enableAnnotations and disableAnnotations)
Renamed functions that are used to convert an MS Office file to PDF from
office2PDFandoffice2PDFBuffertoofficeToPDFandofficeToPDFBufferRenamed Document asynchronous methods from
loadCanvasAsync,loadThumbnailAsyncanddocumentCompletePromisetoloadCanvas,loadThumbnailandgetDocumentCompletePromiseRenamed DocumentViewer method to get the zoom level from
getZoomtogetZoomLevelRenamed Annotation method that tells if the annotation is part of the original document from
getInternaltoisInternalRenamed function to get the position of a bookmark from
getVPosandgetHPostogetVerticalPositionandgetHorizontalPositionAdded function called setCustomCreateInnerElementHandler to change createInnerElement in order customize widget annotations' HTML element
Renamed the event that is triggered when a file is downloaded from
FINISHED_SAVING_PDFtoFILE_DOWNLOADEDAdded support for checking and unchecking checkboxes with the spacebar key
Added API to customize the text overlay for Redaction annotations
Added support for annotations with inline appearances when loading MS Office documents
Added API to set the maximum dimension size when creating signature annotations by dragging a signature from the tool bar setDefaultSignatureOptions
Added getters and setters for the properties
BorderStyle(setBorderStyle and getBorderStyle) andCloudIntensity(setCloudIntensity and getCloudIntensity) of the Rectangle annotation. The same applies to the Polygon annotation.Added API to set a function to be called before submitting forms (setBeforeSubmitFormActionCallback)
Added the
ACCEPTED_FILE_SIZEproperty to limit file size when using the StampCreateTool or the SignatureCreateToolAdded support for password obfuscation in text widgets
Improved performance for rendering annotations with transparent fill color
Added new API called setCustomOnTriggeredHandler to set a custom onTrigger handler for
ActionsAdded support for embedded field formatters
Fixes
Fixed issue with the undo action that would not undo Freehand and Freehand Highlight annotations if the undo button was clicked in a short period of time after the annotation is created
Fixed issue where watermarks weren't visible when downloading an MS Office file as PDF
Fixed issue with re-importing Freetext annotations exported by WebViewer when using WebViewer Server
Fixed issue where altering the
displayproperty within embedded javascript would result in wrong behaviorFixed issue where the annotation placeholder would get removed if the signature's associated annotation got removed
Fixed issue where the drawAnnotations would wait for the current drawAnnotation call to finish even if the
overrideCanvasoption was passedRemoved unnecessary warning about WebViewer being on a different domain when using a config file
Fixed issue where documentCompletePromise could be undefined when the document was first created
Fixed issue where the iframe DOM wasn't accessible immediately after the WebViewer promise resolved
Fixed issue where documents with a specific type of shading wouldn't render properly
Added offset to multiline text widget in order to match the annotation appearance in other PDF viewers
Fixed issue where serializing an annotation could mark the annotation as modified
Fixed issue where XOD Freetext annotations were not breaking lines properly
Fixed issue where the freeform rotation control handle would not be displayed if the annotation has the NoResize flag set to true
Fixed issue where custom headers were not included in HEAD requests to get the content type
Fixed issues with annotations being duplicated after editing and text being selected in the wrong spot
Fixed race condition when deleting and re-adding annotation in a very short period of time
Fixed issue where child fields were not updating their visibility with respect to their parents
Fixed issue where an error is thrown when text is marked for redaction using the Text popup tools
Fixed issue where line annotation prototype was closed for changing constants like FONT_SIZE
Fixed issue with the offset difference between the Freetext annotation and its edit box
Fixed issue with the watermark placement on rotated pages when downloading documents
Fixed issue where the annotationChanged event was being triggered more than once on some cases with grouped annotations
Fixed issue where explicitly passing
undefinedforwidth,heightorzoomto loadCanvasAsync would return a canvas of the wrong sizeFixed issue where the label text for redaction annotations is not showing the correct font size
Fixed issue where if WebViewer Server was used and
forceClientSideInitorfullAPIwas true, then pages would get rotated twiceFixed issue where an infinite loop would occur sometimes while editing textarea widgets
Fixed issue where if no license key was passed and a custom UI was used inside a cross origin iframe then WebViewer would get stuck
Fixed issue where updateRasterizerOptions would not behave as expected in some cases
Fixed issue where the WebViewer default options would sometimes overide changes set right in the beginning of the WebViewer instantiator callback
Fixed issue where reloading freeform rotated Freetext annotations would generate unexpected appearances
Fixed issue where WebViewer could throw an error when creating checkbox widgets programatically
Fixed typo on
syncNamespavesAPI. It's nowsyncNamespaces.Fixed issue where checkboxes would still be greyed out after setting its
ReadOnlyflag to falseFixed issue where zoom level becomes NaN after calling jumpToAnnotation
Fixed issue where selecting a XOD outline/bookmark would cause all other bookmarks at the same level to appear selected
Fixed issue where toRect was returning wrong values
Fixed issue where WebViewer would throw an error when hovering over Redaction annotations with overlay text
Fixed issue where, in some cases, the value changed events were not being triggered when text field values were changed
Fixed issue where the text highlighting after a search was off for some documents
Fixed issue where the downloaded document would not have the watermarks previously set
Fixed issue where the coordinates would be off when using a custom UI outside an iframe in some cases
Fixed issue with reloading a document right after saving it while in
Form BuildermodeFixed issue with date picker widgets not being re-rendered in all scenarios where they should have been
Fixed issue where the following line would not be highlighted when searching for text that contains a split word
Fixed issue where if you zoom into an input box so it extends past your viewport, then type in the box, if it overflows, it loses focus
Fixed issue with clouds closing all the time even during the creation phase
Fixed border shape of required radio buttons
Fixed issue where the Freetext annotation's draw function didn't restore the canvas context
Fixed issue where new rubber stamps would have empty author
Fixed issue where, in some cases, the
Sign Hereplaceholder would still be visible even after signing itRemoved extra sticky create tool
annotationCreatedeventFixed timing issue where if a request is made early and then cancelled it isn't actually cancelled properly
Fixed issue where calling
exportAnnotationsafter a document was closed would throw an errorFixed issue where downloading a document with a Freetext annotation in Internet Explorer wouldn't work
Fixed issue where freetext annotations weren't editable in Internet Explorer
Fixed issue with PWA application not caching properly
WebViewer UI
New
Added content edit tool button in the "Edit" toolbar. Content edit placeholder annotations can be edited by either double clicking or clicking to select and pressing the edit button in the annotation popup.
Added better placement for the ribbons by centering them with there is enough space
Added constants to be used as the argument of setTheme
Added onError callback as an option to loadDocument
Added API to reload the outlines called reloadOutline
Added a sourcemap file by default for easier debugging of UI code
Added the pre-selection of a default rubber stamp for the rubber stamp tool
Renamed function to set the notes panel sorting strategy from
setSortStrategytosetNotesPanelSortStrategy.Added constants to be used as arguments for setNotesPanelSortStrategy and setToolbarGroup.
Added a new WebViewer option called
autoFocusNoteOnAnnotationSelectionto turn on and off auto selection of reply/comments on annotation selectionAdded styling popup for Redaction annotations' text overlays
General improvements to the page replace modal
Added WebViewer option called
additionalTranslationsand API called setTranslations to add and update translation entriesAdded API to control if notes can be added by clicking only
Enterinstead ofCTRL/CMD+Enter(enableNoteSubmissionWithEnter and disableNoteSubmissionWithEnter)General improvements to Signature and Custom Stamp modals
Similar colors are now groupedin the notes filter
Added property to enable tools without presets when registering a new tool (registerTool)
Fixes
Fixed issue where the tool group and the ribbon would be out of sync in some cases
Fixed issue where the page navigation does not change if thumbnails panel is extended
Fixed issue where the signature list was not scrollable
Fixed issue with the tooltips of page navigation controls where they would be still visible even though the controls would fade out
Fixed issue where image signatures would be clipped on the edges in some cases
Fixed issue with using the rich text styling menu on Freetext annotations
Fixed some Dutch, French, Japanese and Korean translations
Fixed issue where the delete buttons for default signatures were displayed even after being disabled
Fixed issue where UI toolbar state would show two selected tools when the core API for changing the tools was invoked
Fixed issue where the notes would break if a URL with character encoding was inserted in its content
Fixed issue related to outlines not getting updated when pages are moved
Fixed issue where calling searchText was not jumping to the next results
Fixed issue where the page would crash if another document was loaded while multi-selection thumbnail is enabled
Fixed issue with the comment button action for a FreeText annotation where it would not open the notes panel
Fixed issue where, after disabling the page deletion confirmation modal, pages could not be removed at all
Fixed issue where the rich text controls were not working for Freetext annotations
Fixed issue where the name of the signer was retrieved from the wrong certificate field
Fixed issue where the bookmarks panel would not be refreshed if a new document was loaded
Fixed issue where the style popup was not collapsing correctly on iPads
Fixed issue where the Freetext annotation style popup slider was off screen on mobile devices
Fixed issue where the dropdown menu icon in the toolbar becomes unclickable when the frame height is small
Fixed issue with the style popup sliders not being displayed in some cases
Fixed issue where the notes filtering modal was not scrollable on certain zoom levels
Fixed issue where files could not be dragged and dropped into the thumbnail panel
Fixed issue where the page navigation controls would not be displayed when the display mode is page by page
Fixed issue where the page manipulation overlay in the thumbnails panel would not hide after some action button is clicked
Removed opacity slider for widgets as it's not supported at this point
Fixed styling for form field pop up "Add Option" button on mobile devices
General style fixes for Internet Explorer
Last updated
Was this helpful?