alternative dialog find replace for writer Alternative Find & Replace for Writer (AltSearch)

Tags: Extensions Writer

Rating: ★ ★ ★ ☆ ☆

Extension that adds many new features to Writer's find & replace function.

alternative dialog find replace for writer b1ead180 d038 4e11 a6b9 989f98082416

Description

  • Fast selection preset regular and extended expressions
  • Searched or replaced text can contain one or more paragraphs
  • Search out block of paragraphs delimited by two text marks
  • Multiple search and replacement in one step
  • Searching: Bookmarks, Notes, Text fields, Cross-references and Reference marks to their content, name or mark and their inserting
  • Searching and inserting Footnote and Endnote (from version OOo 2.3 only). It is possible to select at once texts of all footnotes or endnotes and to assign them any style
  • Searching object of Tables, Pictures and Text frames according to their name; it is possible to substitute them by any text, etc.
  • Changing into found or replaced text: paragraph style, character style, list style and Hyperlink's URL and set properties
  • Inserting and replacement: clipboard contents, insert replacement counter and page number
  • Hexadecimal also decimal submission character for search and replaced
  • Searching out manual page and column break and their set up or deactivation
  • Searching similarly or the same manually formatted part of text, according to cursor point
  • Count found occurrences
  • Redirecting result of replacing expression to the other text file
  • Batch mode: saving and loading of search and replacement parameters; it is possible to save several searching and replacing subsequently to the single sequence and that whole quickly execute after. Execute the batch with more opened text documents together.
  • Self dialogue for quick assignment of key shortcut to batches
  • Preserve capitalization - If found text begins with a capital letter, also the text replacement will begin with a capital letter
  • Searching for paragraph, character and list style; possibility to choose a style from the menu
  • Built-in help (http://www.volny.cz/macrojtb/HelpAltSearch_en.html)
  • Languages: English, Czech, Russian, Spanish, German, French, Dutch, Italian

Additional documentation: http://macrojtb.hys.cz/AltSearchScr_en.html

Homepage: http://macrojtb.hys.cz/HelpAltSearch_en.html

Release List

  • Release Description Compatibility Operating Systems License Release notes  
  • 1.4.2 Fixed error after starting on LO 5.3.1.2 3.3 Linux, Windows, macOS LGPL Download
  • 1.4.1 Minor graphic fixes. 3.3 LGPL Download
  • 1.4 ICU regexp, bookmarks support, multibatch, formated counter. Several fixes. 3.3 LGPL Download
  • 1.3.2 AltSearch - First release on this server 3.3 LGPL

    For known problems please see
    Bugzilla!

    Download

Feedback

★ ★ ★ ☆ ☆

Post your review

You cannot post reviews until you have logged in. Login Here.

Reviews

  • good guy Jan 20, 2021, 5:10 PM (6 days ago)

    ★ ★ ★ ★ ★

    extremely helpful, thanx!
    one thing (which i hope would be a quick fix): searching for multiple (ie: with the '||' separator), but replacing with just 1 thing, works fine in single step 'replace', but does not in 'replace all'. there only the first matching item gets replaced. typical use: search for a word list and replace with a highlight. i have a list of 200 words, why should i write 200 times "\A{CharBackColor=16711680}||..."
    btw: somehow 'whole words only' does not work, i have to enclose each word with '\<' and '\>', which is okay, only bloats the whole search string.

  • Helpful Ducky Dec 28, 2020, 11:08 PM (29 days ago)

    ☆ ☆ ☆ ☆ ☆

    For people who are having trouble installing it, I figured it out. When you try to install the addon, it will give you an error, saying the .oxt does not exist. The last part of the file will be something like "lu####xxxx.tmp_". Navigate to AltSearch.oxt to "C:\Users\[UserName]\AppData\Roaming\LibreOffice\4\user\uno_packages\cache\uno_packages\". Create a folder within that, named whatever you copied from the error message: C:\Users\[UserName]\AppData\Roaming\LibreOffice\4\user\uno_packages\cache\uno_packages\lu####xxxx.tmp_\ and place the AltSearch.oxt in there. Then try to install it. It should work -it did for me, LO version 7.0.1.2 (x64) 12/28/2020

  • Moshe Ariel Dec 3, 2020, 7:58 AM (55 days ago)

    ☆ ☆ ☆ ☆ ☆

    This extension does not load with the most recent version of Writer - 7.0.3.1 (x64). 12/2/2020. It comes up with an error that says the file does not exist. This is the file I download: 4cc0f88b_altsearch. I go to Extension Manager and click on the Add button, double click on this file and get the Error Message.

    Am I doing something wrong? Would love to have this extension working again.

    Thanks.

  • Dan Dec 1, 2020, 11:43 AM (56 days ago)

    ★ ★ ★ ★ ☆

    Hi, I tried to add my own search and replace list to the batch file. But I do not want the list to be executed without me having a look at the result. So I am using the transfer button. Now, if I use this search: ([—|–]|\-{2,})(\s*)(.*?)(\s*)([—|–]|\-{2,}) it will give results with search all and with count in the search window, but not with find (0 results) any ideas? Also, does anybody know how to write the code to just find and then just replace one at a time? Thank you in advance.

  • Adalbert Hanßen Nov 3, 2020, 10:55 AM (3 months ago)

    ★ ★ ★ ★ ☆

    There are several bugs when applying AltSearch within a table. It depends if the selection spans more than one cell or less. If I want to replace e.g. \p by \n within a selection which extends beyond a single cell, I get the error message

    It is impossible to find text in this object.

    Which is definitely not true: I see text in my selection.

    Another time aplying it within a table I first got a warning: "CursorInit: Unsupported selection". Why this and how to overcome it?

    If I continued to apply a search and replace operation (e.g. replace \s by a normal space), I get the error message

    "Bt_run: Error with opening file: xxx l. 289: Object variable not set"

    (where xxx is the path to AltSearchScript.txt. By the way: This file contains the stored batch scripts and therefore interesting examples and suggestions for scripts that could be used in conjunction with AltSearch. Perhaps you can learn from them what the missing description of the dialect of regular expressions leaves open.)

  • Keith Oct 31, 2020, 7:57 PM (3 months ago)

    ★ ☆ ☆ ☆ ☆

    Cannot downloand 1.4.2 getting this message: Add Extension(s):
    C:\Users\***\AppData\Roaming\LibreOffice\4\user\uno_packages\cache\uno_packages\lu126411ckee.tmp_\altsearch.oxt does not exist

  • Adalbert Hanßen Oct 31, 2020, 12:20 PM (3 months ago)

    ★ ★ ★ ★ ☆

    How exactly can I replace all Character styles of one type to another one? I can search for all occurrences of say [:::CharStyleName=Example::] but when using the same pattern, say [:::CharStyleName=Code::], just this text is pasted rather than the other character style is applied. Some more documentation would be very helpful at this place.

    • Adalbert Hanßen Dec 2, 2020, 12:18 PM (55 days ago)

      In order to replace all uses of character style Example by another character style, enter [:::CharStyleName=Example::] to the search field but leave the replacement field empty. Then use find all. Then all occurrences of the searched-for character style are marked and these (possibly many) found places can be assigned some other defined character style by double clicking on the wanted character style in the F11 dialogue box (under character styles).

  • Keith Oct 26, 2020, 8:33 PM (3 months ago)

    ★ ★ ☆ ☆ ☆

    \n is worthless when looking for Carriage Return.
    There is no way to search and replace for Carriage Return.
    All other functions are already available as default in LibreOffice.
    Could you please provide a version that can actually search for carriage return?

    • Adalbert Hanßen Oct 26, 2020, 9:49 PM (3 months ago)

      Try it with \p (paragraph mark). \n is the forced linefeed (which probably has not a vertical above or below spacing associated with it.

  • Adalbert Hanßen Oct 26, 2020, 5:39 PM (3 months ago)

    ★ ★ ★ ★ ☆

    There is an error if I want to simultaneously remove any blancs at the end of a line and change \p to \n by using \s*\p: In general * matches zero to any number of matches. This one fails, if there is no blank space before a paragraph mark! Nevertheless, AltSearch is very useful. But the regular expression syntax should be described more!

    By the way, your rating should indicate if a higher number indicates better or not so good. Grades in school follow different schemes in different countries, so this is not obvious.

  • Élisson Góis Gallas Oct 21, 2020, 8:31 PM (3 months ago)

    ★ ★ ★ ★ ★

    All I could want in a search tool. How can I help you translate it to Portuguese?

    • Adalbert Hanßen Oct 26, 2020, 10:00 PM (3 months ago)

      Do it with Copy/paste starting with any language version. There is an excellent online translator. If you are a native speaker of the target language, you can easily correct the translation you receive so that it is really understandable (if the source text was understandable in the foreign language). In the case of individual words whose translation seems questionable, you can then click on these words in the target language and you will be presented with a list of further options. If you select one of them with the mouse, the translation of the text in the left-hand field will continue with this selection.

      You can find this online translator at https://www.deepl.com/de/translator

      Translated with www.DeepL.com/Translator (free version)

    • Adalbert Hanßen Oct 26, 2020, 9:58 PM (3 months ago)

      Es gibt einen exzellenten Onlineübersetzer. Wenn man in der Zielsprache Muttersprachler ist, kann man die da erhaltene Übersetzung leicht so korrigieren, daß sie wirklich gut veständlich ist (falls der Ausgangstext in der fremden Sprache vernündtig war). Bei einzelnen Worten, deren Übersetzung einem fragwürdig erscheint, kann man dann in der Zielsprache auf diese Wörter klicken und bekommt dann eine Liste weiterer Wahhlmöglichkeiten. Wenn man davon eine mit der Maus auswählt, wird die Übersetzung des Texts im linken Feld damit fortgesetzt.

      Diesen Onlineübersetzer findet man bei https://www.deepl.com/de/translator

    • Adalbert Hanßen Oct 26, 2020, 9:54 PM (3 months ago)

      Há um excelente tradutor em linha. Se for um falante nativo da língua de destino, pode facilmente corrigir a tradução que recebe para que esta seja realmente compreensível (se o texto original fosse compreensível na língua estrangeira). Se a tradução de uma palavra for questionável, pode clicar sobre ela na língua de destino e obter uma lista de outras opções. Se seleccionar um deles com o rato, a tradução do texto no campo da esquerda será continuada.

      Pode encontrar este tradutor em linha em https://www.deepl.com/de/translator

      Traduzido com a versão gratuita do tradutor - www.DeepL.com/Translator

1 2 3 4

RSS feed for reviews on this page | RSS feed for all reviews