Writer:使用表格的頁面布局
出自OOo 中文指南手册翻译
Writer表格有多個用途,比如像電子錶格那樣展示數據,對齊功能,以及更多複雜的頁面布局。更多使用數據表格的信息,參見第9章(使用表格) 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.
| 也可以在文本框里使用旁註框架樣式來創建側標題,參見 第7章(使用樣式) | |
| 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:
- 將光標移至欲插入表格處,選擇插入>表格 (Ctrl+F12)。 Place the cursor where you want the table to appear and choose Insert > Table (Ctrl+F12).
- 在插入表格對話框里(圖21),定義一行兩列的表格,且無邊框和標題。點擊確定創建表格。 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.
你可以關閉數字識別,這樣Writer就不會將本來是文本的數字進行數字化。關閉數字識別: 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.
| 如果你經常會用到該表格格式,可以把它保存為自動文本,如第3章(使用文本)所述。全選表格(不僅是內容)然後指定快捷方式。 | |
| 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. |

