Spire.Doc for Java 13.12.2 supports verifying whether the write-protection password is correct
We're pleased to announce the release of Spire.Doc for Java 13.12.2. This version supports verifying whether the write-protection password is correct, and also fixes some issues that occurred when converting Word to PDF, HTML to Word, and replacing bookmarks. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | - | Added a new method to support verifying whether the write-protection password is correct.
Boolean protectionPassword = document.checkWriteProtectionPassword("password");
|
| Bug | SPIREDOC-10684 SPIREDOC-11670 | Fixed an issue where text line breaks were inconsistent when converting Word to PDF. |
| Bug | SPIREDOC-11340 | Fixed an issue where paragraph indentation was inconsistent when converting HTML to Word. |
| Bug | SPIREDOC-11617 | Fixed an issue where retrieving bookmarkEnd failed. |
| Bug | SPIREDOC-11618 | Fixed an issue where a “NullPointerException” was thrown when replacing bookmarks. |
| Bug | SPIREDOC-11619 | Fixed an issue where bookmark tags were altered after bookmark replacement. |
| Bug | SPIREDOC-11624 | Fixed an issue where a “NullPointerException” was thrown during Word-to-PDF conversion. |
| Bug | SPIREDOC-11636 | Fixed an issue where equation parentheses were missing when converting Word to PDF. |
| Bug | SPIREDOC-11637 | Fixed an issue where an exception was thrown when retrieving bookmark content inside form content control. |
| Bug | SPIREDOC-11642 | Fixed an issue where detection of document write-protection passwords was inaccurate. |
| Bug | SPIREDOC-11646 | Fixed an issue where a “Text shaper failed” exception was thrown during Word-to-PDF conversion when text shaping was enabled. |
| Bug | SPIREDOC-11649 | Fixed an issue where content overlapped when converting Word to PDF. |
| Bug | SPIREDOC-11669 | Fixed an issue where a “ClassCastException” was thrown when converting HTML to Word. |
| Bug | SPIREDOC-11677 | Fixed an issue where text replacement was incorrect when setReplaceFirst was set to true. |
| Bug | SPIREDOC-11689 | Fixed an issue where tables were misaligned when converting Word to PDF. |
| Bug | SPIREDOC-11697 | Fixed an issue where images were incompletely rendered when converting Word to PDF. |
Spire.Doc for Python 13.12.0 has optimized and enhanced the API
We’re pleased to announce the release of Spire.Doc for Python 13.12.0. This version delivers significant API enhancements, including fine-grained format control for document elements, improved chart configuration options, and upgraded comparison features. Additionally, it introduces auxiliary function enhancements, a revamped list system, and overall API optimizations to streamline user experience. More details are as follows.
Here is a list of changes made in this release
| Category | ID | Description | |||||||||||||||||||||||||||||||||
| Adjustment | - | Added fine-grained format control capabilities for core document elements such as paragraphs, tables, cells, borders, and styles.
|
|||||||||||||||||||||||||||||||||
| Adjustment | - | Enhanced configuration and operation capabilities for Chart and its sub-objects.
|
|||||||||||||||||||||||||||||||||
| Adjustment | - | Enhanced revision, content control and document comparison features.
|
|||||||||||||||||||||||||||||||||
| Adjustment | - | Enhanced auxiliary functions.
|
|||||||||||||||||||||||||||||||||
| Adjustment | - | Reconstructed list system.
|
|||||||||||||||||||||||||||||||||
| Adjustment | - | Removed some redundant or poorly designed properties and methods to improve the overall consistency of the API. For example, obsolete export methods such as OfficeMath.SaveToImage and SaveImageToStream have been removed. |
Spire.PDF 11.12.0 supports both horizontal and vertical text alignment
We're pleased to announce the release of Spire.PDF 11.12.0. This version introduces a new PdfFreeTextAnnotation.StringFormat property that supports both horizontal and vertical text alignment. It also includes rendering adjustments and multiple bug fixes related to PDF conversion, annotation processing, and multilingual text rendering. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| Adjustment | — | Enhanced the underlying rendering logic for converting PDFs to images on the WPF platform, resulting in significantly improved output image quality. |
| New feature | SPIREPDF-7826 | Deprecated the PdfFreeTextAnnotation.TextAlignment property and added the new PdfFreeTextAnnotation.StringFormat property to support horizontal and vertical text alignment.
PdfDocument newPdf = new PdfDocument();
PdfPageBase page = newPdf.Pages.Add();
Spire.Pdf.Graphics.PdfFont font = new PdfFont(PdfFontFamily.Helvetica, 10f);
SizeF textSize = font.MeasureString("sample");
RectangleF rect = new RectangleF(50,50, textSize.Width, textSize.Height);
Spire.Pdf.Annotations.PdfFreeTextAnnotation textAnnotation = new Spire.Pdf.Annotations.PdfFreeTextAnnotation(rect);
textAnnotation.Text = "sample";
textAnnotation.Subject = "subject";
textAnnotation.Font = font;
Spire.Pdf.Annotations.PdfAnnotationBorder border = new Spire.Pdf.Annotations.PdfAnnotationBorder(8);
textAnnotation.Border = border;
textAnnotation.LineEndingStyle = Spire.Pdf.Annotations.PdfLineEndingStyle.None;
textAnnotation.Size = new SizeF(textSize.Width * 1.5F, textSize.Height * 1.5F);
textAnnotation.StringFormat.Alignment = PdfTextAlignment.Center;
textAnnotation.StringFormat.LineAlignment = PdfVerticalAlignment.Middle;
page.Annotations.Add(textAnnotation);
newPdf.SaveToFile(result);
|
| Bug | SPIREPDF-2261 | Fixed the issue where Arabic characters entered into form fields were displayed with incorrect text direction. |
| Bug | SPIREPDF-4834 | Fixed the issue where content became inconsistent when converting XPS to PDF. |
| Bug | SPIREPDF-6712, SPIREPDF-6873 | Fixed the issue where Arabic and Hebrew text rendered incorrectly when converting PDF to PDF/A-3a. |
| Bug | SPIREPDF-7526 | Fixed the issue where text blocks were unnecessarily split into multiple lines during PDF-to-PPTX conversion. |
| Bug | SPIREPDF-7816 | Fixed the issue where removing annotation borders had no effect. |
| Bug | SPIREPDF-7828 | Fixed the issue where a System.Exception was thrown during OFD-to-PDF conversion. |
E-ICEBLUE Christmas Offer 2025 – Enjoy Up to 15% OFF
As the holiday season approaches, E-ICEBLUE is pleased to announce our 2025 Christmas Promotion, running from December 1, 2025, to January 10, 2026. During this period, you can enjoy exclusive savings on our Spire series products, including Spire.Doc, Spire.PDF, Spire.XLS, and Spire. Presentation, whether you’re trying them for the first time or expanding your existing toolkit.
Christmas Promotion
10% OFF Sitewide
- A flat 10% discount on all Spire products.
- The discount is applied on top of the current listed price.
- Stackable with existing product-level discounts on the website.
- Coupon code: XMAS10
15% OFF for Two-Product Bundle
Purchase any two Spire products together—such as Spire.Doc + Spire.PDF, Spire.XLS + Spire.PDF, Spire.Doc + Spire.XLS, etc.—and enjoy:
- 15% OFF the combined purchase
- Not stackable with the 10% sitewide discount.
- Ideal for teams or users expanding their toolkit
How to Use the Discounts
You may apply the Christmas coupon code directly at checkout or contact our sales team for bundle purchases.
- Coupon Code for 10% OFF: XMAS10
- Bundle discount will be applied manually by the sales team when applicable.
Notes
- Discounts apply only to orders placed directly through E-ICEBLUE.
- Bundle orders and special pricing may require contacting our sales team.
- Price differences caused by missing promotions cannot be refunded.
Recent Product Highlights
To help you make the most of our tools, here are some recent updates across the Spire product lines:
- Continued enhancements across Spire.Doc, Spire.PDF, Spire.XLS, Spire.Presentation, and other products, improving performance, rendering accuracy, and conversion quality.
- Ongoing improvements to document conversion and editing features, including support for converting Word, PDF, Excel, and PowerPoint files into multiple formats.
- New: Spire.OfficeJS series—we are excited to announce that Spire.WordJS, Spire.ExcelJS, Spire.PresentationJS, and Spire.PDFJS will be launching soon, bringing front-end document editing capabilities to JavaScript applications.
Stay tuned for the upcoming release and experience the full power of Spire Products in your development!
Contact Us
- Support Team: support@e-iceblue.com
- Sales Team: sales@e-iceblue.com
- Skype ID: iceblue.support
Closing Remark
We wish you a warm and joyful holiday season, and thank you for your continued support. Take this opportunity to enhance your productivity with Spire series products at exclusive Christmas savings!
Spire.Office 10.11.0 is released
We’re pleased to announce the release of Spire.Office 10.11.0. In this version, Spire.Doc optimize the OfficeMath processing capabilities; Spire.XLS supports converting Excel to JSON; Spire.Presentation enhances the conversion form PPTX to PDF; Spire.PDF supports printing logging in NETStandard environment. Meanwhile, a series of known issues have been fixed in this update. More details are as follows.
In this version, the most recent versions of Spire.Doc, Spire.PDF, Spire.XLS, Spire.Presentation, Spire.Barcode, Spire.DocViewer, and Spire.PDFViewer are included.
DLL Versions:
- • Spire.Doc.dll v13.11.5,
- • Spire.Pdf.dll v11.11.5,
- • Spire.XLS.dll v15.11.3,
- • Spire.Presentation.dll v10.11.4,
- • Spire.Barcode.dll v7.4.1,
- • Spire.Email.dll v6.6.3,
- • Spire.DocViewer.Forms.dll v8.9.4,
- • Spire.PdfViewer.Asp.dll v8.2.6,
- • Spire.PdfViewer.Forms.dll v8.2.16
- • Spire.Spreadsheet.dll v7.5.2,
- • Spire.OfficeViewer.Forms.dll v8.8.0,
- • Spire.DataExport.dll 4.9.0,
- • Spire.DataExport.ResourceMgr.dll v2.1.0
Here is a list of changes made in this release
Spire.Doc
| Category | ID | Description |
| Optimization | - | Optimized OfficeMath processing capabilities and enhanced the display effects of formula line wrapping and revisions. |
Spre.XLS
| Category | ID | Description |
| New feature | SPIREXLS-5977, SPIREXLS-5978 | Added support for exporting equation content to MathML and LaTeX.
Workbook workbook = new Workbook(); workbook.LoadFromFile(inputFile); Worksheet sheet = workbook.Worksheets[0]; string mathML = sheet.Equations[0].ExportMathML(); sheet.Range["B9"].Value = "mathML:"; sheet.Range["B10"].Value = mathML; string LaTex = sheet.Equations[0].ExportLaTex(); sheet.Range["B12"].Value = "LaTeX:"; sheet.Range["B13"].Value = LaTex; workbook.SaveToFile(outputFile); File.WriteAllText(outputFile_TXT, "LaTeX:\t" + LaTex + "\r\nmathML:\t" + mathML); |
| New feature | SPIREXLS-5982 | Added support for the XMATCH function.
Workbook workbook = new Workbook(); workbook.LoadFromFile(@"test.xlsx"); Worksheet sheet = workbook.Worksheets[0]; sheet.Range["C4"].Formula = "=XMATCH(\"王五\", A2:A5)"; workbook.CalculateAllValue(); |
| New feature | SPIREXLS-5990, SPIREXLS-5991 | Added support for checkbox effects similar to Office 365.
XlsRange range = sheet.Range["A1"]; range.InsertEmbedCheckBox(); rang.SetEmbedCheckBoxCheckState(true); |
| New feature | SPIREXLS-6021 | Added support for converting Excel to JSON.
Workbook workbook = new Workbook(); workbook.LoadFromFile(inputFile); workbook.SaveToFile(outputFile, FileFormat.Json); workbook.Dispose(); |
| New feature | SPIREXLS-6022 | Added support for setting EMF background images.
Workbook workbook = new Workbook(); workbook.LoadFromFile(inputFile); Worksheet sheet = workbook.Worksheets[0]; Stream image = File.OpenRead(inputFile_Img); sheet.PageSetup.BackgoundImageStream = image; workbook.SaveToFile(outputFile, ExcelVersion.Version2013); |
| Bug | SPIREXLS-5958 | Fixed the issue with incorrect rendering when converting Excel to PDF. |
| Bug | SPIREXLS-5998 | Fixed the issue where loading Excel documents caused an “Invalid string in the file” error. |
| Bug | SPIREXLS-6008 | Fixed the issue where loading Excel documents caused the application to hang. |
| Bug | SPIREXLS-6009 | Fixed the incorrect behavior of the AutoFitColumns() method. |
| Bug | SPIREXLS-6016 | Fixed the issue with incorrect formulas after loading and saving Excel files. |
Spire.Presentation
| Category | ID | Description |
| Bug | SPIREPPT-2873, SPIREPPT-2888 | Fixed the issue where image effects were displayed incorrectly when converting PowerPoint to PDF. |
| Bug | SPIREPPT-2951 | Fixed the issue where layout became inconsistent when converting PowerPoint to PDF. |
| Bug | SPIREPPT-3012 | Fixed the issue where footer content was missing when converting ODP to PDF. |
Spire.PDF
| Category | ID | Description |
| Adjustment | — | Removed dependencies on System.Security.Cryptography.Pkcs, System.Security.Permissions, and System.Security.Cryptography.Xml in NetCore and NetStandard platforms. |
| New feature | — | Added support for enabling print logging in NETStandard DLL. PdfDocument doc = new PdfDocument(); doc.LoadFromFile("in.pdf"); doc.PrintSettings.PrintLogger= new DefaultPrintLogger("log.txt"); doc.PrintSettings.PaperSize =PdfPaperSize.A4; doc.Print(); |
| Bug | SPIREPDF-3758 | Fixed the issue where background color was lost when converting PDF to images. |
| Bug | SPIREPDF-4271 | Fixed the issue where Arabic text content displayed incorrectly when converting PDF to PDF/A-3A. |
| Bug | SPIREPDF-5542 | Optimized the performance of text extraction and search in NETStandard DLL. |
| Bug | SPIREPDF-7753 | Fixed the issue where font effects were incorrect after text replacement. |
| Bug | SPIREPDF-7771 | Fixed the issue where validation failed when converting PDF to PDF/A-1B. |
| Bug | SPIREPDF-7779 | Fixed the issue where errors occurred when printing PDF documents using the NETStandard DLL on UOS x86 systems. |
| Bug | SPIREPDF-3749 | Fixed the issue where incorrect effects were applied to added image watermarks. |
| Bug | SPIREPDF-5688 | Fixed the issue with incorrect output when converting PDF to PDF/A. |
| Bug | SPIREPDF-5889 | Fixed the issue with incorrect output when converting PDF to images. |
| Bug | SPIREPDF-6457 | Fixed the issue where background images were lost when converting a PDF to images. |
| Bug | SPIREPDF-7063 | Fixed the issue with incorrect output when printing PDF documents. |
| Bug | SPIREPDF-7102 | Optimized time consumption and memory usage when converting images using the NetStandard DLL. |
| Bug | SPIREPDF-7105, SPIREPDF-7572 | Fixed the issue where bookmarks were lost when converting PDF to OFD. |
| Bug | SPIREPDF-7562 | Fixed the issue where converting PDF to images threw “System.NotImplementedException”. |
| Bug | SPIREPDF-7749 | Fixed the issue where custom properties added via SetCustomProperty were lost when converting PDF to OFD. |
| Bug | SPIREPDF-7767 | Fixed the issue where converting PDF to OFD threw “System.ArgumentOutOfRangeException”. |
| Bug | SPIREPDF-7807 | Fixed the issue where loading PDF files threw “System.NullReferenceException”. |
| Bug | SPIREPDF-7808 | Fixed the issue where "pdfbuttonfield.IconLayout.IsFitBounds = true" did not take effect. |
Spire.XLS 15.11.3 adds support for exporting equations to MathML and LaTeX
We're pleased to announce the release of Spire.XLS 15.11.3. This version adds support for exporting equation content to MathML and LaTeX, the XMATCH function, converting Excel to JSON, setting EMF background images, and inserting checkbox effects similar to Office 365. Meanwhile, several issues related to loading Excel documents, converting Excel to PDF, and formula calculations have been successfully fixed. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREXLS-5977, SPIREXLS-5978 | Added support for exporting equation content to MathML and LaTeX.
Workbook workbook = new Workbook();
workbook.LoadFromFile(inputFile);
Worksheet sheet = workbook.Worksheets[0];
string mathML = sheet.Equations[0].ExportMathML();
sheet.Range["B9"].Value = "mathML:";
sheet.Range["B10"].Value = mathML;
string LaTex = sheet.Equations[0].ExportLaTex();
sheet.Range["B12"].Value = "LaTeX:";
sheet.Range["B13"].Value = LaTex;
workbook.SaveToFile(outputFile);
File.WriteAllText(outputFile_TXT, "LaTeX:\t" + LaTex + "\r\nmathML:\t" + mathML);
|
| New feature | SPIREXLS-5982 | Added support for the XMATCH function.
Workbook workbook = new Workbook();
workbook.LoadFromFile(@"test.xlsx");
Worksheet sheet = workbook.Worksheets[0];
sheet.Range["C4"].Formula = "=XMATCH(\"王五\", A2:A5)";
workbook.CalculateAllValue();
|
| New feature | SPIREXLS-5990, SPIREXLS-5991 | Added support for checkbox effects similar to Office 365.
XlsRange range = sheet.Range["A1"]; range.InsertEmbedCheckBox(); rang.SetEmbedCheckBoxCheckState(true); |
| New feature | SPIREXLS-6021 | Added support for converting Excel to JSON.
Workbook workbook = new Workbook(); workbook.LoadFromFile(inputFile); workbook.SaveToFile(outputFile, FileFormat.Json); workbook.Dispose(); |
| New feature | SPIREXLS-6022 | Added support for setting EMF background images.
Workbook workbook = new Workbook(); workbook.LoadFromFile(inputFile); Worksheet sheet = workbook.Worksheets[0]; Stream image = File.OpenRead(inputFile_Img); sheet.PageSetup.BackgoundImageStream = image; workbook.SaveToFile(outputFile, ExcelVersion.Version2013); |
| Bug | SPIREXLS-5958 | Fixed the issue with incorrect rendering when converting Excel to PDF. |
| Bug | SPIREXLS-5998 | Fixed the issue where loading Excel documents caused an “Invalid string in the file” error. |
| Bug | SPIREXLS-6008 | Fixed the issue where loading Excel documents caused the application to hang. |
| Bug | SPIREXLS-6009 | Fixed the incorrect behavior of the AutoFitColumns() method. |
| Bug | SPIREXLS-6016 | Fixed the issue with incorrect formulas after loading and saving Excel files. |
Spire.Office for Java 10.11.0 is released
We're pleased to announce the release of Spire.Office for Java 10.11.0. In this version, the Spire.Doc for Java supports creating combination charts in Word. Spire.XLS for Java supports converting between Excel and Markdown formats, as well as setting text box paragraphs to right-to-left. In addition, many known issues that occurred during the conversion and processing of Word/Excel/PDF/PowerPoint files have been successfully fixed. More details are listed below.
Here is a list of changes made in this release
Spire.Doc for Java
| Category | ID | Description |
| New feature | SPIREDOC-10972 | Added support for creating combination charts in Word documents.
Document doc = new Document();
Paragraph paragraph = doc.addSection().addParagraph();
Chart chart = paragraph.appendChart(ChartType.Column, 450, 300).getChart();
chart.changeSeriesType("Series 3", ChartSeriesType.Line, true);
System.out.println(chart.getSeries().get(2).getChartType());
doc.saveToFile("ComboChart.docx");
|
| Bug | SPIREDOC-11412 SPIREDOC-11607 | Fixed the issue that incorrect revisions were received. |
| Bug | SPIREDOC-11482 | Fixed the issue that SEQ fields failed to update. |
| Bug | SPIREDOC-11547 | Fixed the issue where the rendering effect was incorrect when converting Markdown to Word. |
| Bug | SPIREDOC-11606 SPIREDOC-11626 | Fixed the issue where converting Markdown to Word threw "java.lang.NullPointerException". |
| Bug | SPIREDOC-11608 | Fixed the issue where WPS links became invalid after saving Word documents. |
| Bug | SPIREDOC-11616 | Fixed the issue where the file size increased significantly after loading and saving Word documents. |
| Bug | SPIREDOC-11620 SPIREDOC-11633 | Fixed the issue that converting HTML to Word threw "com.spire.doc.packages.sprepx: Index is less than 0 or more than or equal to the list count". |
| Bug | SPIREDOC-11627 | Fixed the issue where the chart content was inconsistent when converting Word to PDF. |
| Bug | SPIREDOC-11639 | Fixed the issue that “SdtCheckBox.setChecked(false)” did not take effect. |
Spire.XLS for Java
| Category | ID | Description |
| New feature | SPIREXLS-5882 | Added support for converting between Excel and Markdown formats.
//Markdown to Excel
Workbook workbook=new Workbook();
workbook.loadFromMarkdown(inputFile);
workbook.saveToFile("out.xlsx", FileFormat.Version2013);
//Excel to Markdown
Workbook workbook=new Workbook();
workbook.loadFromFile("in.xlsx");
workbook.saveToFile("out.md", FileFormat.Markdown);
workbook.dispose();
|
| New feature | SPIREXLS-5943 | Added support for setting text box paragraphs to right-to-left.
Workbook workbook = new Workbook();
Worksheet sheet = workbook.getWorksheets().get(0);
XlsTextBoxShape textbox = (XlsTextBoxShape) sheet.getTextBoxes().addTextBox(4, 2, 100, 300);
textbox.setText("مبرمج , اختبار .");
textbox.setHAlignment(CommentHAlignType.Left);
textbox.setInnerLeftMargin(1);
textbox.setInnerRightMargin(3);
textbox.setInnerTopMargin(1);
textbox.setInnerBottomMargin(1);
textbox.setTextDirection(TextDirectionType.RightToLeft);
String result = "setInternalMarginOfTextbox_result.xlsx";
|
| New feature | SPIREXLS-6003 | Added support for setting table styles in the body when converting Excel to HTML.
Workbook workbook = new Workbook();
workbook.loadFromFile("input.xlsx");
Worksheet sheet = workbook.getWorksheets().get(0);
HTMLOptions options = new HTMLOptions();
options.setImageEmbedded(true);
//Setting "HTMLOptions.StyleDefineType.Inline"
options.setStyleDefine(HTMLOptions.StyleDefineType.Inline);
sheet.saveToHtml("out.html",options);
|
| Bug | SPIREXLS-5993 SPIREXLS-6010 SPIREXLS-6019 | Fixed the issue where incorrect output occurred when converting Excel to PDF. |
| Bug | SPIREXLS-6013 | Fixed the issue where content overflowed cells when converting Excel to HTML. |
| Bug | SPIREXLS-6015 | Fixed the issue where incorrect output occurred when merging Excel documents. |
| Bug | SPIREXLS-6028 | Fixed the issue where a "NullPointerException" was thrown when loading and saving Excel documents. |
Spire.PDF for Java
| Category | ID | Description |
| Bug | SPIREPDF-6604 | Fixed the issue with incorrect drawing position of PDF footers. |
| Bug | SPIREPDF-7005 | Fixed the issue with excessive memory usage when loading documents. |
| Bug | SPIREPDF-7448 | Fixed the issue where converting PDF to PDF/A-2B would throw a "java.lang.StackOverflowError". |
| Bug | SPIREPDF-7482 | Fixed the issue with the display information content when adding a signature timestamp. |
| Bug | SPIREPDF-7490 | Fixed the issue where setting center alignment for a PdfGridCellContent did not take effect. |
| Bug | SPIREPDF-7660 | Fixed the issue with excessive time consumption when extracting images from PDF. |
| Bug | SPIREPDF-7766 | Fixed the issue with inconsistent image formats when converting PDF to OFD. |
| Bug | SPIREPDF-7809 | Fixed the issue where loading a PDF would report a "file structure is not valid" error. |
| Bug | SPIREPDF-7814 | Fixed the issue where the file could not be opened after drawing an image to the PDF. |
| Bug | SPIREPDF-7827 | Fixed the issue where setMaxLength() would throw a "StringIndexOutOfBoundsException". |
| Bug | SPIREPDF-7830 | Fixed the issue with incorrect content after converting PDF to PDF/A. |
Spire.Presentation for Java
| Category | ID | Description |
| Bug | SPIREPPT-3029 | Fixed an issue where a NullPointerException was thrown when running the library on the ColdFusion platform. |
Spire.PDF for Python 11.11.0 transitions to the standard datetime library
We’re pleased to announce the release of Spire.PDF for Python 11.11.0. This update replaces the custom date-handling implementation with Python’s built-in datetime library, ensuring better consistency, reliability, and compatibility with Python applications. More details are as follows.
Here is a list of changes made in this release
| Category | ID | Description |
| Adjustment | - | Adopted Python’s standard datetime library. |
| Adjustment | - | Replaced DateTime.get_Now() with datetime.now(). |
| Adjustment | - | Replaced DateTime.get_Now().ToString("MM dd, yyyy") with datetime.now().strftime("%m %d, %Y"). |
Spire.XLS for Java 15.11.3 supports converting between Excel and Markdown formats
We're pleased to announce the release of Spire.XLS for Java 15.11.3. This version supports converting between Excel and Markdown formats, setting text box paragraphs to right-to-left. Besides, several issues that occurred when converting Excel to PDF/HTML and merging files have been successfully fixed. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREXLS-5882 | Added support for converting between Excel and Markdown formats.
//Markdown to Excel
Workbook workbook=new Workbook();
workbook.loadFromMarkdown(inputFile);
workbook.saveToFile("out.xlsx", FileFormat.Version2013);
//Excel to Markdown
Workbook workbook=new Workbook();
workbook.loadFromFile("in.xlsx");
workbook.saveToFile("out.md", FileFormat.Markdown);
workbook.dispose();
|
| New feature | SPIREXLS-5943 | Added support for setting text box paragraphs to right-to-left.
Workbook workbook = new Workbook();
Worksheet sheet = workbook.getWorksheets().get(0);
XlsTextBoxShape textbox = (XlsTextBoxShape) sheet.getTextBoxes().addTextBox(4, 2, 100, 300);
textbox.setText("مبرمج , اختبار .");
textbox.setHAlignment(CommentHAlignType.Left);
textbox.setInnerLeftMargin(1);
textbox.setInnerRightMargin(3);
textbox.setInnerTopMargin(1);
textbox.setInnerBottomMargin(1);
textbox.setTextDirection(TextDirectionType.RightToLeft);
String result = "setInternalMarginOfTextbox_result.xlsx";
workbook.saveToFile(result, ExcelVersion.Version2013);
|
| New feature | SPIREXLS-6003 | Added support for setting table styles in the body when converting Excel to HTML.
Workbook workbook = new Workbook();
workbook.loadFromFile("input.xlsx");
Worksheet sheet = workbook.getWorksheets().get(0);
HTMLOptions options = new HTMLOptions();
options.setImageEmbedded(true);
//Setting "HTMLOptions.StyleDefineType.Inline"
options.setStyleDefine(HTMLOptions.StyleDefineType.Inline);
sheet.saveToHtml("out.html",options);
|
| Bug | SPIREXLS-5993 SPIREXLS-6010 SPIREXLS-6019 | Fixed the issue where incorrect output occurred when converting Excel to PDF. |
| Bug | SPIREXLS-6013 | Fixed the issue where content overflowed cells when converting Excel to HTML. |
| Bug | SPIREXLS-6015 | Fixed the issue where incorrect output occurred when merging Excel documents. |
| Bug | SPIREXLS-6028 | Fixed the issue where a "NullPointerException" was thrown when loading and saving Excel documents. |
Spire.Presentation 10.11.4 enhances the conversion from PowerPoint to PDF
We're pleased to announce the release of Spire.Presentation 10.11.4. This version mainly focuses on improving conversion accuracy when exporting PowerPoint and ODP files to PDF. Several issues—such as incorrect image effects, inconsistent layout, and missing footer content—have been successfully resolved. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| Bug | SPIREPPT-2873, SPIREPPT-2888 | Fixes the issue where image effects were displayed incorrectly when converting PowerPoint to PDF. |
| Bug | SPIREPPT-2951 | Fixes the issue where layout became inconsistent when converting PowerPoint to PDF. |
| Bug | SPIREPPT-3012 | Fixes the issue where footer content was missing when converting ODP to PDF. |