forked from amazingfate/help
Replacement done with
find . -name \*.xhp -print0 |xargs -0 -P 0 perl -CS -pi -e \
's#(<link[^>]*?) +name *="[^"]*" *( [^>]+|) *>#$1$2>#g'
(note some inconsistencies with space between name and = and also having
empty value, and some more complicated expression to also clear up
double space before/after the attribute)
translation files will be prepped with:
find */helpcontent2 -name \*.po -print0 |xargs -0 -P 0 perl -CS -pi -e \
$'s#(<link[^>]*?) +name=(?:\\\\"[^"]*\\\\"|\'[^\']*\') *( [^>]+|) *(/?>)#$1$2$3#g unless /^#/'
(note that not all languages use the " as quote character for the
attributes, but that also single quotes appera in the po file. Hence
the use of the shell $'string' syntax to be able to quote ' as \'
It also requires to quote the backslash, so that it needs to be escaped
once for the shell, then another time for perl. Also don't work on
obsolete strings (those are prefixed with #~ in the po files)
Also note that <link..></link> gets turned into <link ../> during
translation extraction (along with removal of the space between the
attribute name and the value), so the pattern needs to be slightly
different here)
Change-Id: I95e53a08e6b0095cd894109ea0de154cc4859d8f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143713
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
95 lines
4.3 KiB
XML
95 lines
4.3 KiB
XML
<?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="textswritermain0202xml" indexer="include" status="PUBLISH">
|
|
<title xml-lang="en-US" id="tit">Find Bar</title>
|
|
<filename>/text/shared/find_toolbar.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
|
|
<body>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id871641583188415">
|
|
<bookmark_value>Find toolbar</bookmark_value>
|
|
</bookmark>
|
|
<bookmark xml-lang="en-US" branch="hid/svx/ui/findbox/find" id="bm_id341641582803867" localize="false"/>
|
|
<bookmark xml-lang="en-US" branch="hid/.HelpId:findbar" id="bm_id591641583284889" localize="false"/>
|
|
|
|
<section id="Find_Bar">
|
|
<h1 id="hd_id701641581066778"><link href="/text/shared/find_toolbar.xhp">Find Bar</link></h1>
|
|
<paragraph xml-lang="en-US" id="par_id3147762" role="paragraph">The <menuitem>Find</menuitem> toolbar can be used to quickly search the contents of %PRODUCTNAME documents.</paragraph>
|
|
</section>
|
|
<tip id="par_id211641581251728">Use the shortcut <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode> + F</keycode> to quickly open the <menuitem>Find</menuitem> toolbar.</tip>
|
|
|
|
<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>
|
|
|
|
<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">
|
|
<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>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id351642423451259" role="paragraph">Find Previous Icon</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
|
|
<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">
|
|
<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>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id111642423456842" role="paragraph">Find Next Icon</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
|
|
<h2 id="hd_id81641582044927">Find All</h2>
|
|
<paragraph role="paragraph" id="par_id181641582056429">Highlights all matches in the document.</paragraph>
|
|
|
|
<h2 id="hd_id631641582107024">Match Case</h2>
|
|
<paragraph role="paragraph" id="par_id461641582121199">Choose this option to perform case-sensitive search.</paragraph>
|
|
|
|
<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>
|
|
</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">
|
|
<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>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id171641582176943" role="paragraph">Find and Replace Icon</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
|
|
</body>
|
|
</helpdocument>
|