我們很高興宣布 GroupDocs.Editor for Java 26.7 已於 2026年7月 發佈。此版本結合了相應的 .NET 26.3、26.6 與 26.6.1 更新中的新功能、增強與錯誤修復,包含對 TrueType Collection 字型、基於文字的 PPT/PPS 文件以及全新 PDF 編輯功能的支援。它同時引入了兩個全新的 Spreadsheet 轉換選項,並透過移除內嵌影像庫來提升效能。

What’s new in this release

  • [New feature] 新增對 TrueType Collection 字型的支援 (EDITORNET-3019)
  • [New feature] 新增對基於文字的 PPT 與 PPS 的支援 (EDITORNET-3020)
  • [Improvement] 新增對新 CSS 屬性的支援 (EDITORNET-3036)
  • [Improvement] 新增對 XML 處理指令與 XML-Stylesheet 的支援 (EDITORNET-3037)
  • [Bug] 修復在 HtmlCss 注入後的混淆組件中出現的 NRE (EDITORNET-3022)
  • [New feature] 實作在轉換 Spreadsheet 文件時可停用水平儲存格合併的選項 (EDITORNET-3044)
  • [New feature] 實作在轉換 Spreadsheet 文件時可停用輸出空白底部偽列資料的選項 (EDITORNET-3045)
  • [Improvement] 移除內嵌影像庫,減少最終組件的位元組大小 (EDITORNET-3040)
  • [Bug] PDF 輸出在 DOCX 編輯並儲存後出現不同的分頁 (EDITORNET-3017)
  • [Bug] 修復建立與編輯空白 Email 文件時的例外 (EDITORNET-3061)
  • [Bug] 在 .NET Framework 4.6.2 構建中出現 Aspose.Common.Drawing 26.6 的 FileNotFoundException (EDITORNET-3062)

Public API changes

  • 新增 TtcFont 類型,用於表示 TrueType Collection (TTC) 字型,並實作 FontResourceBase
  • SpreadsheetEditOptions 中新增 setMergeEmptyAdjacentCells(boolean) / getMergeEmptyAdjacentCells() 方法。
  • SpreadsheetEditOptions 中新增 setExportBogusRowData(boolean) / getExportBogusRowData() 方法。

兩個試算表選項皆在相應文章中說明。

PDF editing

自此版本起,GroupDocs.Editor for Java 支援透過與其他格式相同的「開啟‑編輯‑儲存」流程編輯 PDF 文件:使用 PdfLoadOptions 載入、使用 PdfEditOptions 編輯(分頁、頁面範圍、跳過影像),以及使用 PdfSaveOptions 儲存(密碼、合規性、字型嵌入)。詳情與程式碼範例請參閱Edit PDF指南。

Code example

<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-editor</artifactId>
    <version>26.7</version>
</dependency>

欲取得詳細說明,請參閱Installation from GroupDocs Repository using Maven

How to get the update

Maven

此套件可透過GroupDocs Maven repository取得。

pom.xml 中加入以下相依性:

<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-editor</artifactId>
    <version>26.7</version>
</dependency>

Direct download

GroupDocs.Editor for Java 26.7頁面下載最新發佈版本。

Resources