Difference between revisions of "Documentation/FAQ/Writer"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 455: Line 455:
 
#{{note|5}} Menu '''Tools-AutoCorrect/AutoFormat''', tabpage '''[Word completion]'''<br/>
 
#{{note|5}} Menu '''Tools-AutoCorrect/AutoFormat''', tabpage '''[Word completion]'''<br/>
 
#{{note|6}} Menu '''Tools-Options-Text document-Table-Input in table-Number recognition'''
 
#{{note|6}} Menu '''Tools-Options-Text document-Table-Input in table-Number recognition'''
 +
  
 
== Formatting text ==
 
== Formatting text ==
Line 484: Line 485:
 
*Set the cursor in the paragraph you want to to move
 
*Set the cursor in the paragraph you want to to move
 
*'''[Ctrl]+[Up]''' or '''[Down]'''
 
*'''[Ctrl]+[Up]''' or '''[Down]'''
 +
  
 
=== How to select multiple parts of the text? ===
 
=== How to select multiple parts of the text? ===
Line 500: Line 502:
  
  
=== How do I insert a Landscape page into my (portrait) document? ===
+
=== How do I insert a special character? ===
 +
The simplest method for inserting special characters is to select them from the special character dialog:
  
 +
*From the pull down menus, select '''Insert-Special Character'''
 +
*In the dialog that appears, all the available characters in the current font will be displayed
 +
*Select a character by clicking on it. If you do not see the desired character, it may not be available in the current font. Try changing fonts if it is not.
 +
*After selecting one or more characters, click on '''[OK]''' to insert the characters at the location of the text cursor.
 +
 +
On certain platforms, OpenOffice.org does not have certain characters available in any font, including emdash and curly double quote characters.
 +
 +
Characters used in mathematical formulas may be inserted using this method:
 +
 +
*From the pull down menus, select '''Insert-Object-Formula'''
 +
*In the "Command" window, hold down your right mouse button to access the context menu. The available formula operators can be found within this menu.
 +
*The "Command" window does not have a close button - so just click outside the formula box (anywhere else in the document) to perform the close.
 +
 +
Formulas are graphical objects and characters inserted using this method may not convert well to other applications. OpenOffice.org also supports entry of certain characters (accented characters, ligatures, monetary symbols, etc.) via compose (keyboard) sequences.
 +
 +
 +
=== How do I insert a trademark symbol? ===
 +
This symbol is only available in certain fonts. On Solaris platforms, the symbol is available in the 'Symbols', 'Serif' and San-Serif' font. To insert:
 +
 +
*Place your cursor in the location where you would like the symbol to appear
 +
*From the pull down menu, select '''Insert-Special Character'''
 +
*In the dialog that appears, choose 'Symbol' from the 'Font' list
 +
*The trademark symbol is available in a serif font (character 212) or in a san-serif font (character 228). Click on the symbol desired.
 +
*Click 'OK'
 +
 +
 +
=== I want to insert special characters with keyboard shortcuts. How do I do this? ===
 +
From OpenOffice.org Version 1.1 on you can use the built in macro recorder.
 +
To assign a character to a key, follow these steps:
 +
 +
* Select Tools > Macro > Record to start the recording process.
 +
* Now click Insert > Special Character and choose the character you want,
 +
then insert it and close the special character dialog.
 +
* Click on "Stop recording" in the small macro recorder dialog.
 +
* A dialog appears asking you to save the macro with a name.
 +
Be sure to save it under Standard, not in the tree for the document currently open.
 +
That way you'll be able to use the macro use it any time a OOo Writer window is open.
 +
 +
Now that you have recorded the macro, you'll need to assign it to a keystroke.
 +
 +
* Select > Tools > Macro > Macros ..., then > Assign.
 +
* Now follow > Keyboard > Functions and find your macro using the Category tree.
 +
Your macro will appear in the Function window when you've found the right module.
 +
* Select a keystroke in the Shortcut Keys list, and click Modify.
 +
The key you have selected will appear in the Keys window.
 +
 +
 +
=== Is there something like a Format Painter feature that copies the formats of one part of the text to other parts? ===
 +
There are two possibilities within OOo Writer.
 +
 +
For the first, follow these steps:
 +
 +
* Make the changes that you want, then, with the cursor still in the paragraph, open the Stylist and then you can either
 +
** Highlight a portion of the text, hold down the left mouse button and drag the text over the style name then release the mouse button, or
 +
** Left click on the very far right icon in the Stylist header. This icon is called Update Style.
 +
* Now, if the changes you have made haven't been transferred already to the other relevant parts of your text, click on the "Fill Format" icon in the Stylist, which is the third from the right. The button is a toggle - so click once to turn the feature on, and click again to turn it off.
 +
* Once it is on, select the style from the list to which you've just made the changes, then click into the text area that you want to change.
 +
 +
Another solution would be to actually add a button that acts like a format painter: It's an unofficial, but excellent addon written by the Francophone project. It adds two paintbrush icons to the tool bar, which copy and paint styles.  Get it from here:
 +
[http://www.openoffice.org/issues/show_bug.cgi?id=23756]
 +
 +
 +
== Formatting pages and documents ==
 +
 +
=== How do I insert a Landscape page into my (portrait) document? ===
 
In your open document in OpenOffice.org:  
 
In your open document in OpenOffice.org:  
  
Line 521: Line 589:
 
*In the dialog that appears, select '''Page Break''' and in the '''Style list''', select the previous page style, e.g. "Standard"
 
*In the dialog that appears, select '''Page Break''' and in the '''Style list''', select the previous page style, e.g. "Standard"
 
*Click on '''OK'''
 
*Click on '''OK'''
 +
  
 
=== How do I insert a page number of the form 'Page 1 of N'? ===
 
=== How do I insert a page number of the form 'Page 1 of N'? ===
Line 532: Line 601:
 
The page number should appear in the footer or header of every page.
 
The page number should appear in the footer or header of every page.
  
=== How do I insert a special character? ===
 
The simplest method for inserting special characters is to select them from the special character dialog:
 
 
*From the pull down menus, select '''Insert-Special Character'''
 
*In the dialog that appears, all the available characters in the current font will be displayed
 
*Select a character by clicking on it. If you do not see the desired character, it may not be available in the current font. Try changing fonts if it is not.
 
*After selecting one or more characters, click on '''[OK]''' to insert the characters at the location of the text cursor.
 
 
On certain platforms, OpenOffice.org does not have certain characters available in any font, including emdash and curly double quote characters.
 
 
Characters used in mathematical formulas may be inserted using this method:
 
 
*From the pull down menus, select '''Insert-Object-Formula'''
 
*In the "Command" window, hold down your right mouse button to access the context menu. The available formula operators can be found within this menu.
 
*The "Command" window does not have a close button - so just click outside the formula box (anywhere else in the document) to perform the close.
 
 
Formulas are graphical objects and characters inserted using this method may not convert well to other applications. OpenOffice.org also supports entry of certain characters (accented characters, ligatures, monetary symbols, etc.) via compose (keyboard) sequences.
 
 
=== How do I insert a trademark symbol? ===
 
This symbol is only available in certain fonts. On Solaris platforms, the symbol is available in the 'Symbols', 'Serif' and San-Serif' font. To insert:
 
 
*Place your cursor in the location where you would like the symbol to appear
 
*From the pull down menu, select '''Insert-Special Character'''
 
*In the dialog that appears, choose 'Symbol' from the 'Font' list
 
*The trademark symbol is available in a serif font (character 212) or in a san-serif font (character 228). Click on the symbol desired.
 
*Click 'OK'
 
  
 
=== How do I remove an envelope from a document? ===
 
=== How do I remove an envelope from a document? ===
Line 590: Line 633:
 
* Click Commands. From the menu that appears, choose Set as Default Template.
 
* Click Commands. From the menu that appears, choose Set as Default Template.
 
</UL>
 
</UL>
 
 
=== How to delete a table? ===
 
For this, you need to highlight the whole table, then rightclick into the
 
highlighted area and choose > Row > Delete.
 
 
 
=== I want to insert special characters with keyboard shortcuts. How do I do this? ===
 
From OpenOffice.org Version 1.1 on you can use the built in macro recorder.
 
To assign a character to a key, follow these steps:
 
 
* Select Tools > Macro > Record to start the recording process.
 
* Now click Insert > Special Character and choose the character you want,
 
then insert it and close the special character dialog.
 
* Click on "Stop recording" in the small macro recorder dialog.
 
* A dialog appears asking you to save the macro with a name.
 
Be sure to save it under Standard, not in the tree for the document currently open.
 
That way you'll be able to use the macro use it any time a OOo Writer window is open.
 
 
Now that you have recorded the macro, you'll need to assign it to a keystroke.
 
 
* Select > Tools > Macro > Macros ..., then > Assign.
 
* Now follow > Keyboard > Functions and find your macro using the Category tree.
 
Your macro will appear in the Function window when you've found the right module.
 
* Select a keystroke in the Shortcut Keys list, and click Modify.
 
The key you have selected will appear in the Keys window.
 
  
  
Line 625: Line 642:
 
* In your Writer file, select the graphic you want to rotate and copy it.
 
* In your Writer file, select the graphic you want to rotate and copy it.
 
* Open a Draw window and paste your graphic into the draw file.
 
* Open a Draw window and paste your graphic into the draw file.
*Rightclick onto the graphic, select "Position and Size"
+
* Righ-tclick onto the graphic, select "Position and Size"
*Select "Rotation" and rotate according to your needs.
+
* Select "Rotation" and rotate according to your needs.
*Select your graphic after it has been rotated and copy it.
+
* Select your graphic after it has been rotated and copy it.
*Go back to Writer and paste the rotated graphic into your file.
+
* Go back to Writer and paste the rotated graphic into your file.
 +
 
  
 
=== How can change the page number of the first page of my document to something other than "1"? ===
 
=== How can change the page number of the first page of my document to something other than "1"? ===
  
 
* Click into the first paragraph of your first page.
 
* Click into the first paragraph of your first page.
*Then select > Format > Paragraph > Text Flow.
+
* Then select > Format > Paragraph > Text Flow.
*Under "Breaks", check "Enable".
+
* Under "Breaks", check "Enable".
*Make sure it says "Page" as Type, and "Before" as Position.
+
* Make sure it says "Page" as Type, and "Before" as Position.
*Check "With Page Style" und choose "Default" as Page Style or any other according to your needs.
+
* Check "With Page Style" und choose "Default" as Page Style or any other according to your needs.
*Now choose the page number you need. Note that the "0" in the Page Number dropdown list doesn't denote a page number but simply means that the present page number won't be changed.
+
* Now choose the page number you need. Note that the "0" in the Page Number dropdown list doesn't denote a page number but simply means that the present page number won't be changed.
 +
 
  
 
=== The space between the letters in a word seems just a bit too wide. It would look better if that space is being reduced. How can I achieve this? ===
 
=== The space between the letters in a word seems just a bit too wide. It would look better if that space is being reduced. How can I achieve this? ===
 
What you need to enable is "Kerning".
 
What you need to enable is "Kerning".
 
Kerning is part of the typesetting process, where the space between
 
Kerning is part of the typesetting process, where the space between
letters is adjusted to the appearance of the letter and its
+
letters is adjusted to the appearance of the letter and its neighbour. For example, when a <tt>V</tt> is followed by an <tt>A</tt>, the shape of the letters would result in a little too much space between them, and this just doesn't look nice. The <tt>A</tt> should be moved a little towards the <tt>V</tt>.
neighbour. For example, when a <tt>V</tt> is followed by an
+
<tt>A</tt>, the shape of the letters would result in a little too much
+
space between them, and this just doesn't look nice. The <tt>A</tt>
+
should be moved a little towards the <tt>V</tt>.
+
  
 
This text is not kerned:
 
This text is not kerned:
Line 672: Line 687:
 
Fonts that do not need such precise corrections,
 
Fonts that do not need such precise corrections,
 
like fixed width fonts, will not be subject to kerning.
 
like fixed width fonts, will not be subject to kerning.
 
 
=== Is there something like a Format Painter feature that copies the formats of one part of the text to other parts? ===
 
There are two possibilities within OOo Writer.
 
 
For the first, follow these steps:
 
 
* Make the changes that you want, then, with the cursor still in the paragraph, open the Stylist and then you can either
 
** Highlight a portion of the text, hold down the left mouse button and drag the text over the style name then release the mouse button, or
 
** Left click on the very far right icon in the Stylist header. This icon is called Update Style.
 
* Now, if the changes you have made haven't been transferred already to the other relevant parts of your text, click on the "Fill Format" icon in the Stylist, which is the third from the right. The button is a toggle - so click once to turn the feature on, and click again to turn it off.
 
* Once it is on, select the style from the list to which you've just made the changes, then click into the text area that you want to change.
 
 
Another solution would be to actually add a button that acts like a format painter: It's an unofficial, but excellent addon written by the Francophone project. It adds two paintbrush icons to the tool bar, which copy and paint styles.  Get it from here:
 
[http://www.openoffice.org/issues/show_bug.cgi?id=23756]
 
  
  
Line 752: Line 752:
 
* Open the document you want to fix in OpenOffice.org
 
* Open the document you want to fix in OpenOffice.org
 
* Use Tools > Macros > Organize Dialogs > Modules and select the document from the list and Standard module or use Tools > Macros > Organize Macros >OpenOffice.org BASIC and select the document from the list and Standard module.
 
* Use Tools > Macros > Organize Dialogs > Modules and select the document from the list and Standard module or use Tools > Macros > Organize Macros >OpenOffice.org BASIC and select the document from the list and Standard module.
* Click New<
+
* Click New
 
* Name the macro. For example, you could call it FixDocument.
 
* Name the macro. For example, you could call it FixDocument.
 
* Click the Edit button and enter the following in the IDE.<br>
 
* Click the Edit button and enter the following in the IDE.<br>
Line 810: Line 810:
  
 
* Open a new word processing document.  
 
* Open a new word processing document.  
* Enter some or all of the data that you want on your cover (1st) page (or simply hit the return key a few times)  
+
* Enter some or all of the data that you want on your cover (1st) page (or simply hit the return key a few times)  
 
* Select: Format->Stylist  
 
* Select: Format->Stylist  
 
* Click on the Page style icon (fourth one from the left)  
 
* Click on the Page style icon (fourth one from the left)  
Line 851: Line 851:
 
     1.3 Third Item
 
     1.3 Third Item
  
There are two tools in OpenOffice.org that give you
+
There are two tools in OpenOffice.org that give you the ability to create numbered lists. One is the Format '''Stylist''', accessed by selecting Stylist from the pulldown menu.  
the ability to create numbered lists. One is the Format '''Stylist''',
+
It will open in a separate window and will default to opening the
accessed by selecting Stylist from the pulldown menu. It
+
will open in a separate window and will default to opening the
+
 
"Paragraph Styles" view. If you click on the fifth icon
 
"Paragraph Styles" view. If you click on the fifth icon
 
from the left, "Numbering Styles", you will see a list of
 
from the left, "Numbering Styles", you will see a list of
Line 890: Line 888:
 
* Insert unnumbered styles between numbered styles  
 
* Insert unnumbered styles between numbered styles  
 
* Output to HTML format with noncontiguous numbered and unnumbered styles
 
* Output to HTML format with noncontiguous numbered and unnumbered styles
 
 
=== How do I join two adjacent tables? ===
 
The tables must be right next to each other for the
 
"Join Tables" menu choice to appear. Even if there is only
 
one text style between the tables with no content, the choice will
 
not show up. When the tables appear to be almost touching, place your
 
cursor into one of the tables. Right click to get the context menu.
 
Select "Join Tables".
 
  
  
 
=== How do I create a hanging indent in my document? ===
 
=== How do I create a hanging indent in my document? ===
You have two basic options, depending on how you want
+
You have two basic options, depending on how you want your hanging indent to look.  
your hanging indent to look.  
+
  
 
* Using a pre-defined style:  
 
* Using a pre-defined style:  
Line 974: Line 962:
 
tested, these 'ghost' pages were removed by the following procedure:  
 
tested, these 'ghost' pages were removed by the following procedure:  
  
* From the pulldown menus, select
+
* From the pulldown menus, select View -> Online Layout  
View -> Online Layout  
+
* Scroll through your document. The 'ghost' pages should not appear.  
* Scroll through your document. The
+
* Select View -> Online Layout again (this deselects the choice). The 'ghost' pages should not return.  
'ghost' pages should not appear.  
+
* Select View -> Online Layout again (this deselects the
+
choice). The 'ghost' pages should not return.  
+
+
 
+
=== How do I make a table heading row repeat on each page of my word processing document that the table appears on? ===
+
A repeating header row is the default in
+
OpenOffice.org when creating a new table. If you have an existing
+
table, or if you are using a different text document template, follow
+
the following instructions:
+
 
+
* Place your cursor somewhere in the table
+
* Hold your right mouse button down to get the context menu, then select: Table
+
* In the dialog that appears, click on the "Text Flow" tab
+
* In the "Text Flow" box, click on the check box next to "Repeat heading" (so that a check appears)
+
* Click on OK
+
  
  
Line 1,012: Line 984:
 
Follow these steps:  
 
Follow these steps:  
  
* Select Edit -> Find &amp;
+
* Select Edit -> Find &amp; Replace  
Replace  
+
* Near the bottom left of the dialog that appears, click on the box next to "Regular Expressions"
* Near the bottom left of the dialog
+
* In the "Search For" field, type: ^$ This regular expression says to search for a paragraph marker '$' at the beginning of a paragraph - programmer terms for an empty paragraph.  
that appears, click on the box next to "Regular Expressions"
+
* Click on the "Find" button  
* In the "Search For"
+
* To replace the hard return with a space character, type a space in the "Replace With" field, then click the "Replace" button  
field, type: ^$ This regular expression says to search for a
+
* To replace the hard return with nothing (remove the character), click the "Replace" button (without entering anything in the "Replace With" field)  
paragraph marker '$' at the beginning of a paragraph - programmer
+
* If you have many hard returns to replace, you can also use the "Replace All" button. It is wise to save your document prior to using this option, in case it behaves unexpectedly.  
terms for an empty paragraph.  
+
* Click on the "Find"
+
button  
+
* To replace the hard return with a
+
space character, type a space in the "Replace With" field,
+
then click the "Replace" button  
+
* To replace the hard return with
+
nothing (remove the character), click the "Replace" button
+
(without entering anything in the "Replace With" field)  
+
* If you have many hard returns to replace, you can also use
+
the "Replace All" button. It is wise to save your document
+
prior to using this option, in case it behaves unexpectedly.  
+
  
Note: Regular expressions do not appear to work in the 'Replace'
+
Note: Regular expressions do not appear to work in the 'Replace' field.
field.
+
  
  
Line 1,039: Line 998:
 
Follow these steps to protect a section of text:  
 
Follow these steps to protect a section of text:  
  
* Write or otherwise insert the
+
* Write or otherwise insert the desired text  
desired text  
+
 
* Select the text to be protected  
 
* Select the text to be protected  
* From the pull down menus, select:
+
* From the pull down menus, select: Insert -> Section  
Insert -> Section  
+
* Click on the box next to "Protected"  
* Click on the box next to
+
* Give the section a name (or take the default name assigned)  
"Protected"  
+
* Click on Insert
* Give the section a name (or take
+
* You may also want to create a password on the section. This will keep anyone without the password from removing the protection set on the section.  
the default name assigned)  
+
* Click on the "insert"
+
box
+
* You may also want to create a password on the section. This
+
will keep anyone without the password from removing the protection
+
set on the section.  
+
  
 
To insert a password on a protected section:  
 
To insert a password on a protected section:  
  
* From the pull down menus, select:
+
* From the pull down menus, select: Format -> Sections  
Format -> Sections  
+
* Select the name of the desired section (if, applicable)  
* Select the name of the desired
+
* Click on the box next to "Password protected"  
section (if, applicable)  
+
* In the dialog that appears, enter a password and confirm the password  
* Click on the box next to "Password
+
* Click on OK (in the password dialog)  
protected"  
+
* In the dialog that appears, enter
+
a password and confirm the password  
+
* Click on OK (in the password
+
dialog)  
+
 
* Click on OK (in the format section dialog)  
 
* Click on OK (in the format section dialog)  
  
Follow these steps to modify a section that you have previously
+
Follow these steps to modify a section that you have previously protected:  
protected:  
+
  
* From the pull down menus, select:
+
* From the pull down menus, select: Format -> Sections  
Format -> Sections  
+
* Enter your password in the dialog that appears (only appears if password protected); Click OK  
* Enter your password in the dialog
+
* Select the name of the desired section (if, applicable)  
that appears (only appears if password protected); Click OK  
+
* Click on the "Remove" button  
* Select the name of the desired
+
section (if, applicable)  
+
* Click on the "Remove"
+
button  
+
 
* Click on OK  
 
* Click on OK  
 
* Make the desired changes  
 
* Make the desired changes  
* Follow steps in the "protect a section of text"
+
* Follow steps in the "protect a section of text" instructions, above, to re-apply the section protection  
instructions, above, to re-apply the section protection  
+
  
Note that, once you put a password on a section, you will be
+
Note that, once you put a password on a section, you will be prompted for that password before receiving '''any''' dialog that might have a chance to access that section of text.
prompted for that password before receiving '''any''' dialog that
+
might have a chance to access that section of text.
+
 
+
 
+
=== In my document, how do I repeat more than one table row when the table breaks across pages? ===
+
This function is not very intuitive, but it is possible:
+
 
+
* Select the first (heading) table ROW
+
* From the pull down menus, select: Format -> Cell -> Split
+
* Set the "Split Amount" for the number of total heading rows needed. Make sure the "Direction" is set to "horizontally".
+
* Click on OK
+
* Add text as needed to the added heading rows. This may mean having to copy/paste data from rows you had previously created.
+
 
+
If this method is used, the THEAD and TBODY tags are used when exporting to HTML format.
+
  
  
Line 1,117: Line 1,044:
 
* From the pulldown menus, select: Insert -> Indexes -> Indexes...  
 
* From the pulldown menus, select: Insert -> Indexes -> Indexes...  
 
* In the dialog that appears, make sure you are on the "Index" tab, then select the index "Type:" to be "Table of Contents"  
 
* In the dialog that appears, make sure you are on the "Index" tab, then select the index "Type:" to be "Table of Contents"  
* You may want to adjust other settings in this dialog to create the type of TOC desired. For
+
* You may want to adjust other settings in this dialog to create the type of TOC desired. For example, if you want a table of captions, you would click on the box next to "Additional Styles" and select your caption style.
example, if you want a table of captions, you would click on the box next to "Additional Styles" and select your caption style.
+
 
* Click on "OK"
 
* Click on "OK"
  
  
 
=== How do I update my table of contents (TOC)? I've added more data and it does not reflect my new headings. ===
 
=== How do I update my table of contents (TOC)? I've added more data and it does not reflect my new headings. ===
Click inside the TOC (so that your text cursor is
+
Click inside the TOC (so that your text cursor is blinking somewhere inside it), then hold down your right mouse button to get the context menu. Select "Update Index".
blinking somewhere inside it), then hold down your right mouse button
+
to get the context menu. Select "Update Index".
+
  
  
Line 1,133: Line 1,057:
 
* Insert a footer into your document
 
* Insert a footer into your document
 
(if you don't already have one) by selecting: Insert->Footer ->Standard  
 
(if you don't already have one) by selecting: Insert->Footer ->Standard  
* With the cursor in the footer
+
* With the cursor in the footer area, select: Insert -> Fields -> Other  
area, select: Insert -> Fields -> Other  
+
 
* In the dialog that appears, be sure that the 'DocInformation' tab is selected (click to select)  
 
* In the dialog that appears, be sure that the 'DocInformation' tab is selected (click to select)  
 
* If you want the date to update each time the document is modified, select 'Modified' in the 'Type' list. Other choices are 'Last Printed', 'Created', etc.  
 
* If you want the date to update each time the document is modified, select 'Modified' in the 'Type' list. Other choices are 'Last Printed', 'Created', etc.  
Line 1,154: Line 1,077:
 
* Edit->Changes->Merge Document
 
* Edit->Changes->Merge Document
 
* Edit->Compare Document In addition, the 'Compare' button in the 'Versions' dialog (accessed using File -> Versions) becomes gray (unusable) when the document contains an index.
 
* Edit->Compare Document In addition, the 'Compare' button in the 'Versions' dialog (accessed using File -> Versions) becomes gray (unusable) when the document contains an index.
 +
 +
 +
 +
== Working with tables ==
 +
 +
=== How to delete a table? ===
 +
For this, you need to highlight the whole table, then rightclick into the
 +
highlighted area and choose > Row > Delete.
 +
 +
 +
=== How do I join two adjacent tables? ===
 +
The tables must be right next to each other for the "Join Tables" menu choice to appear. Even if there is only one text style between the tables with no content, the choice will not show up. When the tables appear to be almost touching, place your cursor into one of the tables. Right click to get the context menu. Select "Join Tables".
 +
 +
 +
=== How do I make a table heading row repeat on each page of my word processing document that the table appears on? ===
 +
A repeating header row is the default in OpenOffice.org when creating a new table.
 +
If you have an existing table, or if you are using a different text document template, follow the following instructions:
 +
 +
* Place your cursor somewhere in the table
 +
* Hold your right mouse button down to get the context menu, then select: Table
 +
* In the dialog that appears, click on the "Text Flow" tab
 +
* In the "Text Flow" box, click on the check box next to "Repeat heading" (so that a check appears)
 +
* Click on OK
 +
 +
 +
=== In my document, how do I repeat more than one table row when the table breaks across pages? ===
 +
This function is not very intuitive, but it is possible:
 +
 +
* Select the first (heading) table ROW
 +
* From the pull down menus, select: Format -> Cell -> Split
 +
* Set the "Split Amount" for the number of total heading rows needed. Make sure the "Direction" is set to "horizontally".
 +
* Click on OK
 +
* Add text as needed to the added heading rows. This may mean having to copy/paste data from rows you had previously created.
 +
 +
If this method is used, the THEAD and TBODY tags are used when exporting to HTML format.

Revision as of 23:07, 15 April 2007


This is a user FAQ for OpenOffice.org Writer.

Contents

Automatic functions

If I click in the middle of a table cell or in an empty paragraph, OpenOffice.org inserts tabs in front of the cursor position. How do I stop this?

This is caused by a setting in the OpenOffice.org interface called 'Direct Cursor'. To change this behavior:

  1. From the main menu bar, select Tools -> Options.
  2. In the dialog that appears, select OpenOffice.org Writer - Formatting Aids.
  3. Change the 'Insert' value to 'Left Paragraph Margin' (it was set to 'Tabs').
  4. Click on OK.


A series of '#' characters on a line by themselves has generated a bold black double line. How can I remove this line?

A series of # symbols is a keyboard shortcut to creating a solid line below a paragraph in a text document. To remove this line, click anywhere in the paragraph just above the thick line and choose Format -> Paragraph. The line set will appear on the Borders tab. To remove the line, keep the cursor in the paragraph above the line and choose Format -> Default.

Learn more about automatisms.


OpenOffice.org is changing my decimals into fractions. How do I reverse this setting?

To reverse this setting:

  • select Tools-AutoCorrect/AutoFormat-[Replace].
  • near the top of the list, find the replacement choice for '.5'
  • select this replacement description and click on the 'Delete' button to the right of the dialog
  • click 'OK' at the bottom of the dialog to apply the change.

Learn more about automatisms .


URLs (Uniform Reference Locators) appear underlined and in a different color from the rest of my text. How do I reverse this setting?

To reverse this setting:

  • Select Tools-AutoCorrect/AutoFormat-[Options]
  • Scroll down in the list that appears to the choice called 'URL recognition'.
  • Click the box to the left of this choice to turn the behavior off.
  • Click 'OK' at the bottom of the dialog to apply the change.

URL recognition also recognizes anything with the '@' symbol as an email address. Turning this option off will cause email addresses to remain unrecognized.

To selectively determine which addresses should be treated as links, leave URL recognition on, but turn off recognition by one of the following two methods:

  • Drag select the entire address
  • Hold down the context (right mouse) button
  • Select 'Default'

An address which has converted to a link may be converted back to normal text by entering Ctrl-Z before the text cursor is moved.

Learn more about automatisms.


When lower case text is typed, OpenOffice.org changes the first letter to uppercase. How do reverse this setting?

This setting is designed to correct sentences mistakenly typed starting with a lower case letter.

To reverse this setting:

  • Select Tools-AutoCorrect/AutoFormat-[Options].
  • Near the top of the list, uncheck the box next to "Capitalize the first letter of every sentence"
  • Click 'OK' at the bottom of the dialog to apply the change.

Learn more about automatisms.


When using asterisks [ asterisk = * ], OpenOffice.org removes the asterisks [ * ] and presents the text in bold. How do reverse this setting?

Typing an asterisk [ * ] before and after a word or words allows for words to be made bold without using the mouse. Similarly, typing an undersc ore [underscore = _] before and after a word or words allows for words to be underlined.

To reverse this setting:

  • Select Tools-AutoCorrect/AutoFormat-[Options]
  • Near the top of the list click the checkbox next to "Automatic *bold* and _underline_" to deselect this choice.
  • Click 'OK' at the bottom of the dialog to apply the change.

Learn more about automatisms.


How do you turn off the Automatic word completion behavior?

Open a text document. From the pulldown menus, select: Tools->AutoCorrect/AutoFormat. Select the "Word Completion" tab. Deselect the check box to the left of "Complete Words". Click on OK.


I have some text that I want to appear with the first character of each word in uppercase and the rest of the word in lowercase (initial uppercase or 'title case'). How do I do this automatically?

Follow these steps:

  1. Select the desired text (for example, by drag selecting).
  2. From the main menu bar, select Format -> Character (or right-click on the selected text and choose Character).
  3. On the Character dialog, choose the 'Font Effects' tab.
  4. In the 'Effects' drop-down list, choose 'Title Case'.
  5. Click on OK.

This method also works for anything that can be drag-selected, such as a table row or column.

Note: You can also set up a paragraph or character style with this characteristic and apply the style. For example, if you want all Level 1 headings to be in title case, change the Heading 1 paragraph style and apply that paragraph style to all Level 1 headings.


These automatisms suck!!

OpenOffice is configured in standard to execute, while typing a text, automatical formatting tasks. Those automatisms can be amazing or boring - especially because they can occur when you don't expect them.

You have two solutions: turn them off or learn to know them and domesticate them.

  • Turn them ALL off/on: under Format-AutoFormat-While Typing.
  • Turn some of them off/on: under Tools-AutoCorrect/Autoformat.

To USE them you have to know them and first recognize them, so...

How to recognize them?

When I type

I get

caused by

Note:

module

DNA

And

the replacement table

(3)
(1)

All

XImport

Ximport

 

(3)

All

coordination

Coordination

Capitalize first letter of every sentence

(3)

All

It was excl. on this day

The lowercase won't be replaced by a capital though there is a dot and I check the option "Capitalize first letter of every sentence" in the AutoFormat.

the exceptions table

(2)

Writer only

*Hello* _world_

Hello world

Automatic bold and underline

(3)

All

www.openoffice.org
john@sun.com

www.openoffice.org
john@sun.com

The URL recognition

(3)

All

1st, 2nd, 4th

1st, 2nd, 4th

The AutoFormat of the cardinal numbers

(3)

All

1/2 1/4 3/4

½ ¼ ¾

The AutoFormat of

(3)

All

The man -- yes, him!
The man--yes, him!

The man – yes, him!
The man—yes, him!

Replace dashes

(3)

All

<2_spaces>

The second space doesn't appear

Ignore double spaces

(3)

All

1 bottle of milk <Return>

1. bottle of milk
2.

Apply numbering

(3)

Writer only

---<Return> ===<Return>

          ___<Return>

horizontal lines created

Apply border

(3)

Writer only

+---+---+

a table

Create table

(3)

Writer only

My title
<Return>
<Return>

My title

Use styles

(3)

Writer only

one

*one> *test

Replace bullets

(3)

Writer only

"

« or an other typographical quote

Custom quotes

(4)

Writer only

Int

Int|roduction|
(the word is completed)

Word completion

(5))

 

1.1
in a table

01/01/03
(a date)

Number recognition

(6))

Writer only

Documentation note.png 1
Menu Tools-AutoCorrect/AutoFormat, tabpage [Replace]
Documentation note.png 2
Menu Tools-AutoCorrect/AutoFormat, tabpage [Exceptions]
Documentation note.png 3
Menu Tools-AutoCorrect/AutoFormat, tabpage [Options]
Documentation note.png 4
Menu Tools-AutoCorrect/AutoFormat, tabpage [Custom quotes]
Documentation note.png 5
Menu Tools-AutoCorrect/AutoFormat, tabpage [Word completion]
Documentation note.png 6
Menu Tools-Options-Text document-Table-Input in table-Number recognition


Formatting text

How to easily come back to the default character format while typing when I just wanted to format one word?

Example: you write default, then underlined for a while and you want to come back to the normal styles.

In this example, you have pressed [Ctrl]+U after "then" to format your text italic.
To return to the normal attribute press [Right] immediatly after the first "to" as following:

You write default, then [Ctrl]+U underlined for a while and you want to [Right] come back to the normal styles.


How to format a piece of text (not a whole page) in columns?

You have to use a section:


How to correct the text of a hyperlink? (if I click on the text the target document loads)

Quick methode: [Alt]+click

Permanant state: in the staus bar, click the field "HYP" (HYPerlink) to toggle it to "SEL" (SELection)


How to move paragraphs with the keyboard?


How to select multiple parts of the text?

Copy, cut, format, delete parts of the text in differents areas of the document:

An other method exists - the "lazy" one (don't feel about holding [Ctrl] over 150 pages!):

-> the ADD mode has the same function than [Ctrl] + click
and EXT the same function than [Shift]+click.


How do I insert a special character?

The simplest method for inserting special characters is to select them from the special character dialog:

On certain platforms, OpenOffice.org does not have certain characters available in any font, including emdash and curly double quote characters.

Characters used in mathematical formulas may be inserted using this method:

Formulas are graphical objects and characters inserted using this method may not convert well to other applications. OpenOffice.org also supports entry of certain characters (accented characters, ligatures, monetary symbols, etc.) via compose (keyboard) sequences.


How do I insert a trademark symbol?

This symbol is only available in certain fonts. On Solaris platforms, the symbol is available in the 'Symbols', 'Serif' and San-Serif' font. To insert:


I want to insert special characters with keyboard shortcuts. How do I do this?

From OpenOffice.org Version 1.1 on you can use the built in macro recorder. To assign a character to a key, follow these steps:

then insert it and close the special character dialog.

Be sure to save it under Standard, not in the tree for the document currently open. That way you'll be able to use the macro use it any time a OOo Writer window is open.

Now that you have recorded the macro, you'll need to assign it to a keystroke.

Your macro will appear in the Function window when you've found the right module.

The key you have selected will appear in the Keys window.


Is there something like a Format Painter feature that copies the formats of one part of the text to other parts?

There are two possibilities within OOo Writer.

For the first, follow these steps:

Another solution would be to actually add a button that acts like a format painter: It's an unofficial, but excellent addon written by the Francophone project. It adds two paintbrush icons to the tool bar, which copy and paint styles. Get it from here: [1]


Formatting pages and documents

How do I insert a Landscape page into my (portrait) document?

In your open document in OpenOffice.org:

To end the Landscape area in your document:


How do I insert a page number of the form 'Page 1 of N'?

The page number should appear in the footer or header of every page.


How do I remove an envelope from a document?

Removing an envelope from a document can be tricky.  Work is being done to make this easier in the future.  In the meantime, here are the steps to manually remove the envelope:

  1. Place the cursor at the beginning of the envelope page.
  2. If the "Stylist" dialog box is not open, press F11 or use the Menu Option Format->Stylist to open it up.
  3. Change to the Page Styles options. It's the fourth icon from the left.
  4. Double Click on "Default"
  5. Remove the remaining elements.


How can I change the defaults for a new writer document?

You need to create a template that has the settings you want and then make that template the default. The way you do this is as follows:

Part 1: Create a template

Part 2: Make your new template the default


How can I rotate a graphic with a given angle?

Up to version 1.x, Writer doesn't contain a rotation facility for graphics. To be able to rotate graphics one needs to use Draw:


How can change the page number of the first page of my document to something other than "1"?


The space between the letters in a word seems just a bit too wide. It would look better if that space is being reduced. How can I achieve this?

What you need to enable is "Kerning". Kerning is part of the typesetting process, where the space between letters is adjusted to the appearance of the letter and its neighbour. For example, when a V is followed by an A, the shape of the letters would result in a little too much space between them, and this just doesn't look nice. The A should be moved a little towards the V.

This text is not kerned:
Lvat1.jpg
As you can see, the space between the letters is just too wide. This text is kerned:
Lvat2.jpg

So how do you enable kerning?

If you need kerning only for selected parts of your text, follow these steps:

If you need the whole text to be "kerned", follow here

Note that kerning is controlled by information in the font data (in particular the font metrics). Fonts that do not need such precise corrections, like fixed width fonts, will not be subject to kerning.


How can I place a time/date variable (or field) that updates automatically into a document?

You need to insert a time/date field that indicates the time when the doc last has been modified. Follow here:


How to print an envelope in OpenOffice.org?

You need to print an envelope. Follow these steps:

  1. Open OOo Writer
  2. Insert Envelope
  3. On the Envelope tab, enter your address info.
  4. On the Format tab, set Size > Format to DL. Adjust layout to suit.
  5. On the Printer tab, Select the layout that reflects how to feed.
  6. On the same tab, you next, click on Setup. This opens a new dialogue.
  7. On the Setup dialogue, select your printer and click Properties.
  8. On the Properties dialogue, select the envelope size in the dialogue.
  9. Same dialogue, select Orientation. This depends on how your envelope feeds (see step 5) In any case, landscape means that the text is rotated 90 degrees so that it is parallel to the envelope and vice versa for portrait.
  10. If you have a manual feed tray, select this under Device.
  11. Click OK
  12. Click OK
  13. Select New Doc if you only want the envelope or insert to add it to your existing doc. I tested with New Doc.
  14. In the new window, check that all is okay and click the print icon.

Now you have an envelope.

This may seem a bit complicated but it is historical. If you would like OOo print setup to set the printer too, please vote for http://www.openoffice.org/issues/show_bug.cgi?id=47121

Skipping steps 6 through 12 will cause you no end of problems.


How do I make page numbers alternate? (eg. even page numbers on the top-right, odd page numbers on the top-left).

  1. Open the Stylist (F11).
  2. Select Page Styles.
  3. Select Right Page (create it if it does not exist).
  4. Double-click on Right Page to set the current page to Right Page.
  5. Insert a page number on the top-right.
  6. Set Right Page to be followed by Left Page (you'll have to create Left Page first if it does not exist.
  7. Repeat the steps above to get a Left Page to display the page number on the top-left.


How to re-enable update of template style in OpenOffice.org 2.0.2?

Sub FixDocument
  TemplateName = ThisComponent.DocumentInfo.Template
  if TemplateName <> "" then
    ThisComponent.DocumentInfo.Template = TemplateName
  end if
End Sub

Next time when you open this document you will have the update from template feature back.

This is issue Issue 63320


What is the equivalent of MSO outline mode in OpenOffice.org?

Open the Navigator to have most of this functionality. The Navigator can be found in Writer's drop-down menus: Edit > Navigator.


How do I do revision marking (redlining) in OpenOffice.org?

To enable the Revision feature:

Start making your changes. You will note that all new text passages you enter are underlined in color, while all text that you delete remains visible but is crossed out and shown in color.


How do I make my first page a cover/title page and start page numbering (Page 1) on the second page of my document?

Here is the basic procedure for breaking a document into sections (for whatever purpose) as well as placing a page number in a footer of the second page:

Note: by picking a different style for the next page, you are in
effect breaking the document into two sections. The sections then
can have different characteristics (headers, footers, page
numbering, etc.). The page style that is assigned for each section
of the document can be seen by clicking into the desired page. Look
below the document window area, to the right of the "Page x/n"
block to see the page style name for the current page/section.


How do I make a header appear on only the first page of my document?

Follow these steps:


How do I make a logo appear on the top of every page of my document?

Follow these steps:

If the graphic does not appear on every page, there are two possible problems. The page style in use could have the wrong header settings. To check the settings:

If the graphic appears on one or more pages, then stops appearing, the cause is likely to be a different page style that is applied on the page where the logo ceases to appear. Look below the document, just to the right of where the page number information appears. The name that appears is the page style name. If the style name is different, the document has been broken into sections. To change this:


How do I create a simple outline-style numbered list? It should look like:

1. List Title
   1.1 First Item
   1.2 Second Item
   1.3 Third Item

There are two tools in OpenOffice.org that give you the ability to create numbered lists. One is the Format Stylist, accessed by selecting Stylist from the pulldown menu. It will open in a separate window and will default to opening the "Paragraph Styles" view. If you click on the fifth icon from the left, "Numbering Styles", you will see a list of pre-defined number styles. The other tool that you need is the numbering toolbar. At the extreme far right of the text toolbar (the bar that displays font name, font size, etc.), there is a small arrow that points to the left. Click on it. You will now see the numbering toolbar. You will not see this arrow if you are not already in a text area that has a numbering style assigned. It turns out that the numbering you want for the simple list above is already defined in the pre-defined numbering styles. If the style you need does not exist, you may also create your own styles. To create the list above:

If you need to make your own list numbering style, it is suggested to select one of the existing styles that is similar (in the Stylist), then right click to get a context menu. Select "New..." to make a new style based on the style that was selected. You will get a dialog with many tabs that allow you to configure your own numbering style. By the way, you can set up heading numbering the same way. Each heading level can be assigned a different paragraph style (e.g. Heading 1, Heading 2, Heading 3) but they all would be assigned the same NUMBERING style - so the list would number correctly. Note: OpenOffice.org will often make numbering difficult when you do the following actions:


How do I create a hanging indent in my document?

You have two basic options, depending on how you want your hanging indent to look.


How do I perform a word count of my document?

Open the file, then select: File -> Properties. Click on the "Statistics" tab. The word count (and other statistics) will appear in the dialog.


How do I insert 'dummy text' into my document?

Follow these steps:


How do I create labels in OpenOffice.org?

Select: File -> New -> Labels. In the dialog that appears, you will be able to enter the initial text for the label(s) and select the label type (Avery, etc.) desired. Click on "New Document" to open the document using the settings you selected.


How do I insert a Landscape page into my (portrait) document?

In your open document in OpenOffice.org:

To end the Landscape area in your document:


I have a blank page in my word processing document. All of my content seems to fit on the previous page. How do I get rid of this extra page?

Select View -> Nonprinting Characters from the pull down menus (so that the choice is checked). This will allow you to see the special control character that is pushing the page over to another sheet. Locate that character and delete it (after making a backup of your file). Be sure to turn these options off before printing. (If left 'on' you will be prompted for whether you want to print them or not). In rare cases, playing around with the Insert -> Manual Break feature using a change of page style can cause 'ghost' pages. These are pages that have no apparent content, no hidden characters, and cannot hold a text cursor. In the case tested, these 'ghost' pages were removed by the following procedure:


How do I perform a spellcheck in a multilingual text?

When OOo checks the spelling of a word (note: word, not paragraph or text) it chooses the spelling dictionary appropriate to the language this single word comes from. This is defined in > Format > Character > Font. This individual language setting normally is set to the default language but can be changed to any other supported language.

So, to perform a spellcheck on a multilingual text you need to select each word that isn't part of the default language and assign the appropriate language in > Format > Character > Font.

However, if you want to set the whole text to a new language, highlight the whole text and change the setting in > Format > Character > Font.


How do I remove a large number of hard returns from text that were pasted into my document (for example, from an email message)?

Follow these steps:

Note: Regular expressions do not appear to work in the 'Replace' field.


How do I protect (lock) a section of text so that the content cannot be changed?

Follow these steps to protect a section of text:

To insert a password on a protected section:

Follow these steps to modify a section that you have previously protected:

Note that, once you put a password on a section, you will be prompted for that password before receiving any dialog that might have a chance to access that section of text.


How do I insert a Table of Contents into my document?

Before inserting a Table of Contents, the Stylist must be used to identify headings.

To mark headings:

To Insert the Table of Contents:


How do I update my table of contents (TOC)? I've added more data and it does not reflect my new headings.

Click inside the TOC (so that your text cursor is blinking somewhere inside it), then hold down your right mouse button to get the context menu. Select "Update Index".


How do I insert a variable for the current date into the footer of my document?

Follow these steps:

(if you don't already have one) by selecting: Insert->Footer ->Standard

You should now see the current date. If you see the name of the date field, select: View -> Fields (to turn off the check mark next to this choice). If you see nothing, it may be because you have not yet saved your document for the first time.


Trying to use the version control features for my word processing document, but some of the menu choices I've seen before do not appear. What's wrong?

Some version management functions become unavailable when you create an index (such as Table of Contents) within your document. Menu choices that will no longer appear include:


Working with tables

How to delete a table?

For this, you need to highlight the whole table, then rightclick into the highlighted area and choose > Row > Delete.


How do I join two adjacent tables?

The tables must be right next to each other for the "Join Tables" menu choice to appear. Even if there is only one text style between the tables with no content, the choice will not show up. When the tables appear to be almost touching, place your cursor into one of the tables. Right click to get the context menu. Select "Join Tables".


How do I make a table heading row repeat on each page of my word processing document that the table appears on?

A repeating header row is the default in OpenOffice.org when creating a new table. If you have an existing table, or if you are using a different text document template, follow the following instructions:


In my document, how do I repeat more than one table row when the table breaks across pages?

This function is not very intuitive, but it is possible:

If this method is used, the THEAD and TBODY tags are used when exporting to HTML format.

Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/FAQ/Writer&oldid=30202"
Views
Personal tools
Navigation
Print/export
Tools