1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?>
2*b1cdbd2cSJim Jagielski<helpdocument version="1.0">
3*b1cdbd2cSJim Jagielski
4*b1cdbd2cSJim Jagielski<!--***********************************************************
5*b1cdbd2cSJim Jagielski *
6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
7*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
8*b1cdbd2cSJim Jagielski * distributed with this work for additional information
9*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
12*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
13*b1cdbd2cSJim Jagielski *
14*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
15*b1cdbd2cSJim Jagielski *
16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
21*b1cdbd2cSJim Jagielski * under the License.
22*b1cdbd2cSJim Jagielski *
23*b1cdbd2cSJim Jagielski ***********************************************************-->
24*b1cdbd2cSJim Jagielski
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski
27*b1cdbd2cSJim Jagielski
28*b1cdbd2cSJim Jagielski<meta>
29*b1cdbd2cSJim Jagielski      <topic id="textswriterguidefindingxhp" indexer="include" status="PUBLISH">
30*b1cdbd2cSJim Jagielski         <title xml-lang="en-US" id="tit">Finding and Replacing in Writer</title>
31*b1cdbd2cSJim Jagielski         <filename>/text/swriter/guide/finding.xhp</filename>
32*b1cdbd2cSJim Jagielski      </topic>
33*b1cdbd2cSJim Jagielski   </meta>
34*b1cdbd2cSJim Jagielski   <body>
35*b1cdbd2cSJim Jagielski      <section id="finding_text">
36*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id1163670"><bookmark_value>finding; text/text formats/styles/objects</bookmark_value>
37*b1cdbd2cSJim Jagielski         <bookmark_value>replacing; text and text formats</bookmark_value>
38*b1cdbd2cSJim Jagielski         <bookmark_value>styles;finding</bookmark_value>
39*b1cdbd2cSJim Jagielski         <bookmark_value>searching, see also finding</bookmark_value>
40*b1cdbd2cSJim Jagielski         <bookmark_value>text formats; finding</bookmark_value>
41*b1cdbd2cSJim Jagielski         <bookmark_value>formats; finding and replacing</bookmark_value>
42*b1cdbd2cSJim Jagielski         <bookmark_value>searching; formats</bookmark_value>
43*b1cdbd2cSJim Jagielski         <bookmark_value>objects;finding by Navigator</bookmark_value>
44*b1cdbd2cSJim Jagielski         <bookmark_value>Asian languages;search options</bookmark_value>
45*b1cdbd2cSJim Jagielski</bookmark><comment>3. mw added 2 index entries and changed "finding;"</comment><comment>2. mw copied 6 index entries from shared/01/02100300.xhp. Then made one entry of two "finding;" entries, one entry of two "replacing;" entries and one entry of two "formats;" entries</comment><comment>1. mw copied 5 entries from shared/01/02100000.xhp and then made one entry of two "finding;" entries.</comment>
46*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="hd_id8568681" role="heading" level="1" l10n="NEW"><variable id="finding"><link href="text/swriter/guide/finding.xhp">Finding and Replacing in Writer</link>
47*b1cdbd2cSJim Jagielski</variable></paragraph>
48*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id611285" role="paragraph" l10n="NEW">In text documents you can find words, formatting, styles, and more. You can navigate from one result to the next, or you can highlight all results at once, then apply another format or replace the words by other text.</paragraph>
49*b1cdbd2cSJim Jagielski      </section>
50*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id6226081" role="heading" level="2" l10n="NEW">The Find &amp; Replace dialog</paragraph>
51*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id6702780" role="paragraph" l10n="NEW">To find text within the whole document, open the Find &amp; Replace dialog without any active text selection. If you want to search only a part of your document, first select that part of text, then open the Find &amp; Replace dialog.</paragraph>
52*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id3158970" role="heading" level="3" l10n="NEW">To Find Text</paragraph>
53*b1cdbd2cSJim Jagielski      <list type="ordered">
54*b1cdbd2cSJim Jagielski         <listitem>
55*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id6957304" role="listitem" l10n="NEW">Choose <emph>Edit - Find &amp; Replace</emph> to open the Find &amp; Replace dialog.</paragraph>
56*b1cdbd2cSJim Jagielski         </listitem>
57*b1cdbd2cSJim Jagielski         <listitem>
58*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id2164677" role="listitem" l10n="NEW">Enter the text to find in the <emph>Search for</emph> text box.</paragraph>
59*b1cdbd2cSJim Jagielski         </listitem>
60*b1cdbd2cSJim Jagielski         <listitem>
61*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id5684072" role="listitem" l10n="NEW">Either click <emph>Find</emph> or <emph>Find All</emph>.</paragraph>
62*b1cdbd2cSJim Jagielski         </listitem>
63*b1cdbd2cSJim Jagielski      </list>
64*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id4377269" role="paragraph" l10n="NEW">When you click <emph>Find</emph>, Writer will show you the next text that is equal to your entry. You can watch and edit the text, then click <emph>Find</emph> again to advance to the next found text. </paragraph>
65*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id1371807" role="paragraph" l10n="NEW">If you closed the dialog, you can press a key combination (Ctrl+Shift+F) to find the next text without opening the dialog. </paragraph>
66*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id924100" role="paragraph" l10n="NEW">Alternatively, you can use the icons at the lower right of the document to navigate to the next text or to any other object in the document.</paragraph>
67*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id9359416" role="paragraph" l10n="NEW">When you click <item type="menuitem">Find All</item>, Writer selects all text that is equal to your entry. Now you can for example set all found text to bold, or apply a character style to all at once.</paragraph>
68*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id5891598" role="heading" level="3" l10n="NEW">To Replace Text</paragraph>
69*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id1780755" role="note" l10n="NEW">Unlike searching text, replacing text cannot be restricted to the current selection only.</paragraph>
70*b1cdbd2cSJim Jagielski      <list type="ordered">
71*b1cdbd2cSJim Jagielski         <listitem>
72*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id2467421" role="listitem" l10n="NEW">Choose Edit - Find &amp; Replace to open the Find &amp; Replace dialog.</paragraph>
73*b1cdbd2cSJim Jagielski         </listitem>
74*b1cdbd2cSJim Jagielski         <listitem>
75*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id4286935" role="listitem" l10n="NEW">Enter the text to search in the <emph>Search for </emph>text box.</paragraph>
76*b1cdbd2cSJim Jagielski         </listitem>
77*b1cdbd2cSJim Jagielski         <listitem>
78*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id9959410" role="listitem" l10n="NEW">Enter the text to replace the found text in the <emph>Replace with</emph> text box.</paragraph>
79*b1cdbd2cSJim Jagielski         </listitem>
80*b1cdbd2cSJim Jagielski         <listitem>
81*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id24109" role="listitem" l10n="NEW">Either click <emph>Replace</emph> or <emph>Replace All</emph>.</paragraph>
82*b1cdbd2cSJim Jagielski         </listitem>
83*b1cdbd2cSJim Jagielski      </list>
84*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id703451" role="paragraph" l10n="NEW">When you click <emph>Replace</emph>, Writer will search the whole document for the text in the <emph>Search for</emph> box, starting at the current cursor position. When text is found, Writer highlights the text and waits for your response. Click <emph>Replace</emph> to replace the highlighted text in the document with the text in the <emph>Replace with</emph> text box. Click <emph>Find</emph> to advance to the next found text without replacing the current selection.</paragraph>
85*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id7540818" role="paragraph" l10n="NEW">When you click <emph>Replace All</emph>, Writer replaces all text that matches your entry.</paragraph>
86*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id9908444" role="heading" level="3" l10n="NEW">To Find Styles</paragraph>
87*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id8413953" role="paragraph" l10n="NEW">You want to find all text in your document to which a certain Paragraph Style is assigned, for example the "Heading 2" style.</paragraph>
88*b1cdbd2cSJim Jagielski      <list type="ordered">
89*b1cdbd2cSJim Jagielski         <listitem>
90*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id2696920" role="listitem" l10n="NEW">Choose Edit - Find &amp; Replace to open the Find &amp; Replace dialog.</paragraph>
91*b1cdbd2cSJim Jagielski         </listitem>
92*b1cdbd2cSJim Jagielski         <listitem>
93*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id896938" role="listitem" l10n="NEW">Click <emph>More Options</emph> to expand the dialog.</paragraph>
94*b1cdbd2cSJim Jagielski         </listitem>
95*b1cdbd2cSJim Jagielski         <listitem>
96*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id9147007" role="listitem" l10n="NEW">Check <item type="menuitem">Search for Styles</item>.<br/>The <item type="menuitem">Search for</item> text box now is a list box, where you can select any of the Paragraph Styles that are applied in the current document.</paragraph>
97*b1cdbd2cSJim Jagielski         </listitem>
98*b1cdbd2cSJim Jagielski         <listitem>
99*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id679342" role="listitem" l10n="NEW">Select the style to search for, then click <emph>Find</emph> or <emph>Find All</emph>.</paragraph>
100*b1cdbd2cSJim Jagielski         </listitem>
101*b1cdbd2cSJim Jagielski      </list>
102*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id3231299" role="heading" level="3" l10n="NEW">To Find Formats</paragraph>
103*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id8087405" role="paragraph" l10n="NEW">You want to find all text in your document to which a certain direct character formatting is assigned. </paragraph>
104*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id3406170" role="note" l10n="NEW">Finding formats only finds direct character attributes, it does not find attributes applied as part of a style.</paragraph>
105*b1cdbd2cSJim Jagielski      <list type="ordered">
106*b1cdbd2cSJim Jagielski         <listitem>
107*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id2448805" role="listitem" l10n="NEW">Choose Edit - Find &amp; Replace to open the Find &amp; Replace dialog.</paragraph>
108*b1cdbd2cSJim Jagielski         </listitem>
109*b1cdbd2cSJim Jagielski         <listitem>
110*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id4542985" role="listitem" l10n="NEW">Click <emph>More Options</emph> to expand the dialog.</paragraph>
111*b1cdbd2cSJim Jagielski         </listitem>
112*b1cdbd2cSJim Jagielski         <listitem>
113*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id4679403" role="listitem" l10n="NEW">Click the <emph>Format</emph> button.</paragraph>
114*b1cdbd2cSJim Jagielski         </listitem>
115*b1cdbd2cSJim Jagielski      </list>
116*b1cdbd2cSJim Jagielski      <list type="ordered" startwith="5">
117*b1cdbd2cSJim Jagielski         <listitem>
118*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id7783745" role="listitem" l10n="NEW">Click <emph>Find</emph> or <emph>Find All</emph>.</paragraph>
119*b1cdbd2cSJim Jagielski         </listitem>
120*b1cdbd2cSJim Jagielski      </list>
121*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id5597094" role="heading" level="3" l10n="NEW">More options</paragraph>
122*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id9919431" role="paragraph" l10n="NEW">The similarity search can find text that is almost the same as your search text. You can set the number of characters that are allowed to differ.</paragraph>
123*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id8533280" role="paragraph" l10n="NEW">Check the <emph>Similarity search</emph> option and optionally click the <emph>...</emph> button to change the settings. (Setting all three numbers to 1 works fine for English text.)</paragraph>
124*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id4646748" role="tip" l10n="NEW">When you have enabled Asian language support under <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language Settings - Languages</emph>, the Find &amp; Replace dialog offers options to search Asian text.</paragraph>
125*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id2489394" role="heading" level="2" l10n="NEW">The Navigator</paragraph>
126*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id9934385" role="paragraph" l10n="NEW">The Navigator is the main tool for finding and selecting objects. You can also use the Navigator to move and arrange chapters, providing an outline view to your document. </paragraph>
127*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id4159062" role="paragraph" l10n="NEW">Choose <emph>Edit - Navigator</emph> to open the Navigator window.</paragraph>
128*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id7421796" role="paragraph" l10n="NEW">Use the Navigator for inserting objects, links and references within the same document or from other open documents. See the <link href="text/swriter/guide/navigator.xhp">Navigator</link> guide for more information.</paragraph>
129*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id6417432" role="paragraph" l10n="NEW">Click the icon with the blue circle at the bottom right part of your document to open the small <emph>Navigation</emph> window.</paragraph>
130*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id4639728" role="paragraph" l10n="NEW">Use the small Navigation window to quickly jump to the next object or find the next text in your document.</paragraph>
131*b1cdbd2cSJim Jagielski      <section id="relatedtopics">
132*b1cdbd2cSJim Jagielski         <embed href="text/swriter/guide/navigator.xhp#navigator"/>
133*b1cdbd2cSJim Jagielski         <embed href="text/swriter/guide/search_regexp.xhp#search_regexp"/>
134*b1cdbd2cSJim Jagielski         <embed href="text/shared/guide/find_attributes.xhp#find_attributes"/>
135*b1cdbd2cSJim Jagielski         <embed href="text/shared/01/02100001.xhp#02100001"/>
136*b1cdbd2cSJim Jagielski         <embed href="text/swriter/guide/removing_line_breaks.xhp#removing_line_breaks"/>
137*b1cdbd2cSJim Jagielski         <embed href="text/scalc/guide/finding.xhp#finding"/>
138*b1cdbd2cSJim Jagielski      </section>
139*b1cdbd2cSJim Jagielski   </body>
140*b1cdbd2cSJim Jagielski</helpdocument>