AutoFilterSupport

AutoFilterSupport

Overview

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

Internal helper methods for auto-filter operations.

This class provides 10 methods for working with AutoFilterSupport objects in C++ programs. Available methods include: AutoFilterSupport, CompareFilterColumns, NormalizeOptionalRange, NormalizeOptionalText, NormalizeRequiredRange, NormalizeText, ParseOperatorOrDefault, ToOperatorName, TryNormalizeRange, TryParseOperator. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

Methods

SignatureDescription
AutoFilterSupport()Calls AutoFilterSupport on this AutoFilterSupport instance.
NormalizeOptionalRange(value: std::string_view, parameterName: std::string_view)std::stringNormalizes an optional range string, returning empty if blank. Throws CellsException if non-blank but not a valid range.
NormalizeRequiredRange(value: std::string_view, parameterName: std::string_view)std::stringNormalizes a required range string, throwing if blank or invalid.
TryNormalizeRange(value: std::string_view, normalized: std::string)boolAttempts to normalize a range string. Returns true on success.
NormalizeOptionalText(value: std::string_view)std::stringNormalizes optional text by trimming; returns empty if blank.
NormalizeText(value: std::string_view, parameterName: std::string_view)std::stringValidates that a text value is non-null. Throws ArgumentNullException equivalent if the value is null. Returns the value as a string.
ParseOperatorOrDefault(value: std::string_view)FilterOperatorTypeParses an operator string, defaulting to Equal on blank input.
TryParseOperator(value: std::string_view, operatorType: FilterOperatorType)boolParses an operator string, returning false on unrecognized values.
ToOperatorName(operatorType: FilterOperatorType)std::stringConverts a FilterOperatorType to its XML attribute name, or null/empty for Equal.
CompareFilterColumns(left: Core::FilterColumnModel, right: Core::FilterColumnModel)intCompares two filter columns by column index.

See Also

 English