<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - All search patterns provided by AltSearch.oxt should be implemented in LO Writer dirctly"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139585">139585</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>All search patterns provided by AltSearch.oxt should be implemented in LO Writer dirctly
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.2.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>adalbert.hanssen@gmx.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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
<a href="https://extensions.openoffice.org/de/project/alternative-dialog-find-replace-writer-altsearch">https://extensions.openoffice.org/de/project/alternative-dialog-find-replace-writer-altsearch</a>.

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>