[Libreoffice-bugs] [Bug 133141] New: SearchSimilarity does'nt work with a sentence containing spaces

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 18 09:25:34 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=133141

            Bug ID: 133141
           Summary: SearchSimilarity does'nt work with a sentence
                    containing spaces
           Product: LibreOffice
           Version: 6.4.3.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jeanmichel.coste at free.fr

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200518/88cb0431/attachment.htm>


More information about the Libreoffice-bugs mailing list