Spire.Doc for Java 11.7.0 supports creating a PrivateFontPath object in a stream format

2023-07-11 02:23:18

We are excited to announce the release of Spire.Doc for Java 11.7.0. This version supports the function to create a PrivateFontPath object in a stream format and maintain consistent display of user information annotations after converting Word to PDF. Besides, it enhances the conversion from Word to PDF. In addition, it fixes some known issues, such as the issue that the watermark lost after loading a file and saving it as a new document. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREDOC-9004 Supports the function to create a PrivateFontPath object in a stream format.
// Constructor
PrivateFontPath(String fontName,InputStream fontStream); PrivateFontPath(String fontName,int fontStyle,InputStream fontStream);
// getter setter
setFontStream(InputStream value); 
getFontStream();
New feature SPIREDOC-9423 Supports the function to maintain consistent display of user information annotations after converting Word to PDF.
ToPdfParameterList parms = new ToPdfParameterList();
parms.useAuthorNameToDisplayCommentLabel(true);
Bug SPIREDOC-9044 Fixes the issue that the pagination was inconsistent after converting Word to PDF.
Bug SPIREDOC-9053 Fixes the issue that the table of contents not being updated after converting Word to PDF.
Bug SPIREDOC-9129 Fixes the issue that the watermark was missing after loading a file and saving it as a new document
Bug SPIREDOC-9323 Fixes the issue that the first-level headings lost after converting a Word document to PDF.
Bug SPIREDOC-9346 Fixes the issue that the application threw an exception: "Index is less than 0 or more than or equal to the list count" when comparing Word documents.
Bug SPIREDOC-9347 Fixes the issue that the bookmarks lost after converting Word to HTML and then back to Word.
Bug SPIREDOC-9382 Fixes the issue that the application threw an exception: "An element with the same key already exists in the dictionary." when cloning a document.
Bug SPIREDOC-9386 Fixes the issue that the indentation in paragraphs changed after converting HTML to Word.
Bug SPIREDOC-9431 Fixes the issue that table of contents updating was incorrect after merging documents.
Bug SPIREDOC-9435 Fixes the issue that the content was missing after converting Word to PDF
Bug SPIREDOC-9457 Fixes the issue that the layout was inconsistent after converting Word to PDF.
Bug SPIREDOC-9462 Fixes the issue that the document contained excessive blank paragraphs after accepting revisions.
Bug SPIREDOC-9500 Fixes the issue that the application threw an exception: "No have this value 110" when loading DOC format files.
Bug SPIREDOC-9509
SPIREDOC-9527
Fixes the issue that the content was inconsistent after converting Word to PDF.
Bug SPIREDOC-9520 Fixes the issue that the fonts changed after converting Word to PDF.
Bug SPIREDOC-9529 Fixes the issue that the page number was incorrect after converting Word to PDF by using WPS rules.
Click the link to download Spire.Doc for Java 11.7.0: