Re: Set Indent from API

Gregory Pittman <gpittman-s/[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
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


___
Scribus Mailing List: [email protected]
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.