How to get all characters on a page in Words and their position

Friedrich W. H. Kossebau kossebau at kde.org
Tue Sep 30 13:22:26 BST 2014


Hi boemann,

Am Dienstag, 30. September 2014, 14:02:49 schrieb C. Boemann:
<snip>
> correct - except the qtextdocument you get can span several pages, so for
> each textshape you need to use its KoTextLayoutArea and parse down through
> it (which isn't straight forward as in the text ABCD you can find that A
> and D is on your page but B and C might be on the previous page

Hm, now it sounds complicated again ;) Thanks, will see where I get stuck with 
that, possibly next WE.

Cheers
Friedrich



More information about the calligra-devel mailing list