[scribus] Set Indent from API

Gregory Pittman gpittman at iglou.com
Fri Mar 26 20:13:32 UTC 2021


On 3/26/21 2:21 PM, Matt Miller wrote:
> I'm looking to set a paragraph's first line indent from the API.  I see I can set that for a paragraph style, but not directly at the paragraph level.  I understand that not everything is available from the API, but I just want to make sure I'm not missing something here.
> 

>From Scripter, this is how you manage first line indents. Even outside of Scripter, the settings for indentation are in a particular paragraph style. So you create the paragraph style then apply it with setParagraphStyle(). An advantage is that you can change your mind later and edit the applied style, and it will be updated wherever that style is used.

Greg




More information about the scribus mailing list