Spire.Doc

Spire.Doc for Java 3.3.0 supports setting diagonal table border

We're pleased to announce the release of Spire.Doc for Java 3.3.0. This version supports setting diagonal table border and gutter.Besides, some issues that occurred when converting Word to SVG/PDF, manipulating and saving files are also successfully fixed. See the content below for more details.

Here is a list of all changes made in this release

Category ID Description
New feature SPIREDOC-3611 Supports setting diagonal table border.
Document doc = new Document();
Section section = doc.addSection();
Table oTable = section.addTable(true);
section.addParagraph();
oTable.resetCells(10, 3);
oTable.getTableFormat().getPaddings().setTop(10);
oTable.getTableFormat().getPaddings().setBottom(10);
oTable.getTableFormat().setHorizontalAlignment(RowAlignment.Center);
oTable.getLastCell().getCellFormat().getBorders().getDiagonalUp().setBorderType(BorderStyle.Single);
oTable.getFirstRow().getCells().get(0).getCellFormat().getBorders().getDiagonalDown().setBorderType(BorderStyle.Double);
doc.saveToFile(outputFile);
New feature SPIREDOC-3970 Supports setting gutter.
Section section = document.getSections().get(0);
section.getPageSetup().setGutter(100f);
Bug SPIREDOC-3914 Fixes the issue that application threw "java.lang.AbstractMethodError" when using spire.office.jar and crimson.jar in one project.
Bug SPIREDOC-3918 Fixes the issue that TOC content was incorrect after updating TOC.
Bug SPIREDOC-3939 Fixes the issue that application threw "StackOverflowError" when converting Word to SVG.
Bug SPIREDOC-3943 Fixes the issue that the insertd PDF OLE object could not be opened.
Bug SPIREDOC-3944 Fixes the issue that the content was incorrect when converting Word to PDF.
Bug SPIREDOC-3948 Fixes the issue that application threw "java.lang.NullPointerExceptio" when converting Word to PDF.
Bug SPIREDOC-3950 Fixes the issue that application threw "java.lang.StackOverflowError" when converting Word to PDF.
Bug SPIREDOC-3952 Fixes the issue that application threw "java.lang.IllegalStateException" when loading docx. file.
Bug SPIREDOC-3971 Fixes the issue that it failed to save file after removing section break.

Click the link to download Spire.Doc for Java 3.3.0:

https://www.e-iceblue.com/Download/doc-for-java.html