Spire.Doc for Java 14.1.3 が正式にリリースされました。このバージョンでは、テーブルへのカスタムスタイルの適用、removeSelf() メソッドによるスタイルの削除、およびテンプレートドキュメントからのスタイルコピーがサポートされました。また、Word から PDF や Markdown への変換、目次(TOC)やページ番号フィールドの更新時に発生していたいくつかの不具合も修正されました。詳細は以下の通りです。 変更内容一覧 カテゴリー ID 説明 新機能 SPIREDOC-11582 スタイルを削除するための removeSelf() メソッドを追加しました。 document.getStyles().get("style1").removeSelf(); 新機能 SPIREDOC-11583 テーブルへのカスタムスタイルの適用をサポートしました。 Document doc = new Document(); Section section = doc.addSection(); TableStyle tableStyle = (TableStyle) doc.getStyles().add(StyleType.Table_Style, "TestTableStyle1"); tableStyle.setHorizontalAlignment(RowAlignment.Center); tableStyle.getBorders().setColor(Color.BLUE); tableStyle.getBorders().setBorderType(BorderStyle.Single); Table table = section.addTable(); table.resetCells(1, 1); table.getRows().get(0).getCells().get(0).addParagraph().appendText("Aligned to…