Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

On 24/03/2012, e-letter <> wrote:
On 23/03/2012, Doug <> 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?

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


replace with
[empty field]

would remove new lines and replace with a space ( ) character.

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: 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.