We are excited to announce the release of Spire.Doc for Java 11.1.1. This version supports setting the function "Remove contents control when contents are edited" for content controller. Besides, it enhances the conversion from Word to PDF. In addition, it fixes some known issues, such as the issue that the program threw "Value (11) does not exist in the <CellAlign> enumeration" when loading a document. More details are listed below.
Here is a list of changes made in this release
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. |
Click the link to download Spire.Doc for Java 11.1.1: