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


Hi :)
The \n doesn't seem to work in Writer 3.3.2.  But there has to be something like that, some mark to 
show a hard-carriage return.  Knowing what it is would make this easier!
Regards from
Tom :)


--- On Mon, 28/11/11, Mirosław Zalewski <miniopl@poczta.onet.pl> wrote:

From: Mirosław Zalewski <miniopl@poczta.onet.pl>
Subject: Re: [libreoffice-users] deleting hard returns
To: users@global.libreoffice.org
Date: Monday, 28 November, 2011, 10:21
On 28/11/2011 at 03:32, poemblaze
<mattq1966@gmail.com>
wrote:

Help! I am wanting to delete hard returns that were
placed at the end of
every line of a large document. All I've seen is how
to delete a paragraph
(hard) return in a blank paragraph. 

If by "hard return" you mean Shift+Enter, it's pretty
easy:
1. Open find and replace dialog (by default it is
Ctrl+Alt+F in LO 3.4).
2. In "More options" check "Regular expressions".
3. Search for "\n" (backslash and n).
4. Click "Replace all" (don't enter any replacement
string).

That's it. All hard returns disappear.

I'd also like to convert hard returns
to soft returns in a couple places. That is the
opposite action of what
I've seen explained elsewhere. 

With "Regular expression" you can search for "\n" and
replace it with "\n" 
(backslash n again). This will convert hard return to soft
return 
(if I understand these words correctly).

The tricky part is to tell LO which hard returns you want
to delete and which 
converted to soft return. I can think of one way:
at beginning of line after hard return you want converted
to soft return, 
place some character, like "ß" (German scharfes S - if
your document isn't in 
German, it's unlikely that you have it anywhere in it), and
then search for 
"\nß" and replace it with "\n". Now search for "\n" and
replace it with 
nothing in order to delete unwanted hard returns.

HTH.
-- 
Best regards
Mirosław Zalewski

-- 
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


-- 
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.