1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 *   Licensed to the Apache Software Foundation (ASF) under one or more
12 *   contributor license agreements. See the NOTICE file distributed
13 *   with this work for additional information regarding copyright
14 *   ownership. The ASF licenses this file to you under the Apache
15 *   License, Version 2.0 (the "License"); you may not use this file
16 *   except in compliance with the License. You may obtain a copy of
17 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 -->
19<helpdocument version="1.0">
20<meta>
21<topic id="textsharedguidefind_attributesxhp" indexer="include" status="PUBLISH">
22<title id="tit" xml-lang="en-US">Searching for Attributes</title>
23<filename>/text/shared/guide/find_attributes.xhp</filename>
24</topic>
25<history>
26<created date="2004-09-03T09:48:11">UFI: Attributes dialog of Find and Replace dialog</created>
27</history>
28</meta>
29<body>
30
31<bookmark xml-lang="en-US" branch="index" id="bm_id5681020"><bookmark_value>fonts;finding</bookmark_value>
32<bookmark_value>font attributes;finding</bookmark_value>
33<bookmark_value>text attributes;finding</bookmark_value>
34<bookmark_value>attributes; finding</bookmark_value>
35<bookmark_value>Find &amp; Replace;attributes</bookmark_value>
36<bookmark_value>finding; attributes</bookmark_value>
37<bookmark_value>resetting;Find &amp; Replace mode</bookmark_value>
38</bookmark>
39<h1 id="par_idN10663"><variable id="find_attributes"><link href="text/shared/guide/find_attributes.xhp">Searching for Attributes</link>
40</variable></h1>
41<paragraph role="paragraph" id="par_id6837672" xml-lang="en-US">Searching for attributes is available in the Find &amp; Replace dialog for text documents.</paragraph>
42<paragraph role="paragraph" id="par_idN10681" xml-lang="en-US">You can search for text with attributes that are applied either by direct formatting or by styles. For example, if you search for the <emph>Font</emph> attribute, all instances of text that do not use the default font are found. All text that has a directly coded font attribute, and all text where a style switches the font attribute, are found.</paragraph>
43<tip id="par_idN10688">If you want to find text with any font by name, click the <emph>Format</emph> button in the <link href="text/shared/01/02100000.xhp">Find &amp; Replace</link> dialog of %PRODUCTNAME Writer.</tip>
44<note id="par_idN1069D">After you select the attributes that you want to search for, the <emph>Paragraph Styles</emph> box in the <emph>Other options</emph> area of the %PRODUCTNAME Writer <emph>Find &amp; Replace </emph>dialog changes to <emph>Including Styles</emph>.</note>
45<note id="par_idN106B0">If you want to search for text in which attributes were set by using direct formatting and styles, select the <emph>Including Styles</emph> box.</note>
46<note id="par_idN106B7">The search criteria for attributes are listed below the <emph>Find</emph> box.</note>
47<h2 id="par_idN106BE">To search for all font changes</h2>
48<list type="ordered">
49<listitem>
50<paragraph role="paragraph" id="par_idN106C5" xml-lang="en-US">Choose <emph>Edit - Find &amp; Replace</emph>.</paragraph>
51</listitem>
52<listitem>
53<paragraph role="paragraph" id="par_idN106CD" xml-lang="en-US">Clear the <emph>Find</emph> text box if necessary.</paragraph>
54</listitem>
55<listitem>
56<paragraph role="paragraph" id="par_idN106D5" xml-lang="en-US">Click <emph>Attributes</emph>.</paragraph>
57</listitem>
58<listitem>
59<paragraph role="paragraph" id="par_idN106DD" xml-lang="en-US">In the <emph>Attributes</emph> dialog, select the <emph>Font</emph> check box, and click OK.</paragraph>
60<paragraph role="paragraph" id="par_idN106E8" xml-lang="en-US">In the <emph>Find &amp; Replace</emph> dialog, you now can read "Font" below the <emph>Find</emph> text box.</paragraph>
61</listitem>
62<listitem>
63<paragraph role="paragraph" id="par_idN106F4" xml-lang="en-US">Click <emph>Find Next</emph>.</paragraph>
64</listitem>
65</list>
66<paragraph role="paragraph" id="par_idN106FB" xml-lang="en-US">All places where a font change was applied, either directly or by assigning an appropriate style, are found.</paragraph>
67<h2 id="par_idN106FE">To reset the Find &amp; Replace mode</h2>
68<paragraph role="paragraph" id="par_idN10702" xml-lang="en-US">To stop searching for the current attributes, reset the <emph>Find &amp; Replace</emph> dialog to normal mode.</paragraph>
69<list type="unordered">
70<listitem>
71<paragraph role="paragraph" id="par_idN1070C" xml-lang="en-US">Click <emph>No Format</emph>.</paragraph>
72</listitem>
73</list>
74<section id="relatedtopics">
75<paragraph role="paragraph" id="par_idN1071E" xml-lang="en-US"><link href="text/shared/01/02100000.xhp">Find &amp; Replace</link> dialog</paragraph>
76</section>
77</body>
78</helpdocument>
79