ItalicInlineBlock

ItalicInlineBlock

Overview

ItalicInlineBlock is a class in Aspose.Words FOSS for Python. Inherits from: Block.

ItalicInlineBlock provides navigation properties such as next_sibling, previous_sibling, and parent, enabling it to be placed within an inline hierarchy.

This class declares 5 methods for ItalicInlineBlock objects in Python programs. Available methods include: __init__, __repr__, add_child, get_parent. Public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package. Properties: block_level, children, is_first_child, is_last_child, next_sibling, parent, and 2 more.

Properties

NameTypeAccessDescription
is_first_childboolReadGets the is first child.
is_last_childboolReadGets the is last child.
next_siblingOptional["Block"]ReadGets the next sibling.
previous_siblingOptional["Block"]ReadGets the previous sibling.
block_levelMarkdownBlockLevelReadGets the block level.
type-ReadGets the type.
parentOptional["Block"]ReadGets the parent.
childrenlist["Block"]ReadGets the children.

Methods

SignatureDescription
__init__()Calls init on this ItalicInlineBlock instance.
__init__(block_type: BlockType)Calls init(block_type) on this ItalicInlineBlock instance.
add_child(child: "Block") → "Block"adds a child node to the inline block and returns the createdBlock` instance
get_parent() → Optional["Block"]Walk up the ancestor chain and return the first block whose type is one of types, or None if none matches.
__repr__() → strCalls repr on this ItalicInlineBlock instance.

See Also

 English