Apache OpenOffice (AOO) Bugzilla – Issue 127810
Macro does not replace randomy - probably fomating bold related
Last modified: 2024-02-13 20:12:07 UTC
Created attachment 86446 [details] odt, ods This is not easily repeatable. That is, I can create new odt (which uses same ods), paste same text as in attached odt, into it and macro will work. The problem is, I have a much bigger text and tons of stuff are not replaced. Randomly as it appears, forinstance 'fehlend' is sometimes replaced, sometimes not. Doh attached files, as they are, repeats error as described. How to repeat: 1.Open attached odt,enable macros,note word 'fehlend' is twice in that text 2.rum macro 3.only first occurance of 'fehlend' gets replaced, should replace both ocurances. Basic logic of macro: find word - that is not bold, replace with another word-make that word bold to avoid repeated replace. List of word pairs in ods. Something similar, but I think not the same: https://bz.apache.org/ooo/show_bug.cgi?id=65268
You can find a solution in https://forum.openoffice.org/en/forum/viewtopic.php?t=94191