On 24/03/2012, e-letter <email@example.com> wrote:
On 23/03/2012, Doug <firstname.lastname@example.org> wrote:
Interesting problem: An email text is received which you need to format
The email uses a carriage return at the end of each line, and a double
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?
This is quickly performed by using regular expressions, either in LO
or more easily in any decent text editor.
On a separate issue, what is the syntax in LO to select paragraph
breaks (pilcrow (¶) sign) in the 'find and replace' dialogue window?
Subsequent posts indicate why it is much easier to solve this question
by use of a text editor instead of LO.
For example, it seems that double carriage return is equivalent to an
empty line. As for the line feed a simple remove may be achieved in
would remove new lines and replace with a space ( ) character.
For unsubscribe instructions e-mail to: email@example.com
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
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy