AutoFilterSupport
Overview
AutoFilterSupport is a class in Aspose.Cells FOSS for C++.
Internal helper methods for auto-filter operations.
Methods
| Signature | Description |
|---|---|
NormalizeOptionalRange(value: std::string_view, parameterName: std::string_view) → std::string | Normalizes 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::string | Normalizes a required range string, throwing if blank or invalid. |
TryNormalizeRange(value: std::string_view, normalized: std::string) → bool | Attempts to normalize a range string. Returns true on success. |
NormalizeOptionalText(value: std::string_view) → std::string | Normalizes optional text by trimming; returns empty if blank. |
NormalizeText(value: std::string_view, parameterName: std::string_view) → std::string | Validates 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) → FilterOperatorType | Parses an operator string, defaulting to Equal on blank input. |
TryParseOperator(value: std::string_view, operatorType: FilterOperatorType) → bool | Parses an operator string, returning false on unrecognized values. |
ToOperatorName(operatorType: FilterOperatorType) → std::string | Converts a FilterOperatorType to its XML attribute name, or null/empty for Equal. |
CompareFilterColumns(left: Core::FilterColumnModel, right: Core::FilterColumnModel) → int | Compares two filter columns by column index. |