ParagraphPropertiesNEW
ParagraphProperties:
{}Supported paragraph-level properties.
Remarks
Section titled “Remarks”These properties apply to the paragraph container rather than an inline text
span. Use Paragraph.setParagraphProperties for paragraph properties and
TextView.setFormatting for run text properties such as bold or
font size.
Properties
Section titled “Properties”styleId:
ParagraphStyleId|null
Built-in paragraph style ID. null clears the explicit paragraph style
and lets the paragraph fall back to the document default style.
alignment:
"left"|"center"|"right"|"justify"|null
Paragraph text alignment. null clears the explicit paragraph alignment
and lets the paragraph inherit from its style.
Paragraph line spacing multiplier. null clears the explicit line
spacing and lets the paragraph inherit from its style.
Spacing before the paragraph, in points. null clears the explicit
spacing and lets the paragraph inherit from its style.
Spacing after the paragraph, in points. null clears the explicit
spacing and lets the paragraph inherit from its style.
Whether spacing between paragraphs of the same style is suppressed.
null clears the explicit contextual spacing value and lets the
paragraph inherit from its style.
indentation:
ParagraphIndentation|null
Direct paragraph indentation, in points. null clears the explicit
indentation and lets the paragraph inherit from its style.
tabStops:
ParagraphTabStop[] |null
Direct paragraph tab stops. null clears the explicit tab stops and
lets the paragraph inherit from its style.
border:
ParagraphBorder|null
Direct paragraph border. null clears the explicit paragraph border.
shading:
ParagraphShading|null
Direct paragraph shading. null clears the explicit paragraph shading.