Frank Meies schrieb:
On 22.03.2007 13:47, Peter Eberlein wrote:

if you span a bookmark over more than one paragraph, then bookmark.anchor.getString() gives you the expected result.

If you want to "update" the bookmark with anchor.setString(s) and s is containing paragraph breaks (in basic CHR(13)), then the XTextRange of the anchor always ends with the end of the first paragraph, means, the bookmark has lost a part of its former range.

Any hints? Is this a known issue?

In SwXTxtRange::DeleteAndInsert(), the bookmarks 2nd position is not adjusted correctly in the call of DocInsertStringSplitCR(). Looks like a bug.

which is now known as http://www.openoffice.org/issues/show_bug.cgi?id=75658.

Regards

Peter

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

Reply via email to