Spire.Doc for Java 13.9.19 supports configuring images to be embedded in Base64 encoding when converting Word to Markdown
We're pleased to announce the release of Spire.Doc for Java 13.9.19. This version introduces enhanced Markdown export options, allowing better control over image encoding, output paths, link modes, lists, equations, and table formatting when converting Word documents. Meanwhile, multiple issues related to document revision comparison, page retrieval, content formatting, and exceptions during file conversions have also been fixed. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREDOC-11484 | Supports configuring images to be embedded in Base64 encoding when converting Word to Markdown.
doc.getMarkdownExportOptions().setImagesAsBase64(true); |
| New feature | — | Supports configuring the output directory and resource reference path for images when converting Word to Markdown.
doc.getMarkdownExportOptions().setImagesFolder(ImagesFolder); doc.getMarkdownExportOptions().setImagesFolderAlias(file_imageFile.getCanonicalPath()); |
| New feature | — | Supports configuring the link output mode (Auto/Inline/Reference) when converting Word to Markdown.
doc.getMarkdownExportOptions().setLinkOutputMode(MarkdownLinkOutputMode.Inline); |
| New feature | — | Supports configuring lists to be exported using Markdown syntax or plain text when converting Word to Markdown.
doc.getMarkdownExportOptions().setListOutputMode(MarkdownListOutputMode.PlainText); |
| New feature | — | Supports configuring equations to be exported as text, image, or MathML when converting Word to Markdown.
doc.getMarkdownExportOptions().setOfficeMathOutputMode(MarkdownOfficeMathOutputMode.Image); |
| New feature | — | Supports retaining specified content (e.g., tables) in HTML format when converting Word to Markdown.
doc.getMarkdownExportOptions().setSaveAsHtml(MarkdownSaveAsHtml.Tables); |
| New feature | — | Supports using "++" symbols to represent underline formatting when converting Word to Markdown.
doc.getMarkdownExportOptions().setSaveUnderlineFormatting(true); |
| New feature | — | Supports configuring text alignment (Left/Center/Right/Auto) for tables when converting Word to Markdown.
doc.getMarkdownExportOptions().setTableTextAlignment(TableTextAlignment.Center); |
| Bug | SPIREDOC-10545, SPIREDOC-11365, SPIREDOC-11366 | Fixed an issue where Word document revision comparison was inaccurate. |
| Bug | SPIREDOC-11262 | Fixed an issue where page retrieval was incorrect. |
| Bug | SPIREDOC-11270 | Fixed an exception "Shape width cannot be greater than 1584 points" when converting Markdown to Word. |
| Bug | SPIREDOC-11319 | Fixed an exception "Error loading file: Unsupported file format" when converting HTML to Word. |
| Bug | SPIREDOC-11371 | Fixed incorrect page breaking when converting Word to PDF. |
| Bug | SPIREDOC-11435 | Fixed incorrect indentation in table of contents when saving Word documents. |
| Bug | SPIREDOC-11473, SPIREDOC-11485 | Fixed a "NullPointerException" when converting Word to Markdown. |
| Bug | SPIREDOC-11479 | Fixed an issue where the output stream was blank when saving Word to Markdown. |
| Bug | SPIREDOC-11480 | Fixed incorrect behavior when accepting revisions. |
| Bug | SPIREDOC-11486 | Fixed an issue where clearing table row background color had no effect. |
| Bug | SPIREDOC-11487 | Fixed a "NullPointerException" when calling the removeSelfOnly method to remove content controls. |
| Bug | SPIREDOC-11500 | Fixed an issue where the application hung when replacing bookmark content after enabling revisions. |
| Bug | SPIREDOC-11501 | Fixed an issue where the "incorrect password" exception was not properly thrown when loading encrypted documents. |
| Bug | SPIREDOC-11505 | Fixed a "NullPointerException" when retrieving the PackageFileName of an OLE object. |
| Bug | SPIREDOC-11506 | Fixed incorrect text retrieval. |
| Bug | SPIREDOC-11517 | Fixed an "Unsupported file format" exception when loading HTML files. |
| Bug | SPIREDOC-11548 | Fixed incorrect comment timestamps after saving Word documents. |
Spire.PDF for Java 11.9.6 optimizes memory usage and fixes multiple issues
We're pleased to announce the release of Spire.PDF for Java 11.9.6. This version optimizes memory consumption when loading documents. Meanwhile, several issues related to PDF conversion, text extraction, Grid cell formatting, and image coordinates have been successfully fixed. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| Optimization | SPIREPDF-7717 | Optimizes memory consumption when loading documents. |
| Bug | SPIREPDF-7608 | Fixes the issue where the program threw a "NullPointerException" when converting PDF to HTML. |
| Bug | SPIREPDF-7635 | Fixes the issue where the character "-" was missing when extracting text from PDF. |
| Bug | SPIREPDF-7639 | Fixes the issue where text wrap settings in Grid cells were not taking effect. |
| Bug | SPIREPDF-7652 | Fixes the issue where the obtained image coordinates were inaccurate. |
Spire.Presentation for Python 10.9.0 fixes an issue with image insertion
We’re glad to announce the release of Spire.Presentation for Python 10.9.0. This updates mainly fixes an issue occurred when inserting SVG images to a multi-page PowerPoint file. More details are as follows.
Here is a list of changes made in this release
| Category | ID | Description |
| Bug | SPIREPPT-2976 | Fixed the issue where a new slide was accidently created when inserting SVG images to a specified shape in a multi-page PowerPoint file.* |
Spire.XLS 15.9.7 supports creating and modifying Equations
We're pleased to announce the release of Spire.XLS 15.9.7. This version adds a new interface for creating and modifying Equations, and also supports the ISOMITTED, LAMBDA functions. Besides, some issues that occurred when converting Excel to PDF and copying worksheets have been successfully fixed. More details are shown below.
Here is a list of changes made in this release
| Category | ID | Description |
| Optimization | SPIREXLS-5888 | Optimizes the time consumption for converting Excel to PDF. |
| Optimization | SPIREXLS-5929 | Optimizes the time consumption for converting Excel to HTML. |
| New feature | SPIREXLS-4316 | Adds IXlsEquation Interface to support creating and modifying Equations.
Workbook workbook = new Workbook();
workbook.LoadFromFile("Equation_1.xlsx");
Worksheet sheet = workbook.Worksheets[0];
// Add a new equation at position (1, 1) with size 50x50, displaying fraction A/B
sheet.Equations.AddEquation(1, 1, 50, 50, "\\frac{A}{B}");
// Get the first equation in the worksheet
IXlsEquation equation = sheet.Equations[0];
// Update the equation content using LaTeX syntax
equation.UpdateByLatexText("\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha}");
// Set the position and size of the equation
equation.Top = 19;
equation.Left = 72;
equation.Width = 100;
equation.Height = 100;
// Get the second equation in the worksheet
IXlsEquation equation1 = sheet.Equations[1];
// Get the collection of equation items (components of the formula)
IEquationItemCollection equationItems = equation1.EquationItems;
// Get the first item in the collection
IEquationItem item1 = equationItems[0];
item1.Text = "e-iceblue"; // Modify the text of the item
// Append a new LaTeX formula at the end
equationItems.AddByLatex("\\frac{n!}{r!(n-r)!} ");
// Insert a LaTeX formula at index 0
equationItems.InsertByLatex(0, "\\Delta A B C");
// Save the workbook
workbook.SaveToFile("out.xlsx");
|
| New feature | SPIREXLS-5934 | Supports preserving frozen rows when converting Excel to HTML.
HTMLOptions.Default.IsSaveFreezedPanes = true; // true to preserve freeze panes, false to discard |
| New feature | SPIREXLS-5935 | Supports the ISOMITTED function.
sheet.Range["D7"].Formula = "=LAMBDA(val,max,IF(ISOMITTED(max),val,IF(AND(val>0,val<max),\"within range\",\"out of range\")))(A1,A2)";
|
| New feature | SPIREXLS-5941 | Supports the LAMBDA function.
sheet.Range["D5"].Formula = "=LAMBDA(a,b,IF(ISOMITTED(b),a*a,a*b))(A1,A2)"; |
| Bug | SPIREXLS-5856 | Fixes the issue where row height was retrieved incorrectly. |
| Bug | SPIREXLS-5904 | Fixes the issue where text boxes were missing when converting Excel to PDF. |
| Bug | SPIREXLS-5907 | Fixes the issue where text alignment in text boxes was incorrect when converting Excel to PDF. |
| Bug | SPIREXLS-5910 | Fixes the issue where data was incorrect when converting Excel to PDF. |
| Bug | SPIREXLS-5915 | Fixes the issue where content was incorrect when converting Excel to PDF. |
| Bug | SPIREXLS-5926 | Fixes the issue where rendering was incorrect when converting Excel to PDF. |
| Bug | SPIREXLS-5932 | Fixes the issue where borders were incorrect when converting Excel to PDF. |
| Bug | SPIREXLS-5940 | Fixes the issue that copying a worksheet containing a Slicer to another workbook threw a "System.ArgumentOutOfRangeException" exception. |
| Bug | SPIREXLS-5947 | Enhances compatibility handling for NamedRanges that contain error values. |
| Bug | SPIREXLS-5953 | Fixes the issue where chart formatting was incorrect when converting Excel to images. |
Spire.PDF for Python 11.9.2 fixes the issue where the font was incorrect when replacing English text with Chinese text
We're pleased to announce the release of Spire.PDF for Python 11.9.2. This version focuses on improving text replacement and document processing by fixing issues related to font rendering and content loss after flattening. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| Bug | SPIREPDF-6603 | Fixed the issue where the font was incorrect when replacing English text with Chinese text. |
| Bug | SPIREPDF-6829 | Fixed the issue of content loss after flattening the document. |
Spire.Presentation 10.9.1 fixes the issue of creating an extra slide when inserting SVG into Shape
We’re pleased to announce the release of Spire.Presentation 10.9.1. In this version, an issue has been fixed where a new slide was accidentally created when inserting an SVG into a specified shape in a multi-page PowerPoint presentation. Please see the details below.
Here is a list of changes made in this release
| Category | ID | Description |
| Bug | SPIREPPT-2976 | Fixes the issue of accidentally creating a new slide when inserting an SVG into a specified shape in a multi-page PowerPoint presentation. |
Spire.Barcode 7.4.1 fixes a font issue
We’re glad to announce the release of Spire.Barcode 7.4.1. This version fixes the font issue occurred when creating barcodes, and adjusts the dependencies as well. More details are list below.
Here is a list of changes made in this release
| Category | ID | Description |
| Adjustment | - | Removed the“System.Security.Cryptography.Pkcs”, “System.Security.Permissions”, and “System.Security.Cryptography.Xml” dependencies on .NET Core and .NET Standard platforms. |
| Bug | SPIREBARCODE-285 | Fixed the issue where specific fonts could not be recognized when creating barcodes. |
Spire.Presentation for Java 10.9.3 adds a new method to quickly retrieve the number of slides
We are pleased to announce the release of Spire.Presentation for Java 10.9.3. This version adds a new method to quickly retrieve the number of slides, and also fixes several issues that occurred when converting slides to images. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREPPT-2978 | Adds the getSlidesCount() method to quickly retrieve the number of slides without fully parsing the entire document.
// Stream approach: InputStream stream = new FileInputStream(inputFile); int count = Presentation.getSlidesCount(stream); // File path approach: int count = Presentation.getSlidesCount(inputFile); |
| Bug | SPIREPPT-2908 SPIREPPT-2913 | Fixed an issue where the font rendering was incorrect when converting PPTX to PDF on Linux systems. |
| Bug | SPIREPPT-2916 | Fixed an issue where layout discrepancies occurred when converting slides to images. |
| Bug | SPIREPPT-2917 | Fixed an issue where table content overflowed its cells when converting slides to images. |
| Bug | SPIREPPT-2918 SPIREPPT-2924 | Fixed an issue where table borders were missing when converting slides to images. |
| Bug | SPIREPPT-2927 SPIREPPT-2966 | Fixed an issue where the rendering of LaTeX formulas was incorrect. |
Spire.PDF 11.9.8 adds SaveAsImage method in NETStandard DLL to customize image DPI when converting PDF to images
We're pleased to announce the release of Spire.PDF 11.9.8. This version adds the SaveAsImage method in the NETStandard DLL to support customizing image DPI when converting PDF to images, and introduces the Collate property to set the print order for multiple copies. Meanwhile, some issues that occurred in PDF conversion, font embedding, and annotation rendering have also been successfully fixed. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | SPIREPDF-7617 | Adds the SaveAsImage(int pageIndex, int dpiX, int dpiY) method in the NETStandard DLL to support customizing image DPI when converting PDF to images. |
| New Feature | SPIREPDF-7694 | Adds the Collate property in the NETStandard DLL to support setting the print order for multiple copies.
// true: Collated printing; default false: Uncollated printing doc.PrintSettings.Collate = true; |
| Bug Fix | SPIREPDF-6584 | Fixed an issue where memory consumption was high when using the NETStandard DLL to convert PDF to images. |
| Bug Fix | SPIREPDF-7072 | Fixed an issue where the retrieved font name was inaccurate when searching for text. |
| Bug Fix | SPIREPDF-7371 | Fixed an issue where the conversion result from OFD to PDF was incorrect. |
| Bug Fix | SPIREPDF-7373 | Fixed an issue where annotations were not displayed when converting PDF to XPS. |
| Bug Fix | SPIREPDF-7658 | Fixed an issue where the application threw an "Unexpected token before 158586" exception when loading a PDF document. |
| Bug Fix | SPIREPDF-7669 | Fixed an issue where the application threw an "ArgumentOutOfRangeException" when extracting text. |
| Bug Fix | SPIREPDF-7684 | Fixed an issue where the application threw an "Unknown annotation type value: 'Free Text'" exception when converting OFD to PDF. |
| Bug Fix | SPIREPDF-7706 | Fixed an issue where some fonts could not be embedded correctly after drawing text. |
Spire.Presentation for JavaScript 10.9.0 updates the Skiasharp dependency
We're excited to announce the release of Spire.Presentation for JavaScript 10.9.0. This version primarily updates the Skiasharp dependency to 3.116.1.
Here is a list of changes made in this release
| Category | ID | Description |
| Adjustment | - | Updated the Skiasharp dependency to 3.116.1. |