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


On 24/03/2012, e-letter <inpost@gmail.com> wrote:
On 23/03/2012, Doug <dmcgarrett@optonline.net> 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
jedit:

find
\n

replace with
[empty field]

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

-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
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

Context


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.