[scribus] Another code question

Václav Šmilauer eu at doxos.eu
Thu Jun 28 08:21:44 UTC 2018

> But now I have a follow-up question: when I call storyText->paragraphStyle(pos) and then call the name()  method
> of the returned style that name is always an empty string. What am I doing wrong?
I think you need to get the parent style, see the code for scripter 
getStyle I referenced in the other thread. I was also puzzled by that, 
maybe someone else can explain the internals better :) Cheers, v.

More information about the scribus mailing list