We are happy to announce the release of Spire.Office for Java 8.1.2. In this version, Spire.Doc for Java supports the setting "Remove contents control when contents are edited"; Spire.PDF for Java adds a new method to compress PDF documents; Spire.XLS for Java supports the FILTER function; Spire.Presentation for Java supports Waterfall charts, Treemap charts, Boxandwhisker charts, Histogram charts, Pareto charts, SunBurst charts, and Funnel charts. What’s more, a lot of known issues are fixed in this release. More details are listed below.
Click the link to download Spire.Office for Java 8.1.2:
Here is a list of changes made in this release
Spire.Doc for Java
Category | ID | Description |
New feature | SPIREDOC-8961 | Supports setting the function "Remove contents control when contents are edited" for content controller.
Document doc = new Document(); doc.loadFromFile("1.docx"); StructureTags structureTags = GetAllTags(doc); List tagInlines = structureTags.getM_tagInlines(); for (int i = 0; i<tagInlines.size(); i++) { StructureDocumentTagInline std = tagInlines.get(i); std.getSDTProperties().isTemporary(true); } List<StructureDocumentTag> tags = structureTags.getM_tags(); for (int i = 0; i<tags.size(); i++) { StructureDocumentTag std = tags.get(i); std.getSDTProperties().isTemporary(true); } List<StructureDocumentTagRow> rowtags = structureTags.getM_rowtags(); for (int i = 0; i<rowtags.size(); i++) { StructureDocumentTagRow std = rowtags.get(i); std.getSDTProperties().isTemporary(true); } List<StructureDocumentTagCell> celltags = structureTags.getM_celltags(); for (int i = 0; i<celltags.size(); i++) { StructureDocumentTagCell std = celltags.get(i); std.getSDTProperties().isTemporary(true); } doc.saveToFile("tags.docx",FileFormat.Docx_2013); |
Bug | SPIREDOC-8538 | Fixes the issue that the table border lost when converting Word to PDF. |
Bug | SPIREDOC-8641 | Fixes the issue that the program threw "Value (11) does not exist in the <CellAlign> enumeration" when loading a document. |
Bug | SPIREDOC-8689 | Fixes the issue that the program threw "java.lang.IllegalArgumentException: No enum constant com.spire.doc.packages.sprzny.spr" when importing spire.doc.jar from maven in springboot project. |
Bug | SPIREDOC-8728 | Fixes the issue that it failed to get the textboxes. |
Bug | SPIREDOC-8757 | Fixes the issue that the background color of table header lost when converting HTML to Word. |
Bug | SPIREDOC-8771 | Fixes the issue that updating the created reference fields failed. |
Bug | SPIREDOC-8783 | Fixes the issue that the text was garbled when converting RTF to Word. |
Bug | SPIREDOC-8784 | Fixes the issue that the output document was opened unsuccessfully after adding text watermark. |
Bug | SPIREDOC-8794 | Fixes the issue that WerticalAlignment.Top did not take effect. |
Bug | SPIREDOC-8798 | Fixes the issue that the program hang when loading a document. |
Bug | SPIREDOC-8801 | Fixes the issue that the program threw "Value cannot be null" when converting doc to docx. |
Bug | SPIREDOC-8802 | Fixes the issue that the program threw "An element with the same key already exists in the dictionary" when merging documents. |
Bug | SPIREDOC-8829 SPIREDOC-8837 |
Fixes the issue that the program threw ArithmeticException when converting Word to PDF. |
Bug | SPIREDOC-8846 | Fixes the issue that the digital numbering level was incorrect when converting Word to PDF. |
Bug | SPIREDOC-8863 | Fixes the issue that the obtained list text was incorrect. |
Bug | SPIREDOC-8871 | Fixes the issue that the obtained hyperlink address was incomplete. |
Bug | SPIREDOC-8883 | Fixes the issue that the blank characters lost when converting Word to HTML. |
Bug | SPIREDOC-8892 | Fixes the issue that the number was followed by a background color when converting Word to PDF. |
Bug | SPIREDOC-8897 | Fixes the issue that the textbox border's style was incorrect when converting Word to PDF. |
Bug | SPIREDOC-8899 | Fixes the issue that the program threw "Parameter 'emSize' 0.0 is invalid" when adding HTML string. |
Bug | SPIREDOC-8901 | Fixes the issue that the program threw NullPointerException when replacing the content of the bookmarks. |
Bug | SPIREDOC-8931 | Fixes the issue that the background style of the header lost after replacing the content of the bookmarks. |
Spire.PDF for Java
Category | ID | Description |
New feature | - | Adds a new method of compressing PDF document.
PdfCompressor compressor = new PdfCompressor(fileName); compressor.compressToFile(outputName) |
Bug | SPIREPDF-5667 | Fixes the issue that the program threw com.spire.pdf.packages.sprnsn cannot be cast to com.spire.pdf.packages.sprvqe when merging PDF documents. |
Bug | SPIREPDF-5682 | Fixes the issue that the form content lost when converting PDF to PDFA. |
Spire.XLS for Java
Category | ID | Description |
New feature | SPIREXLS-4318 | Supports FILTER function. |
Bug | SPIREXLS-4321 | Fixes the issue that the data was incorrect when converting Excel to PDF on centos7. |
Bug | SPIREXLS-4324 | Fixes the issue that the paging was incorrect when converting Excel to PDF.) |
Bug | SPIREXLS-4368 | Fixes the issue that the position of text was incorrect when converting Excel to PDF. |
Bug | SPIREXLS-4377 | Fixes the issue that the date format was incorrect when converting Excel to PDF. |
Bug | SPIREXLS-4397 | Fixes the issue that it failed to open the generated file after copying content using sheet1.copyFrom(sheet2). |
Spire.Presentation for Java
Category | ID | Description |
New feature | - | Supports Waterfall、Treemap、Boxandwhisker、Histogram、Pareto、SunBurst and Funnel charts. |