On Mon, 31 Aug 2009 18:11:17 -0400
Eustace <[email protected]> dijo:

> On 2009-08-30 13:50 John Jason Jordan wrote:
> > On Sun, 30 Aug 2009 11:37:10 -0400
> > Eustace <[email protected]> dijo:
> > 
> >> I suspect that the problem is in the opening of the wpd documents - 
> >> color codes are inserted where there are none - but have no idea how to 
> >> correct the situation without going over all the formatting of the 
> >> document, applying styles to each paragraph, table contents, etc. I was 
> >> already forced to do this to the documents that I needed right away, but 
> >> there are many more that I would eventually have to deal with, and I 
> >> tremble at the prospect.
> > 
> > OOo can search for text formatted in a certain way. Hopefully, the
> > styles in the WPD documents always use the same colors. If so, you can
> > record a macro to search for each color in turn and apply your own
> > styles to them. Then all you have to do is run the macro every time you
> > open a new document. 
> 
> 
> Thanks for the tip! I had seen "Attributes" under "More Options" in the 
> "Find and Replace" dialog, but I hadn't realized I could apply it to the 
> (seemingly) empty "Search for" and "Replace with fields - and then click 
> "Replace All" to change all references of Black to Automatic.
> 
> So far so good. Now, is there any way I do something similar to change 
> all references to table cells background White to No Fill?

I just tried it and it works. Sometimes recording a macro doesn't
record everything you do, especially when you do something with a mouse
click. But this time it worked.

I created a table in a new, blank document. With the cursor in a cell I
turned on Record Macro, then did Table > Select > Table. Then I applied
a color, stopped recording the macro and named it "test." Then I
created a new, blank table, put the cursor in a cell, and ran the
macro. It applied the color to all the cells in the table. My table
started out with the default "no fill," then I applied a color. I'm
sure it would work just as well in reverse.

Getting it to do so for every table in the document all in one macro
may take more effort. I don't know how to locate and select tables from
menu options. But at least you can do it one table at a time. And you
can assign macros to hotkeys, or assign them to toolbar buttons.

I'm a big fan of recording macros for repetitive tasks. I just wish
organizing them was more intuitive. Or maybe others find it intuitive.
I just know I am always wondering where a macro went.
-- 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to