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



Reply via email to