1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?>
2*b1cdbd2cSJim Jagielski<helpdocument version="1.0">
3*b1cdbd2cSJim Jagielski
4*b1cdbd2cSJim Jagielski<!--***********************************************************
5*b1cdbd2cSJim Jagielski *
6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
7*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
8*b1cdbd2cSJim Jagielski * distributed with this work for additional information
9*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
12*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
13*b1cdbd2cSJim Jagielski *
14*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
15*b1cdbd2cSJim Jagielski *
16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
21*b1cdbd2cSJim Jagielski * under the License.
22*b1cdbd2cSJim Jagielski *
23*b1cdbd2cSJim Jagielski ***********************************************************-->
24*b1cdbd2cSJim Jagielski
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski
27*b1cdbd2cSJim Jagielski
28*b1cdbd2cSJim Jagielski<meta>
29*b1cdbd2cSJim Jagielski      <topic id="textswriterguidepageorientationxml" indexer="include" status="PUBLISH">
30*b1cdbd2cSJim Jagielski         <title xml-lang="en-US" id="tit">Changing Page Orientation (Landscape or Portrait)</title>
31*b1cdbd2cSJim Jagielski         <filename>/text/swriter/guide/pageorientation.xhp</filename>
32*b1cdbd2cSJim Jagielski      </topic>
33*b1cdbd2cSJim Jagielski   </meta>
34*b1cdbd2cSJim Jagielski   <body>
35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id9683828"><bookmark_value>page styles;orientation/scope</bookmark_value>
36*b1cdbd2cSJim Jagielski      <bookmark_value>page formats; changing individual pages</bookmark_value>
37*b1cdbd2cSJim Jagielski      <bookmark_value>formatting; changing individual pages</bookmark_value>
38*b1cdbd2cSJim Jagielski      <bookmark_value>portrait and landscape</bookmark_value>
39*b1cdbd2cSJim Jagielski      <bookmark_value>landscape and portrait</bookmark_value>
40*b1cdbd2cSJim Jagielski      <bookmark_value>printing;portrait/landscape format</bookmark_value>
41*b1cdbd2cSJim Jagielski      <bookmark_value>orientation of pages</bookmark_value>
42*b1cdbd2cSJim Jagielski      <bookmark_value>paper orientation</bookmark_value>
43*b1cdbd2cSJim Jagielski      <bookmark_value>pages;orientation</bookmark_value>
44*b1cdbd2cSJim Jagielski      <bookmark_value>sideways orientation of pages</bookmark_value>
45*b1cdbd2cSJim Jagielski      <bookmark_value>scope of page styles</bookmark_value>
46*b1cdbd2cSJim Jagielski</bookmark><comment>MW changed "page styles;..." and added one entry</comment>
47*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="par_idN106FF" role="heading" level="1" l10n="NEW"><variable id="pageorientation"><link href="text/swriter/guide/pageorientation.xhp">Changing Page Orientation</link>
48*b1cdbd2cSJim Jagielski</variable></paragraph>
49*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id6418042" role="paragraph" l10n="NEW">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>
50*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id8324533" role="paragraph" l10n="NEW">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>
51*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id7524033" role="heading" level="2" l10n="CHG">To Change the Page Orientation for All Pages</paragraph>
52*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id6307260" role="paragraph" l10n="NEW">If your text document consists only of pages with the same page style, you can change the page properties directly:</paragraph>
53*b1cdbd2cSJim Jagielski      <list type="ordered">
54*b1cdbd2cSJim Jagielski         <listitem>
55*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id5256508" role="listitem" l10n="NEW">Choose <emph>Format - Page</emph>.</paragraph>
56*b1cdbd2cSJim Jagielski         </listitem>
57*b1cdbd2cSJim Jagielski         <listitem>
58*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id9681997" role="listitem" l10n="NEW">Click the <emph>Page</emph> tab.</paragraph>
59*b1cdbd2cSJim Jagielski         </listitem>
60*b1cdbd2cSJim Jagielski         <listitem>
61*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id7994323" role="listitem" l10n="NEW">Under <item type="menuitem">Paper format</item>, select “Portrait” or “Landscape”.</paragraph>
62*b1cdbd2cSJim Jagielski         </listitem>
63*b1cdbd2cSJim Jagielski         <listitem>
64*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id7069002" role="listitem" l10n="NEW">Click <emph>OK</emph>.</paragraph>
65*b1cdbd2cSJim Jagielski         </listitem>
66*b1cdbd2cSJim Jagielski      </list>
67*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id4202398" role="heading" level="2" l10n="NEW">To Change the Page Orientation Only for Some Pages</paragraph>
68*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_idN1071D" role="paragraph" l10n="NEW">$[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>
69*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id1449324" role="paragraph" l10n="NEW">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>
70*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id1480758" role="note" l10n="NEW">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.</paragraph>
71*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id2962126" role="paragraph" l10n="CHG">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>
72*b1cdbd2cSJim Jagielski      <list type="ordered">
73*b1cdbd2cSJim Jagielski         <listitem>
74*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_idN10727" role="listitem" l10n="NEW">Choose <emph>Format - Styles and Formatting</emph>.</paragraph>
75*b1cdbd2cSJim Jagielski         </listitem>
76*b1cdbd2cSJim Jagielski         <listitem>
77*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_idN10741" role="listitem" l10n="NEW">Click the <emph>Page Styles</emph> icon.</paragraph>
78*b1cdbd2cSJim Jagielski         </listitem>
79*b1cdbd2cSJim Jagielski         <listitem>
80*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_idN10749" role="listitem" l10n="CHG">Right-click a page style and choose <emph>New</emph>. The new page style initially gets all properties of the selected page style.</paragraph>
81*b1cdbd2cSJim Jagielski         </listitem>
82*b1cdbd2cSJim Jagielski         <listitem>
83*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_idN10751" role="listitem" l10n="CHG">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>
84*b1cdbd2cSJim Jagielski         </listitem>
85*b1cdbd2cSJim Jagielski         <listitem>
86*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_idN1075D" role="listitem" l10n="CHG">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>
87*b1cdbd2cSJim Jagielski         </listitem>
88*b1cdbd2cSJim Jagielski         <listitem>
89*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_idN10775" role="listitem" l10n="NEW">Click the <emph>Page</emph> tab.</paragraph>
90*b1cdbd2cSJim Jagielski         </listitem>
91*b1cdbd2cSJim Jagielski         <listitem>
92*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_idN1077D" role="listitem" l10n="NEW">Under <item type="menuitem">Paper format</item>, select “Portrait” or “Landscape”.</paragraph>
93*b1cdbd2cSJim Jagielski         </listitem>
94*b1cdbd2cSJim Jagielski         <listitem>
95*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_idN108AE" role="listitem" l10n="NEW">Click <emph>OK</emph>.</paragraph>
96*b1cdbd2cSJim Jagielski         </listitem>
97*b1cdbd2cSJim Jagielski      </list>
98*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id1658375" role="listitem" l10n="NEW">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 and Formatting</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>
99*b1cdbd2cSJim Jagielski      <section id="scope">
100*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="hd_id6082949" role="heading" level="2" l10n="NEW">The Scope of Page Styles</paragraph>
101*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id2858668" role="paragraph" l10n="NEW">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>
102*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="hd_id3278603" role="heading" level="3" l10n="NEW">One Page Long Styles</paragraph>
103*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id5169225" role="paragraph" l10n="NEW">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 <item type="menuitem">Format - Page - Organizer</item> tab page.</paragraph>
104*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id6670125" role="paragraph" l10n="NEW">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>
105*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id2118594" role="paragraph" l10n="NEW">To insert a manual page break at the cursor position, press <item type="keycode">Ctrl+Enter</item> or choose <item type="menuitem">Insert - Manual Break</item> and just click OK.</paragraph>
106*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="hd_id166020" role="heading" level="3" l10n="NEW">Manually Defined Range of a Page style</paragraph>
107*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id6386913" role="paragraph" l10n="NEW">The “Default” page style does not set a different "next style" on the <item type="menuitem">Format - Page - Organizer</item> 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>
108*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id6062196" role="paragraph" l10n="NEW">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>
109*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id6054261" role="paragraph" l10n="NEW">Perform any one of the following commands:</paragraph>
110*b1cdbd2cSJim Jagielski         <list type="unordered">
111*b1cdbd2cSJim Jagielski            <listitem>
112*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id1811578" role="listitem" l10n="NEW">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>
113*b1cdbd2cSJim Jagielski            </listitem>
114*b1cdbd2cSJim Jagielski            <listitem>
115*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id9935911" role="listitem" l10n="NEW">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>
116*b1cdbd2cSJim Jagielski            </listitem>
117*b1cdbd2cSJim Jagielski            <listitem>
118*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id4753868" role="listitem" l10n="NEW">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>
119*b1cdbd2cSJim Jagielski            </listitem>
120*b1cdbd2cSJim Jagielski            <listitem>
121*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id4744407" role="listitem" l10n="NEW">To apply the "page break with style" property to an arbitrary paragraph style, choose <item type="menuitem">Format - Styles and Formatting</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>
122*b1cdbd2cSJim Jagielski            </listitem>
123*b1cdbd2cSJim Jagielski         </list>
124*b1cdbd2cSJim Jagielski      </section>
125*b1cdbd2cSJim Jagielski      <embed href="text/shared/00/00000004.xhp#related"/>
126*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/header_footer.xhp#header_footer"/>
127*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/change_header.xhp#change_header"/>
128*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
129*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
130*b1cdbd2cSJim Jagielski   </body>
131*b1cdbd2cSJim Jagielski</helpdocument>