
Chapter 2: Working With OpenOffice.org
• A paragraph end can be found with the dollar sign ($), and the first character at the
beginning of a paragraph with the string '^.' (caret and period).
• Regular expressions may only be searched within paragraphs.
There are many other wildcards that can be used that are listed in Help > OpenOffice.org
Help with a search term of “Regular expression”. This complete List of Regular
Expressions is included in this document.
If you need more information of Regular Expressions, please see
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html.
Searching Backward
When locating a frequently appearing word in a long text, the user might click find once too
often by mistake. Check the Backward box and click again on Find to return to the
location of the previously found item.
Current Selection Only
Check the Current selection only box option to limit the search rather than causing the
entire document to be searched. The search will be restricted to the lines that are highlighted
in the document. If text is selected before activating the Find command, the search will
automatically take place only within that selected range.
Searching for Styles
Quickly reformat all or part of a text using this feature. For example, text formatted with the
Style “Heading 2” can be replaced with the Style “Heading 3.” Select the Paragraph
Style in the list box under Search for. Then select the new Paragraph Style in the Replace
with field. Start the replacement process with the Replace button. All matching styles found
in the text will be displayed in sequence. The user can decide each time whether or not to do
the single replacement, replace all matching styles found in the text, or to cancel the process.
Searching for Text Attributes
Select Attributes to open a dialogue from which to select those text attributes to be
employed to search within a document. OpenOffice.org then finds all attributes that differ
from the format of the Paragraph Style. For example. in this dialogue, if the Font Weight
checkbox is selected, the program can find all words that have a heavier font than normal.
These could be words that have has the Bold attribute applied, either through direct or
indirect formatting, or that have been highlighted with a font previously defined as a bold
font, such as ones containing the words "Bold" or "Black" in their name. By default, Find
searches only for direct attributes. However, after searching for the attributes, one may enable
the Including Styles checkbox in the groups section of the Find & Replace dialogue where
Search for Styles was previously. Then, the search extends from the direct attributes we
selected previously to include indirect attributes, such as. those set with styles.
OpenOffice.org User Guide for 2.x 47
Comentários a estes Manuais