Issue 77654

Summary: macro recorder : Find/Replace should store formatting
Product: General Reporter: arysin <arysin>
Component: scriptingAssignee: Mathias_Bauer
Status: CLOSED WONT_FIX QA Contact:
Severity: Trivial    
Priority: P3 CC: cno, elish, issues, pagalmes.lists, rainerbielefeld_ooo_qa
Version: OOo 2.2.1 RC1Keywords: oooqa
Target Milestone: AOO Later   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 81537    

Description arysin 2007-05-21 15:38:42 UTC
When recording a macro for Find/Replace action, the Formatting is not stored.

Steps to reproduce:
1. Press "Record Macro"
2. Open Find/Replace dialog
3. Enter some find and replace texts
4. Press "Format..." and change formatting, e.g. set Language to "English"
5. Do find/replace (all)
6. Press "stop macro"

Observe the macro code: there's no reference to char fomatting ("English"
language in our case), thus when calling this macro the find/replace will search
for any formatting which is wrong.

Expected: macro should preserve the formatting as well as text and other flags.
Comment 1 arysin 2007-05-21 18:21:01 UTC
More than that, if the user does manual search with formatting and later tries
to run the macro (without formatting) the search will reuse formatting from
manual search thus making macro search invalid.

Steps to reproduce:
1. Record a simple search/replace macro, e.g. for regexp "[a-z]"
2. Try that it works
3. Do a manual search with formatting (e.g. language "Latin")
4. Rerun search/replace macro

It would not find anything.
Comment 2 cno 2007-05-29 21:59:24 UTC
Hi arysin,
Recording macro's in OOo currently has it's limitations.
I do not know exactly, but IIRC, in any case values added in extra windows are
not recorded.
Cor
Comment 3 noel.power 2007-06-19 17:08:16 UTC
reassign ( no idea who looks after the recorder ), ->mba I guess you will know ;-) 
Comment 4 Rainer Bielefeld 2007-07-24 06:16:32 UTC
Enhancement
Comment 5 Rainer Bielefeld 2007-07-24 06:17:14 UTC
Pls also see issue 79935!
Comment 6 Mathias_Bauer 2007-08-25 21:07:19 UTC
target ooolater
Comment 7 Edwin Sharp 2014-02-13 12:57:17 UTC
resolved per comment 5