Contents

# Atrašana un aizstāšana iekš Writer

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.

## Meklēt un aizstāt dialogs

To find text within the whole document, open the Find & 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 & Replace dialog.

### Lai atrastu tekstu

1. Izvēlieties Rediģēt - Meklēt un aizstāt, lai atvērtu Meklēt un aizstāt dialogu.

2. Enter the text to find in the Find text box.

3. Either click Find Next or Find All.

When you click Find Next, Writer will show you the next text that is equal to your entry. You can watch and edit the text, then click Find Next again to advance to the next found text.

If you closed the dialog, you can press a key combination (Ctrl+Shift+F) to find the next text without opening the dialog.

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.

When you click Find All, 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.

### Lai aizstātu tekstu

Unlike searching text, replacing text cannot be restricted to the current selection only.

1. Izvēlieties Rediģēt - Meklēt un aizstāt, lai atvērtu Meklēt un aizstāt dialogu.

2. Enter the text to search in the Find text box.

3. Enter the text to replace the found text in the Replace with text box.

4. Either click Replace or Replace All.

When you click Replace, Writer will search the whole document for the text in the Find box, starting at the current cursor position. When text is found, Writer highlights the text and waits for your response. Click Replace to replace the highlighted text in the document with the text in the Replace text box. Click Find Next to advance to the next found text without replacing the current selection.

When you click Replace All, Writer replaces all text that matches your entry.

### Lai atrastu stilus

You want to find all text in your document to which a certain Paragraph Style is assigned, for example the "Heading 2" style.

1. Izvēlieties Rediģēt - Meklēt un aizstāt, lai atvērtu Meklēt un aizstāt dialogu.

2. Click Other options to expand the dialog.

3. Check Paragraph Styles.
   The Find text box now is a list box, where you can select any of the Paragraph Styles that are applied in the current document.

4. Select the style to search for, then click Find Next or Find All.

### Lai atrastu formātus

You want to find all text in your document to which a certain direct character formatting is assigned.

Finding formats only finds direct character attributes, it does not find attributes applied as part of a style.

1. Izvēlieties Rediģēt - Meklēt un aizstāt, lai atvērtu Meklēt un aizstāt dialogu.

2. Click More Options to expand the dialog.

3. Klikšķiniet Formāts pogu.

5. Click Find Next or Find All.

### Vairāk opciju

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.

Check the Similarity search option and optionally click the Similarities button to change the settings. (Setting all three numbers to 1 works fine for English text.)

When you have enabled Asian language support under LibreOffice - Preferences Tools - Options - Languages and Locales - General, the Find & Replace dialog offers options to search Asian text.

## Navigators

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.

Izvēlieties Skats - Navigators, lai atvērtu Navigators logu.

Use the Navigator for inserting objects, links and references within the same document or from other open documents. See the Navigator guide for more information.

Click the icon with the blue circle at the bottom right part of your document to open the small Navigation window.

Use the small Navigation window to quickly jump to the next object or find the next text in your document.

Saistītie temati

Navigators teksta dokumentiem

Using Regular Expressions in Text Searches

Atribūtu meklēšana

Regulāro izteiksmju saraksts

Removing Line Breaks

Meklēšana un aizstāšana iekš Calc