https://bugs.documentfoundation.org/show_bug.cgi?id=162046
Justin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|4.2.0.4 release |Inherited From OOo Summary|Some strings are not found |Some strings are not found |by search and replace with |by search and replace with |formatting added to the |formatting added to the |search box |search box (b/c contiguous | |attributes not merged due | |to officeooo:rsid) --- Comment #11 from Justin L <[email protected]> --- repro 26.8 with comment 2's kairos.odt. Also repo in OOo. Searching for attributes/format involves searching for LibreOffice implementation details. You can see what is going on (a little bit) by searching ONLY for Spanish language. Starting at (4), it starts finding fragments of text. So it finds 'kair' then 'o' then 's'. So for whatever reason, the 'attribute runs' are not joined together (because 'o' has a difference of officeooo:rsid="0d437fb2" - whatever that means). Somewhat interesting is that (3) similarly has separate 'kair' 'o' 's' runs, but in that case the entire paragraph (P2) is fo:language="es" fo:country="ES", so the language attribute covers the entire paragraph - and thus is not split up by the separate character attribute runs. By contrast, (4) is in a non-Spanish paragraph style, so the country comes only via character attributes. Since the 'o' has subtly different character attributes from 'kair' 's', the country property is also split. Similarly, searching for Italic formatting will also show you the segmented strings in both (3) and (4), so you can only find 'kair' in italics, not the entire string 'kairos'. Google says you can avoid adding new officeooo:rsid's by navigating to the top menu and selecting Tools > Options > LibreOffice Writer > Comparison. Look for 'Random number to improve accuracy of document comparison', and uncheck the box labelled 'Store it when changing the document'. -- You are receiving this mail because: You are the assignee for the bug.
