summaryrefslogtreecommitdiff
path: root/source/text/swriter/guide/pagestyles.xhp
blob: f5e77e0df9dc7ad221fda27e30e733f351d2dc54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->

<meta>
  <topic id="textswriterguidepagestylesxml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Creating and Applying Page Styles</title>
    <filename>/text/swriter/guide/pagestyles.xhp</filename>
  </topic>
</meta>

<body>

<bookmark xml-lang="en-US" branch="index" id="bm_id7071138">
  <bookmark_value>page styles;creating and applying</bookmark_value>
  <bookmark_value>defining;page styles</bookmark_value>
  <bookmark_value>styles;for pages</bookmark_value>
  <bookmark_value>overriding next style;for pages</bookmark_value>
</bookmark>

<h1 id="hd_id3155182" xml-lang="en-US"><variable id="pagestyles"><link href="text/swriter/guide/pagestyles.xhp" name="Creating and Applying Page Styles">Creating and Applying Page Styles</link></variable></h1>
<paragraph id="par_id3149846" role="paragraph" xml-lang="en-US">$[officename] uses page styles to specify the layout of a page, including the page orientation, background, margins, headers, footers, and text columns. To change the layout of an individual page in a document, you must create and apply a custom page style to the page.</paragraph>

<h2 id="hd_id3156109" xml-lang="en-US">To Define a New Page Style</h2>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3153411" role="listitem" xml-lang="en-US">Choose <menuitem>View - Styles</menuitem>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3153133" role="listitem" xml-lang="en-US">Click the <emph>Page Styles</emph> icon.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3149641" role="listitem" xml-lang="en-US">In the list of page styles, right-click an item, and then choose <emph>New</emph>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3149614" role="listitem" xml-lang="en-US">On the <emph>Organizer</emph> tab, type a name in the <emph>Name</emph> box.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3145110" role="listitem" xml-lang="en-US">Do one of the following:</paragraph>
  </listitem>
</list>

<list type="unordered">
  <listitem>
    <paragraph id="par_id3156252" role="listitem" xml-lang="en-US">To apply the custom page style to a single page, select the default page style that is used in your document in the <emph>Next Style</emph> box.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3153376" role="listitem" xml-lang="en-US">To apply the custom page style to more than one page, select its name in the <emph>Next Style</emph> box. To stop using the style, insert a manual page break and assign it a different page style.</paragraph>
  </listitem></list>

<list type="ordered" startwith="6">
  <listitem>
    <paragraph id="par_id3154252" role="listitem" xml-lang="en-US">Use the tabs in the dialog to set the layout options for the page style, and then click <emph>OK</emph>.</paragraph>
  </listitem>
</list>

<h2 id="hd_id3154851" xml-lang="en-US">To Apply a Page Style</h2>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3154873" role="listitem" xml-lang="en-US">Click in the page that you want to apply the page style to.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id471615462517274" role="listitem">Do one of the following:</paragraph>
  </listitem>
</list>
  <list type="unordered">
  <listitem>
    <paragraph id="par_id3155888" role="listitem" xml-lang="en-US">Choose <menuitem>View - Styles</menuitem>, and then click the <menuitem>Page Style</menuitem> icon.</paragraph>
    <paragraph id="par_id3148685" role="listitem" xml-lang="en-US">Double-click a name in the list.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id891615460923756" role="listitem">Right-click the page style displayed in the <link href="text/shared/01/03060000" name="Status Bar">Status Bar</link>. Select another page style.</paragraph>
  </listitem>
  </list>

<h2 id="hd_id181615419889677">To Manually Override the “Next style” of a Page Style</h2>

<list type="ordered">
  <listitem>
    <paragraph id="par_id601615419994433" role="listitem">Place cursor between the page with the page style and the page with the style specified in <emph>Next style</emph>.</paragraph>
  </listitem>
  <listitem>
      <paragraph id="par_id301615420000676" role="listitem">Right-click and choose <menuitem>Edit Page Break</menuitem>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id271615420006519" role="listitem">Select the <emph>With page style</emph> checkbox.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id601615420013170" role="listitem">Enter the page style to be applied.</paragraph>
  </listitem>
</list>
<paragraph role="paragraph" id="par_id231615420303511">See <link href="text/swriter/guide/pageorientation.xhp#scope" name="Next Style">Manually Defined Range of a Page style</link>.</paragraph>

<note id="par_id891615463137607"> A special situation arises when a <emph>Next style</emph> is different than the page style itself, and you want to apply that page style to two consecutive pages. For example, if you have applied <emph>First Page</emph> style to a page, and want to apply First Page style again to the immediately following page, then you must manually override First Page style, because it is configured to be followed by <emph>Default Page Style</emph>.</note>

<h2 id="hd_id3148701" xml-lang="en-US">To Apply a Page Style to a New Page</h2>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3147122" role="listitem" xml-lang="en-US">Click in the document where you want a new page to start.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150210" role="listitem" xml-lang="en-US">Choose <menuitem>Insert - More Breaks - Manual Break</menuitem>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150235" role="listitem" xml-lang="en-US">Select <emph>Page break</emph>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150939" role="listitem" xml-lang="en-US">In the <menuitem>Page Style</menuitem> box, select the page style that you want to apply to the page that follows the manual break.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150965" role="listitem" xml-lang="en-US">Click <emph>OK</emph>.</paragraph>
  </listitem>
</list>
<section id="relatedtopics">
<embed href="text/swriter/guide/change_header.xhp#change_header"/>
<embed href="text/swriter/guide/pagenumbers.xhp#pagenumbers"/>
<embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
<embed href="text/swriter/guide/header_footer.xhp#header_footer"/>
<embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
<embed href="text/shared/guide/standard_template.xhp#standard_template"/>
<embed href="text/swriter/guide/pageorientation.xhp#pageorientation"/>
<embed href="text/swriter/guide/pagebackground.xhp#pagebackground"/>
</section>
</body>
</helpdocument>