B: BlockElement methods

MethodParagraphDivListTableCellLineSeparator

addStyle()

Yes

Yes

Yes

Yes

Yes

Yes

setHyphenation()

Yes

Yes

Yes

Yes

Yes

No

setSplitCharacters()

Yes

Yes

Yes

Yes

Yes

No

setHorizontalAlignment()

Yes

Yes

Yes

Yes

No

Yes

setVerticalAlignment()

No

No

No

No

Yes

No

setRotationAngle()

Yes

Yes

Yes

No

Yes

No

setTextAlignment()

Yes

Yes

Yes

Yes

Yes

No

setKeepTogether()

Yes

Yes

Yes

Yes

Yes

No

setKeepWithNext()

Yes*

Yes*

Yes*

Yes*

No

Yes*

setHeight()

Yes

Yes

Yes

No

Yes

No

setWidth()

Yes

Yes

Yes

Yes

No

Yes

setWidthPercent()

Yes

Yes

Yes

Yes

No

Yes

setMargin()

Yes

Yes

Yes

Yes

Yes

Yes

setMargins()

Yes

Yes

Yes

Yes

Yes

Yes

setMarginLeft()

Yes

Yes

Yes

Yes

Yes

Yes

setMarginRight()

Yes

Yes

Yes

Yes

Yes

Yes

setMarginTop()

Yes

Yes

Yes

Yes

Yes

Yes

setMarginBottom()

Yes

Yes

Yes

Yes

Yes

Yes

setPadding()

Yes

Yes

Yes

No

Yes

No

setPaddings()

Yes

Yes

Yes

No

Yes

No

setPaddingLeft()

Yes

Yes

Yes

No

Yes

No

setPaddingRight()

Yes

Yes

Yes

No

Yes

No

setPaddingTop()

Yes

Yes

Yes

No

Yes

No

setPaddingBottom()

Yes

Yes

Yes

No

Yes

No

setBorder()

Yes

Yes

Yes

Yes

Yes

No

setBorderLeft()

Yes

Yes

Yes

Yes

Yes

No

setBorderRight()

Yes

Yes

Yes

Yes

Yes

No

setBorderTop()

Yes

Yes

Yes

Yes

Yes

No

setBorderBottom()

Yes

Yes

Yes

Yes

Yes

No

setBackgroundColor()

Yes

Yes

Yes

Yes

Yes

Yes

setFont()

Yes

Yes

Yes

Yes

Yes

No

setFontSize()

Yes

Yes

Yes

Yes

Yes

No

setFontColor()

Yes

Yes

Yes

Yes

Yes

No

setBold()

Yes

Yes

Yes

Yes

Yes

No

setItalic()

Yes

Yes

Yes

Yes

Yes

No

setLineThrough()

Yes

Yes

Yes

Yes

Yes

No

setUnderline()

Yes

Yes

Yes

Yes

Yes

No

setTextRenderingMode()

Yes

Yes

Yes

Yes

Yes

No

setStrokeColor()

Yes

Yes

Yes

Yes

Yes

No

setStrokeWidth()

Yes

Yes

Yes

Yes

Yes

No

setSpacingRatio()

Yes

Yes

Yes

Yes

Yes

No

setCharacterSpacing()

Yes

Yes

Yes

Yes

Yes

No

setWordSpacing()

Yes

Yes

Yes

Yes

Yes

No

setFontKerning()

Typ

Typ

Typ

Typ

Typ

No

setFontScript()

Typ

Typ

Typ

Typ

Typ

No

setBaseDirection()

Typ

Typ

Typ

Typ

Typ

No

setRelativePosition()

Yes

Yes

Yes

Yes

Yes

No

setFixedPosition()

Yes

Yes

Yes

Yes

Yes

No

setAction()

Yes

Yes

Yes

Yes

Yes

Yes

setDestination()

Yes

Yes

Yes

Yes

Yes

Yes

There's an asterisk added to the "Yes" value of setKeepWithNext() because this method only works for objects added directly to the Document. It won't work for nested objects.