<?xml version="1.0" encoding="UTF-8"?> <!-- * 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 . --> <helpdocument version="1.0"> <meta> <topic id="textscalcguideprintrangesxml" indexer="include" status="PUBLISH"> <title xml-lang="en-US" id="tit">Using Print Ranges on a Spreadsheet</title> <filename>/text/scalc/guide/printranges.xhp</filename> </topic> </meta> <body> <bookmark xml-lang="en-US" branch="index" id="bm_id14648"><bookmark_value>exporting;cells</bookmark_value> <bookmark_value>printing; cells</bookmark_value> <bookmark_value>ranges;print ranges</bookmark_value> <bookmark_value>PDF export of print ranges</bookmark_value> <bookmark_value>cell ranges; printing</bookmark_value> <bookmark_value>cells; print ranges</bookmark_value> <bookmark_value>print ranges</bookmark_value> <bookmark_value>clearing, see also deleting/removing</bookmark_value> <bookmark_value>defining;print ranges</bookmark_value> <bookmark_value>extending print ranges</bookmark_value> <bookmark_value>deleting;print ranges</bookmark_value> </bookmark> <comment>mw deleted "adding;" and corrected two typos in "defining;" and "extending.."</comment> <comment>MW changed "clearing,"</comment> <paragraph xml-lang="en-US" id="par_idN108D7" role="heading" level="1"><variable id="printranges"><link href="text/scalc/guide/printranges.xhp">Defining Print Ranges on a Sheet</link> </variable></paragraph> <paragraph xml-lang="en-US" id="par_idN108F5" role="paragraph">You can define which range of cells on a spreadsheet to print.</paragraph> <paragraph xml-lang="en-US" id="par_idN108FB" role="paragraph">The cells on the sheet that are not part of the defined print range are not printed or exported. Sheets without a defined print range are not printed and not exported to a PDF file, unless the document uses the Excel file format.</paragraph> <paragraph xml-lang="en-US" id="par_idN1077A" role="note">For files opened in Excel format, all sheets that do not contain a defined print range are printed. The same behavior occurs when you export the Excel formatted spreadsheet to a PDF file.<comment>UFI: New, see spec "Calc Print Settings Sheet Property "Print Entire Sheet""</comment></paragraph> <h2 id="par_idN108FE">To Define a Print Range</h2> <list type="ordered"> <listitem> <paragraph xml-lang="en-US" id="par_idN10905" role="paragraph">Select the cells that you want to print.</paragraph> </listitem> <listitem> <paragraph xml-lang="en-US" id="par_idN10909" role="paragraph">Choose <emph>Format - Print Ranges - Define</emph>.</paragraph> </listitem> </list> <h2 id="par_idN10910">To Add Cells to a Print Range</h2> <list type="ordered"> <listitem> <paragraph xml-lang="en-US" id="par_idN10917" role="paragraph">Select the cells that you want to add to the existing print range.</paragraph> </listitem> <listitem> <paragraph xml-lang="en-US" id="par_idN1091B" role="paragraph">Choose <emph>Format - Print Ranges - Add</emph>.</paragraph> </listitem> </list> <h2 id="par_idN10922">To Clear a Print Range</h2> <list type="unordered"> <listitem> <paragraph xml-lang="en-US" id="par_idN10929" role="paragraph">Choose <emph>Format - Print Ranges - Clear</emph>.</paragraph> </listitem> </list> <h2 id="par_idN10953">Using the Page Break Preview to Edit Print Ranges</h2> <paragraph xml-lang="en-US" id="par_idN1093E" role="paragraph">In the <emph>Page Break Preview</emph>, print ranges as well as page break regions are outlined by a blue border and contain a centered page number in gray. Nonprinting areas have a gray background.</paragraph> <paragraph xml-lang="en-US" id="par_id3153143" role="paragraph">To define a new page break region, drag the border to a new location. When you define a new page break region, an automatic page break is replaced by a manual page break.</paragraph> <h3 id="par_idN10930">To View and Edit Print Ranges</h3> <list type="ordered"> <listitem> <paragraph xml-lang="en-US" id="par_idN10937" role="paragraph">Choose <emph>View - Page Break Preview</emph>.</paragraph> <paragraph xml-lang="en-US" id="par_idN1082A" role="tip">To change the default zoom factor of the <emph>Page Break Preview</emph>, double click the percentage value on the <emph>Status</emph> bar, and select a new zoom factor.</paragraph> </listitem> <listitem> <paragraph xml-lang="en-US" id="par_idN10836" role="paragraph">Edit the print range.</paragraph> <paragraph xml-lang="en-US" id="par_idN10944" role="paragraph">To change the size of a print range, drag a border of the range to a new location.</paragraph> <paragraph xml-lang="en-US" id="par_id3151075" role="note">To delete a manual page break that is contained in a print range, drag the border of the page break outside of the print range.</paragraph> <paragraph xml-lang="en-US" id="par_idN10948" role="paragraph">To clear a print range, drag a border of the range onto the opposite border of the range.</paragraph> </listitem> <listitem> <paragraph xml-lang="en-US" id="par_idN10862" role="paragraph">To exit the <emph>Page Break Preview</emph>, choose <emph>View - Normal</emph>.</paragraph> </listitem> </list> <section id="relatedtopics"> <embed href="text/scalc/guide/print_exact.xhp#print_exact"/> <embed href="text/scalc/guide/print_title_row.xhp#print_title_row"/> <paragraph xml-lang="en-US" id="par_idN109CF" role="paragraph"><link href="text/scalc/01/05080300.xhp">Editing Print Ranges</link></paragraph> </section> </body> </helpdocument>