Replace Formatting

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Lucia
Propeller Head
Posts: 58
Joined: Mon Oct 27, 2008 6:22 am
Location: Blumenau SC Brazil

Replace Formatting

Post by Lucia »

I have the Word "Menu" in many Topics, and I want it to be bold in all of them. Is there a way I can automatically format it so it will be bold in all of the Topics in my Project?

Thank you very much.
Lucia
GregStenhouse
Sr. Propeller Head
Posts: 330
Joined: Tue May 13, 2008 3:27 pm
Location: Christchurch, New Zealand

Re: Replace Formatting

Post by GregStenhouse »

Search and replace, select "Search in Source Code", select "Whole Project",
search for Menu
Replace with <B>Menu</B>

You might want to replace one at a time rather than the replace all, in case Menu is in a bookmark or style tag etc
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Replace Formatting

Post by LTinker68 »

Or you could create a span class or a generic class that has font-weight set to bold, and use Greg's process except instead of <B>Menu</B> it would be <span class="menuHilite">Menu</span> (for example). The benefit of using a class is that if you later decide you want Menu to display in a blue font instead of being bolded, you simply change the style of the span class instead of doing another find-and-replace to change from <b>...</b> to something else.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
forfear
Propellus Maximus
Posts: 766
Joined: Sat Feb 16, 2008 3:37 am
Location: Jungle Jingles

Re: Replace Formatting

Post by forfear »

LTinker68 wrote:Or you could create a span class or a generic class that has font-weight set to bold, and use Greg's process except instead of <B>Menu</B> it would be <span class="menuHilite">Menu</span> (for example). The benefit of using a class is that if you later decide you want Menu to display in a blue font instead of being bolded, you simply change the style of the span class instead of doing another find-and-replace to change from <b>...</b> to something else.
I'd go with this. I created character style for menu items, even though all it is is a bold formatting applied. At least when you want to change the colour of the font or do something else in future with it, you can with very little effort.
If you submit your bug feedback request here, the more likely it'll get fixed or included in a future release
Open Utilities PageLayout Resizer for Flare/Blaze | Batch builder
Lucia
Propeller Head
Posts: 58
Joined: Mon Oct 27, 2008 6:22 am
Location: Blumenau SC Brazil

Re: Replace Formatting

Post by Lucia »

Thank you very much.

I'm happy everybody is always so kind around the Forums :)
Lucia
Post Reply