Issue 77654 - macro recorder : Find/Replace should store formatting
Summary: macro recorder : Find/Replace should store formatting
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 2.2.1 RC1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: Mathias_Bauer
QA Contact:
Keywords: oooqa
Depends on:
Blocks: 81537
  Show dependency tree
Reported: 2007-05-21 15:38 UTC by arysin
Modified: 2017-05-20 10:04 UTC (History)
5 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


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