Some test text!

Search
Hamburger Icon

Nodejs / Changelog / v10.2

Version 10.2.0 Changelog (June 21st, 2023)

New In This Release

New Features:

New Document Layout Features:

  • Added support for table creation, allowing for organized presentation of information.
  • Added simple API for list creation, with support for unordered and ordered lists with arbitrary nesting.
  • The FlowDocument structure is now fully iterable, for ease of modification.
  • The document layout engine remains in the beta state. While the available features are fully functional and can be used in a production environment, we may make slight changes to the API going forward.

PDF/A-4 Validation and Conversion

  • Added support for PDF/A-4, PDF/A-4E and PDF/A-4F validation and conversion as part of PDFACompliance. (Conformance enum values e_Level4, e_Level4E and e_Level4F)
  • New PDFACompliance.ErrorCode enum values specific to PDF/A-4 were added.

Text Diff Style Comparison

  • An option was added which would enable detection of style differences font, size, bold, italic and text color. (TextDiffOptions.SetCompareStyles())

Changed Behaviour:

  • The Java SDK now requires at least Java 1.7. (JDK and JRE 7)

Improvements:

  • [ocr] Significantly improved error handling for the OCR modules to help with diagnosis of common errors.
  • [image] Significantly improved error messages for the Advanced Imaging Module module to help with diagnosis of common errors.
  • [pdf] Improved error messaging for Form Detection as part of the Data Extraction Module.
  • [pdf] Dict.Erase() will now throw an exception if the iterator parameter is invalid. Previously this situation could cause a crash.
  • [java] PDFDoc now implements AutoCloseable which allows it to be used within a try-with-resources block.
  • [xfdf] Avoid throwing an exception when exporting XFDF from certain corrupt documents.
  • [pdf] Avoid throwing an exception when importing pages from corrupt documents with invalid Fields.
  • [node.js] Worked around an unexpected stack overflow that could occur when importing the sass module in Node.js, but did not seem to otherwise.
  • [pdf] Improved path hinting support for PDF files which use small rectangles instead of lines. This will help ensure they show up even at lower resolutions.

Bugfixes:

  • [pdf] Fixed redaction issue on Type3 fonts with invalid metrics. This is important for specific types of documents as it was possible for this type of text to not be redacted even when the visual portion of the glyph was covered.
  • [pdf] Addressed problems in PDF text diff handling text content that changed order, by limiting logical moves to those that move around fixed content and across pages.
  • [node.js] Fixed errors in RefreshOptions implementation for Node.js.
  • [pdf] Improved accuracy of OCR coordinates. Previously they could be a little offset from the visible position in the image.
  • [pdf] Fixed a stack overflow in TextExtractor.GetAsText that could occur on very complex documents.
  • [pdf] Fixed potential memory blowup when using Optimizer on documents with a large number of pages.
  • [node.js] Fixed a memory leak in TextExtractor.getHighlights() on Node.js.
  • [xfdf] Fixed an issue where IRT replies pointing to Annotations that do not have an NM entry would not be properly connected when importing XFDF.
  • [xfdf] Fixed an issue where, in rare cases, IRT links could be broken during PDFDoc.FDFUpdate, leading to orphaned replies.
  • [pdf] Fixed an issue with fetching Outlines when using PDFViewCtrl.OpenURLAsync(), where if the minimal download option was used outlines would not be retrieved.
  • [pdf] Fixed an issue with fetching Outlines when using PDFViewCtrl.OpenURLAsync(), where it was possible for a UI update event for the Outline to be skipped.
  • [pdf] Fixed a PDF rendering issue where Transfer functions in the ColorSpace would not be utilized when rendering images.
  • [pdf] Fixed a FreeText rich-text generation issue where the justification could be incorrect for right-to-left text.
  • [pdf] Fixed an issue with rendering inline images with IM set to false and BPC other than 1.
  • [pdf] Fixed an issue where, with viewer cache disabled, running Optimizer on certain PDF files could lead to corrupt output.

Office Fidelity:

  • [docx] Implemented support for conditional fields in Word documents. Previously, we would always use the cached content.
  • [docx] Addressed a rare issue causing some frames to display wider than necessary.
  • [office] Corrected a color issue visible in some Adobe Acrobat Reader for PDFs converted from office documents. Previously, RGB colors could be mistakenly interpreted as CMYK. Now, all colors will display accurately as intended.
  • [templates] Fixed a bug in template preparation where template nodes were placed incorrectly in certain scenarios, such as when there are non-text elements between text runs. This ensures a smoother document generation with templates.
  • [templates] Fixed an issue with incorrect handling of column break hints during template filling.
  • [docx] Corrected an issue with the default color for table borders. If no color is specifically set for a border but the border style is active, the border will now correctly display as black.
  • [xlsx] Implement the LOWER Excel function.
  • [office] Corrected an issue where grid lines were missing in radar charts. Now, regardless of the axis visibility, the grid lines will consistently display as intended.
  • [docx] Resolved a problem with image spacing in lines with small line height multipliers. Images will now adjust their height proportionally to ensure proper alignment with the text.
  • [ppt] Significantly improved handling of theme overrides in binary PowerPoint (ppt) files.
  • [xlsx] Fixed checkbox alignment issues in Excel documents.
  • [pptx] Improved color accuracy for SVG images in PowerPoint. We now extract theme replacement colors from the SVG file and apply them to the corresponding PNG, ensuring the images display with the correct colors.
  • [docx] Made several improvements to line height calculations for a more accurate and consistent document layout, including better handling of newline spacing and ensuring style consistency across elements.
  • [docx] Fixed an issue where footnotes did not include appropriate padding in their height, leading to more accurately sized footnotes in the final document.
  • [xlsx] Implemented support for reading subscript and superscript formatting options from Excel documents.
  • [xlsx] Implemented basic display functionality for combo box and drop down list controls. Now, you'll be able to see the selected value on a white background in your documents.
  • [xlsx] Resolved an issue related to applying gradient cell backgrounds in Excel documents.
  • [docx] Enhanced table row properties reading from document styles.
  • [office] Added support for named colors in Word files, allowing the use of descriptive color names.
  • [office] Added support for the wave underline style.
  • [office] Fixed a rare crash related to handling certain monochrome Windows bitmap files embedded in WMF images.
  • [docx] Implemented the ability to break text within words when positioned alongside square-wrapped objects.
  • [office] Improved handling of complex transformations in shape groups, ensuring accurate rendering of rotated and flipped shapes, as well as correctly transformed text and pictures within the groups.
  • [office] Improved handling of charts with incorrect cached data.
  • [docx] Resolved issues with incorrect text styles within table of contents entries.
  • [xlsx] Fixed a potential crash happening when converting extremely long Excel sheets.
  • [docx] Added handling of customXmlDelRangeStart and customXmlDelRangeEnd elements to improve data substitution in structured document tags.
  • [docx] Added DisplayHiddenText option to OfficeToPDFOptions. This new option provides the ability to display hidden text within the document (i.e. the text marked as 'Hidden' in the font style).
  • [office] Improved font substitution for EMF files by introducing the ability to force bold font rendering
  • [office] Resolved the issue related to dash lines being drawn instead of solid lines on some shapes.
  • [office] Fixed an issue with incorrect scaling of rotated text in EMF images.
  • [office] Corrected text spacing for small caps text style.

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales