AllLangHelp_swriter.mk | 1 source/text/shared/01/02100000.xhp | 13 ++- source/text/shared/01/02100100.xhp | 6 + source/text/shared/find_toolbar.xhp | 62 ++++++++++++----- source/text/swriter/01/sidebar_quickfind.xhp | 95 +++++++++++++++++++++++++++ 5 files changed, 151 insertions(+), 26 deletions(-)
New commits: commit d9353df5521cc5e1949868174cc46b669116a988 Author: Dione Maddern <dionemadd...@libreoffice.org> AuthorDate: Sat Aug 3 17:56:32 2024 +0200 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Mon Aug 5 12:30:43 2024 +0200 tdf#162273 Add help page for Sidebar Quick Find Add new file text/swriter/01/sidebar_quickfind.xhp to provide help content for the Find Sidebar Deck. Add new file text/swriter/01/sidebar_quickfind.xhp to AllLangHelp_swriter.mk. Add variable and section tags to - source/text/shared/01/02100000.xhp - text/shared/01/02100100.xhp - text/shared/find_toolbar.xhp to allow content and headings to be easily embedded in other documents. In - text/shared/find_toolbar.xhp - Add bookmark so that pressing F1 when the "Match Case" checkbox is selected opens the correct help page. - Fix link at line 106 so that it opens the correct page for "Find and Replace" Change-Id: Ifc6725941224277521ea8a8486fcc347278487b9 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/171416 Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> Tested-by: Jenkins diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk index 17a07e47d1..dd2ef2655a 100644 --- a/AllLangHelp_swriter.mk +++ b/AllLangHelp_swriter.mk @@ -206,6 +206,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\ helpcontent2/source/text/swriter/01/selection_mode \ helpcontent2/source/text/swriter/01/select_text \ helpcontent2/source/text/swriter/01/show_whitespace \ + helpcontent2/source/text/swriter/01/sidebar_quickfind \ helpcontent2/source/text/swriter/01/SpotlightMenu \ helpcontent2/source/text/swriter/01/SpotlightCharStyles \ helpcontent2/source/text/swriter/01/SpotlightParaStyles \ diff --git a/source/text/shared/01/02100000.xhp b/source/text/shared/01/02100000.xhp index 9ec8ece548..49a4172cce 100644 --- a/source/text/shared/01/02100000.xhp +++ b/source/text/shared/01/02100000.xhp @@ -47,13 +47,15 @@ </paragraph> <paragraph id="par_id3153683" role="paragraph">Search options are listed under the <emph>Find</emph> box and in the <emph>Other options</emph> area of the dialog.</paragraph> <bookmark branch="hid/svx/ui/findreplacedialog/matchcase" id="bm_id3147303" localize="false"/> - <h3 id="hd_id3154924">Match case</h3> + <h3 id="hd_id3154924"><variable id="match_case_hd">Match case</variable></h3> <bookmark branch="index" id="bm_id3154760"> <bookmark_value>case sensitivity;searching</bookmark_value> </bookmark> - <paragraph id="par_id3154760" role="paragraph"><variable id="exakt"><ahelp hid="svx/ui/findreplacedialog/matchcase">Matches the exact character provided in the <emph>Find</emph> box without considering any alternative case matches.</ahelp></variable></paragraph> + <section id="match_case_content"> + <paragraph id="par_id3154760" role="paragraph"><variable id="exakt"><ahelp hid="svx/ui/findreplacedialog/matchcase">Matches the exact character provided in the <emph>Find</emph> box without considering any alternative case matches.</ahelp></variable></paragraph> <paragraph role="paragraph" id="par_id811629842746430">Disable this option to consider all possible case matches. For example, entering "a" in the <emph>Find</emph> box matches both "a" and "A".</paragraph> <note id="par_id901629843129983">Be aware that some characters may have more than one match when <emph>Match case</emph> is disabled. For instance, "s" matches "s", "S" and "ß" (sharp S used in the German language).</note> + </section> <bookmark branch="hid/svx/ui/findreplacedialog/searchformatted" id="bm_id961558923412792" localize="false"/> <bookmark branch="index" id="bm_id891558923816062"> @@ -73,10 +75,11 @@ <bookmark branch="hid/svx/ui/findreplacedialog/wholewords" id="bm_id7736442" localize="false"/> <h3 id="hd_id3148538"> - <switchinline select="appl"> - <caseinline select="CALC">Entire Cells</caseinline> + <variable id="whole_words_hd"> + <switchinline select="appl"> + <caseinline select="CALC">Entire Cells</caseinline> <defaultinline>Whole words only</defaultinline> - </switchinline> + </switchinline></variable> </h3> <paragraph id="par_id3149579" role="paragraph"><variable id="ganze"><ahelp hid="svx/ui/findreplacedialog/wholewords">Searches for whole words or cells that are identical to the search text.</ahelp></variable></paragraph> diff --git a/source/text/shared/01/02100100.xhp b/source/text/shared/01/02100100.xhp index 45c8b23d96..76d231a2c9 100644 --- a/source/text/shared/01/02100100.xhp +++ b/source/text/shared/01/02100100.xhp @@ -34,8 +34,10 @@ <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"><link href="text/shared/01/02100100.xhp">Similarity Search</link></h1> -<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> +<h1 id="hd_id3156045" xml-lang="en-US"><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> + </section> </section> <section id="howtoget"> <embed href="text/shared/00/edit_menu.xhp#similarity_search_access"/> diff --git a/source/text/shared/find_toolbar.xhp b/source/text/shared/find_toolbar.xhp index 720d23f200..3c6d5811e0 100644 --- a/source/text/shared/find_toolbar.xhp +++ b/source/text/shared/find_toolbar.xhp @@ -25,7 +25,7 @@ <bookmark branch="hid/.HelpId:findbar" id="bm_id591641583284889" localize="false"/> <bookmark branch="hid/.uno:AvailableToolbars?Toolbar:string=findbar" id="bm_id701690936075710" localize="false"/> <section id="Find_Bar"> - <h1 id="hd_id701641581066778"><link href="text/shared/find_toolbar.xhp">Find Bar</link></h1> + <h1 id="hd_id701641581066778"><variable id="find_bar_h1"><link href="text/shared/find_toolbar.xhp">Find Bar</link></variable></h1> <paragraph id="par_id3147762" role="paragraph">The <menuitem>Find</menuitem> toolbar can be used to quickly search the contents of %PRODUCTNAME documents.</paragraph> </section> <section id="howtoget"> @@ -36,13 +36,20 @@ </section> <bookmark branch="hid/.uno:FindText" id="bm_id001" localize="false"/> - <h2 id="hd_id991641581514302">Find Text</h2> - <paragraph role="paragraph" id="par_id921641581538352">Enter the text to be searched in the document. Press <keycode>Enter</keycode> to perform the search.</paragraph> + <section id="find_text"> + <h2 id="hd_id991641581514302"><variable id="find_text_hd">Find Text</variable></h2> + <section id="find_text_content"> + <paragraph role="paragraph" id="par_id921641581538352">Enter the text to be searched in the document. Press <keycode>Enter</keycode> to perform the search.</paragraph> + </section> + </section> <bookmark branch="hid/.uno:UpSearch" id="bm_id003" localize="false"/> - <h2 id="hd_id831641581895099">Find Previous</h2> - <paragraph role="paragraph" id="par_id11641581906556">Moves the cursor and selects the previous match of the search text.</paragraph> - <table id="tab_id111642423451259"> + <h2 id="hd_id831641581895099"><variable id="find_previous_hd">Find Previous</variable></h2> + <section id="find_previous_content"> + <paragraph role="paragraph" id="par_id11641581906556">Moves the cursor and selects the previous match of the search text.</paragraph> + </section> + <section id="find_previous_icon"> + <table id="tab_id111642423451259"> <tablerow> <tablecell> <paragraph role="paragraph" id="par_id851642423451259"><image src="cmd/lc_upsearch.svg" id="img_id171642423451259" width="1cm" height="1cm"><alt id="alt_id261642423451259">Find Previous Icon</alt></image> @@ -53,11 +60,15 @@ </tablecell> </tablerow> </table> +</section> <bookmark branch="hid/.uno:DownSearch" id="bm_id002" localize="false"/> - <h2 id="hd_id941641581943416">Find Next</h2> - <paragraph role="paragraph" id="par_id261641581953287">Moves the cursor and selects the next match of the search text.</paragraph> - <table id="tab_id111642423456841"> + <h2 id="hd_id941641581943416"><variable id="find_next_hd">Find Next</variable></h2> + <section id="find_next_content"> + <paragraph role="paragraph" id="par_id261641581953287">Moves the cursor and selects the next match of the search text.</paragraph> + </section> + <section id="ind_next_icon"> + <table id="tab_id111642423456841"> <tablerow> <tablecell> <paragraph role="paragraph" id="par_id111642423456841"><image src="cmd/lc_downsearch.svg" id="img_id111642423456841" width="1cm" height="1cm"><alt id="alt_id111642423456841">Find Next Icon</alt></image> @@ -68,23 +79,34 @@ </tablecell> </tablerow> </table> + </section> - <h2 id="hd_id81641582044927">Find All</h2> - <paragraph role="paragraph" id="par_id181641582056429">Highlights all matches in the document.</paragraph> + <h2 id="hd_id81641582044927"><variable id="find_all_hd">Find All</variable></h2> + <section id="find_all_content"> + <paragraph role="paragraph" id="par_id181641582056429">Highlights all matches in the document.</paragraph> + </section> - <h2 id="hd_id631641582107024">Match Case</h2> - <paragraph role="paragraph" id="par_id461641582121199">Choose this option to perform case-sensitive search.</paragraph> + <bookmark branch="hid/svx/ui/checkbuttonbox/checkbutton" id="bm_id841722694813631" localize="false"/> + <h2 id="hd_id631641582107024"><variable id="match_case_hd">Match Case</variable></h2> + <section id="match_case_content"> + <paragraph role="paragraph" id="par_id461641582121199">Choose this option to perform case-sensitive search.</paragraph> + </section> <switch select="appl"> <case select="CALC"> - <h2 id="hd_id271641582528169">Formatted Display</h2> - <paragraph role="paragraph" id="par_id571641582522939">Performs the search considering the formatted value in a cell.</paragraph> + <h2 id="hd_id271641582528169"><variable id="formatted_display_hd">Formatted Display</variable></h2> + <section id="formatted_display_content"> + <paragraph role="paragraph" id="par_id571641582522939">Performs the search considering the formatted value in a cell.</paragraph> + </section> </case> </switch> - <h2 id="hd_id171641582176913">Find and Replace</h2> - <paragraph role="paragraph" id="par_id761641582194558">Opens the <link href="text/swriter/guide/finding.xhp">Find and Replace</link> dialog, which provides more options for searching the document.</paragraph> - <table id="tab_id171641582176913"> + <h2 id="hd_id171641582176913"><variable id="find_and_replace_hd">Find and Replace</variable></h2> + <section id="find_and_replace_content"> + <paragraph role="paragraph" id="par_id761641582194558">Opens the <link href="text/shared/01/02100000.xhp">Find and Replace</link> dialog, which provides more options for searching the document.</paragraph> + </section> + <section id="find_and_replace_icon"> + <table id="tab_id171641582176913"> <tablerow> <tablecell> <paragraph role="paragraph" id="par_id171641582176913"><image src="cmd/lc_searchdialog.svg" id="img_id171641582176913" width="1cm" height="1cm"><alt id="alt_id171641582176913">Find and Replace Icon</alt></image></paragraph> @@ -93,7 +115,9 @@ <paragraph id="par_id171641582176943" role="paragraph">Find and Replace</paragraph> </tablecell> </tablerow> - </table> + </table> + </section> + <bookmark branch="hid/.uno:NavElement" id="bm_id151708715286244" localize="false"/> <bookmark branch="hid/modules/swriter/ui/combobox/combobox" id="bm_id451708716577924" localize="false"/> <switch select="appl"> diff --git a/source/text/swriter/01/sidebar_quickfind.xhp b/source/text/swriter/01/sidebar_quickfind.xhp new file mode 100644 index 0000000000..3bd7dbcf3f --- /dev/null +++ b/source/text/swriter/01/sidebar_quickfind.xhp @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * +--> + +<meta> + <topic id="swriter01sidebar_quickfindxhp" indexer="include" status="PUBLISH"> + <title id="tit">Find Deck</title> + <filename>/text/swriter/01/sidebar_quickfind.xhp</filename> + </topic> +</meta> +<body> +<bookmark branch="index" id="bm_id121722688555535"> + <bookmark_value>sidebar;quick find</bookmark_value> +</bookmark> + +<bookmark branch="hid/SIDEBAR_FINDDECK" id="bm_id361722686331916" localize="false"/> +<section id="quickfind"> + <h1 id="hd_id451722614924973"><variable id="quickfind_h1"><link href="text/swriter/01/sidebar_quickfind.xhp">Find Deck</link></variable></h1> + <section id="quickfind_content"> + <paragraph role="paragraph" id="par_id411722616442760">Quickly search the contents of %PRODUCTNAME Writer documents.</paragraph> + </section> +</section> +<section id="howtoget"> + <embed href="text/shared/00/00000004.xhp#from_keyboard"/> + <paragraph role="paragraph" id="par_id151722617041246"><switchinline select="sys"><caseinline select="MAC"><input>Option </input></caseinline><defaultinline><input>Alt </input></defaultinline></switchinline><input>+ 9</input> </paragraph> + <embed href="text/shared/00/00000004.xhp#from_sidebar"/> + <table id="tab_id301722617659772"> + <tablerow> + <tablecell> + <paragraph role="paragraph" id="par_id351722617659772"> + <image src="cmd/lc_recsearch.svg" id="img_id431722617659772" width="1cm" height="1cm"><alt id="alt_id311722617659772">Icon Find</alt></image> + </paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id451722617659773" role="paragraph">Find</paragraph> + </tablecell> + </tablerow> + </table> +</section> + +<bookmark branch="hid/modules/swriter/ui/sidebarquickfind/Find" id="bm_id61722687495972" localize="false"/> +<h2 id="hd_id621722620754678"><embedvar href="text/shared/find_toolbar.xhp#find_text_hd" markup="ignore"/></h2> +<embed href="text/shared/find_toolbar.xhp#find_text_content"/> + +<bookmark branch="hid/modules/swriter/ui/sidebarquickfindoptionsdialog/matchcase" id="bm_id731722689255578" localize="false"/> +<h2 id="hd_id371722688364984"><variable id="search_options_hd">Search Options</variable></h2> +<paragraph role="paragraph" id="par_id11722688389852">Opens the <menuitem>Search Options</menuitem> dialog, which provides more options for searching the document.</paragraph> +<section id="search_options_icon"> + <table id="tab_id471722692592419"> + <tablerow> + <tablecell> + <paragraph role="paragraph" id="par_id551722692592419"> + <image src="cmd/lc_morecontrols.svg" id="img_id821722692592419" width="1cm" height="1cm"><alt id="alt_id661722692592419">Icon Search Options</alt></image> + </paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id221722692592419" role="paragraph">Search Options</paragraph> + </tablecell> + </tablerow> +</table> + </section> + +<h3 id="hd_id581722689001115"><embedvar href="text/shared/01/02100000.xhp#match_case_hd" markup="ignore"/></h3> +<embed href="text/shared/01/02100000.xhp#match_case_content"/> + +<bookmark branch="hid/modules/swriter/ui/sidebarquickfindoptionsdialog/wholewordsonly" id="bm_id211722689273208" localize="false"/> +<h3 id="hd_id471722689596362"><embedvar href="text/shared/01/02100000.xhp#whole_words_hd" markup="ignore"/></h3> +<paragraph role="paragraph" id="par_id311722690025756"><embedvar href="text/shared/01/02100000.xhp#ganze" markup="keep"/></paragraph> + +<bookmark branch="hid/modules/swriter/ui/sidebarquickfindoptionsdialog/similarity" id="bm_id931722689290910" localize="false"/> +<h3 id="hd_id111722690229724"><link href="text/shared/01/02100100.xhp">Similarity</link></h3> +<embed href="text/shared/01/02100100.xhp#similarity_search_content"/> + +<h2 id="hd_id561722623457950"><embedvar href="text/shared/01/02100000.xhp#02100000" markup="ignore"/></h2> +<embed href="text/shared/01/02100000.xhp#suchenersetzentext"/> +<embed href="text/shared/find_toolbar.xhp#find_and_replace_icon"/> + +<bookmark branch="hid/modules/swriter/ui/sidebarquickfind/searchfinds" id="bm_id951722695223327" localize="false"/> +<h2 id="hd_id241722621430221">Search Results Pane</h2> +<paragraph role="paragraph" id="par_id71722621343580">Lists the positions in the document at which the searched term is found.</paragraph> + +<section id="relatedtopics"> + <embed href="text/shared/find_toolbar.xhp#find_bar_h1"/> + <embed href="text/shared/01/02100000.xhp#02100000"/> + <embed href="text/shared/01/menu_view_sidebar.xhp#sidebar_h1"/> +</section> +</body> +</helpdocument>