12 April 2014: The OpenOffice Wiki is not, and never was, affected by the heartbleed bug. Users' passwords are safe and wiki users do not need take any actions.
Using tables for page layout
Writer's tables can serve several purposes, such as holding data as you might see it in a spreadsheet, lining up material, and creating more complex page layouts. For information about using tables of data, see Chapter 9 (Working with Tables).
This topic describes how to achieve some common layouts by using tables.
Example: Creating sideheads using tables
Sideheads and marginal notes are commonly used in documents from resumes to computer user guides. The main body of the text is offset to leave white space (usually on the left-hand side) in which the sideheads or notes are placed. The first paragraph is aligned beside the sidehead, as shown below.
|Example of a sidehead||In some cases you may want to put only one or two paragraphs in the table itself and the rest of the text and graphics in ordinary paragraphs (formatted to line up with the paragraphs in the table) so that text and graphics will flow more easily from one page to another when you add or delete material. In other cases, you might put each paragraph in a separate row of the table and allow the table to break between pages.|
(Above) Example of a sidehead.
|Sideheads can also be created by placing text in a frame using the Marginalia frame style, as described in Chapter 7 (Working with Styles).|
To create a table for use with a sidehead:
- Place the cursor where you want the table to appear and choose Insert > Table (Ctrl+F12).
- In the Insert Table dialog box (Figure 21), define a one-row, two-column table with no border and no heading. Click OK to create the table.
- Position the cursor over the central dividing line in the table. The cursor turns into a double-headed arrow. Left-click and drag to resize the columns. Alternatively, right-click and choose Table from the pop-up menu; on the Columns page, make the columns the required width.
- On the Table page of the Table Format dialog box, in the Spacing section, make the Above and Below values the same as the Top and Bottom spacing you have defined for ordinary paragraphs of text. Click OK to save your settings.
You may also want to turn off number recognition so that Writer will not try to format numbers if you want them to be plain text. To turn number recognition off:
- Right-click in the table and then click Number Format on the pop-up menu.
- On the Number Format dialog box, make sure the Category is set to Text. Click OK.
|If you use this table format often, you may want to save it as AutoText, as described in Chapter 3 (Working with Text). Select the table (not just the contents) to assign the shortcut.|
|Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).|