Bug 139585 - All search patterns provided by AltSearch.oxt should be implemented in LO Writer dirctly
Summary: All search patterns provided by AltSearch.oxt should be implemented in LO Wri...
Status: RESOLVED DUPLICATE of bug 38261
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-13 12:20 UTC by Adalbert Hanßen
Modified: 2021-01-13 16:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adalbert Hanßen 2021-01-13 12:20:04 UTC
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.
Comment 1 Timur 2021-01-13 16:00:53 UTC

*** This bug has been marked as a duplicate of bug 38261 ***