LoadOptions

概述

LoadOptions 是 C++ 的 FOSS 中的 Aspose.Cells 类.

指定工作簿应如何加载.

本类提供了12种方法,用于在C++程序中与LoadOptions对象工作. 有的方法包括: GetLoadFormat, GetPreserveUnsupportedParts, GetStrictMode, GetTryRepairPackage, GetTryRepairXml, GetWarningCallback, SetLoadFormat, SetPreserveUnsupportedParts, SetStrictMode, SetTryRepairPackage, SetTryRepairXml, SetWarningCallback. 在安装了Aspose.Cells FOSS for C++ 包后,所有公众成员都可以访问任何C ++应用程序.

方法

Signature描述情况
GetLoadFormat()LoadFormat获取或设置预期的输入格式。.
SetLoadFormat(value: LoadFormat)设置加载格式值。.
GetStrictMode()bool获取或设置是否应拒绝模糊修复.
SetStrictMode(value: bool)设置严格模式的值。.
GetTryRepairPackage()bool获取或设置是否允许在加载期间进行包级维修.
SetTryRepairPackage(value: bool)设置 try repair package 的值。.
GetTryRepairXml()bool在加载过程中是否允许XML级维修.
SetTryRepairXml(value: bool)设置 try repair xml 值。.
GetPreserveUnsupportedParts()bool获取或设置是否不支持的部分应保存,如果可能的话.
SetPreserveUnsupportedParts(value: bool)设置 preserve unsupported parts 的值。.
GetWarningCallback()std::shared_ptr<IWarningCallback>接收或设置一个可恢复负载诊断的警告回调.
SetWarningCallback(value: std::shared_ptr<IWarningCallback>)设置警告回调值。.

查看更多

 中文