ConditionalStyleMask
Overview
ConditionalStyleMask is a class in Aspose.Words FOSS for Python.
Inherits from: BaseModel.
Parsed <w:cnfStyle> 12-bit bitmask for banded-table regions.
This class provides 2 methods for working with ConditionalStyleMask objects in Python programs.
Available methods include: from_val, to_val.
All public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package.
Properties: bottom_left_cell, bottom_right_cell, even_column_banding, even_row_banding, first_column, first_row, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
first_row | bool | Read | Gets the first row. |
last_row | bool | Read | Gets the last row. |
first_column | bool | Read | Gets the first column. |
last_column | bool | Read | Gets the last column. |
odd_column_banding | bool | Read | Gets the odd column banding. |
even_column_banding | bool | Read | Gets the even column banding. |
odd_row_banding | bool | Read | Gets the odd row banding. |
even_row_banding | bool | Read | Gets the even row banding. |
top_right_cell | bool | Read | Gets the top right cell. |
top_left_cell | bool | Read | Gets the top left cell. |
bottom_right_cell | bool | Read | Gets the bottom right cell. |
bottom_left_cell | bool | Read | Gets the bottom left cell. |
Methods
| Signature | Description |
|---|---|
to_val() → str | Serialise back to the 12-char OOXML w:val string. |
from_val(val: str) → "ConditionalStyleMask" | Parse the 12-char w:val attribute. |