Spire.Office for Java 10.11.0 is released

Spire.Office for Java 10.11.0 is released

2025-11-28 09:04:54

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.

Click the link to download Spire.Office for Java 10.11.0:

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.