跳轉到主要內容
此列舉已在 Linux 和 Windows 版 FRE 中實作。
從 v12.8.0 開始,若要匯入 Office 文件,您將需要安裝 Microsoft Office 或 LibreOffice。
OfficeConverterTypeEnum 列舉常數用於說明可用來轉換傳入數位文件的應用程式。
typedef enum {
 OCT_MsOffice,
 OCT_LibreOffice
} OfficeConverterTypeEnum;

元素

OCT_LibreOffice

LibreOffice。只有在工作站上安裝時才可用。支援版本:

  • 7.6.6
  • 24.2.2

OCT_MsOffice

僅限 Windows。

Microsoft Office (支援版本:2010、2013、2016、2019、Office 365) 。只有在工作站上安裝並啟用時才可用。

您可能希望使用非預設使用者帳戶啟動 Microsoft Office。在這種情況下,將屬性設為 TRUE,並在物件的屬性中指定登入資訊。

使用於

IOfficeConverters::Element IOfficeConverters::Add IOfficeConverters::Find IOfficeConverters::InsertAt IOfficeConverters::Item