Re: Set Indent from API

"Matt Miller" <matt.miller-97jfqw80gc5Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>

On Fri, Mar 26, 2021, at 13:13, Gregory Pittman wrote:
> 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.

Okay, I see that now.  Thanks.

I saw the “Tabulators” dialog under the “Columns and Text Distances” area of the Text Properties panel and since it resembled the “Tabs and  Indentation” area of the paragraph style editor, I imagined that the indentation settings were there, too.

> 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
>

-- 

  Matt Miller
  mailto:[email protected]

___
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.