Writer-Handbuch Kapitel 3: Arbeiten mit Text

From The Document Foundation Wiki
< DE‎ | Doku
Jump to: navigation, search
Gnome-document-open-recent.svg

This page was marked as inactive and is retained for historical reference.
message
footer


Vorläufig nicht weiter bearbeiten. Übersetzung läuft testweise über das Programm OmegaT. Weitere Infos dazu über die discuss-de-Mailingliste. K-j (talk) 13:31, 8 November 2012 (UTC)

Hier finden sich die englischen Originale: ODT | PDF

Contents

Einführung

k-j k-j (Name) (Name)

Dieses Kapitel behandelt die Grundlagen der Arbeit mit Text in Writer, der Textverarbeitungskomponente von LibreOffice. Es wird davon ausgegangen, dass Sie mit der Verwendung einer Maus und Tastatur vertraut sind und dass Sie die Abschnitte über die Writer-Menüs und Symbolleisten und andere Themen, die in Kapitel 1 „Einführung in Writer“ behandelt wurden, gelesen haben.

Wir empfehlen, dass Sie auch die Vorschläge in Kapitel 2, Writer konfigurieren, über das Anzeigen von Formatierungshilfsmitteln, wie beispielsweise Steuerzeichen, Absatzmarken und die Auswahl der anderen Setupoptionen beachten.

Wenn Sie dieses Kapitel gelesen haben, sollten Sie wissen, wie Sie:

  • einen Text markieren, ausschneiden, kopieren, einfügen und verschieben
  • Text suchen und ersetzen
  • Sonderzeichen einfügen
  • Absätze und Zeichen formatieren
  • Listen mit Nummerierungen oder Aufzählungszeichen erstellen
  • die Schreibweise überprüfen, den Thesaurus verwenden und bei der Silbentrennung Alternativen wählen können
  • die Autokorrektur, Wortvervollständigung, AutoText und Zeilennummerierungsfeatures verwenden können
  • Änderungen nachverfolgen, Änderungen rückgängig machen und wiederherstellen, Kommentare einfügen können
  • zu den anderen Teilen eines Dokuments verlinken können.


Introduction

This chapter covers the basics of working with text in Writer, the word-processing component of LibreOffice (LibreOffice). It assumes that you are familiar with the use of a mouse and keyboard and that you have read about Writer’s menus and toolbars and other topics covered in Chapter 1, Introducing Writer.

We recommend that you also follow the suggestions in Chapter 2, Setting up Writer, about displaying formatting aids, such as end-of-paragraph marks, and selecting other setup options.

When you have read this chapter, you should know how to:

  • Select, cut, copy, paste, and move text
  • Find and replace text
  • Insert special characters
  • Format paragraphs and characters
  • Create numbered or bulleted lists
  • Check spelling, use the thesaurus, and choose hyphenation options
  • Use the autocorrection, word completion, autotext, and line numbering features
  • Track changes, undo and redo changes, and insert notes
  • Link to other parts of a document

Text auswählen

k-j Andreas Gärtner k-j Erhardt

Bevor Sie etwas mit dem Text machen können, müssen Sie ihn anwählen. Das Markieren von Text funktioniert ähnlich wie in anderen Programmen.
Neben der Auswahl von Textblöcken können Sie auch Objekte, die nicht beieinander stehen, und Textspalten (vertikale Blöcke) auswählen.

Auswahl von Elementen, die nicht aufeinander folgen

k-j k-j (Name) (Name)

Um nicht aufeinander folgende Elemente (wie in Abbildung 1 dargestellt) mit der Maus auszuwählen:

  1. Wählen Sie den ersten Teil des Textes.
  2. Halten Sie die Strg-Taste und verwenden Sie die Maus, um das nächste Textteil auszuwählen.
  3. Wiederholen Sie dies so oft wie nötig.

Jetzt können Sie mit dem ausgewählten Text arbeiten (Kopieren, Löschen, Ändern des Stils und so weiter).

Um nicht aufeinander folgende Elemente mit der Tastatur anzuwählen:

  1. Wählen Sie den ersten Teil des Textes. (Weitere Informationen über Textauswahl mit der Tastatur finden Sie unter dem Thema "Navigieren und Auswählen mit der Tastatur" in der LibreOffice-Hilfe (F1).)
  2. Drücken Sie Umschalttaste + F8. Dies wechselt in den "ERG"-Modus. Das Wort ERG erscheint in der Statusleiste.
  3. Benutzen Sie die Pfeiltasten, um zum Beginn des nächsten Textteiles zu gelangen, das ausgewählt werden soll. Halten Sie die Umschalttaste gedrückt und wählen Sie den nächsten Teil des Textes.
  4. Wiederholen Sie dies so oft wie nötig.

Jetzt können Sie mit dem ausgewählten Text zu arbeiten.

Drücken Sie Esc, um diesen Modus zu verlassen.

(Bild)

Selecting items that are not consecutive

To select nonconsecutive items (as shown in Figure 1) using the mouse:

  1. Select the first piece of text.
  2. Hold down the Control (Ctrl) key and use the mouse to select the next piece of text.
  3. Repeat as often as needed.

Now you can work with the selected text (copy it, delete it, change the style, and so on).

To select nonconsecutive items using the keyboard:

  1. Select the first piece of text. (For more information about keyboard selection of text, see the topic “Navigating and Selecting with the Keyboard” in the LibreOffice Help (F1).)
  2. Press Shift+F8. This puts Writer in “ADD” mode. The word ADD appears on the Status Bar.
  3. Use the arrow keys to move to the start of the next piece of text to be selected. Hold down the Shift key and select the next piece of text.
  4. Repeat as often as required.

Now you can work with the selected text.

Press Esc to exit from this mode.

[[File:|thumb|Figure 1: Selecting items that are not next to each other]]

Auswahl eines vertikalen Textblocks

k-j k-j (Name) (Name)

Auswahl eines vertikalen Textblocks Sie können einen vertikalen Block oder eine "Textspalte", der durch Leerzeichen oder Tabulatoren getrennt ist (wie z. B. im Text der von E-Mails, Programmlistings oder anderen Quellen eingefügt wurde), mit dem Auswahlmodus von LibreOffice auswählen. Um den Auswahlmodus zu ändern, verwenden Sie im Menü Bearbeiten → Auswahlmodus → Blockbereich oder klicken Sie mehrmals in der Statusleiste auf STD, bis BLK erscheint.

(Bild)

Jetzt können Sie die Auswahl wie in Abbildung 2 dargestellt mit Maus und Tastatur markieren.

(Bild)

Ab Version 3.6 Beta verschwindet der Eintrag BLK und wird durch ein einheitliches Symbol ersetzt. Mal sehen, ob das auch in der Endfassung so bleibt. K-j

Selecting a vertical block of text

You can select a vertical block or “column” of text that is separated by spaces or tabs (as you might see in text pasted from e-mails, program listings, or other sources), using LibreOffice’s block selection mode. To change to block selection mode, use Edit ? Selection Mode ? Block Area, or click several times in the status bar on STD until it changes to BLK.

[[File:]]

Now you can highlight the selection, using mouse or keyboard, as shown in Figure 2.

[[File:|thumb|Figure 2: Selecting a vertical block of text]]

Cutting, copying, and pasting text

k-j (Name) (Name) (Name)

Cutting and copying text in Writer is similar to cutting and copying text in other applications. You can copy or move text within a document, or between documents, by dragging or by using menu selections, icons, or keyboard shortcuts. You can also copy text from other sources such as Web pages and paste it into a Writer document.

To move (cut and paste) selected text using the mouse, drag it to the new location and release it. To copy selected text, hold down the Control key while dragging. In either case, the text retains the formatting it had before dragging.

When you paste text, the result depends on the source of the text and how you paste it. If you click on the Paste icon, then the pasted text keeps its original formatting (such as bold or italics). Text pasted from Web sites and other sources may also be placed into frames or tables. If you do not like the results, click the Undo icon or press Control+Z.

To make the pasted text take on the formatting of the text surrounding where it is pasted, you can:

  • Edit ? Paste Special, or
  • Click the triangle to the right of the Paste icon, or
  • Click the Paste icon without releasing the left mouse button.

Then select Unformatted text from the resulting menu.

[[File:|thumb|Figure 3: Paste Special menu]]

The range of choices on the Paste Special menu varies depending on the origin and formatting of the text (or other object) to be pasted. See Figure 3 for an example with text on the clipboard.

This example includes the formatting option DDE link. DDE is an acronym for Dynamic Data Exchange, a mechanism whereby selected data in document A can be pasted into document B as a linked, ‘live’ copy of the original. It would be used, for example, in a report written in Writer containing time?varying data, such as sales results sourced from a Calc spreadsheet. The DDE link ensures that, as the source spreadsheet is updated so is the report, thus reducing the scope for error and reducing the work involved in keeping the Writer document up to date.

Finding and replacing text

k-j (Name) (Name) (Name)

Writer has two ways to find text within a document: the Find toolbar for fast searching and the Find & Replace dialog box. In the dialog box, you can:

  • Find and replace words and phrases
  • Use wildcards and regular expressions to fine-tune a search
  • Find and replace specific formatting
  • Find and replace paragraph styles

If the Find toolbar is not visible, you can display it using View ? Toolbars ? Find.

[[File:]]

To display the Find & Replace dialog box, use the keyboard shortcut Control+F or choose Edit ? Find & Replace from the menu bar.

  1. Type the text you want to find in the Search for box.
  2. To replace the text with different text, type the new text in the Replace with box.
  3. You can select various options, such as matching the case, matching whole words only, or doing a search for similar words. (See below for some other choices.)
  4. When you have set up your search, click Find. To replace text, click Replace instead.

Tip

If you click Find All, Writer selects all instances of the search text in the document. Similarly, if you click Replace All, Writer replaces all matches.

Caution

[[File:]]

Use Replace All with caution; otherwise, you may end up with some hilarious (and highly embarrassing) mistakes. A mistake with Replace All might require a manual, word-by-word, search to fix.

[[File:|thumb|Figure 4: Expanded Find & Replace dialog box]]

Find and replace specific formatting

k-j (Name) (Name) (Name)

A very powerful use of Find & Replace takes advantage of the Format option. For example, you might want to replace underlined words with italics.

On the Find & Replace dialog box (with More Options displayed, as in Figure 4):

  1. To search for text with specific formatting, enter the text in the Search for box. To search for specific formatting only, delete any text in the Search for box.
  2. Click Format… to display the Text Format (Search) dialog box. The tabs on this dialog box are similar to those on the Paragraph format and Paragraph Style dialog boxes.
  3. Choose the formats you want to search for and then click OK. The names of selected formats appear under the Search for box. For example, you might search for all text in 14-point bold Times New Roman.
  4. To replace text as well as formatting, type the replacement text in the Replace with box.

To search for specific text with specific formatting (for example, the word hello in bold), specify the formatting, type the text in the Search for box and leave the Replace with box blank.

To remove specific character formatting, click Format, select the Font tab, then select the opposite format (for example, No Bold). The No Format button on the Find & Replace dialog box clears all previously selected formats.

  1. Click Find, Find All, Replace, or Replace All.

Tip

Unless you plan to search for other text using those same attributes, click No Format to remove the attributes after completing your search. If you forget to do this, you may wonder why your next search fails to find words you know are in the document.

Find and replace paragraph styles

k-j (Name) (Name) (Name)

If you combine material from several sources, you may discover that lots of unwanted paragraph styles have suddenly shown up in your document. To quickly change all the paragraphs from one (unwanted) style to another (preferred) style:

  1. On the expanded Find & Replace dialog box (Figure 4), select Search for Styles. (If you have attributes specified, this option is labeled Including Styles.) The Search for and Replace with boxes now contain a list of styles.
  2. Select the styles you want to search for and replace.
  3. Click Find, Find All, Replace, or Replace All.

Repeat steps 2 and 3 for each style that you want to replace.

Use wildcards (regular expressions)

k-j (Name) (Name) (Name)

Wildcards (also known as regular expressions) are combinations of characters that instruct LibreOffice how to search for something. Regular expressions are very powerful but not very intuitive. They can save time and effort by combining multiple finds into one.

Table 1 shows a few of the regular expressions used by LibreOffice.

Table 1. Examples of search wildcards (regular expressions)

To find

Use this expression

Examples and comments

Any single character

.

b.d finds bad, bud, bid, and bed.

One of the specified characters

[xyz]

b[iu]n finds bin and bun.

Any single character in this range

[x-y]

[r-t]eed finds reed, seed, and teed; ranges must be in alphabetically ascending order.

Any single character except the characters inside the brackets

[^x]

p[^a]st finds post and pest, but not past.

The beginning of a word

\<start

\<log finds logbook and logistics, but not catalog.

The end of a word

end\>

log\> finds catalog, but not logistics.

A paragraph marker

$

Does not work as a replacement character. Use \n instead.

A line break

\n

Finds a line break that was inserted with Shift+Enter. When used as a replacement character, it inserts a paragraph marker.

Tip

The online help describes many more regular expressions and their uses.

Note

To search for a character that is defined as a wildcard, type a backslash (\) before the character. For example, to find the text $5.00, you would conduct a search using \$5\.00.

To use wildcards and regular expressions when searching and replacing:

  1. On the Find & Replace dialog box, click More Options to see more choices. On this expanded dialog box (Figure 4), select the Regular expressions option.
  2. Type the search text, including the wildcards, in the Search for box and the replacement text (if any) in the Replace with box. Not all regular expressions work as replacement characters; the line break (\n) is one that does work.
  3. Click Find, Find All, Replace, or Replace All (not recommended).

Sonderzeichen einfügen

k-j Andreas Gärtner Erhardt (Name)

Ein Sonderzeichen ist ein Zeichen, dass sich nicht auf dem deutschen Tastaturlayout befindet. Sonderzeichen sind zum Beispiel: ©, ¾, æ, ç, ñ, ø oder ¢. So fügen Sie diese Zeichen ein:

  1. Platzieren Sie den Cursor im Dokument an der der Stelle, an der sich das/die Zeichen befinden soll.
  2. Klicken Sie auf Einfügen -> Sonderzeichen um den Dialog für Sonderzeichen zu öffnen.
  3. Wählen Sie die Zeichen (aus jeder verfügbaren Schriftart), die Sie möchten und klicken anschließend auf OK. Die ausgewählten Zeichen werden links unten im Dialog-Fenster angezeigt. Für jedes Zeichen wird rechts unten der Zifferncode (???) dieses Zeichens angezeigt.

[[File:|thumb|Figure 5: The Special Characters dialog box, where you can insert special characters]]

Hinweis

Verschiedene Schriftarten verwenden verschiedene Sonderzeichen. Wenn Sie eines nicht in der Schriftart finden, die Sie möchten, versuchen Sie es mit einer anderen Schriftart.

Geschützte Leerzeichen und Bindestriche

k-j Andreas Gärtner Erhardt (Name)

Geschützes Leerzeichen

Um zu verhindern, dass zwei Wörter am Ende einer Zeile getrennt werden, drücken Sie Strg+Leerzeichen nach dem ersten Wort.

Geschützter Bindestrich

Sie können geschützte Bindestriche benutzen, damit der Bindestrich nicht am Ende einer Zeile steht. Zum Beispiel bei Zahlen, wie 123-4567. Um einen geschützten Bindestrich einzufügen, drücken Sie Strg+Shift+Minus.

Alternativ können Sie auch Einfügen -> Formatierungszeichen wählen.

Inserting en and em dashes

k-j (Name) (Name) (Name)

To enter en and em dashes, you can use the Replace dashes option under Tools ? AutoCorrect Options (Figure 14 on page 16). This option replaces two hyphens, under certain conditions, with the corresponding dash.

In the following table, the A and B represent text consisting of letters A to z or digits 0 to 9.

Text that you type:

Result

A - B (A, space, hyphen, space, B)

A – B (A, space, en-dash, space, B)

A -- B (A, space, hyphen, hyphen, space, B)

A – B (A, space, en-dash, space, B)

A--B (A, hyphen, hyphen, B)

A—B (A, em-dash, B)

A-B (A, hyphen, B)

A-B (unchanged)

A -B (A, space, hyphen, B)

A -B (unchanged)

A --B (A, space, hyphen, hyphen, B)

A –B (A, space, en-dash, B)

Another means of inserting en or em dashes is through the Insert ? Special Characters menu. Select the U+2013 or U+2014 character (found in the General punctuation subset), respectively.

A third method uses keyboard shortcuts. These shortcuts vary depending on your operating system.

Tip

You can also record macros to insert en and em dashes and assign those macros to unused key combinations, for example Ctrl+Shift+N and Ctrl+Shift+M. For more information, see Chapter 17, Customizing Writer.

Windows

On most non-Asian installations of Windows, hold down one of the Alt keys and type on the numeric keypad: 0150 for an en dash or 0151 for an em dash. The dash appears when you release the Alt key.

Tip

On a keyboard with no numeric keypad, use a Fn (Function) key combination to type the numbers. (The Fn key is usually to the right of the left-hand Ctrl key on the keyboard.)

For example, on a US keyboard layout, the combination for an en dash should be Alt+Fn+mjim and for an em dash it should be Alt+Fn+mjij.

Linux

Hold down the Compose key and type two hyphens and a period for an en dash, or three hyphens for an em dash. The dash appears when you release the Compose key.

Tip

The key that operates as a Compose key varies with the Linux distribution. It is usually one of the Alt or Win keys, but may be another key, and should be user-selectable.

Mac OS X

Hold down the Option (Alt) key and type a hyphen for an en dash. For an em dash, the combination is Shift+Option+Hyphen.

Formatting paragraphs

k-j (Name) (Name) (Name)

You can apply many formats to paragraphs using the buttons on the Formatting toolbar. Figure 6 shows the Formatting toolbar as a floating toolbar, customized to show only the buttons for paragraph formatting. If you have Asian or Complex Text Layout language support enabled, two additional buttons are available: Left-to-Right and Right-to-Left.

Tip

It is highly recommended that you use paragraph styles rather than manually formatting paragraphs, especially for long or standardized documents. For information on the advantages of styles and how to use them, see Chapters 6 and 7 in this book.

[[File:|thumb|
1
Open Styles and Formatting Window
5
Align Right
10
Numbering On/Off
6
Justified
11
Bullets On/Off
2
Apply Style
7
Line Spacing: 1
12
Decrease Indent
3
Align Left
8
Line Spacing: 1.5
13
Increase Indent
4
Centered
9
Line Spacing: 2
14
Paragraph format dialog box Figure 6: Formatting toolbar, showing icons for paragraph formatting]]

Figure 7 shows examples of the text alignment options.

[[File:|thumb|Figure 7: Text alignment options]]

When using justified text, the last line is by default aligned to the left; however, if so desired, you can also align the last line to the center of the paragraph area or justify it so that spaces are inserted between the words in order to fill the whole line. In the case where the last line consists of a single word, you can also have this word stretched to cover the whole line. Figure 8 shows an example of the effect obtained when setting each of these options.

[[File:|thumb|Figure 8: Four choices for the last line of a justified paragraph]]

These options are controlled in the Alignment page of the Format ? Paragraph dialog box.

[[File:|thumb|Figure 9: Options for the last line of a justified paragraph]]

Setting tab stops and indents

k-j (Name) (Name) (Name)

The horizontal ruler shows both the default tab stops and any tab stops that you have defined. Tab settings affect indentation of full paragraphs (using the Increase Indent and Decrease Indent icons on the Formatting toolbar) as well as indentation of parts of a paragraph (by pressing the Tab key on the keyboard).

Using the default tab spacing can cause formatting problems if you share documents with other people. If you use the default tab spacing and then send the document to someone else who has chosen a different default tab spacing, tabbed material will change to use the other person’s settings. Instead of using the defaults, define your own tab settings, as described in this section.

To define indents and tab settings for one or more selected paragraphs, double-click on a part of the ruler that is not between the left and right indent icons to open the Indents & Spacing page of the Paragraph dialog box. Double-click anywhere between the left and right indent icons on the ruler to open the Tabs page of the Paragraph dialog box.

A better strategy is to define tabs for the paragraph style. Refer to Chapters 6 and 7 for more about paragraph styles.

[[File:|thumb|Figure 10: Specifying tab stops and fill characters]]

Tip

Using tabs to space out material on a page is not recommended. Depending on what you are trying to accomplish, a table is usually a better choice.

Changing the default tab stop interval

k-j (Name) (Name) (Name)

Note

Any changes to the default tab setting will affect the existing default tab stops in any document you open afterward, as well as tab stops you insert after making the change.

To set the measurement unit and the spacing of default tab stop intervals, go to Tools ? Options ? LibreOffice Writer ? General.

[[File:|thumb|Figure 11: Selecting a default tab stop interval]]

You can also set or change the measurement unit for rulers in the current document by right-clicking on the ruler to open a list of units, as shown in Figure 12. Click on one of them to change the ruler to that unit. The selected setting applies only to that ruler.

[[File:|thumb| Figure 12: Changing the measurement unit for a ruler]]

Formatting characters

k-j (Name) (Name) (Name)

You can apply many formats to characters using the buttons on the Formatting toolbar. Figure 13 shows the Formatting toolbar customized to show only the buttons for character formatting.

It is highly recommended that you use character styles rather than manually formatting characters. For information on styles and how to use them, see Chapters 6 and 7.

[[File:|thumb|
1
Open Styles and Formatting Window
6
Italic
12
Font Color
7
Underline
13
Highlighting
2
Apply Style
8
Superscript
14
Background Color
3
Font Name
9
Subscript
15
Open Character Format dialog box
4
Font Size
10
Increase Font
5
Bold
11
Reduce Font Figure 13: Formatting toolbar, showing icons for character formatting]]

Tip

To remove manual formatting, select the text and choose Format ? Default Formatting from the main menu bar, or right-click and choose Default Formatting from the pop-up menu.

Autoformatting

k-j (Name) (Name) (Name)

You can set Writer to automatically format parts of a document according to the choices made on the Options page of the AutoCorrect dialog box (Tools ? AutoCorrect Options).

The Help describes each of these choices and how to activate the autoformats. Some common unwanted or unexpected formatting changes include:

  • Horizontal lines. If you type three or more hyphens (---), underscores (_ _ _) or equal signs (===) on a line and then press Enter the paragraph is replaced by a horizontal line as wide as the page. The line is actually the lower border of the preceding paragraph.
  • Bulleted and numbered lists. A bulleted list is created when you type a hyphen (-), asterisk (*), or plus sign (+), followed by a space or tab at the beginning of a paragraph. A numbered list is created when you type a number followed by a period (.), followed by a space or tab at the beginning of a paragraph. Automatic numbering is only applied to paragraphs formatted with the Default, Text body or Text body indent paragraph styles.

Tip

If you notice unexpected formatting changes occurring in your document, this is the first place to look for the cause.

[[File:|thumb|Figure 14: Autoformat choices on the Options page of the AutoCorrect dialog box]]

To automatically format the file according to the options you have set, choose Format ? AutoCorrect and select or deselect the items on the submenu.

While Typing

Automatically formats the document while you type.

Apply

Automatically formats the document.

Apply and Edit Changes

Automatically formats the file and then opens a dialog box where you can accept or reject the changes.

AutoCorrect Options

Opens the AutoCorrect dialog (Figure 14).

Creating numbered or bulleted lists

k-j (Name) (Name) (Name)

There are several ways to create numbered or bulleted lists:

  • Use autoformatting, as described above.
  • Use list styles, as described in Chapter 7, Working with Styles.
  • Use the Numbering and Bullets icons on the paragraph formatting toolbar (see Figure 6). This method is described here.

To produce a numbered or bulleted list, select the paragraphs in the list and then click on the appropriate icon on the toolbar.

Note

It is a matter of personal preference whether you type your information first, then apply Numbering/Bullets or apply these as you type.

Using the Bullets and Numbering toolbar

k-j (Name) (Name) (Name)

You can create a nested list (where one or more list items has a sublist under it, as in an outline) by using the buttons on the Bullets and Numbering toolbar (Figure 15). You can move items up or down the list, create subpoints, and even change the style of bullets.

Tip

It is possible to move a list entry up, together with all of its sub-entries. Do this by clicking the Promote One Level With Subpoints button.

[[File:|thumb|
1
Bullets On/Off
6
Promote One Level with Subpoints
10
Move Down
2
Numbering On/Off
11
Move Up with Subpoints
3
Numbering Off
7
Demote One Level with Subpoints
12
Move Down with Subpoints
4
Promote One Level
8
Insert Unnumbered Entry
13
Restart Numbering
5
Demote One Level
9
Move Up
14
Bullets and Numbering Figure 15: Bullets and Numbering toolbar]]

If you create a nested list using the buttons on this toolbar, all the levels of the list (up to 10) apply the same numbering (or bullet). However, in many circumstances you will want to use a combination of numbering formats and bullets when creating nested lists. Such lists, with a mixture of numbering formats and bullets, can be easily configured as described in the following example. Additional information on lists, in particular the technique to create your own list style, is described in Chapter 7, Working with Styles.

Tip

When creating nested lists, one option is to enter all the list paragraphs first and apply the levels afterwards.

You can use keyboard shortcuts to move paragraphs up or down the outline levels. Place the cursor at the beginning of the numbered paragraph and press:

TabDown a levelShift+TabUp a level

To insert a tab stop at the beginning of a numbered paragraph (that is, after the number but before the text), press Control+Tab.

Example: configuring a nested list

k-j (Name) (Name) (Name)

We will use a numbering style to produce the following effect:

I. Level-1 list item

A. Level-2 list item

i. Level-3 list item

a) Level-4 list item

This example uses one of the supplied styles, Numbering 1. If you intend to reuse this type of nested list, you can also create a new style as illustrated in Chapter 7, Working with Styles.

  1. Open the Styles and Formatting window and click the List Styles icon at the top. Specify All in the drop-down list at the bottom of the window. Right-click on the Numbering 1 style and choose Modify from the pop-up menu.

[[File:|thumb|Figure 16: Modifying a list style]]

  1. On the Numbering Style dialog box, go to the Outline page, where you will find that one style matches our requirements. Click once on that style.

[[File:|thumb|Figure 17: Choosing a predefined outline-numbering style]]

  1. To modify the layout of the list, use the Options tab (Figures 18 and 19). Notice that the preview on the right shows the outline selected. In the Level box on the left, select 1, then 2, 3, and 4 and see how the information in the Numbering and After boxes changes.
    Use the Options page to set different punctuation; for example, a period (full stop) after “a” on level 4 instead of a parenthesis.

[[File:|thumb|Figure 18: Checking the outline numbering for level-1 list items]]

[[File:|thumb|Figure 19: Numbering style for level-2 list items]]

To make the indentation at each level greater or less than the default, change it on the Position page. Select the level, then make any changes in the indentation, spacing, or numbering alignment.

  1. Repeat for each level as required, then click OK.

Tip

With outline numbering you can define different bullet styles for the different levels of a bullet list. Use the Bullets tab of the Bullets and Numbering dialog box (not shown) to select the basic style. Return to the Options tab to customize the bullet for each indent level. Here you can set bullets to any character. See the Graphics tab for more bullets.

Using footnotes and endnotes

k-j (Name) (Name) (Name)

Footnotes appear at the bottom of the page on which they are referenced. Endnotes are collected at the end of a document.

To work effectively with footnotes and endnotes, you need to:

  • Insert footnotes.
  • Define the format of footnotes.
  • Define the location of footnotes on the page, as described in Chapter 4, Formatting Pages.

Inserting footnotes/endnotes

k-j (Name) (Name) (Name)

To insert a footnote or an endnote, put the cursor where you want the footnote/endnote marker to appear. Then select Insert ? Footnote/Endnote from the menu bar or click the Insert Footnote/Endnote Directly or Insert Endnote Directly icon on the Insert toolbar.

[[File:|thumb|Figure 20: Using the Insert Footnote Directly icon on the toolbar]]

A footnote or endnote marker is inserted in the text and, depending on your choice, the cursor is relocated either to the footnote area at the bottom of the page or to the endnote area at the end of the document. Type the footnote or endnote content in this area.

If you use Insert ? Footnote/Endnote, the Insert Footnote/Endnote dialog box is displayed. Here you can choose whether to use the automatic numbering sequence specified in the footnote settings and whether to insert the item as a footnote or an endnote.

[[File:|thumb|Figure 21: Inserting a footnote/endnote]]

If you use the Insert Footnote/Endnote Directly or Insert Endnote Directly icon, the footnote or endnote automatically takes on the attributes previously defined in the Footnote Settings dialog box.

You can edit an existing footnote or endnote the same way you edit any other text.

To delete a footnote or endnote, delete the footnote marker. The contents of the footnote or endnote are deleted automatically, and the numbering of other footnotes or endnotes is adjusted automatically.

Defining the format of footnotes/endnotes

k-j (Name) (Name) (Name)

To format the footnotes themselves, click Tools ? Footnotes/Endnotes. On the Footnotes/Endnotes Settings dialog box, choose settings as required.

[[File:|thumb|Figure 22: Defining footnote formatting]]

Checking spelling

k-j (Name) (Name) (Name)

Writer provides a spelling checker, which can be used in two ways.

[[File:]]

AutoSpellcheck checks each word as it is typed and displays a wavy red line under any misspelled words. When the word is corrected, the red wavy line disappears.

[[File:]]

To perform a separate spelling check on the document (or a text selection) click this button. This checks the document or selection and opens the Spelling dialog box (Figure 23) if any misspelled words are found.

[[File:|thumb|Figure 23: Selecting a word from dictionary using the Spelling dialog box]]

Here are some more features of the spelling checker:

  • You can right-click on a word with a wavy underline, to open a powerful context menu. If you select from the suggested words on the menu, the selection will replace the misspelled word in your text. Other menu options are discussed below.
  • You can change the dictionary language (for example, Spanish, French, or German) on the Spelling and Grammar dialog box.
  • You can add a word to a dictionary. Click Add in the Spelling and Grammar dialog box and pick the dictionary to add it to.
  • Click the Options button on the Spelling dialog box to open a dialog box similar to the one in Tools ? Options ? Language Settings ? Writing Aids described in Chapter 2. There you can choose whether to check uppercase words and words with numbers. You can also add or delete dictionaries and add or delete words in a dictionary.

Using built-in language tools

k-j (Name) (Name) (Name)

Writer provides some tools that make your work easier if you mix multiple languages within the same document or if you write documents in various languages:

  • Paragraph and character styles
  • Using Tools ? Language
  • Using language settings in Options
  • Using the status bar

The main advantage of changing the language for a text selection is that you can then use the correct dictionaries to check spelling and apply the localized versions of AutoCorrect replacement tables, thesaurus, and hyphenation rules.

You can also set the language for a paragraph or a group of characters as None (Do not check spelling). This option is especially useful when you insert text such as web addresses or programming language snippets that you do not want to check for spelling.

Using paragraph and character styles

k-j (Name) (Name) (Name)

Specifying the language in character and paragraph styles is the preferred method, because styles allow a greater level of control and make changing the language much faster. On the Font tab of the Paragraph Style dialog box, you can specify that certain paragraphs be checked in a language that is different from the language of the rest of the document. See Chapter 7, Working with Styles, for information on how to manage the language settings of a style.

Using Tools ? Language

k-j (Name) (Name) (Name)

You can also set the language for the whole document, for individual paragraphs, or even for individual words and characters, all from Tools ? Language on the menu bar.

For Selection

Applies a specified language to the selected text.

For Paragraph

Applies the specified language to the paragraph where the cursor is located.

For all Text

Applies the specified language to all of the document, including text inserted after making the change.

Using language settings in Options

k-j (Name) (Name) (Name)

Another way to change the language of a whole document is to use Tools ? Options ? Language Settings ? Languages. In the Default languages for documents section (Figure 24), you can choose a different language for all the text that is not explicitly marked as a different language.

[[File:|thumb|Figure 24: Options available in the Languages settings]]

Caution

[[File:]]

Unlike the menu tool that applies to the individual document, a change in the default language from the Options dialog box is a general change of settings of LibreOffice and will therefore apply to all the documents created in the future. If you want to change the language for the current document only, be sure to select the For the current document only option.

The spelling checker works only for those languages in the list which have the symbol [[File:]] next to them. If you do not see this symbol next to your preferred language, you can install the dictionary using Tools ? Languages ? More dictionaries online.

Using the status bar

k-j (Name) (Name) (Name)

The language used for checking spelling is also shown in the status bar, next to the page style in use. You can change the language for the paragraph or the entire document; click on the language in the status bar to pop up a menu of choices.

[[File:|thumb|Figure 25: Language choices on the status bar]]

Notice the Reset to Default Language option on the menu and submenu. This is the fastest way to return a paragraph or the entire document to the default language set in Tool ? Options (described above).

Using synonyms and the thesaurus

k-j (Name) (Name) (Name)

You can access a short list of synonyms from the context menu:

  1. Select a word or phrase, right-click, and point to Synonyms on the pop-up menu. A submenu of alternative words and phrases is displayed.

[[File:|thumb|Figure 26: Synonyms on the context menu]]

  1. Click on a word or phrase to select it and replace the highlighted word or phrase in the document.

The thesaurus gives a more extensive list of alternative words and phrases. To use the thesaurus:

  1. Select a word or phrase, and then choose Tools ? Language ? Thesaurus, or press Control+F7, or right-click and choose Thesaurus from the pop-up menu.
  2. In the dialog box, click on a meaning to show alternative words and phrases for that meaning of the word.

For example, when given the word house, the thesaurus offers several meanings, including dwelling, legislature, sign of the zodiac, and others. If you click on dwelling, you will see dwelling, home, domicile, abode, and other alternatives, as shown in Figure 27.

Note

If the current language does not have a thesaurus installed, this feature is disabled.

[[File:|thumb|Figure 27: The thesaurus offers alternatives to words]]

Hyphenating words

k-j (Name) (Name) (Name)

You have several choices regarding hyphenation: let Writer do it automatically (using its hyphenation dictionaries), insert conditional hyphens manually where necessary, or don’t hyphenate at all. Each choice has its pros and cons.

Automatic hyphenation

k-j (Name) (Name) (Name)

To turn automatic hyphenation of words on or off:

  1. Press F11 to open the Styles and Formatting window. On the Paragraph Styles page, right-click on Default and select Modify.

[[File:|thumb|Figure 28: Modifying a paragraph style]]

  1. On the Paragraph Style dialog box, select the Text Flow tab.

[[File:|thumb|Figure 29: Turning on automatic hyphenation]]

  1. Under Hyphenation, select or deselect the Automatically option.
  2. Click OK to save.

Note

Turning on hyphenation for the Default paragraph style affects all other paragraph styles that are based on Default. You can individually change other styles so that hyphenation is not active; for example, you might not want headings to be hyphenated. Any styles that are not based on Default are not affected. For more on paragraph styles, see Chapter 6, Introduction to Styles, and Chapter 7, Working with Styles.

You can also set hyphenation choices through Tools ? Options ? Language Settings ? Writing Aids. In Options, near the bottom of the dialog box, scroll down to find the hyphenation settings.

[[File:|thumb|Figure 30: Setting hyphenation options]]

To change the minimal number of characters for hyphenation, the minimum number of characters before a line break, or the minimum number of characters after a line break, select the item, and then click the Edit button in the Options section.

Hyphenate without inquiry

Specifies that you will never be asked to manually hyphenate words that the hyphenation dictionary does not recognize. If this box is not selected, when a word is not recognized, a dialog box will open where you can manually enter hyphens.

Hyphenate special regions

Specifies that hyphenation will also be carried out in footnotes, headers, and footers.

Hyphenation options set in the Writing Aids dialog box are effective only if hyphenation is turned on through paragraph styles.

Manual hyphenation

k-j (Name) (Name) (Name)

To manually hyphenate words, do not use a normal hyphen, which will remain visible even if the word is no longer at the end of a line when you add or delete text or change margins or font size. Instead, use a conditional hyphen, which is visible only when required.

To insert a conditional hyphen inside a word, click where you want the hyphen to appear and press Control+hyphen or use Insert ? Formatting Mark ? Optional hyphen. The word will be hyphenated at this position when it is at the end of the line, even if automatic hyphenation for this paragraph is switched off.

Using AutoCorrect

k-j (Name) (Name) (Name)

Writer’s AutoCorrect function has a long list of common misspellings and typing errors, which it corrects automatically. For example, “hte” will be changed to “the”.

Select Tools ? AutoCorrect Options to open the AutoCorrect dialog box. There you can define what strings of text are corrected and how. In most cases, the defaults are fine.

AutoCorrect is turned on when Writer is installed. To turn it off, uncheck Format ? AutoCorrect ? While Typing.

To stop Writer replacing a specific spelling, go to the Replace tab, highlight the word pair, and click Delete.

To add a new spelling to the list, type it into the Replace and With boxes on the Replace tab, and click New.

See the different pages of the dialog box for the wide variety of other options available to fine-tune AutoCorrect.

Tip

AutoCorrect can be used as a quick way to insert special characters. For example, (c) will be autocorrected to ©. You can add your own special characters.

[[File:|thumb|Figure 31: Replace tab of AutoCorrect dialog box]]

Using word completion

k-j (Name) (Name) (Name)

If Word Completion is enabled, Writer tries to guess which word you are typing and offers to complete the word for you. To accept the suggestion, press Enter. Otherwise, continue typing.

To turn off Word Completion, select Tools ? AutoCorrect Options ? Word Completion and deselect Enable word completion.

You can customize word completion from the Word Completion page of the AutoCorrect dialog box.

  • Add (append) a space automatically after an accepted word.
  • Show the suggested word as a tip (hovering over the word) rather than completing the text as you type.
  • Collect words when working on a document, and then either save them for later use in other documents or select the option to remove them from the list when closing the document.
  • Change the maximum number of words remembered for word completion and the length of the smallest words to be remembered.
  • Delete specific entries from the word completion list.
  • Change the key that accepts a suggested entry—the options are right arrow, End key, Enter (Return), Space bar, and Tab.

Note

Automatic word completion only occurs after you type a word for the second time in a document.

[[File:|thumb|Figure 32: Customizing word completion]]

AutoText verwenden

k-j Jochen (Name) (Name)

Verwenden Sie AutoText, um ..... to store text, tables, fields, and other items for reuse and assign them to a key combination for easy retrieval. For example, rather than typing "Mit freundlichen Grüßen" every time you use that phrase, you can set up an AutoText entry to insert those words when you type "mfg" and press F3.

AutoText is especially powerful when used with fields. See Chapter 14, Working with Fields, for more information.

Use AutoText to store text, tables, fields, and other items for reuse and assign them to a key combination for easy retrieval. For example, rather than typing “Senior Management” every time you use that phrase, you can set up an AutoText entry to insert those words when you type “sm” and press F3.

AutoText is especially powerful when used with fields. See Chapter 14, Working with Fields, for more information.

Creating AutoText

k-j (Name) (Name) (Name)

To store some text as AutoText:

  1. Type the text into your document.
  2. Select the text.
  3. Go to Edit ? AutoText (or press Control+F3).
  4. In the AutoText dialog box, type a name for the AutoText in the Name box. Writer will suggest a one-letter shortcut, which you can change.
  5. In the large box to the left, choose the category for the AutoText entry, for example My AutoText.
  6. Click the AutoText button on the right of the dialog box and select New (text only) from the menu (to have the AutoText take on the formatting where it is inserted into a document) or select New (to have the AutoText retain specific formatting no matter where it is inserted).
  7. Click Close to return to your document.

[[File:]][[File:|thumb|Figure 33: Defining a new AutoText entry]]

Tip

If the only option under the AutoText button is Import, either you have not entered a name for your AutoText or there is no text selected in the document.

To save a table (such as the formatted Tip above) as AutoText:

  1. Create a table and format it the way you want.
  2. Select the table.
  3. Go to Edit ? AutoText (or press Control+F3).
  4. Type a name for the AutoText, optionally amend the suggested shortcut, and choose the category for the AutoText entry.
  5. Click the AutoText button and select New (because you want the formatting of the table preserved).
  6. Click Close to return to your document.

AutoText einfügen

k-j Andreas Gärtner (Name) (Name)

Um AutoText einzufügen, geben Sie die Abkürzung ein und drücken anschließend F3.

To insert AutoText, type the shortcut and press F3.

Eine Liste aller AutoText-Befehle ausdrucken

k-j Andreas Gärtner (Name) (Name)
  1. Wählen Sie Extras -> Makros -> Makros verwalten -> LibreOffice Basic
  2. In der Makroliste erweitern Sie LibreOffice Makros und wählen Gimmicks
  3. Wählen Sie dort AutoText und klicken auf Ausführen. Jetzt wird eine Liste aller AutoText-Einträge generiert und in einem neuen Writer-Dokument geöffnet. Dieses können Sie, wie jedes anderes Dokument, ausdrucken.
  1. Choose Tools ? Macros ? Organize Macros ? LibreOffice Basic.
  2. In the Macro from list, expand LibreOffice Macros ? Gimmicks.
  3. Select AutoText and then click Run. A list of the current AutoText entries is generated in a separate text document. You can then print this document.

[[File:]]

Line numbering

k-j (Name) (Name) (Name)

Line numbering puts line numbers in the margin. The line numbers are displayed on screen and are printed. Figure 34 shows an example with numbering on every line.

[[File:|thumb|Figure 34: Line numbering example]]

Click Tools ? Line Numbering and select the Show numbering option in the top left corner of the Line Numbering dialog box (Figure 35). Then click OK.

You can choose how many lines are numbered (for example, every line or every tenth line), the numbering type and whether numbers restart on each page. In addition, a text separator (any text you choose) can be set on a different numbering scheme (one every 12 lines, for example).

[[File:|thumb|Figure 35: The Line Numbering dialog box]]

Tracking changes to a document

k-j (Name) (Name) (Name)

You can use several methods to keep track of changes made to a document.

  • Make your changes to a copy of the document (stored in a different folder, under a different name, or both), then use Writer to combine the two files and show the changes you made. Click Edit ? Compare Document. This technique is particularly useful if you are the only person working on the document, as it avoids the increase in file size and complexity caused by the other methods.
  • Save versions that are stored as part of the original file. However, this method can cause problems with documents of nontrivial size or complexity, especially if you save a lot of versions. Avoid this method if you can.
  • Use Writer’s change marks (often called “redlines” or “revision marks”) to show where you have added or deleted material or changed formatting. Later, you or another person can review and accept or reject each change.

Tip

Not all changes are recorded. For example, changing a tab stop from align left to align right and changes in formulas (equations) or linked graphics are not recorded.

Preparing a document for review

k-j (Name) (Name) (Name)

When you send a document to someone else to review or edit, you may want to prepare it first so that the editor or reviewer does not have to remember to turn on the revision marks. After you have protected the document, any user must enter the correct password in order to turn off the function or accept or reject changes.

  1. Open the document. To check whether it contains multiple versions, click File ? Versions. If multiple versions are listed, save the current version as a separate document with a different name and use this new document as the review copy.
  2. With the review copy open, make sure that change recording is turned on. The Edit ? Changes ? Record menu item has a check mark next to it when recording is turned on.
  3. Click Edit ? Changes ? Protect Records. On the Enter Password dialog box, type a password (twice) and click OK.

Tip

A slightly faster alternative to steps 2 and 3 above is to choose File ? Properties ? Security tab, click Protect, and enter the password.

Recording changes

k-j (Name) (Name) (Name)

See Chapter 2, Setting up Writer, for instructions on setting up how your changes will be displayed.

  1. To begin tracking (recording) changes, choose Edit ? Changes ? Record. To show or hide the display of changes, click Edit ? Changes ? Show.

Tip

Hold the mouse pointer over a marked change; you will see a Help Tip showing the type of change, the author, date, and time of day for the change. If Extended Tips are enabled, you will also see any comments recorded for this change.

  1. To enter a comment on a marked change, place the cursor in the area of the change and then click Edit ? Changes ? Comment. In addition to being displayed as an extended tip, the comment is also displayed in the list in the Accept or Reject Changes dialog box (Figure 38).
    To move from one marked change to the next, use the arrow buttons. If no comment has been recorded for a change, the Text field is blank.

Tip

See also “Adding other comments” on page 35 for a way to annotate text that is not associated with a recorded change.

  1. To stop recording changes, click Edit ? Changes ? Record again.

[[File:|thumb|Figure 36: Inserting a comment during change recording]]

Accepting or rejecting changes

k-j (Name) (Name) (Name)

To accept or reject recorded changes, use either of these methods:

  • Right-click (context) menu
  • Accept or Reject Changes dialog box

The results of accepting or rejecting a change are as follows:

  • Accepting an insertion removes the change indicator (usually a color) from the inserted text.
  • Rejecting an insertion removes the text from the document.
  • Accepting a deletion removes the text from the document.
  • Rejecting a deletion removes the change indicator and restores the text to the document.

Right-click (context) menu

  1. If recorded changes are not showing, click Edit ? Changes ? Show.
  2. Hover the mouse pointer over a recorded change. A box appears with information about the type of change, who made it, and the date and time.
  3. Right-click on the changed text. In the pop-up (context) menu, choose Accept Change or Reject Change.

Accept or Reject Changes dialog box

  1. Click Edit ? Changes ? Accept or Reject. The Accept or Reject Changes dialog box[[File:|thumb|
    Figure 37: Line numbering example]] (Figure 38) opens.
  2. When you select a change in the dialog box, the actual change is highlighted in the document, so you can see what the editor changed.
  3. Click Accept or Reject to accept or reject the selected change. You can also click Accept All or Reject All if you do not want to review the changes individually.

Changes that have not yet been accepted or rejected are displayed in the list.

[[File:|thumb|Figure 38: The List tab of the Accept or Reject Changes dialog box]]

To show only the changes of certain people or only the changes on specific days or various other restrictions, use the Filter page (Figure 39) on the Accept or Reject Changes dialog box. After specifying the filter criteria, return to the List page to see those changes that meet your criteria.

[[File:|thumb|Figure 39: The Filter page of the Accept or Reject Changes dialog box]]

Merging modified documents

k-j (Name) (Name) (Name)

The processes discussed to this point are effective when you have one reviewer at a time. Sometimes, however, multiple reviewers all return edited versions of a document at the same time. In this case, it may be quicker to review all of these changes at once, rather than one review at a time. For this purpose, you can merge documents in Writer.

To merge documents, all of the edited documents need to have recorded changes in them.

  1. Open one copy.
  2. Click Edit ? Changes ? Merge Document and select and insert another copy of the document to be merged with the first.
  3. After the documents merge, the Accept or Reject Changes dialog box opens, as in Figure 38, showing changes by more than one reviewer. If you want to merge more documents, close the dialog box and then repeat step 2.
  4. Repeat until all copies are merged.

All recorded changes are now included in the open copy. Save this file under another name.

Comparing documents

k-j (Name) (Name) (Name)

Sometimes reviewers may forget to record the changes they make. This is not a problem with Writer because you can find the changes if you compare documents.

In order to compare documents, you need to have the original document and the one that is edited. To compare them:

  1. Open the edited document. Select Edit ? Compare Document.
  2. The Insert dialog box appears. Select the original document and click Insert.

Writer finds and marks the changes and displays the Accept or Reject Changes dialog box. From this point, you can go through and accept or reject changes procedure as described earlier.

Adding other comments

k-j (Name) (Name) (Name)

Writer provides another type of comments (formerly called “notes”), which authors and reviewers often use to exchange ideas, ask for suggestions, or brainstorm during the review process.

To insert a comment in the text, place the cursor in the place the comment refers to and select Insert ? comment or press Ctrl+Alt+N. The anchor point of the comment is connected by a dotted line to a box on the right-hand side of the page where you can type the text of the comment. Writer automatically adds at the bottom of the comment the author’s name and a time stamp indicating when the comment was created. Figure 40 shows an example of text with comments from two different authors.

[[File:|thumb|Figure 40: Comments in LibreOffice 3]]

Select Tools ? Options ? LibreOffice ? User Data to configure the name you want to appear in the Author field of the comment, or to change it.

If more than one person edits the document, each author is automatically allocated a different background color.

Right-clicking on a comment pops up a menu where you can delete the current comment, all the comments from the same author, or all the comments in the document. From this menu, you can also apply some basic formatting to the text of the comment. You can also change font type, size, and alignment from the menu bar.

To navigate from one comment to another, open the Navigator (F5), expand the Comments section, and click on the comment text to move the cursor to the anchor point of the comment in the document. Right-click on the comment to quickly edit or delete it.

You can also navigate the comments using the keyboard. Use Ctrl+Alt+Page Down to move to the next comment and Ctrl+Alt+Page Up to move to the previous comment.

Linking to another part of a document

k-j (Name) (Name) (Name)

If you type in references to other parts of the document, those references can easily get out of date if you reorganize the order of topics, add or remove material, or reword a heading, Writer provides two ways to ensure that your references are up to date, by inserting links to other parts of the same document or to a different document:

  • Hyperlinks
  • Cross-references

The two methods have the same result if you Control+click the link when the document is open in Writer: you are taken directly to the cross-referenced item. However, they also have major differences:

  • The text in a hyperlink does not automatically update if you change the text of the linked item (although you can change it manually), but changed text does automatically update in a cross-reference.
  • When using a hyperlink, you do not have a choice of the content of the link (for example text or page number), but when using a cross-reference, you have several choices, including bookmarks.
  • To hyperlink to an object such as a graphic, and have the hyperlink show useful text such as Figure 6, you need to either give such an object a useful name instead of leaving it as the default name (“Graphics6”), or you need to use the Hyperlink dialog box to modify the visible text. In contrast, cross-references to figures with captions automatically show useful text, and you have a choice of several variations of the name.
  • If you save a Writer document to HTML, hyperlinks remain active but cross-references do not. (Both remain active when the document is exported to PDF.)

Using cross-references

k-j (Name) (Name) (Name)

To ensure that references update if you reword a heading, caption, or other linked item, use automatic cross-references. See “Using automatic cross-references” in Chapter 14, Working with Fields, for details.

Using bookmarks

k-j (Name) (Name) (Name)

Bookmarks are listed in the Navigator and can be accessed directly from there with a single mouse click. In HTML documents, bookmarks are converted to anchors that you can jump to by hyperlink. For more about bookmarks, see “Using bookmarks” in Chapter 14, Working with Fields.

Using hyperlinks

k-j (Name) (Name) (Name)

When you type text (such as website addresses or URL) that can be used as a hyperlink, and then press the spacebar or the Enter key, Writer automatically creates the hyperlink and applies formatting to the text (usually a color and underlining).

If this does not happen, you can enable this feature using Tools ? AutoCorrect Options ? Options and selecting the URL Recognition option.

If you do not want Writer to convert a specific URL to a hyperlink, choose Edit ? Undo Insert from the menu bar or press Control+Z immediately after the formatting has been applied.

You can also insert hyperlinks using the Navigator and the Hyperlink dialog box, and you can modify all hyperlinks using the Hyperlink dialog box, as described in this section.

Note

Hyperlinks between documents can be set as relative or absolute, using the Save URLs relative to option in Tools ? Options ? Load/Save ? General.

Relative linking is only possible when the document you are working on and the link destination are on the same drive, and you need to create the same directory structure on your hard disk as will apply on the destination website.

LibreOffice uses absolute path names internally, so when you move your mouse cursor over a hyperlink, the tooltip displays the absolute reference even when it is set to be a relative link.

Inserting hyperlinks using the Navigator

k-j (Name) (Name) (Name)

The easiest way to insert a hyperlink to another part of the same document is by using the Navigator:

  1. Open the document containing the items you want to cross-reference.
  2. Open the Navigator (by clicking its icon, choosing View ? Navigator, or pressing F5).
  3. Click the arrow next to the Drag Mode icon, and select Insert as Hyperlink.

[[File:|thumb|Figure 41: Inserting a hyperlink using the Navigator]]

  1. In the list at the bottom of the Navigator, select the document containing the item that you want to cross-reference.
  2. In the Navigator list, select the item that you want to insert as a hyperlink.
  3. Drag the item to where you want to insert the hyperlink in the document. The name of the item is inserted in the document as an active hyperlink.

You can also use the Hyperlink dialog box to insert and modify hyperlinks within and between documents.

Inserting hyperlinks using a dialog box

k-j (Name) (Name) (Name)

To display the Hyperlink dialog box (Figure 42), click the Hyperlink icon [[File:]] on the Standard toolbar or choose Insert ? Hyperlink from the menu bar. To turn existing text into a link, highlight it before opening the dialog box.

On the left hand side, select one of the four types of hyperlink:

  • Internet: a web address, normally starting with

http://

  • Mail & News: for example an email address.
  • Document: the hyperlink points to another document or to another place in the presentation.
  • New document: the hyperlink creates a new document.

[[File:|thumb|Figure 42. Hyperlink dialog box showing details for Internet links]]

The top right part of the dialog box changes according to your choice for the hyperlink type. A full description of all the choices, and their interactions, is beyond the scope of this chapter. Here is a summary of the most common choices used in presentations.

For an Internet type hyperlink, choose the type of hyperlink (choose between Web, FTP or Telnet), and enter the required web address (URL).

For a Mail and News type hyperlink, specify whether it is a mail or news link, the receiver address and for email, also the subject.

For a Document type hyperlink, specify the document path (the Open File button opens a file browser); leave this blank if you want to link to a target in the same presentation. Optionally specify the target in the document (for example a specific slide). Click on the Target icon to open the Navigator where you can select the target, or if you know the name of the target, you can type it into the box.

For a New Document type hyperlink, specify whether to edit the newly created document immediately or just create it (Edit later) and the type of document to create (text, spreadsheet, etc.). For a presentation, Edit now is the more likely choice. The Select path button opens a directory picker.

The Further settings section in the bottom right part of the dialog box is common to all the hyperlink types, although some choices are more relevant to some types of links.

  • Set the value of Frame to determine how the hyperlink will open. This applies to documents that open in a Web browser.
  • Form specifies if the link is to be presented as text or as a button.
  • Text specifies the text that will be visible to the user.
  • Name is applicable to HTML documents. It specifies text that will be added as a NAME attribute in the HTML code behind the hyperlink.
  • Event button: this button will be activated to allow LibreOffice to react to events for which the user has written some code (macro). This function is not covered in this book.

Editing hyperlinks

k-j (Name) (Name) (Name)

To edit a hyperlink, click anywhere in the link text and then open the Hyperlink dialog box by clicking the Hyperlink icon on the Standard toolbar or choosing Edit ? Hyperlink from the menu bar. Make your changes and click Apply. If you need to edit several hyperlinks, you can leave the Hyperlink dialog box open until you have edited all of them. Be sure to click Apply after each one. When you are finished, click Close.

The standard (default) behavior for activating hyperlinks within LibreOffice is to use Ctrl+click. This behavior can be changed in Tools ? Options ? LibreOffice ? Security ? Options, by deselecting the option Ctrl-click required to follow hyperlinks. If clicking in your links activates them, check that page to see if the option has been deselected.

To change the color of hyperlinks, go to Tools ? Options ? LibreOffice ? Appearance, scroll to Unvisited links and/or Visited links, select those options, pick the new colors and click OK. Caution: this will change the color for all hyperlinks in all components of LibreOffice—this may not be what you want.

In Writer and Calc (but not Draw or Impress), you can also change the Internet link character style or define and apply new styles to selected links.

Zwischen Einfüge- und Überschreibmodus wechseln

k-j k-j Erhardt (Name)

Drücken Sie auf der Tastatur die Einfügen-Taste (Einfg) um zwischen Überschreib- und Einfügemodus zu wechseln. Im Einfügemodus wird jeder Text nach der Zeigerposition weiter geschoben, wenn Sie einen Text eingeben. Im Überschreibmodus wird der Text nach der Zeigerposition durch den von Ihnen eingetippten Text Zeichen für Zeichen ersetzt. Der aktuelle Modus ist in der Statuszeile angezeigt.

Mit der Maus klicken Sie in den Abschnitt der Statuszeile, die den aktuellen Modus anzeigt, um in den anderen Modus zu schalten.

Die Wörter einer Auswahl zählen

k-j k-j Erhardt Andreas Gärtner

Wählen Sie einen Textabschnitt aus und klicken Sie auf Extras → Wörter zählen. LibreOffice zeigt Ihnen sowohl die Anzahl an Wörtern und Zeichen in der Auswahl als auch die Wortanzahl im Dokument an. Sie können die Anzahl an Wörtern und Zeichen im ganzen Dokument (neben anderen Informationen) über Datei → Eigenschaften → Statistik ansehen. Um den aktuellen Stand zu erhalten, klicken Sie dazu auf "Aktualisieren".

Changing the case of selected text

k-j (Name) (Name) (Name)

To quickly change the case of text, select it, choose Format ? Change Case from the menu bar, and then choose one of the following:

  • Sentence case, where only the first word (and any proper nouns) is capitalized
  • lower case, where no words (except proper nouns) are capitalized
  • UPPER CASE, where all letters are capitalized
  • Capitalize Every Word, where every word is capitalized
  • tOGGLE cASE, which changes every letter to the opposite case

There are also several options that are used with Asian text. These are not “Case”, but are lumped together under a broader meaning of replacing characters with different forms of the same letter. These options are hidden with Asian language support is not enabled.

Writer does not have an automated way to do Title Case, where all words are capitalized except for certain subsets defined by rules that are not universally standardized. To achieve this affect, you can use Capitalize Every Word and then uncapitalize those words that were incorrectly capitalized.