Attached ods with some logical text repairs.
A question based on a guess: Was the document originally created with an "alien" software (MS-Word, e.g.)?
Copy paste from outer text editor, thought there is a problem vith Byte order mark which I know thta editor has, copied firts to notepad and then to writer.
No difference.
It seems you used the 'Bold' attribute to avoid a repeated replacement for an already replaced portion. Am I right?
Right.
Also order of elements in ods (before also in array), is important.
There are still some strange things .... sample text:
"123. Bl. nieren- oder
herzförmig...........................................................56. Saxifragaceae"
Note that I underlined extra dot at the end.
the following is in ods, in that order
herzförmig/srčast
st./steblo
herzförmig translates to srčaSteblo
No other clue than, it does
replace again on already replaced text which should not do.
(
EDIT maybe it thinks there it is in REGEX mode ?! )
step 1.herzförmig becomes srčast (that is OK)
step2. because there is '.' already at the end of new 'srčast', there is now 'st.' at the end ---> 'srčast.'
step3. then it does replace again (should not because st part should be bold): st. becomes steblo
hence:
herzförmig --> srča
st +'.' --> srčaSteblo
OK................OK.................BAD.....