Issue 75658

Summary: inserting a String with paragraph breaks on a bookmarks anchor doesn't work properly
Product: Writer Reporter: eberlein <pet.ebe>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, kamataki, masaya.k
Version: OOo 2.1   
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
file with bookmark and macro to trpoduce none

Description eberlein 2007-03-22 17:30:50 UTC
To reproduce:
Span a bookmark over some paragraphs.
Then insert a String containing paragraph breaks on the anchor of the bookmark
(XTextRange).
The bookmark ends now with the end of the first paragraph.

Comment from sw-discussion list:
In SwXTxtRange::DeleteAndInsert(), the bookmarks 2nd position is not adjusted
correctly in the call of DocInsertStringSplitCR().
Comment 1 eberlein 2007-03-22 17:46:09 UTC
Created attachment 43877 [details]
file with bookmark and macro to trpoduce
Comment 2 eberlein 2007-03-22 17:48:27 UTC
Sorry, "Assigned to" is wrong, please change it.
Comment 3 Mathias_Bauer 2007-03-22 19:52:13 UTC
done
Comment 4 frank.meies 2007-03-23 11:03:05 UTC
.
Comment 5 Martin Hollmichel 2007-09-10 14:09:57 UTC
move to target 3.x according http://wiki.services.openoffice.org/wiki/Target_3x