Version 10.7.1 Changelog (2024-02-07)

WebViewer Core

New

General

  • 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' :

sh

1Webviewer.WebComponent({
2 path: '/lib',
3 ui: 'beta',
4 }....

General

  • Added an ability to change the defaults for stroke appearance for some tools.
  • Added a new API setScaleOverlayPosition to reposition the scale overlay in 4 different spots.
  • Added a new UI.setPanelWidth API for setting the width of panels using their dataElements.

Content Edit

  • Added a new button to the Content Edit Style Panel to copy the active color.
  • Added a new button to the Content Edit Style Panel to apply Strikeout to text.

Forms

  • Pressing Escape in Form Field Creation Mode is now allowed to exit from a form field creation tool.

Office Editor

  • Added UI to create a table within Office Editor.
  • Updated cursor and selection behavior when opening the context menu in Office Editor.

Fixes

General

  • Fixed an issue where the Snipping Tool popup could be dragged off-screen.
  • Fixed an issue where switching tabs doesn't scroll to the previous document position.
  • Fixed an issue where a warning would incorrectly be shown when opening the search panel in some cases.
  • Fixed an issue where the notes selection checkboxes flicker in large documents.
  • Fixed an issue where the Regex search API needed to be called twice.
  • Fixed an issue where the download button for file attachment annotations was unavailable in read-only mode.
  • Fixed an issue with excessive re-renders.
  • Fixed an issue where it was not possible to disable the Security Warning prompt when opening links.
  • Fixed an issue preventing newly created Signatures from showing in the Signature Panel.
  • Fixed an issue where selecting the rubber stamp in the tools header would prevent the user from selecting existing annotations.
  • Added ellipses to long file names so that they don't cause overflow in the document header.

Annotations

  • Fixed an issue with the Annotation style popup for MultiViewerMode not displaying correctly.
  • Fixed an issue where the Callout FreeText annotation's border box wasn't correctly drawn on initialization.
  • Fixed an issue with German and Korean shortcut Tooltip & Callout translations.
  • Fixed an issue where the Annotation & Form Field popups were not properly centered after a resize event.
  • Fixed an issue where you could comment while multi-selecting annotations in read-only mode.

Content Edit

  • Fixed an issue in Content Edit where the user was prevented from actively changing the font color.
  • Fixed an issue in Content Edit where the UI prevented color swatches from being deleted.
  • Fixed an issue where toggling the Content Edit Decorators rapidly would cause incorrect style changes.
  • Fixed an issue preventing input entry on the Font Size input on the Content Edit Style Panel.

Measurement Tools

  • Fixed an issue with the scale overlay modal where input was lost after changing value once.

Office Editor

  • Fixed an issue in Office Editor where the cursor would remain hidden after arrow keypress on a selected image.
  • Fixed an issue where the cursor remained visible after clicking on an image in Office Editor.
  • Fixed an issue with the Office Editor cursor showing as blinking instead of frozen while dragging an image.
  • Displayed a frozen cursor while dragging text in Office Editor.
  • Used source-over blend mode in Office Editor search results on Firefox to avoid text selection performance issues.

Redaction

  • Fixed an issue where redaction was not saved in multitab mode.
  • Fixed an issue causing Redaction Search by pressing Enter to return incorrect results.
  • Fixed an issue where the application could crash when opening a file with redaction types unknown to WebViewer.

Web Component

  • Fixed an issue where users could not instantiate the WebViewer as a web component inside another web component.

WebViewer Customizable UI Beta

  • Fixed issue where the Feature API was not working correctly in the customizable beta UI and all features were enabled by default.

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales