LoadOptions

Overview

LoadOptions is a class in Aspose.Cells FOSS for C++.

Specifies how a workbook should be loaded.

This class provides 12 methods for working with LoadOptions objects in C++ programs. Available methods include: GetLoadFormat, GetPreserveUnsupportedParts, GetStrictMode, GetTryRepairPackage, GetTryRepairXml, GetWarningCallback, SetLoadFormat, SetPreserveUnsupportedParts, SetStrictMode, SetTryRepairPackage, SetTryRepairXml, SetWarningCallback. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

Methods

SignatureDescription
GetLoadFormat()LoadFormatGets or sets the expected input format.
SetLoadFormat(value: LoadFormat)Sets the load format value.
GetStrictMode()boolGets or sets whether loading should reject ambiguous repairs.
SetStrictMode(value: bool)Sets the strict mode value.
GetTryRepairPackage()boolGets or sets whether package-level repairs are allowed during load.
SetTryRepairPackage(value: bool)Sets the try repair package value.
GetTryRepairXml()boolGets or sets whether XML-level repairs are allowed during load.
SetTryRepairXml(value: bool)Sets the try repair xml value.
GetPreserveUnsupportedParts()boolGets or sets whether unsupported parts should be preserved when possible.
SetPreserveUnsupportedParts(value: bool)Sets the preserve unsupported parts value.
GetWarningCallback()std::shared_ptr<IWarningCallback>Gets or sets a warning callback that receives recoverable-load diagnostics.
SetWarningCallback(value: std::shared_ptr<IWarningCallback>)Sets the warning callback value.

See Also

 English