To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81343
                 Issue #|81343
                 Summary|Bookmarks lost while replacing text in Writer document
               Component|Word processor
                 Version|OOo 2.2.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|editing
             Assigned to|mru
             Reported by|listmanster





------- Additional comments from [EMAIL PROTECTED] Fri Sep  7 07:00:26 +0000 
2007 -------
1) Create a new writer document.

2) type some text : "This is some text"

3) insert a bookmark "bk01", before the word some.

4) insert a bookmark "bk02", after the word some. (right clicking on the status 
bar,  pages indicator 
displays the two bookmarks...)

5) now do a find and replace of the word "some" with "the",

6) so the sentence in the document appears as:
  "This is the text"

7) Now right click on the status bar, pages indicator, and only the
second bookmark remains ("bk02"), and this remaining bookmark is wrongly 
positioned at
the letter "t" of the repacement word "the" 

The same defect can be demonstrated via a macro using the ReplaceDescriptor API:

Dim oReplace
 oReplace = ThisComponent.createReplaceDescriptor() 
 oReplace.SearchString = "some"
 oReplace.ReplaceString = "the" 
 ThisComponent.ReplaceAll(oReplace)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to