Search found 19 matches

by kocj
Fri Jun 18, 2021 12:13 pm
Forum: Linux
Topic: [Solved] Altsearch: unable to use shortcuts
Replies: 3
Views: 348777

Re: [Solved] Altsearch: unable to use shortcuts

Found a solution To assign a short cut open the extension and change to the batch view. The click on the batch and then "key shortcut", leave the second window "auxiliary subroutine" as it is. As expected the shortcut trows the error. Go to "Tools" > "Macors" ...
by kocj
Fri Jun 18, 2021 11:31 am
Forum: Extensions
Topic: Altsearch extension no longer works; Any alternatives?
Replies: 9
Views: 9274

Re: Altsearch extension no longer works; Any alternatives?

Found a solution To assign a short cut open the extension and change to the batch view. The click on the batch and then "key shortcut", leave the second window "auxiliary subroutine" as it is. As expected the shortcut trows the error. Go to "Tools" > "Macors"...
by kocj
Thu Jun 17, 2021 3:54 pm
Forum: Extensions
Topic: Altsearch extension no longer works; Any alternatives?
Replies: 9
Views: 9274

Re: Altsearch extension no longer works any alternatives

Thanks, The link goes to a page whit probably polish content, the help is not there any more. There is a help document that ships with the extension, witch has the same contend as the link once had. That's where i copied the previous quote form. I do not understand what the problem is with that exte...
by kocj
Thu Jun 17, 2021 1:32 pm
Forum: Extensions
Topic: Altsearch extension no longer works; Any alternatives?
Replies: 9
Views: 9274

Re: Altsearch extension no longer works any alternatives

I have run in a similar problem described in https://forum.openoffice.org/en/forum/viewtopic.php?f=16&t=104118. I did not find this tread at that time. I am on LO 7.0.4.2 on debian bullseye. I still do not know how to solve this. I ended up reinstalling my system but it still persist. I did not ...
by kocj
Sat Jan 09, 2021 6:24 pm
Forum: Linux
Topic: [Solved] Altsearch: unable to use shortcuts
Replies: 3
Views: 348777

[Solved] Altsearch: unable to use shortcuts

I run into a similar issue as https://forum.openoffice.org/en/forum/viewtopic.php?f=6&t=103408&p=504281&hilit=altsearch#p504281 using altsearch. I wanted to set up a new shortcut to run a batch. Now i get this error message. https://imgur.com/a/jUytiqh 06xizbW.png I still can manually ru...
by kocj
Thu Sep 06, 2018 3:57 pm
Forum: Advanced Uses
Topic: AltSearch across multiple paragraphs
Replies: 4
Views: 2670

Re: AltSearch across multiple paragraphs

Thank you, good to know that it works for you. Are you able to apply a par-style just to the replaced section too? Do you have any suggestions about the error messages? using & instead of \0 in the replace field gives me the same runtime error also in other situations, till now it did not matter...
by kocj
Thu Sep 06, 2018 2:44 pm
Forum: Advanced Uses
Topic: AltSearch across multiple paragraphs
Replies: 4
Views: 2670

Re: AltSearch across multiple paragraphs

@ RoryOF My I ask, did you do the replace with & or \0? & gives me a Basic runtime error An exception occured Type: com.sun.star.resource.MissiningResourceExeption Message: StringResourceImpl: No entry for ResourceID: At line 1686 seznam.addItem(neco,0) I found out that it is possible with \...
by kocj
Thu Sep 06, 2018 11:45 am
Forum: Advanced Uses
Topic: AltSearch across multiple paragraphs
Replies: 4
Views: 2670

AltSearch across multiple paragraphs

Has anyone been able to successfully use the [::BigBlock::] function? [::BigBlock::] - searches for a block of paragraphs (of unlimited length) delimited by some known text: start[::BigBlock::]end – first, start is searched for, and when it is found, end is searched for. If both are found, the whole...
by kocj
Thu Aug 30, 2018 6:07 pm
Forum: Macros and UNO API
Topic: [Solved] AltSearch search and replace list
Replies: 5
Views: 11891

Re: AltSearch search and replace list

Found the solution i needed. I had to setup conditional paragraph styles. Now depending on the outline level a different paragraph stile is applied and i am able to mark that style with AltSearch. https://ask.libreoffice.org/en/question/23214/how-to-set-up-different-styles-for-each-level-of-an-outli...
by kocj
Thu Aug 30, 2018 9:42 am
Forum: Macros and UNO API
Topic: [Solved] AltSearch search and replace list
Replies: 5
Views: 11891

Re: AltSearch search and replace list

Ok, that seems to work. Using a different par-style for every level allow me to search and rewrite it as i want. Still, I probably do not get the whole picture at the moment. Lets assume that I have created a list style, lets call it Bullet-List that has three levels. Then I created a paragraph styl...
by kocj
Wed Aug 29, 2018 6:30 pm
Forum: Macros and UNO API
Topic: [Solved] AltSearch search and replace list
Replies: 5
Views: 11891

Re: AltSearch search and replace list

@ Zizi64 Thank you

The only thing I am able to do with AltSearch is like that.

[Find][:::NumberingStyleName=::]
[Replace]*\0\A{NumberingStyleName=}

Witch marks every list, and adds one * in front of it. The bad thing is that hierarchies are getting lost in translation.

Kocj
by kocj
Mon Aug 27, 2018 5:47 pm
Forum: Macros and UNO API
Topic: [Solved] AltSearch search and replace list
Replies: 5
Views: 11891

[Solved] AltSearch search and replace list

I am trying to rewrite bullet and numbering list with AltSearch. Using the pick properties button I am able to identify the NumberingLevel. It is also possible to rewrite a whole list to an specific Numbering level or to apply a default or custom list setting to a given list. However I am not able t...
by kocj
Tue Aug 21, 2018 8:02 pm
Forum: Macros and UNO API
Topic: [Solved] Writer macro: Action based on paragraph style.
Replies: 9
Views: 8232

Re: Writer macro: Action based on paragraph style.

Found the solution, this will mark the sequenze.

Code: Select all

<endmark>\p<beginmark>
Thank you very much for your help.
by kocj
Tue Aug 21, 2018 6:45 pm
Forum: Macros and UNO API
Topic: [Solved] Writer macro: Action based on paragraph style.
Replies: 9
Views: 8232

Re: Writer macro: Action based on paragraph style.

Yes, it's the same help page that comes up if pressed the ? in the extension. I have been studding for 8 hours the last tow days, to come that far. ;) Just to get me running, a solution for this example would be enough. My immediate thought is that I would mark up the string of paragraphs this way <...
by kocj
Tue Aug 21, 2018 6:02 pm
Forum: Macros and UNO API
Topic: [Solved] Writer macro: Action based on paragraph style.
Replies: 9
Views: 8232

Re: Writer macro: Action based on paragraph style.

@ RoryOF

sorry,I am not able to catch the sequence <endmark><beginmark>, not even if I try it on the example you provided. What do i do wrong? How to delete the mark and the paragraph too?
by kocj
Mon Aug 20, 2018 4:58 pm
Forum: Macros and UNO API
Topic: [Solved] Writer macro: Action based on paragraph style.
Replies: 9
Views: 8232

Re: Writer macro: Action based on paragraph style.

@ RoryOF I have tried AltSearch now for a wile, I am very happy as it also solves an other solutions I was looking for. Thank you. I did not find an option to group paragraphs of the same style. The reality i face looks more like: Paragraph> Mystyle Mystyle Mystyle Mystyle Mystyle Mystyle Mystyle My...
by kocj
Mon Aug 20, 2018 9:36 am
Forum: Macros and UNO API
Topic: [Solved] Writer macro: Action based on paragraph style.
Replies: 9
Views: 8232

Re: Writer macro: Action based on paragraph style.

Thank you, I will try it out.
by kocj
Mon Aug 20, 2018 9:12 am
Forum: Macros and UNO API
Topic: [Solved] Writer macro: Action based on paragraph style.
Replies: 9
Views: 8232

[Solved] Writer macro: Action based on paragraph style.

Hello community, I am new here, hopefully I have done everything right. I am looking for help to create a macro that adds some bits of text, of a defined style, just before and after all paragraph of an other style. Lets assume that I have a paragraph style called mystyle. Now the macro should add @...