That’s very cool Roland!
As for these specific expressions, here’s what I found (I think some of them seem pretty useful)
setSpaceBefore(value) – Sets the space before a paragraph.
setSpaceAfter(value) – Sets the space after a paragraph.
setLeftMargin(value) – Adjusts the left margin of a text box.
setRightMargin(value) – Adjusts the right margin of a text box.
setHangingRoman(value) – Toggles hanging punctuation (like quotes/punctuation outside the margin). true = enabled, false = disabled.
setLineJoin(value) – Controls how multi-line text connects. Possible values:
0 → Miter join (sharp corners)
1 → Round join (rounded corners)
2 → Bevel join (chopped corners)
Is this what you were looking for?