StyleValueSanitizer
Overview
StyleValueSanitizer is a class in Aspose.Cells FOSS for C++.
Provides normalization helpers for style integer values.
Methods
| Signature | Description |
|---|---|
NormalizeIndentLevel(value: std::optional<int>) → int | Normalizes an indent level value to the valid range [0, 250]. Returns 0 if the value is absent or out of range. |
NormalizeReadingOrder(value: std::optional<int>) → int | Normalizes a reading order value to the valid range [0, 2]. Returns 0 if the value is absent or out of range. |
NormalizeTextRotation(value: std::optional<int>) → int | Normalizes a text rotation value. Accepts 255 (vertical text) or [0, 180]. Returns 0 if the value is absent or out of range. |