Issue 59887 - Search and replace can cause loss of text formatting
Summary: Search and replace can cause loss of text formatting
Status: CLOSED DUPLICATE of issue 51429
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: OOo 2.0.1
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@sc
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-12-30 06:12 UTC by itwerx
Modified: 2006-02-01 13:20 UTC (History)
2 users (show)

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


Attachments
Spreadsheet with first cell showing loss of format after search and replace (second cell shows original value of first cell). (5.54 KB, application/vnd.sun.xml.calc)
2005-12-30 06:15 UTC, itwerx
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description itwerx 2005-12-30 06:12:16 UTC
If a cell has multiple formats of text (e.g. bold and non-bold) and a search and
replace causes text crossing the format boundary to be changed then the
formatting for the text on one side or the other will be lost.
E.g. a cell contains (caps indicates bold, non-caps indicates non-bold):
   TESTXxtest
...a normal search and replace to change the text "xx" to "yy" will result in:
   testyytest
When it should result in either:
   TESTYYtest
or:
   TESTyytest

This the extent to which the issue has been explored so far, it may be
further-reaching than what is described here and/or may be related to other issues.
   (And if it has already been submitted then I apologize, though I DID search
quite a bit for anything similar first!  :)
Comment 1 itwerx 2005-12-30 06:15:52 UTC
Created attachment 32778 [details]
Spreadsheet with first cell showing loss of format after search and replace (second cell shows original value of first cell).
Comment 2 lars 2006-01-01 23:14:55 UTC
confirmed on Windows XP Pro SP2 with OOo 2.0.1
Comment 3 frank 2006-02-01 13:19:59 UTC
Hi,

basically a double to Issue 51429.

Frank

*** This issue has been marked as a duplicate of 51429 ***
Comment 4 frank 2006-02-01 13:20:46 UTC
closed double