[Libreoffice-bugs] [Bug 119728] Unable to select multiple formats in find/search & replace

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 29 17:30:32 UTC 2018


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

Buovjaga <todventtu at suomi24.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |todventtu at suomi24.fi
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Buovjaga <todventtu at suomi24.fi> ---
Based on my quick test, it seems you will be able to do this with Alternative
Find & Replace:
https://extensions.libreoffice.org/extensions/alternative-dialog-find-replace-for-writer
As there exists a report asking for LibreOffice to match the features of the
extension, I will close yours as duplicate.

Here is the help: http://mujweb.cz/macrojtb/HelpAltSearch_en.html

For your first example, I was able to solve it like so (Regular expressions
enabled):
Find:
[:::CharPosture::]\.

Replace:
\A{CharPosture=0}:

So in the Find box, I clicked Properties and picked Italic and it gave me that
[:::CharPosture::] extended regex.
Bonus: according to the help, if we want to search for non-italic (or
non-something), we add a = sign, so it would be [:::CharPosture=::]

The period must be escaped with \ because we are using regular expressions.

In the Replace box, I clicked Pick properties and scrolled to the CharPosture =
0 entry. Then I just added the : after it.

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

-- 
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/20180929/28669812/attachment.html>


More information about the Libreoffice-bugs mailing list