Issue 75658 - inserting a String with paragraph breaks on a bookmarks anchor doesn't work properly
Summary: inserting a String with paragraph breaks on a bookmarks anchor doesn't work p...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.1
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 17:30 UTC by eberlein
Modified: 2013-08-07 14:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
file with bookmark and macro to trpoduce (9.66 KB, application/vnd.oasis.opendocument.text)
2007-03-22 17:46 UTC, eberlein
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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