Download it now!
Bug 133141 - SearchSimilarity does'nt work with a sentence containing spaces
Summary: SearchSimilarity does'nt work with a sentence containing spaces
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
6.4.3.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-18 09:25 UTC by Jean-Michel COSTE
Modified: 2020-06-06 03:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
File containing texte and macro (29.19 KB, application/vnd.oasis.opendocument.text)
2020-05-22 16:14 UTC, Jean-Michel COSTE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Michel COSTE 2020-05-18 09:25:34 UTC
Description:
In Writer module a macro using Findfirst with .SearchSimilarity = trus does'nt work if the search string is a sentence containing spaces.
Example : .SearchString = "Lorem ipsum" not fount.


Actual Results:
oSearch = oDoc.createSearchDescriptor()

with oSearch
   .SearchString = "Lorem ipsum"
   .SearchRegularExpression =false
   .SearchCaseSensitive = false
   .SearchSimilarity = true
   .SearchWords = false
   .SearchSimilarityAdd = 2
   .SearchSimilarityRemove =2
end with

Expected Results:
String found


Reproducible: Always


User Profile Reset: No



Additional Info:
Nothing
Comment 1 Jean-Michel COSTE 2020-05-22 16:14:18 UTC
Created attachment 161151 [details]
File containing  texte and macro