此次發行的新功能

  • [Enhancement] 實作從簡報中無需樣板的表格擷取 (PARSERNET‑2776)
    解析器現在可以直接從簡報檔案中擷取所有表格,無需提供版面樣板。

  • [Enhancement] 實作從試算表中無需樣板的表格擷取 (PARSERNET‑2775)
    表格擷取適用於 Excel 風格的試算表,只返回 ListObject 表格。pageIndex 參數對應工作表索引。

兩項增強均未變更公開 API,現有程式碼仍可編譯。

使用方式 – 從簡報擷取表格

using (Parser parser = new Parser(filePath))
{
    // Returns every table found in the whole presentation
    IEnumerable<PageTableArea> tables = parser.GetTables();
}

使用方式 – 從試算表擷取表格

using (Parser parser = new Parser(filePath))
{
    int pageIndex = 0;               // Worksheet index
    // Returns ListObject tables from the specified worksheet
    IEnumerable<PageTableArea> tables = parser.GetTables(pageIndex);
}

修復與增強

類別 描述
增強 從簡報中無需樣板的表格擷取 (PARSERNET‑2776)
增強 從試算表中無需樣板的表格擷取 (PARSERNET‑2775)

此發行版未引入任何公開 API 或破壞性變更。

如何取得更新

資源