Some test text!

Search
Hamburger Icon

Cpp / Changelog / v9.4.2

Version 9.4.2 Changelog (December 19th, 2022)

Changed Behaviour:

  • Certain FDFDoc methods (FDFDoc.Save(), FDFDoc.GetTrailer(), FDFDoc.GetRoot(), FDFDoc.GetSDFDoc() can now cause the FDF file to be counted as a document for consumption-based licensing. This will apply at most once per FDF document and will not if the document was created through PDFDoc.FDFExtract().
  • CADConvertOptions.SetBackgroundColor() red and blue components have been flipped to match the documentation. Essentially, the colour is now RGB as one would expect rather than BGR as it was previously.

Improvements:

  • [xml] Applying the fix in Expat 2.5.0 to address CVE-2022-43680.
  • [pdf] Adjusted PDF content stream parsing to be more tolerant of errors in the Tc operator.
  • [pdf] Allow directly trusting a certificate that has not been self-signed for digital signature verification.
  • [pdf] Avoid throwing an exception during linearized save on a particular type of corrupt document with gaps in the XRef table.
  • [xfdf] Adjusted xfdf export to generate missing ids when exporting a command file with deletions.
  • [tiff] Added support for multipage tiffs with missing pages in Convert.FromTiff.
  • [all] Made a few smaller adjustments to consumption licensing data collection to ensure correct document counts even in unusual use-cases.

Bugfixes:

  • [fonts] Added a mitigation for Win32 font enumeration occasionally returning incorrect values on Azure systems.
  • [emf] Fix for a bug that could cause incorrect fitting scaling within a specified viewport.
  • [pdf] Fixed an issue with saving huge PDFs (over 2GB) into memory.
  • [xod] Fixed a problem with dash handling logic when the line width is 0.
  • [pdf] Fixed a crash that could occur when refreshing appearance with a certain type of malformed DS.
  • [C++] Fixed an occasional crash that could occur on Linux C++ after calling PDFNet::Terminate().
  • [pdf] Fixed a crash when calling PDFDoc.RefreshFieldAppearances() that could occur with a specific type of corrupt Field hierarchy.
  • [office] Fixed an occasional crash when converting using interop.
  • [pdf] Fixed a crash on a specific type of corrupt document with null pages.
  • [image] Fixed a crash when a GIF file has no frame data.
  • [node] Fixed an issue where some methods on node CADConvertOptions (such as setPageWidth and setPageHeight) were not reflected in the output.
  • [cad] Fixed an issue where CADConvertOptions.SetBackgroundColor() would flip the red and blue components.

Office Fidelity:

  • [docx] Added support of hRule=atLeast frame property and set it as the default value.
  • [docx] Fixed an issue with resolving frame properties within a table row.
  • [xls] Now correctly handle headers, footers, and page breaks for legacy .xls files.
  • [excel] Added support for horizontalCentered and verticalCentered print options.
  • [excel] Added processing of date and file name header/footer parts.
  • [excel] Added support for mixed text and images in Excel headers/footers.
  • [xls] Fixed bug with structured storage reading in legacy .xls files.
  • [Excel] Improved page-breaking algorithm to better match Excel.
  • [docx] Fixed handling of tab stops within the right hand margin.
  • [docx] Fixed a bug that could sometimes result in text fills with an incorrect style.
  • [Excel] Fixed handling of some vba control sequences in Excel headers and footers.
  • [Excel] Improved handling of empty charts.
  • [Excel] Fixed an occasional bug that could result in missing content in charts.
  • [Excel] Improved handling of conditional formatting for cells with error values.
  • [docx] Added support for "mixed content" within OOXML source files, fixing a handful of rare issues with whitespace handling.
  • [Excel] Now correctly handle tabs within table cells.
  • [Excel] Fixed handling of the asterisk ('*') format code.
  • [Excel] Added support for Excel accounting underlines.
  • [docx] Improved handling "multiple" line spacing, resulting in more accurate highlighting, and improved layout around page breaks.
  • [Excel] Duplicate Excel behaviour where numbers that do not fit within table cells are replaced with hashes.
  • [Excel] Corrected support for the "#N/A" value in charts.
  • [xlsx] Fixed a potential crash when resolving images with no .rels file present.
  • [ppt] Fixed a spurious exception when reading some document properties.
  • [ppt] Added support for 16-byte client anchors in legacy .ppt files.
  • [xlsx] More robust handling of cell references with unexpected whitespace.
  • [docx] Limit the space available to footnotes based on the position of the footnote reference.
  • [docx] More accurate line breaking around footnote references.
  • [ppt] Fixed a potential crash when processing legacy powerpoint files with invalid slide IDs.
  • [ppt] Improved handling of font style inheritance within legacy powerpoint files.
  • [Excel] Fixed axis labeling for empty charts.
  • [Excel] Fixed bug that could result in the incorrect page orientation being selected when the SetApplyPageBreaksToSheet option is used.
  • [docx] Added support for arbitrary scaling and clipping of document elements.
  • [Excel] Fixed issues with handling first/odd/even headers and footers.
  • [Excel] Fixed a bug with overzealous page size limiting when rendering Excel files with page breaks enabled.
  • [Excel] Fixed an issue with missing charts when Excel page breaks are applied.
  • [Excel] Fixed a number of issues with page scaling and clipping.
  • [xls] Added support for the fNoPls bit in legacy .xls files.
  • [Excel] Changed conditional formatting rules to be case insensitive.
  • [office] Corrected handling of backslashes in package entry names.
  • [Excel] Added handling of "showZeros" attribute of SheetView.
  • [Excel] The x-values of non-scatter chart trend lines should start at 1, not 0.
  • [Excel] Fixed handling of trend lines when data filtering results in less than 2 data points.
  • [Excel] Fixed a bug with handling content nested within a graphic frame inside a group shape.
  • [Excel] Added forward and backward trend line projections for missing chart values.
  • [office] Added better support for substitution of fonts with mismatched bold and italic properties.- [Excel] Fixed a bug with some conditional formatting not referring to the correct cell range origin.
  • [pptx] Fixed a bug with handling of gradient angle in the presence of a horizontal or vertical flip.
  • [pptx] Fixed an issue with resolving the correct fill colors through the slide hierarchy.
  • [Excel] Implemented a workaround for unexpected anchor rotation in Excel documents.
  • [Excel] Fixed a bug where line start/end markers in charts could exceed the line extents.
  • [docx] Now correctly ignore framePr when present in the default paragraph properties.
  • [docx] Improved the appearance of "thick" underlines.
  • [docx] Added support for "decimal" tab stops.
  • [docx] Fixed a number of issues with out-of-bounds tab stops.
  • [docx] Fix a bug when calculating the rotation center of a box set to shrink to contents.
  • [xlsx] Fixed multiple issues with formatting of fractional numbers.
  • [pptx] Fixed an issue with PowerPoint text rotation.
  • [pptx] Fixed an issue with applying transformations to rotated shapes inside a group.
  • [xlsx] Fix a bug with indexed color selection when the index is out of bounds.
  • [xlsx] Improved handling of Alternate Content elements within anchors.
  • [xlsx] Now correctly resolve text alignment for conflicting merged cells.
  • [doc] Added support for some missing table properties in legacy .doc files.
  • [docx] Fixed handling for a number of edge cases where table column widths are underspecified.
  • [docx] Corrected handling of competing stroke properties, which could result in incorrectly visible strokes.
  • [xlsx] Fix for spurious exception for invalid column references.
  • [xlsx] Added support for the CONCATENATE Excel function.
  • [xlsx] Added detection for invalid cached values for charts.
  • [pptx] Fixed bug that could sometimes result in incorrect removal of empty paragraphs.
  • [pptx] Fixed a number of issues with cell borders in dml tables.
  • [doc] Fixed issues with legacy .doc files with multi-encoding text.
  • [docx] Fixed an issue with the drawing order of header and footer floating boxes.
  • [docx] Corrected handling of the behindDoc attribute, which should be ignored if the text is wrapped around the shape.

Get the answers you need: Chat with us