[scribus] Another code question
Ralf Mattes
rm at mh-freiburg.de
Wed Jun 27 15:46:28 UTC 2018
Am Dienstag, 26. Juni 2018 23:40 CEST, "Ralf Mattes" <rm at mh-freiburg.de> schrieb:
> In a (c++) plugin I'm trying to iterate over the paragraphs of a story text. I guess this can be done
> by repeatedly calling the nextBlockStart() of a story text object and then fetching the text with the text()
> method. But what I wasn't able to find out is how to get the story text of a selected text frame. Any hints?
Never mind, I found it.
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?
TIA RalfD
More information about the scribus
mailing list