[Libreoffice-bugs] [Bug 139585] New: All search patterns provided by AltSearch.oxt should be implemented in LO Writer dirctly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 13 12:20:04 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=139585

            Bug ID: 139585
           Summary: All search patterns provided by AltSearch.oxt should
                    be implemented in LO Writer dirctly
           Product: LibreOffice
           Version: 7.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: adalbert.hanssen at gmx.de

This proposal applies for all versions of LO Writer I have used so far. I just
checked its necessity with the current development version.

There is a very useful LibreOffice plugin called AltSearch.oxt. I frequently
use it e.g. to replace paragraph marks (\p) by forced linefeeds (\n), protected
spaces (\S) by normal spaces, remove all spaces before any paragraph mark and
the like. But I still use AltSearch very often because with the normal
Search/Replace mechanism, I can't search for paragraph marks and: AltSearch can
search for styles, e.g. for [:::CharStyleName=Code(Zch)::].

I already have made a collection of such batch procedures for AltSearch.oxt,
but unfortunately from time to time AltSearch.oxt crashes with error messages
like this one:

Basic Runtime error in module AltSearch>fromTools in line 117 with the
additional information com.sun.star.container.NoSuchElementException Message:
/home/buildslave/source/libo-core/basic/source/uno/namecont.cxx117. Line 117 is
part of 

Function LoadDialog_(Libname as String, DialogName as String, Optional
oLibContainer)

and the offending line is

oLibContainer.LoadLibrary(LibName)

Unfortunately AltSearch is very buggy and it happens over and over that it
stops working even if it has worked for a long time in one and the same version
of LibreOffice. Also it looks like the development of AltSearch has ended or
fallen into hibernation: the current release 1.4.2 dates back to 2017-03-24
according to
https://extensions.openoffice.org/de/project/alternative-dialog-find-replace-writer-altsearch.

Therefore I propose to make AltSearch.oxt superfluous by adding natively its
capabilities directly to LibreOffice Writer, especially those necessary to
search for paragraph styles, character styles, hyperlinks, patterns in the
hyperlinks, direct formatting and all other AltSearch pattern options.

This includes the capability to quickly load and store batch patterns as it is
done in AltSearch.oxt.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210113/a46a0f57/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list