category property

BuildingBlock.category property

Specifies the second-level categorization for the building block.

@property
def category(self) -> str:
    ...

@category.setter
def category(self, value: str):
    ...

Remarks

Building blocks in Microsoft Word user interface are arranged into Galleries. Each BuildingBlock.gallery can have multiple Categories. Each block within a BuildingBlock.category has a BuildingBlock.name.

Cannot be None and cannot be an empty string.

Corresponds to the docPartPr.category.name element in OOXML.

See Also