Hi Robert,

On 09/10/08 17:54, Robert Vojta wrote:

Hi Frank,

looks like there is no out-of-the-box solution to your problem. A possible
approach could be to create a cursor at the start of the paragraph and step
down and increase a counter until you finally enter a new paragraph.

hmmm, which cursor did you mean? XTextCursor hasn't goDown() method
and remaining cursors are not usable. I was thinking about the same
solution you mentioned, but I can't find suitable cursor ...

well, I only wanted to give an idea what *might* work (or not ;-) without actually having a solution at hand. The XViewCursor has a goDown() method but if you cannot use the view cursor I'm afraid I have to throw in the towel...

Anybody else?

Regards,

Frank

--
Frank Meies (fme) - Co-lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to