Spire.Office for Java is a combination of Enterprise-Level Office Java APIs offered by E-iceblue. It includes Spire.Doc for Java, Spire.XLS for Java, Spire.Presentation for Java, Spire.PDF for Java and Spire.Barcode for Java.
Developers can use Spire.Office for Java to perform a wide range of office document operations in Java applications, such as opening, creating, modifying, converting and printing Word, Excel, PowerPoint and PDF documents, generating and scanning 1D&2D barcodes.
As an independent Office Java library, Spire.Office for Java doesn't need Microsoft Office to be installed on either the development or target systems.
Spire.Office for Java 是 E-iceblue 提供的企业级 Office Java API 的组合。它包括Spire.Doc for Java、Spire.XLS for Java、Spire.Presentation for Java、Spire.PDF for Java和Spire.Barcode for Java。
开发者可以使用 Spire.Office for Java 在 Java 应用程序中进行广泛的办公文档操作,例如打开、创建、修改、转换和打印 Word、Excel、PowerPoint 和 PDF 文档,生成和扫描一维和二维条码。
作为一个独立的 Office Java 库,Spire.Office for Java 不需要在开发或目标系统上安装 Microsoft Office。
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 | Fixes the issue that the program threw ArithmeticException when converting Word to PDF. |
SPIREDOC-8837 | ||
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. |