visit_building_block_start method

visit_building_block_start(block)

Called when enumeration of a building block has started.

def visit_building_block_start(self, block: aspose.words.buildingblocks.BuildingBlock):
    ...
ParameterTypeDescription
blockBuildingBlockThe object that is being visited.

Remarks

Note: A building block node and its children are not visited when you execute a Visitor over a Document. If you want to execute a Visitor over a building block, you need to execute the visitor over GlossaryDocument or call BuildingBlock.accept().

Returns

A VisitorAction value that specifies how to continue the enumeration.

See Also