Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-25 Thread Bo Siltberg
It would be great if AltSearch could be integrated in LO. This extension
seem to be implemented as a macro today and is dreadfully slow.

2017-08-25 0:30 GMT+02:00 jonathon :

>
>
> On 08/24/2017 11:26 AM, Philip Jackson wrote:
> > On 24/08/17 05:00, jonathon wrote:
> >> If you need to use Regex in LibO, you need to install the Alt-Search
> >> extension.
> >
> > Not so.  See 'Find and Replace' > Other Options > Regular expressions
>
> That doesn't insert line breaks, or paragraph breaks.
> Alt-Search does insert line breaks, or paragraph breaks.
>
> jonathon
>
> --
> To unsubscribe e-mail to: users+unsubscr...@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
>

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-24 Thread jonathon


On 08/24/2017 11:26 AM, Philip Jackson wrote:
> On 24/08/17 05:00, jonathon wrote:
>> If you need to use Regex in LibO, you need to install the Alt-Search
>> extension.
> 
> Not so.  See 'Find and Replace' > Other Options > Regular expressions

That doesn't insert line breaks, or paragraph breaks.
Alt-Search does insert line breaks, or paragraph breaks.

jonathon

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-24 Thread Philip Jackson
On 24/08/17 05:00, jonathon wrote:
> If you need to use Regex in LibO, you need to install the Alt-Search
> extension.

Not so.  See 'Find and Replace' > Other Options > Regular expressions

:-)
Philip

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-23 Thread jonathon
On 08/22/2017 11:19 PM, Remy Gauthier wrote:

> you must use the AltSearch extension

I was under the impression that the built-in Search and Replace function
had finally caught up with the Alt-Search extension such that installing
the latter would duplicate existing functionality. Having tried your
recommendation, I discover that my impression is wrong.

> you to perform all sorts of substitutions of that nature fairly easily.

If you need to use Regex in LibO, you need to install the Alt-Search
extension.

jonathon

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-23 Thread Remy Gauthier
Hi,

Not 100% sure I understand what you mean. Using AltSearch, this is
easily done. Using Search in Writer, it is a bit more tricky
because searching "\n" looks for end of line (Shift Return), while in
the replacement portion, it substitutes for end of paragraph (Return)
(at least this is what my version of Writer does [LO 5.3.4.2].

Rémy.

Le mercredi 23 août 2017 à 16:17 -0400, Tim-L--Elmira-NY a écrit :
> > Can you replace the "\n" with a specific text and then have the
"\n"?  
> > That would save a bunch of work on a project.  I do not want to
create a 
> utility to do something like that.
> 
> 
> On 08/22/2017 07:19 PM, Remy Gauthier wrote:
> > Hello,
> > 
> > > > You can substitute any string of characters for a paragraph mark
(the
> > > > result of hitting the "Return" key on your keyboard).  To do so,
you
> > > > must enable regular expressions on the Search & Replace panel (open
the
> > additional options) and then you set the replace string to "\n"
> > (without the quotes). If you want to insert a real line break (the
> > > > result of hitting "Shift Return" on your keyboard), you must use
the
> > > > AltSearch extension available from https://extensions.libreoffice.o
rg/e
> > > > xtensions/alternative-dialog-find-replace-for-writer. This will
allow
> > > > you to perform all sorts of substitutions of that nature fairly
easily.
> > 
> > I hope this helps.
> > 
> > Rémy Gauthier.
> > Le mardi 22 août 2017 à 18:39 +, jonathon a écrit :
> > > All:
> > > 
> > > > > > > > Is there a way to insert line breaks, using Search and
Replace?  If
> > so, how?
> > > jonathon
> > > 
> 
> 

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-23 Thread Tim-L--Elmira-NY


Can you replace the "\n" with a specific text and then have the "\n"?  
That would save a bunch of work on a project.  I do not want to create a 
utility to do something like that.



On 08/22/2017 07:19 PM, Remy Gauthier wrote:

Hello,

You can substitute any string of characters for a paragraph mark (the
result of hitting the "Return" key on your keyboard).  To do so, you
must enable regular expressions on the Search & Replace panel (open the
additional options) and then you set the replace string to "\n"
(without the quotes). If you want to insert a real line break (the
result of hitting "Shift Return" on your keyboard), you must use the
AltSearch extension available from https://extensions.libreoffice.org/e
xtensions/alternative-dialog-find-replace-for-writer. This will allow
you to perform all sorts of substitutions of that nature fairly easily.

I hope this helps.

Rémy Gauthier.
Le mardi 22 août 2017 à 18:39 +, jonathon a écrit :

All:


Is there a way to insert line breaks, using Search and Replace?  If

so, how?

jonathon




--
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-23 Thread Philip Jackson
On 23/08/17 01:19, Remy Gauthier wrote:

> AltSearch extension available from https://extensions.libreoffice.org/e
> xtensions/alternative-dialog-find-replace-for-writer. This will allow
> you to perform all sorts of substitutions of that nature fairly easily.
> 
> I hope this helps.
> 
Thanks for making me aware of this extension, Remy

Philip

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-23 Thread Bo Siltberg
Actually, it is possible by using the extension "alternative searching". I
got version 1.4.2 installed.
Tools -> Extension manager... -> Get more extensions online

Just insert \p in the replace field for a paragraph break or \n for a line
break.

This extension is also good for searching for the contents of a hyperlink
(the target link, not the visible text) and cross references.


2017-08-22 22:23 GMT+02:00 Ricardo Berlasso :

> 2017-08-22 20:39 GMT+02:00 jonathon :
>
> > All:
> >
> > Is there a way to insert line breaks, using Search and Replace?  If so,
> > how?
> >
>
> Line breaks (Shift-Enter) or paragraph breaks (just Enter)?
>
> You can search ($) and replace (\n) paragraph breaks with regular
> expressions. You can search for line breaks too (\n... yes, I know it is
> confusing), but AFAIK there is no way to insert line breaks with the search
> and replace tool.
>
> Regards,
> Ricardo
>
>
>
>
> >
> > jonathon
> >
> > --
> > To unsubscribe e-mail to: users+unsubscr...@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
> >
>
> --
> To unsubscribe e-mail to: users+unsubscr...@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
>

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-22 Thread Remy Gauthier
Hello,

You can substitute any string of characters for a paragraph mark (the
result of hitting the "Return" key on your keyboard).  To do so, you
must enable regular expressions on the Search & Replace panel (open the
additional options) and then you set the replace string to "\n"
(without the quotes). If you want to insert a real line break (the
result of hitting "Shift Return" on your keyboard), you must use the
AltSearch extension available from https://extensions.libreoffice.org/e
xtensions/alternative-dialog-find-replace-for-writer. This will allow
you to perform all sorts of substitutions of that nature fairly easily.

I hope this helps.

Rémy Gauthier.
Le mardi 22 août 2017 à 18:39 +, jonathon a écrit :
> All:
> 
> > Is there a way to insert line breaks, using Search and Replace?  If
so, how?
> 
> jonathon
> 

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-22 Thread Ricardo Berlasso
2017-08-22 20:39 GMT+02:00 jonathon :

> All:
>
> Is there a way to insert line breaks, using Search and Replace?  If so,
> how?
>

Line breaks (Shift-Enter) or paragraph breaks (just Enter)?

You can search ($) and replace (\n) paragraph breaks with regular
expressions. You can search for line breaks too (\n... yes, I know it is
confusing), but AFAIK there is no way to insert line breaks with the search
and replace tool.

Regards,
Ricardo




>
> jonathon
>
> --
> To unsubscribe e-mail to: users+unsubscr...@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
>

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Search and Replace: Line Breaks

2017-08-22 Thread Brian Barker

At 18:39 22/08/2017 +, Toki "Jonathon" Kantoor wrote:

Is there a way to insert line breaks, using Search and Replace? If so, how?


Try this:
o Enter a line break into your document.
o Copy or cut it.
o Use Find & Replace to find the occurrences you want to replace, but 
using Find All (and ignoring the "Replace with" field).

o Paste.

I trust this helps.

Brian Barker


--
To unsubscribe e-mail to: users+unsubscr...@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