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
145
|
<?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="textswriterguidepageorientationxml" indexer="include" status="PUBLISH">
<title xml-lang="en-US" id="tit">Changing Page Orientation (Landscape or Portrait)</title>
<filename>/text/swriter/guide/pageorientation.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id9683828"><bookmark_value>page styles;orientation/scope</bookmark_value>
<bookmark_value>page formats; changing individual pages</bookmark_value>
<bookmark_value>formatting; changing individual pages</bookmark_value>
<bookmark_value>portrait and landscape</bookmark_value>
<bookmark_value>landscape and portrait</bookmark_value>
<bookmark_value>printing;portrait/landscape format</bookmark_value>
<bookmark_value>orientation of pages</bookmark_value>
<bookmark_value>paper orientation</bookmark_value>
<bookmark_value>pages;orientation</bookmark_value>
<bookmark_value>sideways orientation of pages</bookmark_value>
<bookmark_value>scope of page styles</bookmark_value>
</bookmark>
<h1 id="par_idN106FF"><variable id="pageorientation"><link href="text/swriter/guide/pageorientation.xhp">Changing Page Orientation</link>
</variable></h1>
<paragraph xml-lang="en-US" id="par_id6418042" role="paragraph">All page properties for Writer text documents, like for example the page orientation, are defined by page styles. By default, a new text document uses the “Default” page style for all pages. If you open an existing text document, different page styles may have been applied to the different pages. </paragraph>
<paragraph xml-lang="en-US" id="par_id8324533" role="paragraph">It is important to know that changes that you apply to a page property will only affect the pages that use the current page style. The current page style is listed in the Status Bar at the lower window border.</paragraph>
<h2 id="par_id7524033">To Change the Page Orientation for All Pages</h2>
<paragraph xml-lang="en-US" id="par_id6307260" role="paragraph">If your text document consists only of pages with the same page style, you can change the page properties directly:</paragraph>
<list type="ordered">
<listitem>
<paragraph xml-lang="en-US" id="par_id5256508" role="listitem">Choose <menuitem>Format - Page Style</menuitem>.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id9681997" role="listitem">Click the <emph>Page</emph> tab.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id7994323" role="listitem">Under <item type="menuitem">Paper format</item>, select “Portrait” or “Landscape”.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id7069002" role="listitem">Click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<h2 id="hd_id4202398">To Change the Page Orientation Only for Some Pages</h2>
<paragraph xml-lang="en-US" id="par_idN1071D" role="paragraph">$[officename] uses page styles to specify the orientation of the pages in a document. Page styles define more page properties, as for example header and footer or page margins. You can either change the “Default” page style for the current document, or you can define own page styles and apply those page styles to any parts of your text. </paragraph>
<paragraph xml-lang="en-US" id="par_id1449324" role="paragraph">At the end of this help page, we'll discuss the scope of page styles in detail. If you are unsure about the page style concept, please read the section at the end of this page.</paragraph>
<note id="par_id1480758">Unlike character styles or paragraph styles, the page styles don't know a hierarchy. You can create a new page style based on the properties of an existing page style, but when you later change the source style, the new page style does not automatically inherit the changes.</note>
<paragraph xml-lang="en-US" id="par_id2962126" role="paragraph">To change the page orientation for all pages that share the same page style, you first need a page style, then apply that style:</paragraph>
<list type="ordered">
<listitem>
<paragraph xml-lang="en-US" id="par_idN10727" role="listitem">Choose <emph>View - Styles</emph>.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_idN10741" role="listitem">Click the <emph>Page Styles</emph> icon.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_idN10749" role="listitem">Right-click a page style and choose <emph>New</emph>. The new page style initially gets all properties of the selected page style.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_idN10751" role="listitem">On the <emph>Organizer</emph> tab page, type a name for the page style in the <emph>Name</emph> box, for example "My Landscape".</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_idN1075D" role="listitem">In the <emph>Next Style</emph> box, select the page style that you want to apply to the next page that follows a page with the new style. See the section about the scope of page styles at the end of this help page.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_idN10775" role="listitem">Click the <emph>Page</emph> tab.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_idN1077D" role="listitem">Under <item type="menuitem">Paper format</item>, select “Portrait” or “Landscape”.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_idN108AE" role="listitem">Click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<paragraph xml-lang="en-US" id="par_id1658375" role="listitem">Now you have defined a proper page style with the name "My Landscape". To apply the new style, double-click the "My Landscape" page style in the <emph>Styles</emph> window. All pages in the current scope of page styles will be changed. If you defined the "next style" to be a different style, only the first page of the current scope of page styles will be changed.</paragraph>
<h2 id="hd_id151633462071702">To Quickly Switch Between Portrait and Landscape Page Layout</h2>
<section id="quick_orientation">
<paragraph role="paragraph" id="par_id51633462108943">The default template provided by %PRODUCTNAME Writer offers several page layout styles, among which the <emph>Default Page Style</emph> has Portrait orientation and the <emph>Landscape</emph> style has landscape orientation.</paragraph>
<paragraph role="paragraph" id="par_id321633462254730">These styles can be used to quickly switch between portrait and landscape orientation by inserting manual breaks and choosing the appropriate page styles as described below:</paragraph>
<list type="ordered">
<listitem>
<paragraph id="par_id21633462303911" role="listitem">Place the cursor where the page break is to be inserted.</paragraph>
</listitem>
<listitem>
<paragraph id="par_id841633462305362" role="listitem">Go to <menuitem>Insert - More Breaks - Manual Break</menuitem>. The <emph>Insert Break</emph> dialog will open.</paragraph>
</listitem>
<listitem>
<paragraph id="par_id31633462305839" role="listitem">Choose the option <emph>Page break</emph> and in the <emph>Page Style</emph> drop-down list choose the page style to be applied to the page after the break (Default Page Style, Landscape, etc).</paragraph>
</listitem>
<listitem>
<paragraph id="par_id51633462306574" role="listitem">If the applied has to be changed again at a certain point in the document (for instance, to switch back from landscape to portrait orientation), place the cursor at this point and repeat the steps previously described.</paragraph>
</listitem>
</list>
</section>
<section id="scope">
<h2 id="hd_id6082949">The Scope of Page Styles</h2>
<paragraph xml-lang="en-US" id="par_id2858668" role="paragraph">You should be aware of the scope of page styles in %PRODUCTNAME. Which pages of your text document get affected by editing a page style?</paragraph>
<h3 id="hd_id3278603">One Page Long Styles</h3>
<paragraph xml-lang="en-US" id="par_id5169225" role="paragraph">A page style can be defined to span one page only. The “First Page” style is an example. You set this property by defining another page style to be the "next style", on the <menuitem>Format - Page Style - Organizer</menuitem> tab page.</paragraph>
<paragraph xml-lang="en-US" id="par_id6670125" role="paragraph">A one page long style starts from the lower border of the current page style range up to the next page break. The next page break appears automatically when the text flows to the next page, which is sometimes called a "soft page break". Alternatively, you can insert a manual page break.</paragraph>
<paragraph xml-lang="en-US" id="par_id2118594" role="paragraph">To insert a manual page break at the cursor position, press <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+Enter</keycode> or choose <menuitem>Insert - Manual Break</menuitem> and just click OK.</paragraph>
<h3 id="hd_id166020">Manually Defined Range of a Page style</h3>
<paragraph xml-lang="en-US" id="par_id6386913" role="paragraph">The “Default” page style does not set a different "next style" on the <menuitem>Format - Page Style - Organizer</menuitem> tab page. Instead, the "next style" is set also to be “Default”. All page styles that are followed by the same page style can span multiple pages. The lower and upper borders of the page style range are defined by "page breaks with style". All the pages between any two "page breaks with style" use the same page style.</paragraph>
<paragraph xml-lang="en-US" id="par_id6062196" role="paragraph">You can insert a "page break with style" directly at the cursor position. Alternatively, you can apply the "page break with style" property to a paragraph or to a paragraph style.</paragraph>
<paragraph xml-lang="en-US" id="par_id6054261" role="paragraph">Perform any one of the following commands:</paragraph>
<list type="unordered">
<listitem>
<paragraph xml-lang="en-US" id="par_id1811578" role="listitem">To insert a "page break with style" at the cursor position, choose <item type="menuitem">Insert - Manual Break</item>, select a <emph>Style</emph> name from the listbox, and click OK.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id9935911" role="listitem">To apply the "page break with style" property to the current paragraph, choose <item type="menuitem">Format - Paragraph - Text Flow</item>. In the Breaks area, activate <emph>Enable</emph> and <emph>With Page Style</emph>. Select a page style name from the listbox.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id4753868" role="listitem">To apply the "page break with style" property to the current paragraph style, right-click the current paragraph. Choose <item type="menuitem">Edit Paragraph Style</item> from the context menu. Click the <emph>Text Flow</emph> tab. In the Breaks area, activate <emph>Enable</emph> and <emph>With Page Style</emph>. Select a page style name from the listbox.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id4744407" role="listitem">To apply the "page break with style" property to an arbitrary paragraph style, choose <item type="menuitem">View - Styles</item>. Click the <emph>Paragraph Styles</emph> icon. Right-click the name of the paragraph style you want to modify and choose <emph>Modify</emph>. Click the <emph>Text Flow</emph> tab. In the Breaks area, activate <emph>Enable</emph> and <emph>With Page Style</emph>. Select a page style name from the listbox.</paragraph>
</listitem>
</list>
</section>
<embed href="text/shared/00/00000004.xhp#related"/>
<embed href="text/swriter/guide/header_footer.xhp#header_footer"/>
<embed href="text/swriter/guide/change_header.xhp#change_header"/>
<embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
<embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
</body>
</helpdocument>
|