On 23 March 2012 14:59, Doug <[email protected]> wrote: > Interesting problem: An email text is received which you need to format for > publication. > The email uses a carriage return at the end of each line, and a double > carriage return > for paragraph spacing. What I'd like to do is remove the cr's at the end of > each line, so > the text can be justified, and turn the double cr's into paragraph controls, > or just leave > as double cr's. Obviously all this can be done a line at a time by hand, > but it's a pain. > Is there any way someone can suggest to automate this?
Search and replace #1 - search for double carriage return and replace with manual page break Search and replace #2 - search for carriage return and replace with space Search and replace #3 - search for manual page break and replace with (double) carriage return -- T. R. Valentine Your friends will argue with you. Your enemies don't care. 'When I get a little money I buy books; and if any is left I buy food and clothes.' -- Erasmus -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
