source/text/shared/00/edit_menu.xhp | 57 ++++++++++++++++++------------------ source/text/shared/01/02100100.xhp | 52 ++++++++++++++++---------------- 2 files changed, 56 insertions(+), 53 deletions(-)
New commits: commit 09d1dd40e463553da661692c6fd5fde9193059f7 Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Mon Aug 5 08:33:41 2024 -0300 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Mon Aug 5 13:55:46 2024 +0200 Housekeeping Help page on Similarity command. Change-Id: I43ebdc6c09e78c35513b65a6f0c3aa1c39aea918 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/171480 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/shared/00/edit_menu.xhp b/source/text/shared/00/edit_menu.xhp index 3a8797488f..8f16e92890 100644 --- a/source/text/shared/00/edit_menu.xhp +++ b/source/text/shared/00/edit_menu.xhp @@ -398,33 +398,36 @@ Choose <menuitem>Edit - Track Changes - Record</menuitem>.</variable></paragraph <paragraph role="paragraph" id="par_id3156357"><variable id="suchenattribute">Choose <menuitem>Edit - Find & Replace - Attributes</menuitem>.</variable></paragraph> <paragraph role="paragraph" id="par_id3153840"><variable id="suchenformat">Choose <menuitem>Edit - Find & Replace - Format</menuitem> button.</variable></paragraph> <section id="similarity_search_access"> -<switch select="appl"> -<case select="BASE"> -<table id="tab_id281602175669056"> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id781602175775847"><image id="img_id314249" src="cmd/lc_recsearch.svg" width="1cm" height="1cm"><alt id="alt_id314249">Search Icon</alt></image> or <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+F</keycode></paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3153709">On the <emph>Table Data</emph> bar, click <emph>Find</emph> icon, then <emph>Similarity search</emph> check box, then click the <emph>Similarities</emph> button (database table view).</paragraph> - </tablecell> - </tablerow> -</table> -<table id="tbl_id31452152"> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id551602176159965"><image id="img_id314249" src="cmd/lc_recsearch.svg" width="1cm" height="1cm"><alt id="alt_id314249">Search Icon</alt></image><comment>9.oct.2020 Ctrl+F is not configured for Database Form view</comment></paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3150749">On the <emph>Form Navigation</emph> bar, click <emph>Record Search</emph> icon, then <emph>Similarity search</emph> check box, then click the <emph>Similarities</emph> button (database form view).</paragraph> - </tablecell> - </tablerow> -</table> -</case> -<default> - <paragraph role="paragraph" id="par_id3146971">Choose <menuitem>Edit - Find & Replace - Similarity search</menuitem> check box, then click the <emph>Similarities</emph> button.</paragraph> -</default> -</switch> + <switch select="appl"> + <case select="BASE"> + <embed href="text/shared/00/00000004.xhp#from_toolbars"/> + <table id="tab_id281602175669056"> + <tablerow> + <tablecell> + <paragraph role="paragraph" id="par_id781602175775848"><image id="img_id314249" src="cmd/lc_recsearch.svg" width="1cm" height="1cm"><alt id="alt_id314249">Search Icon</alt></image></paragraph> + </tablecell> + <tablecell> + <paragraph role="paragraph" id="par_id3153709">On the <emph>Table Data</emph> bar, click <emph>Find Record</emph> icon, then <emph>Similarity search</emph> check box, then click the <emph>Similarities</emph> button (database table view).</paragraph> + <paragraph role="paragraph" id="par_id3150749">On the <emph>Form Navigation</emph> bar, click <emph>Record Search</emph> icon, then <emph>Similarity search</emph> check box, then click the <emph>Similarities</emph> button (database form view).</paragraph> + </tablecell> + </tablerow> + </table> + <embed href="text/shared/00/00000004.xhp#from_keyboard"/> + <paragraph role="paragraph" id="par_id781602175775847">On the database table view, press <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+F</keycode>, select <emph>Similarity search</emph> check box, then click the <emph>Similarities</emph> button.</paragraph> + </case> + <default> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id3146971">Choose <menuitem>Edit - Find & Replace - Similarity search</menuitem> check box, then click the <emph>Similarities</emph> button.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_keyboard"/> + <paragraph role="paragraph" id="par_id331722857155092">Press <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+H</keycode>, select <menuitem>Similarity</menuitem> check box, then click the <emph>Similarities</emph> button.</paragraph> + </default> + </switch> + <switch select="appl"> + <case select="WRITER"> + <embed href="text/shared/00/00000004.xhp#from_sidebar"/> + <paragraph role="paragraph" id="par_id731722854962140">Open the <menuitem>Find</menuitem> deck, click on <menuitem>Search Options</menuitem>, select <menuitem>Similarity</menuitem> check box and click <menuitem>Similarities</menuitem> button.</paragraph> + </case> + </switch> </section> <section id="navigator"> diff --git a/source/text/shared/01/02100100.xhp b/source/text/shared/01/02100100.xhp index 76d231a2c9..e0b0cb644d 100644 --- a/source/text/shared/01/02100100.xhp +++ b/source/text/shared/01/02100100.xhp @@ -20,45 +20,45 @@ <meta> <topic id="textshared0102100100xml" indexer="include"> -<title id="tit" xml-lang="en-US">Similarity Search</title> +<title id="tit">Similarity Search</title> <filename>/text/shared/01/02100100.xhp</filename> </topic> </meta> <body> <section id="similarity_search"> -<bookmark xml-lang="en-US" branch="index" id="bm_id3156045"><bookmark_value>similarity search</bookmark_value> +<bookmark branch="index" id="bm_id3156045"><bookmark_value>similarity search</bookmark_value> <bookmark_value>finding; similarity search</bookmark_value> </bookmark> -<bookmark xml-lang="en-US" branch="hid/svx/ui/findreplacedialog/similarity" id="bm_id3148410" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/cui/ui/similaritysearchdialog/SimilaritySearchDialog" id="bm_id3154815" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/cui/ui/similaritysearchdialog/@@nowidget@@" id="bm_id3154815" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/cui/ui/fmsearchdialog/cbApprox" id="bm_id3154814" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/cui/ui/fmsearchdialog/pbApproxSettings" id="bm_id3154817" localize="false"/> -<h1 id="hd_id3156045" xml-lang="en-US"><variable id="similarity_search"><link href="text/shared/01/02100100.xhp">Similarity Search</link></variable></h1> +<bookmark branch="hid/svx/ui/findreplacedialog/similarity" id="bm_id3148410" localize="false"/> +<bookmark branch="hid/cui/ui/similaritysearchdialog/SimilaritySearchDialog" id="bm_id3154815" localize="false"/> +<bookmark branch="hid/cui/ui/similaritysearchdialog/@@nowidget@@" id="bm_id3154815" localize="false"/> +<bookmark branch="hid/cui/ui/fmsearchdialog/cbApprox" id="bm_id3154814" localize="false"/> +<bookmark branch="hid/cui/ui/fmsearchdialog/pbApproxSettings" id="bm_id3154817" localize="false"/> +<h1 id="hd_id3156045"><variable id="similarity_search"><link href="text/shared/01/02100100.xhp">Similarity Search</link></variable></h1> <section id="similarity_search_content"> - <paragraph role="paragraph" id="par_id3146856" xml-lang="en-US"><ahelp hid="svx/ui/findreplacedialog/similarity">Find terms that are similar to the <emph>Find</emph> text. Select this checkbox, and then click the <emph>Similarities</emph> button to define the similarity options.</ahelp></paragraph> + <paragraph role="paragraph" id="par_id3146856"><ahelp hid="svx/ui/findreplacedialog/similarity">Find terms that are similar to the <emph>Find</emph> text. Select this checkbox, and then click the <emph>Similarities</emph> button to define the similarity options.</ahelp></paragraph> </section> </section> <section id="howtoget"> <embed href="text/shared/00/edit_menu.xhp#similarity_search_access"/> </section> -<paragraph role="paragraph" id="par_id3149551" xml-lang="en-US">For example, a similarity search can find words that differ from the <emph>Find</emph> text by two characters.</paragraph> -<bookmark xml-lang="en-US" branch="hid/svx/ui/findreplacedialog/similaritybtn" id="bm_id3155351" localize="false"/> -<paragraph role="paragraph" id="par_id3145629" xml-lang="en-US"><ahelp hid="svx/ui/findreplacedialog/similaritybtn" visibility="hidden">Set the options for the similarity search.</ahelp></paragraph> -<h2 id="hd_id3149511" xml-lang="en-US">Settings</h2> -<paragraph role="paragraph" id="par_id3152594" xml-lang="en-US">Define the criteria for determining if a word is similar to the search term.</paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/similaritysearchdialog/otherfld" id="bm_id3155338" localize="false"/> -<h3 id="hd_id3153551" xml-lang="en-US">Exchange characters</h3> -<paragraph role="paragraph" id="par_id3152551" xml-lang="en-US"><ahelp hid="cui/ui/similaritysearchdialog/otherfld">Enter the number of characters in the search term that can be exchanged.</ahelp> For example, if you specify 2 exchanged characters, "sweep" and "creep" are considered similar.</paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/similaritysearchdialog/longerfld" id="bm_id3150443" localize="false"/> -<h3 id="hd_id3147010" xml-lang="en-US">Add characters</h3> -<paragraph role="paragraph" id="par_id3109847" xml-lang="en-US"><ahelp hid="cui/ui/similaritysearchdialog/longerfld">Enter the maximum number of characters by which a word can exceed the number of characters in the search term.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/similaritysearchdialog/shorterfld" id="bm_id3158430" localize="false"/> -<h3 id="hd_id3166460" xml-lang="en-US">Remove characters</h3> -<paragraph role="paragraph" id="par_id3148685" xml-lang="en-US"><ahelp hid="cui/ui/similaritysearchdialog/shorterfld">Enter the number of characters by which a word can be shorter than the search term.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/cui/ui/similaritysearchdialog/relaxbox" id="bm_id3159400" localize="false"/> -<h3 id="hd_id3153700" xml-lang="en-US">Combine</h3> -<paragraph role="paragraph" id="par_id3156553" xml-lang="en-US"><ahelp hid="cui/ui/similaritysearchdialog/relaxbox">Searches for a term that matches any combination of the similarity search settings.</ahelp></paragraph> +<paragraph role="paragraph" id="par_id3149551">For example, a similarity search can find words that differ from the <emph>Find</emph> text by two characters.</paragraph> +<bookmark branch="hid/svx/ui/findreplacedialog/similaritybtn" id="bm_id3155351" localize="false"/> +<paragraph role="paragraph" id="par_id3145629"><ahelp hid="svx/ui/findreplacedialog/similaritybtn" visibility="hidden">Set the options for the similarity search.</ahelp></paragraph> +<h2 id="hd_id3149511">Settings</h2> +<paragraph role="paragraph" id="par_id3152594">Define the criteria for determining if a word is similar to the search term.</paragraph> +<bookmark branch="hid/cui/ui/similaritysearchdialog/otherfld" id="bm_id3155338" localize="false"/> +<h3 id="hd_id3153551">Exchange characters</h3> +<paragraph role="paragraph" id="par_id3152551"><ahelp hid="cui/ui/similaritysearchdialog/otherfld">Enter the number of characters in the search term that can be exchanged.</ahelp> For example, if you specify 2 exchanged characters, "sweep" and "creep" are considered similar.</paragraph> +<bookmark branch="hid/cui/ui/similaritysearchdialog/longerfld" id="bm_id3150443" localize="false"/> +<h3 id="hd_id3147010">Add characters</h3> +<paragraph role="paragraph" id="par_id3109847"><ahelp hid="cui/ui/similaritysearchdialog/longerfld">Enter the maximum number of characters by which a word can exceed the number of characters in the search term.</ahelp></paragraph> +<bookmark branch="hid/cui/ui/similaritysearchdialog/shorterfld" id="bm_id3158430" localize="false"/> +<h3 id="hd_id3166460">Remove characters</h3> +<paragraph role="paragraph" id="par_id3148685"><ahelp hid="cui/ui/similaritysearchdialog/shorterfld">Enter the number of characters by which a word can be shorter than the search term.</ahelp></paragraph> +<bookmark branch="hid/cui/ui/similaritysearchdialog/relaxbox" id="bm_id3159400" localize="false"/> +<h3 id="hd_id3153700">Combine</h3> +<paragraph role="paragraph" id="par_id3156553"><ahelp hid="cui/ui/similaritysearchdialog/relaxbox">Searches for a term that matches any combination of the similarity search settings.</ahelp></paragraph> <tip id="par_id491602292458634">Using Combine better meets a user's expectations from looking at the settings, but may return false positives. Not using Combine may match less than expected, but does not return false positives.</tip> <note id="par_id401602236795437">A Weighted Levenshtein Distance (WLD) algorithm is used. If Combine is not checked, then settings are treated as an exclusive-OR (strict WLD). If Combine is checked, then settings are treated as an inclusive-OR (relaxed WLD).