1<?xml version="1.0" encoding="UTF-8"?> 2 3 4<!--*********************************************************** 5 * 6 * Licensed to the Apache Software Foundation (ASF) under one 7 * or more contributor license agreements. See the NOTICE file 8 * distributed with this work for additional information 9 * regarding copyright ownership. The ASF licenses this file 10 * to you under the Apache License, Version 2.0 (the 11 * "License"); you may not use this file except in compliance 12 * with the License. You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, 17 * software distributed under the License is distributed on an 18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19 * KIND, either express or implied. See the License for the 20 * specific language governing permissions and limitations 21 * under the License. 22 * 23 ***********************************************************--> 24 25 26 27<helpdocument version="1.0"> 28<meta> 29<topic id="textsharedguidefind_attributesxhp" indexer="include" status="PUBLISH"> 30<title id="tit" xml-lang="en-US">Searching for Attributes</title> 31<filename>/text/shared/guide/find_attributes.xhp</filename> 32</topic> 33<history> 34<created date="2004-09-03T09:48:11">UFI: Attributes dialog of Find and Replace dialog</created> 35<lastedited date="2006-04-12T10:20:25">checked - yj</lastedited> 36</history> 37</meta> 38<body> 39<switch select="appl"> 40<case select="WRITER"> 41<bookmark xml-lang="en-US" branch="index" id="bm_id5681020"><bookmark_value>fonts;finding</bookmark_value> 42<bookmark_value>font attributes;finding</bookmark_value> 43<bookmark_value>text attributes;finding</bookmark_value> 44<bookmark_value>attributes; finding</bookmark_value> 45<bookmark_value>finding; attributes</bookmark_value> 46<bookmark_value>resetting;Find & Replace mode</bookmark_value> 47</bookmark> 48<paragraph role="heading" id="par_idN10663" xml-lang="en-US" level="1" l10n="NEW"><variable id="find_attributes"><link href="text/shared/guide/find_attributes.xhp">Searching for Attributes</link> 49</variable></paragraph> 50<paragraph role="paragraph" id="par_idN10681" xml-lang="en-US" l10n="NEW">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> 51<paragraph role="tip" id="par_idN10688" xml-lang="en-US" l10n="NEW">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 & Replace</link> dialog of %PRODUCTNAME Writer.</paragraph> 52<paragraph role="note" id="par_idN1069D" xml-lang="en-US" l10n="NEW">After you select the attributes that you want to search for, the <emph>Search for Styles</emph> box in the <emph>Options </emph>area of the %PRODUCTNAME Writer <emph>Find & Replace </emph>dialog changes to <emph>Including Styles</emph>.</paragraph> 53<paragraph role="note" id="par_idN106B0" xml-lang="en-US" l10n="NEW">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.</paragraph> 54<paragraph role="note" id="par_idN106B7" xml-lang="en-US" l10n="NEW">The search criteria for attributes are listed below the <emph>Search for</emph> box.</paragraph> 55<paragraph role="heading" id="par_idN106BE" xml-lang="en-US" level="2" l10n="NEW">To search for all font changes</paragraph> 56<list type="ordered"> 57<listitem> 58<paragraph role="paragraph" id="par_idN106C5" xml-lang="en-US" l10n="NEW">Choose <emph>Edit - Find & Replace</emph>.</paragraph> 59</listitem> 60<listitem> 61<paragraph role="paragraph" id="par_idN106CD" xml-lang="en-US" l10n="NEW">Clear the <emph>Search for</emph> text box if necessary.</paragraph> 62</listitem> 63<listitem> 64<paragraph role="paragraph" id="par_idN106D5" xml-lang="en-US" l10n="NEW">Click <emph>Attributes</emph>.</paragraph> 65</listitem> 66<listitem> 67<paragraph role="paragraph" id="par_idN106DD" xml-lang="en-US" l10n="NEW">In the <emph>Attributes</emph> dialog, select the <emph>Font</emph> check box, and click OK.</paragraph> 68<paragraph role="paragraph" id="par_idN106E8" xml-lang="en-US" l10n="NEW">In the <emph>Find & Replace</emph> dialog, you now can read "Font" below the <emph>Search for</emph> text box.</paragraph> 69</listitem> 70<listitem> 71<paragraph role="paragraph" id="par_idN106F4" xml-lang="en-US" l10n="NEW">Click <emph>Find</emph>.</paragraph> 72</listitem> 73</list> 74<paragraph role="paragraph" id="par_idN106FB" xml-lang="en-US" l10n="NEW">All places where a font change was applied, either directly or by assigning an appropriate style, are found.</paragraph> 75<paragraph role="heading" id="par_idN106FE" xml-lang="en-US" level="2" l10n="NEW">To reset the Find & Replace mode</paragraph> 76<paragraph role="paragraph" id="par_idN10702" xml-lang="en-US" l10n="NEW">To stop searching for the current attributes, reset the <emph>Find & Replace</emph> dialog to normal mode.</paragraph> 77<list type="unordered"> 78<listitem> 79<paragraph role="paragraph" id="par_idN1070C" xml-lang="en-US" l10n="NEW">Click <emph>No Format</emph>.</paragraph> 80</listitem> 81</list> 82<section id="relatedtopics"> 83<paragraph role="paragraph" id="par_idN1071E" xml-lang="en-US" l10n="NEW"><link href="text/shared/01/02100000.xhp">Find & Replace</link> dialog</paragraph> 84</section> 85</case> 86<default> 87<paragraph role="paragraph" id="par_id6837672" xml-lang="en-US" l10n="NEW">Searching for attributes is available in the Find & Replace dialog for text documents.</paragraph> 88</default> 89</switch> 90</body> 91</helpdocument> 92