summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2023-01-08 11:51:22 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-01-11 03:02:30 +0000
commita6bf263e06de175a10e35bd6ba7ca51a1529812c (patch)
treeaf7cf40c46f65c54e0f996af16477b3e52a8270b
parent20d4c17ca1fb161bf5fccf3d94db93b0a4d322f2 (diff)
tdf#152910 Add help page for page numbering wizard
Change-Id: I467f3e49146c9ee4ec133dfb2360bb1d132f18dd Reviewed-on: https://gerrit.libreoffice.org/c/help/+/145179 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--AllLangHelp_swriter.mk1
-rw-r--r--source/text/swriter/01/pagenumbering.xhp41
-rw-r--r--source/text/swriter/guide/pagenumbers.xhp25
3 files changed, 57 insertions, 10 deletions
diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index 11cd361484..18f6511f1f 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -201,6 +201,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/01/mm_seladdlis \
helpcontent2/source/text/swriter/01/mm_seltab \
helpcontent2/source/text/swriter/01/outlinecontent_visibility \
+ helpcontent2/source/text/swriter/01/pagenumbering \
helpcontent2/source/text/swriter/01/protectdocument \
helpcontent2/source/text/swriter/01/selection_mode \
helpcontent2/source/text/swriter/01/show_whitespace \
diff --git a/source/text/swriter/01/pagenumbering.xhp b/source/text/swriter/01/pagenumbering.xhp
new file mode 100644
index 0000000000..674d37b7fb
--- /dev/null
+++ b/source/text/swriter/01/pagenumbering.xhp
@@ -0,0 +1,41 @@
+<?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/.
+ *
+ -->
+<meta>
+ <topic id="pagenumberingtopic" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Page Number Wizard</title>
+ <filename>/text/swriter/01/pagenumbering.xhp</filename>
+ </topic>
+</meta>
+<body>
+<bookmark id="bm_id691673185633500" xml-lang="en-US" branch="hid/.uno:PageNumberWizard" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/pagenumberdlg/@@nowidget@@" id="bm_id371673186884566" localize="false"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id311673188326397">
+<bookmark_value>page number;insert quickly</bookmark_value>
+</bookmark>
+<section id="insertpagenumber">
+ <h1 id="hd_id261673185633502"><variable id="h1"><link href="text/swriter/01/pagenumbering.xhp">Page Number Wizard</link></variable></h1>
+ <paragraph id="par_id821673185633504" role="paragraph" xml-lang="en-US">Use this command to quickly insert a page number in the header or footer of the current page style.</paragraph>
+</section>
+<section id="howtoget">
+ <paragraph role="paragraph" id="par_id431673185755598">Choose <menuitem>Insert - Page Number</menuitem>.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/pagenumberdlg/positionCombo" id="bm_id451673187286751" localize="false"/>
+<h2 id="hd_id811673185909124">Position</h2>
+<paragraph role="paragraph" id="par_id811673186011131">Select the position of the page number: options are header or footer.</paragraph>
+<note id="par_id511673186128128">The <emph>Page Number</emph> command enables the header or footer of the current page style.</note>
+<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/pagenumberdlg/alignmentCombo" id="bm_id441673187319062" localize="false"/>
+<h2 id="hd_id381673185913395">Alignment</h2>
+<paragraph role="paragraph" id="par_id751673186023204">Select the alignment of the page number in the header or footer. Options are Left, Center and Right.</paragraph>
+<section id="relatedtopics">
+ <embed href="text/swriter/guide/pagenumbers.xhp#pagenumbers"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/guide/pagenumbers.xhp b/source/text/swriter/guide/pagenumbers.xhp
index f1d7e0458f..969b65bbf4 100644
--- a/source/text/swriter/guide/pagenumbers.xhp
+++ b/source/text/swriter/guide/pagenumbers.xhp
@@ -35,15 +35,18 @@
<bookmark_value>inserting;page numbers</bookmark_value>
<bookmark_value>styles;page numbers</bookmark_value>
</bookmark><comment>mw inserted six index entries</comment><comment>mw added "styles;"</comment>
-<paragraph xml-lang="en-US" id="hd_id413830" role="heading" level="1"><variable id="pagenumbers"><link href="text/swriter/guide/pagenumbers.xhp">Page Numbers</link>
-</variable></paragraph>
+<h1 id="hd_id413830"><variable id="pagenumbers"><link href="text/swriter/guide/pagenumbers.xhp">Page Numbers</link>
+</variable></h1>
<paragraph xml-lang="en-US" id="par_id1617175" role="paragraph">In Writer, a page number is a field that you can insert into your text.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id6091494" role="heading" level="2">To Insert Page Numbers</paragraph>
- <paragraph xml-lang="en-US" id="par_id8611102" role="paragraph">Choose <menuitem>Insert - Page Number</menuitem> to insert a page number at the current cursor position.</paragraph>
+ <h2 id="hd_id831673188050537">To Quickly Insert a Page Number in Header or Footer of Page Style</h2>
+ <paragraph role="paragraph" id="par_id771673188070892">Choose <link href="text/swriter/01/pagenumbering.xhp"><menuitem>Insert - Page Numbers</menuitem></link> to open a dialog to guide you in inserting a page number in the current page style header or footer and setting the page number alignment.</paragraph>
+
+ <h2 id="hd_id6091494">To Insert Page Numbers</h2>
+ <paragraph xml-lang="en-US" id="par_id8611102" role="paragraph">Choose <menuitem>Insert - Field - Page Number</menuitem> to insert a page number at the current cursor position.</paragraph>
<tip xml-lang="en-US" id="par_id6604510">If you see the text "Page number" instead of the number, choose <menuitem>View - Field Names</menuitem> (<switchinline select="sys"><caseinline select="MAC"><keycode>Command+F9</keycode></caseinline><defaultinline><keycode>Ctrl+F9</keycode></defaultinline></switchinline>).</tip>
<paragraph xml-lang="en-US" id="par_id2678914" role="paragraph">However, these fields will change position when you add or remove text. So it is best to insert the page number field into a header or footer that has the same position and that is repeated on every page.</paragraph>
<paragraph xml-lang="en-US" id="par_id614642" role="paragraph">Choose <item type="menuitem">Insert - Header and Footer - Header - (name of page style)</item> or <item type="menuitem">Insert - Header and Footer - Footer - (name of page style)</item> to add a header or footer to all pages with the current page style.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id2551652" role="heading" level="2">To Start With a Defined Page Number</paragraph>
+ <h2 id="hd_id2551652">To Start With a Defined Page Number</h2>
<paragraph xml-lang="en-US" id="par_id6111941" role="paragraph">Now you want some more control on page numbers. You are writing a text document that should start with page number 12.</paragraph>
<list type="ordered">
<listitem>
@@ -56,7 +59,7 @@
<paragraph xml-lang="en-US" id="par_id4395275" role="listitem">In the Breaks area, enable <emph>Insert</emph>. Enable <emph>With Page Style</emph> just to be able to set the new <emph>Page number</emph>. Click <emph>OK</emph>.</paragraph>
</listitem>
</list>
- <paragraph xml-lang="en-US" id="par_id1654408" role="note">The new page number is an attribute of the first paragraph of the page.</paragraph>
+ <note id="par_id1654408">The new page number is an attribute of the first paragraph of the page.</note>
<h2 xml-lang="en-US" id="hd_id7519150">To Select the Page Number Format</h2>
<paragraph xml-lang="en-US" id="par_id9029206" role="paragraph">You want roman page numbers running i, ii, iii, iv, and so on.</paragraph>
<list type="ordered">
@@ -83,7 +86,7 @@
</listitem>
</list>
<paragraph xml-lang="en-US" id="par_id1911679" role="paragraph">It depends on your document what is best: to use a manually inserted page break between page styles, or to use an automatic change. If you just need one title page with a different style than the other pages, you can use the automatic method:</paragraph>
- <paragraph xml-lang="en-US" id="hd_id9364909" role="heading" level="3">To Apply a Different Page Style to the First Page</paragraph>
+ <h3 id="hd_id9364909">To Apply a Different Page Style to the First Page</h3>
<list type="ordered">
<listitem>
<paragraph xml-lang="en-US" id="par_id4473403" role="listitem">Click into the first page of your document.</paragraph>
@@ -100,7 +103,7 @@
</list>
<paragraph xml-lang="en-US" id="par_id2318796" role="paragraph">Now your title page has the style "First Page", and the next pages automatically have the "Default Page Style".</paragraph>
<paragraph xml-lang="en-US" id="par_id399182" role="paragraph">You can now for example insert a footer for the "Default Page Style" only, or insert footers in both page styles, but with differently formatted page number fields.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id5298318" role="heading" level="3">To Apply a Manually Inserted Page Style Change</paragraph>
+ <h3 id="hd_id5298318">To Apply a Manually Inserted Page Style Change</h3>
<list type="ordered">
<listitem>
<paragraph xml-lang="en-US" id="par_id7588732" role="listitem">Click at the start of the first paragraph on the page where a different page style will be applied.</paragraph>
@@ -113,12 +116,14 @@
</listitem>
</list>
<paragraph xml-lang="en-US" id="par_id7599108" role="paragraph">The selected page style will be used from the current paragraph to the next page break with style. You may need to create the new page style first.</paragraph>
- <embed href="text/shared/00/00000004.xhp#related"/>
+ <section id="relatedtopics">
+ <embed href="text/swriter/01/pagenumbering.xhp#h1"/>
<embed href="text/swriter/guide/footer_pagenumber.xhp#footer_pagenumber"/>
<embed href="text/swriter/guide/header_footer.xhp#header_footer"/>
<embed href="text/swriter/guide/even_odd_sdw.xhp#even_odd_sdw"/>
<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"/>
+ </section>
</body>
-</helpdocument> \ No newline at end of file
+</helpdocument>