I'm working on a document where I have repeated phrases that are a pain to type and format. One is "Lbegin" where the "L" is normal text and the "begin" is subscripted and italicized. To save time, I just typed "Lbegin" everywhere, formatted the first one, copied it to the clipboard, then sat down to search for "Lbegin" and replace it with the contents of the clipboard. Except that this does not seem to be a valid replacement option. I also tried pasting the formatted "Lbegin" into the replacement box, but that lost all the formatting, i.e., "begin" was neither subscripted nor italicized after replacement.

I tried the Find/Replace extension at http://extensions.services.openoffice.org/project/AltSearch , because it claims to support replacing found text with the contents of the clipboard, but when I tried it, the "Lbegin" that was inserted was entirely subscripted and italicized, i.e., the inserted "L" was incorrectly formatted.

Question #1: How can I replace found text with the contents of the clipboard, which may contain arbitrarily complex formatted text? Note that doing a manual paste from the clipboard after finding the text searched for works fine, so if all else fails, perhaps a macro is the way to go. Comments?

Question #2: Suppose what I want to do with found text is apply a format that I've captured by clicking on some other text and choosing the paintbrush. How can I say "apply the paintbrush format to the text just found"?

Thanks,

Scott




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to