Added support for properly rendering annotations with a blend mode as part of their appearance
Updated documentation for the TransformationBuilder.
Added the rotationChanged property to the pagesUpdated event on DocumentViewer that will include the pages that have had their internal rotation updated.
Annotations
Allow annotations besides highlights to set the experimental BlendMode property.
Updated behavior so that when an annotation is dragged across pages, it will retain the same Id value.
Content Edit
ContentEditManager now fires add and delete events when content boxes are added or deleted.
Added a new API toggleStrikeContents for appling Strikeout to text.
Forms
New placeholder annotations are deleted if name field is empty when ending form builder mode. Existing placeholder annotations have their name fields reverted.
Added new event formFieldEmptyFieldNames that gets fired from FormFieldCreationManager if it detects any empty name fields after build mode has ended.
Added new FormFieldCreationManager API. getWidgetFromPlaceholder will fetch the Widget annotation associated with the placeholder annotation. Otherwise returns null.
Added new function allowToolsInFormFieldCreationMode in formFieldCreationManager to allow a tool in Form Field Creation Mode
Added new function disallowToolsInFormFieldCreationMode in formFieldCreationManager to disallow a tool in Form Field Creation Mode
Layers
Added annotation/layer support for OCG structured data. Previously, only OCMD structured data was supported.
Measurement Tools
Added new events beforeSnapModeInitialized and snapModeInitialized.
Improved the Tool class setSnapMode function so that users can now create Annotations while the tool initializes.
Office Editor
Improved the text selection algorithm for Office Editor.
Improved scroll to typing cursor functionality.
Improved cursor state when interacting with images and text selection.
Added a minimum resize limit for Office Editor image annotations.
Fixes
General
Fixed issue with WebViewer not focusing on the text cursor when typing.
Fixed issue where the embedded JS environment should not have defined a global alert function.
Fixed issue where larger office templates would not have all data filled if getFileData was immediately called after applyTemplateValues.
Fixed issue where RegExp did not work in embedded JavaScript.
Fixed issue where the snipping tool didn't work with page and view rotations.
Fixed issue with the diff sample where the alignment of pages could be reversed in some cases.
Fixed issue that documentCreatePromise was not cleared after closing the document.
Fixed an issue where office templates downloaded as PDF did not include the filled data.
Annotations
Fixed an issue for FreeText annotation where the annotation would not be drawn sometimes when the XFDF contains duplicate XML.
Fixed an issue where rotating rectangles on a rotated page did not render them correctly.
Fixed an issue with the callout annotation being shifted when using enableAutoSizedTextBox option on rotated pages.
Fixed an issue where adjusting a replace text annotation triggered an add action instead of modify.
Fixed an issue preventing .gif files from animating.
Fixed an issue with Annotation alignment after the user performs a Copy / Paste of multiple Annotations.
Fixed an issue with grouped Annotations get ungrouped after being dragged to another page.
Fixed an issue with Annotation positioning after a selected/group annotations have been dragged across the screen.
Content Edit
Fixed an issue preventing Content Edit from starting when the disableObjectURLBlobs was set to true.
Fixed an issue that prevented moving markup annotations with the content box moving.
Fixed an issue where, if the full API was enabled and a document was loaded through a URL, the Content Edit mode might crash the page.
Fixed an issue where the PDF edit feature could freeze if all text was removed from a text box.
Fixed an issue where the text selection size was wrong when zooming in while editing PDF text.
Fixed an issue preventing Content Edit from functioning within Web Component headers.
Forms
Fixed an issue where ending edit mode with list box fields may not have removed the placeholders.
Fixed an issue where the initial font size of text form field was incorrect after loading a document.
Fixed an issue with Form documents utilizing Adobe global from populating correctly.
Fixed an issue preventing users from interacting with date fields on mobile.
Layers
Fixed issue with layers panel where using a shared worker would cause an infinite loop.
Measurement Tools
Fixed an issue when creating an AreaMeasurement annotation where the caption wasn't drawn upright if the page was rotated.
Fixed an issue where, with WebViewer Server, the distance measurement annotation caption could face the wrong direction on a rotated page.
Office Editor
Fixed an issue that made it impossible to exit a list.
Fixed TEXT_SELECTED events not having correct data when using Office Editor.
Web Component
Fixed issue in the web component version of the viewer where the virtual display mode was not detecting the browser screen height correctly when inside a flex container.
Fixed issue that prevented correct instantiation of web workers in web components when viewer dependencies were hosted on a different domain than the application.
Fixed issue with the exportAnnotations function throwing an error in web component mode.
Fixed issue where there was sometimes an error loading WebViewer as a web component with the cache cleared.
Fixed issue of applying CSS transform scale to the WebViewer container.
WebViewer UI
New
WebViewer Customizable UI
Starting in 10.7, you can try the beta of Webviewer's new modular UI framework! This approach breaks the UI into components which you can easily assemble to match your use case. You can now fully customize header appearance, content and placement while flexibly defining groups of tools. You can also control where panels are placed including creating your own tabbed panels. Moreover, this new UI has streamlined and improved existing workflows such as the Signatures, Stamps, and Forms. To try the new UI simply enable it via the constructor with the flag ui: 'beta' :