AllLangHelp_swriter.mk                        |    1 
 source/auxiliary/swriter.tree                 |    3 
 source/text/shared/01/01130000.xhp            |   20 +++--
 source/text/swriter/guide/print_selection.xhp |   95 ++++++++++++++++++++++++++
 4 files changed, 110 insertions(+), 9 deletions(-)

New commits:
commit 15e0e4742d13a76837daf5dd666b7d57b4651a92
Author:     Seth Chaiklin <sdc.bla...@youmail.dk>
AuthorDate: Thu Nov 19 11:36:17 2020 +0100
Commit:     Seth Chaiklin <sdc.bla...@youmail.dk>
CommitDate: Fri Nov 20 08:48:52 2020 +0100

    Resolves: tdf#73398 and tdf#107192  help for printing range of pages
    
      ( swriter/guide/print_selection )
         new guide page for how to print page ranges and selections
    
      ( shared/01/01130000.html )  ( File > Print )
         + add <embed> for new page under Text Documents
         * update to <h1>,<h2>
         - comment out "More Options" control, which was
           removed with tdf#137506
    
      ( source/auxiliary/swriter.tree )
         + add as <topic> under Printing
    
    Change-Id: I68c97522facddfb78c81ee845e5385b3eb236e8c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/106133
    Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk>
    Tested-by: Jenkins

diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index e10f3e0fe..20594941d 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -334,6 +334,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
     helpcontent2/source/text/swriter/guide/pagestyles \
     helpcontent2/source/text/swriter/guide/print_brochure \
     helpcontent2/source/text/swriter/guide/print_preview \
+    helpcontent2/source/text/swriter/guide/print_selection \
     helpcontent2/source/text/swriter/guide/print_small \
     helpcontent2/source/text/swriter/guide/printer_tray \
     helpcontent2/source/text/swriter/guide/printing_order \
diff --git a/source/auxiliary/swriter.tree b/source/auxiliary/swriter.tree
index 97ec2ab99..1902039ff 100644
--- a/source/auxiliary/swriter.tree
+++ b/source/auxiliary/swriter.tree
@@ -218,7 +218,8 @@
 <topic id="swriter/text/swriter/guide/hyperlinks.xhp">Inserting Hyperlinks 
With the Navigator</topic>
                </node>
                <node id="0222" title="Printing">
-<topic id="swriter/text/swriter/guide/printer_tray.xhp">Selecting printer 
paper trays</topic>
+<topic id="swriter/text/swriter/guide/print_selection.xhp">Selecting What to 
Print</topic>
+<topic id="swriter/text/swriter/guide/printer_tray.xhp">Selecting Printer 
Paper Trays</topic>
 <topic id="swriter/text/swriter/guide/print_preview.xhp">Previewing a Page 
Before Printing</topic>
 <topic id="swriter/text/swriter/guide/print_small.xhp">Printing Multiple Pages 
on One Sheet</topic>
 <topic id="swriter/text/swriter/guide/pagestyles.xhp">Creating and Applying 
Page Styles</topic>
diff --git a/source/text/shared/01/01130000.xhp 
b/source/text/shared/01/01130000.xhp
index 155b9e2d9..5dd849ccc 100644
--- a/source/text/shared/01/01130000.xhp
+++ b/source/text/shared/01/01130000.xhp
@@ -45,7 +45,7 @@
 <bookmark xml-lang="en-US" branch="hid/.uno:Print" id="bm_id1076258" 
localize="false"/>
 <bookmark xml-lang="en-US" branch="hid/vcl/ui/printdialog/@@nowidget@@" 
id="bm_@@nowidget@@" localize="false"/>
 <bookmark xml-lang="en-US" branch="hid/vcl/ui/printdialog/PrintDialog" 
id="bm_id0818200912034231" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3154621" role="heading" level="1"><link 
href="text/shared/01/01130000.xhp" name="Print">Print</link></paragraph>
+<h1 xml-lang="en-US" id="hd_id3154621"><link 
href="text/shared/01/01130000.xhp" name="Print">Print</link></h1>
 <paragraph xml-lang="en-US" id="par_id3146946" role="paragraph"><variable 
id="druckentext"><ahelp hid=".uno:Print">Prints the current document, 
selection, or the pages that you specify. You can also set the print options 
for the current document.</ahelp>
 </variable> The printing options can vary according to the printer and the 
operating system that you use.</paragraph>
 </section>
@@ -55,6 +55,7 @@
 <paragraph xml-lang="en-US" id="par_id0818200912284853" role="paragraph">The 
<emph>Print</emph> dialog consists of three main parts: A preview with 
navigation buttons, tab pages with control elements specific to the current 
document type, and the <emph>Print</emph>, <emph>Cancel</emph> and 
<emph>Help</emph> buttons.</paragraph>
 <paragraph xml-lang="en-US" id="par_id0818200901193992" role="paragraph">If 
you just want to know how to print your document, click any of the following 
links.</paragraph>
 <paragraph xml-lang="en-US" id="par_id0818200912531416" 
role="paragraph"><emph>Printing text documents</emph>:</paragraph>
+      <embed href="text/swriter/guide/print_selection.xhp#printselection"/>
       <embed href="text/swriter/guide/print_brochure.xhp#print_brochure"/>
       <embed href="text/swriter/guide/print_preview.xhp#print_preview"/>
       <embed href="text/swriter/guide/print_small.xhp#print_small"/>
@@ -79,7 +80,7 @@
       <paragraph xml-lang="en-US" id="par_idN109CD" 
role="paragraph"><switchinline select="appl"><caseinline select="IMPRESS">To 
set the default <item type="productname">%PRODUCTNAME</item> printer options 
for presentation documents, choose <link 
href="text/shared/optionen/01070400.xhp" name="Tools - Options - Impress - 
Print"><switchinline select="sys"><caseinline 
select="MAC"><menuitem>%PRODUCTNAME - 
Preferences</menuitem></caseinline><defaultinline><menuitem>Tools - 
Options</menuitem></defaultinline></switchinline><menuitem> - %PRODUCTNAME 
Impress - Print</menuitem></link>.</caseinline></switchinline></paragraph>
   <paragraph xml-lang="en-US" id="par_id0818200901194137" role="note">Press 
<emph>Shift+F1</emph> or choose <item type="menuitem">Help - What's 
This?</item> and point to any control element in the <emph>Print</emph> dialog 
to see an extended help text.</paragraph>
 <bookmark xml-lang="en-US" branch="hid/vcl/ui/printdialog/preview" 
id="bm_id3156954" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id0818200912284914" role="heading" 
level="2">Preview</paragraph>
+<h2 xml-lang="en-US" id="hd_id0818200912284914">Preview</h2>
 <paragraph xml-lang="en-US" id="par_id081820091228505" role="paragraph"><ahelp 
hid=".">The preview shows how each sheet of paper will look. You can browse 
through all sheets of paper with the buttons below the 
preview.</ahelp></paragraph>
 <bookmark xml-lang="en-US" branch="hid/vcl/ui/printdialog/pageedit" 
id="bm_id3156956" localize="false"/>
 <paragraph xml-lang="en-US" id="par_id3150773" role="paragraph"><ahelp hid="." 
visibility="hidden">Enter the number of page to be shown in the 
preview.</ahelp></paragraph>
@@ -89,7 +90,7 @@
 <paragraph xml-lang="en-US" id="par_id3150775" role="paragraph"><ahelp hid="." 
visibility="hidden">Shows preview of the previous page.</ahelp></paragraph>
 <bookmark xml-lang="en-US" branch="hid/vcl/ui/printdialog/previewbox" 
id="bm_id31569559" localize="false"/>
 <paragraph xml-lang="en-US" id="par_id3150776" role="paragraph"><ahelp hid="." 
visibility="hidden">Turn on or off display of the print 
preview.</ahelp></paragraph>
-<paragraph xml-lang="en-US" id="hd_id0818200912285056" role="heading" 
level="2">General</paragraph>
+<h2 xml-lang="en-US" id="hd_id0818200912285056">General</h2>
   <paragraph xml-lang="en-US" id="par_id0818200912285064" role="paragraph">On 
the <emph>General</emph> tab page, you find the most important control elements 
for printing. You can define which contents of your document are to be printed. 
You can select the printer and open the <emph>Printer Settings</emph> 
dialog.</paragraph>
 
 <comment>Writer:</comment>
@@ -234,18 +235,21 @@ Moved all DRAW and IMPRESS to default section.</comment>
 <bookmark xml-lang="en-US" 
branch="hid/.HelpID:vcl:PrintDialog:PageOptions:RadioButton:3" id="bm_id91" 
localize="false"/>
 <paragraph xml-lang="en-US" id="par_id92" role="paragraph"><ahelp hid="." 
visibility="hidden">Specifies that pages are to be printed in tiled format. If 
the pages or slides are smaller than the paper, several pages or slides will be 
printed on one page of paper.</ahelp></paragraph>
 
-<paragraph xml-lang="en-US" id="hd_id0818200912285074" role="heading" 
level="2">%PRODUCTNAME Writer / Calc / Impress / Draw / Math</paragraph>
+<h2 xml-lang="en-US" id="hd_id0818200912285074">%PRODUCTNAME Writer / Calc / 
Impress / Draw / Math</h2>
   <paragraph xml-lang="en-US" id="par_id0818200912285019" role="paragraph">The 
tab page with the same name as the current application can be used to define 
the contents, color, size, and pages to be printed. You define settings that 
are specific to the current document type.</paragraph>
-<paragraph xml-lang="en-US" id="hd_id0818200912285112" role="heading" 
level="2">Page Layout</paragraph>
+<h2 xml-lang="en-US" id="hd_id0818200912285112">Page Layout</h2>
   <paragraph xml-lang="en-US" id="par_id0818200912285150" role="paragraph">The 
<emph>Page Layout</emph> section can be used to save some sheets of paper by 
printing several pages onto each sheet of paper. You define the arrangement and 
size of output pages on the physical paper.</paragraph>
 <bookmark xml-lang="en-US" branch="hid/vcl/ui/printdialog/orderpreview" 
id="par_id081820090416473" localize="false"/>
   <paragraph xml-lang="en-US" id="par_id0818200904164735" 
role="paragraph"><ahelp hid=".">Change the arrangement of pages to be printed 
on every sheet of paper. The preview shows how every final sheet of paper will 
look.</ahelp></paragraph>
   <paragraph xml-lang="en-US" id="par_id0818200904102987" role="paragraph">For 
some document types, you can choose to print a brochure.</paragraph>
     <embed href="text/swriter/guide/print_brochure.xhp#print_brochure"/>
 <bookmark xml-lang="en-US" branch="hid/vcl/ui/printdialog/moreoptionsbtn" 
id="par_id0818200904164736" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id0818200912285138" role="heading" 
level="2">More Options</paragraph>
-  <paragraph xml-lang="en-US" id="par_id0818200912285146" 
role="paragraph"><ahelp hid=".">In the <emph>More Options</emph> window you can 
set some additional options for the current print job.</ahelp></paragraph>
-<paragraph xml-lang="en-US" id="hd_id0819200910481678" role="heading" 
level="2"><switchinline select="sys"><caseinline select="UNIX">Unix 
hints</caseinline></switchinline></paragraph>
+<comment>"More Options" control was removed with tdf#137506 - but commented 
here in case it comes back.</comment>
+<!--
+<h2 xml-lang="en-US" id="hd_id0818200912285138">More Options</h2>
+<paragraph xml-lang="en-US" id="par_id0818200912285146" 
role="paragraph"><ahelp hid=".">In the <emph>More Options</emph> window you can 
set some additional options for the current print job.</ahelp></paragraph>
+-->
+<h2 xml-lang="en-US" id="hd_id0819200910481678"><switchinline 
select="sys"><caseinline select="UNIX">Unix 
hints</caseinline></switchinline></h2>
   <paragraph xml-lang="en-US" id="par_id3150449" 
role="paragraph"><switchinline select="sys"><caseinline select="UNIX">You can 
also use the <link href="text/shared/guide/spadmin.xhp" name="printer 
settings"><emph>Printer Settings</emph></link> to specify additional printer 
options.</caseinline></switchinline></paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/swriter/guide/print_selection.xhp 
b/source/text/swriter/guide/print_selection.xhp
new file mode 100644
index 000000000..07247f90c
--- /dev/null
+++ b/source/text/swriter/guide/print_selection.xhp
@@ -0,0 +1,95 @@
+<?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 https://mozilla.org/MPL/2.0/.
+ *
+-->
+
+<meta>
+  <topic id="printingpageranges" indexer="include" status="PUBLISH">
+    <title id="tit" xml-lang="en-US">Selecting What to Print</title>
+    <filename>/text/swriter/guide/print_selection.xhp</filename>
+  </topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id541605272263762">
+<bookmark_value>selecting; pages to print</bookmark_value>
+<bookmark_value>printing;page range</bookmark_value>
+<bookmark_value>printing;selection</bookmark_value>
+</bookmark>
+
+<h1 id="hd_id721605269733190"><variable id="printselection"><link 
href="text/swriter/guide/print_selection.xhp" 
name="print_selection_link">Selecting What to Print</link></variable></h1>
+<paragraph role="paragraph" id="par_id501605271321756">You can choose to print 
individual pages, a range of pages, or a selection from a document.</paragraph>
+<h2 id="hd_id601605269573468">Printing a single page</h2>
+ <list type="ordered">
+  <listitem>
+   <paragraph id="par_id571605684186001" role="listitem">Choose <menuitem>File 
> Print</menuitem> to open the <emph>Print</emph> dialog.</paragraph>
+  </listitem>
+  <listitem>
+    <paragraph id="par_id31605269603220" role="listitem">In the <emph>Range 
and Copies</emph> section, select the <emph>Pages</emph> option. The text box 
will show the current page number.</paragraph>
+  </listitem>
+  <listitem>
+    <paragraph id="par_id251605269806172" role="listitem">Enter the page 
number you want to print.</paragraph>
+  </listitem>
+    <listitem>
+        <paragraph id="par_id641605269861744" role="listitem">The preview box 
on the left shows the selected page.
+</paragraph>
+    </listitem>
+</list>
+
+<h2 id="hd_id171605269647972">Printing a range of pages</h2>
+<list type="ordered">
+  <listitem>
+   <paragraph id="par_id731605685039891" role="listitem">Choose <menuitem>File 
> Print</menuitem> to open the <emph>Print</emph> dialog.</paragraph>
+  </listitem>
+  <listitem>
+    <paragraph id="par_id261605269669284" role="listitem">In the <emph>Range 
and Copies</emph> section, select the <emph>Pages</emph> option.  The text box 
will show the current page number.</paragraph>
+  </listitem>
+  <listitem>
+        <paragraph id="par_id331605269672260" role="listitem">Enter the page 
numbers to print.</paragraph>
+        <paragraph id="par_id481605270284520" role="listitem">&#x2022; Use 
<literal>-</literal> for a range of pages (e.g., <input>1–4</input> will print 
all pages from 1 to 4).</paragraph>
+       <paragraph role="listitem" id="par_id651605685305228">&#x2022; Partial 
ranges are also permitted.</paragraph>
+    <comment>Empty tablecells needed for layout, do not delete</comment>
+   <table id="tab_id191605686988056">
+    <tablerow>
+     <tablecell></tablecell><tablecell></tablecell>
+     <tablecell>
+      <paragraph id="par_id781605686618241" 
role="tablecontent"><input>-5</input> prints all pages up to page 5.</paragraph>
+     </tablecell>
+    </tablerow>
+    <tablerow>
+     <tablecell></tablecell><tablecell></tablecell>
+     <tablecell>
+      <paragraph id="par_id741605686988056" 
role="tablecontent"><input>10-</input> prints from page 10 to end of 
document.</paragraph>
+     </tablecell>
+    </tablerow>
+   </table>
+   <paragraph id="par_id951605270474391" role="listitem">&#x2022; Use 
<literal>,</literal> or <literal>;</literal> for a list of pages (e.g., <input> 
1,3;7</input> will print pages 1, 3 and 7.  Spaces are optional. 1, 3, 7 will 
also work).</paragraph>
+   <paragraph id="par_id611605270697509" role="listitem">&#x2022; Combinations 
are also possible (e.g., <input>1, 3, 5-10, 15-</input> will print pages 1,3, 5 
through 10, and 15 to end of document.</paragraph>
+  </listitem>
+  <listitem>
+   <paragraph id="par_id581605269685019" role="listitem">The preview box on 
the left shows the selected pages.</paragraph>
+  </listitem>
+</list>
+
+<h2 id="hd_id571605269596899">Printing a selection of text or graphics</h2>
+  <list type="ordered">
+    <listitem>
+      <paragraph id="par_id261605270158305" role="listitem"> Select the 
content to print.</paragraph>
+    </listitem>
+    <listitem>
+     <paragraph id="par_id481605687683495" role="listitem">Choose 
<menuitem>File > Print</menuitem> to open the <emph>Print</emph> 
dialog.</paragraph>
+    </listitem>
+    <listitem>
+      <paragraph id="par_id911605270164153" role="listitem">In the <emph>Range 
and Copies</emph> section, choose the <emph>Selection</emph> option.</paragraph>
+    </listitem>
+    <listitem>
+      <paragraph id="par_id871605270949919" role="listitem">The preview box 
shows the selected material.</paragraph>
+    </listitem>
+  </list>
+</body>
+</helpdocument>
\ No newline at end of file
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to