Writer:页面样式的应用
出自OOo 中文指南手册翻译
目录 |
段落样式定义了段落的各种设置和属性(如字体大小、颜色等),类似地,页面样式则定义了页面的属性,如页面大小、页边距、页眉和页脚等等。但与段落样式能直接手工修改不同的是,一个页面使用一个页面样式,且不能直接修改页面设置。(译者注: 任何利用页面的快捷菜单上的页面的修改实际上都是修改相应的页面样式。) age styles are to pages what paragraph styles are to paragraphs. Just as paragraph styles can define paragraph properties (font size, color, and others), page styles can define page properties (margins, page size, header and footers, among others). However, unlike paragraphs, which can have directly applied properties, pages only have a page style and no directly applied properties.
Christian是美国加州的一位律师。他的信件的第一页是信头,随后的页有收信人的信息、日期和页码。Christian的信件使用了页面样式。他还根据加州法庭的要求对页面的间隔(如页编剧等)在页面样式里做了定义。 Christian is a lawyer from California, USA. For his letters, the first page has his letterhead, and subsequent pages only identify the recipient, the date, and the page number. Christian does this using page styles. He also uses page styles to comply with the spacing requirements (such as margins) for legal briefs in California State courts.
本节将介绍怎样创建一个新的页面样式,并对页面样式对话框中的一些选项做出说明,并给出一些应用实例。 This section describes how to create a new page style, explains the meaning of some of the options in the Page style dialog box, and illustrates their usage.
[编辑] 创建一个新的页面样式
与其它样式不同的是,页面样式只能通过样式和格式窗口来创建或修改。打开样式和格式窗口,点击页面样式图标
,右击窗口的任意位置,选择新建。 Unlike other styles, page styles can be created or modified only by using the Styles and Formatting window. Open the Styles and Formatting window and click the Page Styles icon . Right-click anywhere in the main window and select New.
下图显示了页面样式对话框的八个选项页。 The Page Style dialog box consists of the eight pages shown below.
[编辑] 设置下一个样式
在管理选项页中已经统一介绍了设置下一个样式的作用,就是确定下一个元素使用的样式名称。在页面样式中,这个设置非常实用,下面的例子说明了它的作用。 As for the other styles, the Next style property described in the The Organizer page allows you to specify the style for the subsequent element of the category of style you are working on. This property is particularly important for a page style, as the following example demonstrates.
[编辑] 设置标题页
假设您的文档中有一个与正文页面不一样的标题页: Consider a common scenario: you want the document to have a title page that is different from the rest of the document:
- 没有页眉和页码; It should not have a header or page number.
- 左右页面距相同。 The left and right margins should be the same.
我们可以使用 OOo 预定义的首页页面样式用于标题页,文档的其它页面则使用默认样式。 For the title page, we can use the predefined First Page page style that comes with OOo, and for the rest of the document, we can use the Default page style.
下图显示了页面的连接方式。在管理选项页里,默认样式的下一个样式保持为默认,首页样式的下一个样式则设定为默认。 The figure below shows the required flow of page styles. On the Organizer page of the Default page style, leave the Next Style property set to Default. On the Organizer page of the First Page style, make sure that the Next Style property is set to Default.
[编辑] 页面样式的一般设置
页面样式对话框的页选项页用于页面的一般设置。它包含三部分内容及一个预览区域。 The Page page of the Page Style dialog box is where you can control the general settings of the page. The page shown below consists of three sections, plus a preview area in the top right corner.
在纸张格式部分可以从很多预定义大小中选定纸张大小。选择用户后可以在宽度和高度框中输入个人的纸张尺寸。您还可以设定纸张的方向。如果您的打印机有多个进纸盒,您可以从纸张来源的下拉列表中进行选择。 In the Paper format section, you can specify the size of the paper choosing from one of the many predefined formats. Selecting “user”, you can use the Width and Height fields to define your own paper size. If using a predefined format, select the orientation of the paper between portrait and landscape. If your printer has more than one tray, you can specify in the drop down menu the tray from which to print pages in the new page style.
边距部分用于设定页边距的大小。如果页面版式设置为左右页对称,则左边距变成向内边距,右边距变成向外边距。 Use the Margins section to specify the size of the margins in your preferred unit of measurement. If you select Mirrored margins in the Page layout settings, the left margin becomes the Inner margin, while the right margin becomes the Outer margin.
在设置版式部分您可以从四种页面版式中选择适合您的文档的一种。默认是左右页相同。如果您想装订成书,则应选择左右页对称的版式。在页码格式的下拉列表中选择页码的显示方式。 In the Layout settings field, you can specify the desired Page layout among the four available options. Decide whether the page style being defined applies to both left and right pages (default) or if instead it should be applied only to one or the other types. If you plan to bind the printed pages using this style like a book, select a mirrored layout. Use the Format drop-down menu to determine the page numbering style to apply to this page style.
使用不对称的版式也是非常常见。页边距有很多搭配,但是应遵守下面的两条规则:(1)外边距(右侧页面的右边距)比内边距(右侧页面的左边距)大;(2)下边距比上边距大。使用不对称版式的一个理由是让读者在阅读书籍或者文档时让手能握住更多的空白。About.com 在网站上列举了一些页面版式:[1]Perfect Proportions Using Page Margins in Desktop Publishing(用于桌面印刷的最好的页边距)。 Another common practice in page layouts involves having asymmetrical page margins—both for left and right margins and for top and bottom margins. There are various schemes for accomplishing this. The most common of them follow these two general rules for printed page layouts: (a) The outer margin (right margin on a right-hand page) would have a wider margin than an inner margin (left margin on a right-hand page); (b) The bottom margin would be larger than a top margin. The rationale for an asymmetrical page layout is allowing more space for readers to place their hands while holding the books or other printed documents. About.com describes some page layouts on their Web site:[2]Perfect Proportions Using Page Margins in Desktop Publishing.
如果正反页的行距相等被激活,Writer将在页面上建立纵向的网格线,网格线的距离根据参考样式的设置调整。在相邻的栏、相对的页面或纸张的相反页上的文字都对齐到网格线上。这样文档更漂亮,看起来更舒服。 If you decide to check the Register-true box, Writer will create a vertical grid on the page with a spacing between grid points that depends on the selected Reference Style. The vertical grid makes sure that text printed on adjacent columns, opposite pages, or even both sides of the same sheet of paper, is aligned—making it easier to read as well as being more pleasant to see.
[编辑] 背景与边框选项页
在背景选项页中可以使用单一颜色或者选用图片来设定页面的背景,边框选项页则用于为文档区域绘制不同线型的边框。请注意,这里的设置只影响文字区域,而不包括页边距的区域。如果您要查看把浅色文字的文档打印在彩色纸张上的效果,您应在工具>选项>OpenOffice.org的外观部分更改文档背景的颜色,而不是设置页面的背景颜色。 Use the Background page to apply a background or the Border page to draw a border around text area of the page. You can choose between a solid color or a graphic image for the background and several styles of line for the borders. Note that the page area affected by these changes does not include the area outside the margins. If you plan to print on colored paper and want to have a feel of the final result you will obtain or want to use a light color for the font, rather than changing the background,then go to Tools > Options > Openoffice.org and in the Appearance section, change the Document background color.
[编辑] 页眉选项页和页脚选项页
不同的页面样式可以设置不同的页眉和页脚,这样左页和右页就可以具有不同的页眉页脚,新一章的第一页可以不显示页眉。 You can associate a different header or footer to each page style. This property makes it very easy to have different headers on left and right pages, to avoid headers on pages at the start of a new chapter, and so on.
很容易设置页眉和页脚。本节只介绍页眉的设置,页脚的设置与之雷同。激活显示页眉选项,使其它选项处于可编辑状态。然后设置左、右边距和距离正文的间隔。您可以设定页眉的高度,或者选择自动调整高度让 Writer 决定页眉高度。点击其他按钮出现设置边框和背景的新对话框。 Setting up the header and footer pages is straightforward. The instructions here refer to the header, but the footer page has the same options. Activate the input boxes by selecting Header on, then specify the left margin, right margin, and spacing to the main text area. For the height of the header area, you can either select the AutoFit height box, which will make Writer adapt the size to the contents, or specify the height manually. Clicking More opens a new dialog box, where you can set the borders and background of the header area.
如果您不激活奇偶页相同的选项,那么您可以对左右页面分别设置页眉页脚,就算它们使用同一个样式。下面是一个例子。 If you deselect the Same content left/right box, you can specify a different header for left or right pages, even if you use a single style for both. Below is an example.
[编辑] 页面分栏
本页用于设置页面样式的分栏版式,分为设置、栏宽和间隔和分割线三个部分。其中设置部分列出了几种预定义的分栏方式的缩略图。您还可以在栏内输入需要设置的栏数。 Use this page to create the desired column layout for the page style. The page is subdivided into three sections: Settings, Width and Spacing and Separator Line. The Settings section contains thumbnails of predefined columns settings you can select, as well as a text box where you can enter the desired number of columns if you need to create a customized one.
当您的页面超过一栏时,栏宽和间隔部分的设置将被激活,如果您不满意等宽的预设置参数,您可以取消选定自动调整宽度,并手工输入参数来设置栏的宽度和间隔,还可以定制各栏之间的分割线及其宽度。 After you select more than one column, the Width and Spacing section becomes active. If you are not satisfied with the predefined settings (equally spaced columns), deselect the AutoWidth option and enter the parameters manually. When you work with multiple columns per page, you can also fine tune the position and size of a separator line between the columns.
[编辑] 脚注选项页
本页用于调整脚注的外观。保持默认设置最高不超过页高,脚注区域大小将根据脚注的数量自动计算。如果您更愿意手动设置脚注的大小,则选择最大的脚注高度选项,并输入高度值。本页的第二部分用于定制正文与脚注之间分割线。Use this page to adjust the appearance of the footnotes. Keeping the default setting Not larger than page area, the footnotes area is calculated automatically on the basis of the number of footnotes. If you prefer to control manually the maximum space that footnotes can take, select the Maximum footnote height option and enter the value in the preferred unit of measurement. Use the second section of the page to customize the separator between the footnotes and the main area.


