ParagraphFormat

Overview

ParagraphFormat is a class in Aspose.Words for Python. Inherits from: BaseModel.

ParagraphFormat.style_name gets or sets the name of the paragraph’s style.

Properties

NameTypeAccessDescription
style_namestrReadGets or sets the name of the paragraph’s style
alignmentintReadIndicates the paragraph’s horizontal alignment as an integer code
left_indentfloatReadSpecifies the left indentation distance in points
right_indentfloatReadSpecifies the right indentation distance in points
first_line_indentfloatReadGets or sets the first line indent distance in points
space_beforefloatReadSets the spacing before the paragraph in points
space_afterfloatReadSets the spacing after the paragraph in points
space_before_autoboolReadIndicates if spacing before is automatically determined
space_after_autoboolReadIndicates if spacing after is automatically determined
line_spacingfloatReadGets or sets the line spacing multiplier for the paragraph
line_spacing_ruleintReadGets or sets the line spacing rule as an integer code
keep_with_nextboolReadDetermines whether the paragraph stays with the next paragraph
page_break_beforeboolReadInserts a page break before the paragraph when true
outline_levelintReadGets or sets the outline level for the paragraph
is_headingboolReadIndicates if the paragraph is a heading
is_list_itemboolReadIndicates if the paragraph is part of a list
shadingShadingReadProvides shading (background fill) settings for the paragraph
borderslist[Border]ReadReturns a list of Border objects defining the paragraph borders