On Thu, 16 Feb 2006 13:16:20 -0500, Jaime Torres wrote: > I usually have to copy the text from the bodies of my email messages and > paste them into a OO Writer document. As you should imagine the line > breaks are kept exactly the same as in the email message. Here is an > example: > > This text is the body on an email message that > somebody sent to me not long ago. Can you see > the line breaks? > > I need to find a way to get rid of the line breaks to have complete > paragraphs. For my example this should be the result: > > This text is the body on an email message that somebody sent to me not > long ago. Can you see the line breaks? > > Is there a way to tell OO Writer to replace line breaks with a single space? > > Thanks in advance for your time and help. > > Regards, > JT
The standard way to do this is by macro. Usually, using regular expressions, the end of line marker is replaced with a nonsense string, such as qqq. Then double hits, qqqqqq, are changed to linefeeds to preserve true paragraphs, and finally single hits qqq's are either nuked or changed to spaces. I'm lousy at OOo macros, especially in dealing with selected text, so I can't help you there. A better way is to download Clippy, which does all that and a couple dozen other text manipulations, all seamlessly via the clipboard. And it's free. paul -- Using OOo 2.0 on Win XP sp2. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
