6-Printing Exporting Emailing
6-Printing Exporting Emailing
Chapter 6
Printing, Exporting, and
E-mailing
Copyright
This document is Copyright © 2005–2012 by its contributors as listed below. You may distribute it
and/or modify it under the terms of either the GNU General Public License
(http://www.gnu.org/licenses/gpl.html), version 3 or later, or the Creative Commons Attribution
License (http://creativecommons.org/licenses/by/3.0/), version 3.0 or later.
All trademarks within this guide belong to their legitimate owners.
Contributors
Barbara Duprey
Jean Hollis Weber
John A Smith
Feedback
Please direct any comments or suggestions about this document to:
[email protected]
Acknowledgments
This chapter is based on Chapter 6 of the OpenOffice.org 3.3 Calc Guide. The contributors to that
chapter are:
Jean Hollis Weber Emma Kirsopp Peter Kupfer
Shelagh Manton Kashmira Patel Linda Worthington
Click the Print File Directly icon to send the entire document to the default printer defined for
your computer.
You can change the action of the Print File Directly icon, to send the document to
the printer defined for the document, instead of the default printer for the computer.
Note Choose Tools > Options > Load/Save > General and select the Load printer
settings with the document option.
Controlling printing
For more control over printing, use the Print dialog (File > Print or Ctrl+P).
The Print dialog has four tabs, from which you can choose a range of options, as described in the
following sections.
The options selected on the Print dialog apply to this printing of this document only.
To specify default printing settings for LibreOffice, go to Tools > Options >
Note
LibreOffice – Print and Tools > Options > LibreOffice Calc – Print. See
Chapter 14, Setting Up and Customizing Calc, for details.
3) In the Page sides section, select whether to print all pages or only some pages.
4) Click the Print button.
Controlling printing 5
Selecting sheets to print
In addition to printing a full document, you can choose to print individual sheets, ranges of sheets,
or a selection of a document.
You can choose single sheets, multiple sheets, and selections of cells for printing.
Caution After printing, be sure to deselect the extra sheets. If you keep them selected, the
next time you enter data on one sheet, you enter data on all the selected sheets.
This might not be what you want.
You can check the print range by using File > Page Preview. LibreOffice will only
Tip display the cells in the print range.
The additional print range will print as a separate page, even if both ranges are on
Note the same sheet.
Figure 6: Print range marked by colored box. Page break lines visible around the selection
You do not need to select the entire range of the rows to be repeated; simply
Note select one cell in each row.
Row break
Selecting Row Break creates a page break above the selected cell. For example, if the active cell
is H15, then the break is created between rows 14 and 15.
Column break
Selecting Column Break creates a page break to the left of the selected cell. For example, if the
active cell is H15, then the break is created between columns G and H.
To see page break lines more easily on screen, you can change their color.
Tip Choose Tools > Options > LibreOffice > Appearance and scroll down to the
Spreadsheet section.
Multiple manual row and column breaks can exist on the same page. When you
want to remove them, you have to remove each one individually. This may be
confusing at times, because although there may be a column break set on the
page, when you go to Edit > Manual Break, the Column break choice may not be
Note available (grayed out).
In order to remove the break, you have to be in the cell next to the break. For
example, if you set the column break while you are in H15, you can not remove it if
you are in cell D15. However, you can remove it from any cell in column H.
Page breaks 11
Printing options setup in page styles
Several printing options are set in the page style for sheets. These include the page order, details,
and scale to be printed, Because these options are set in the page style, different page styles can
be set up to quickly change the print properties of the sheets in the spreadsheet. See Chapter 3,
Using Styles and Templates in Calc, for more about page styles.
The Sheet tab of the Page Style dialog (Figure 11) provides the following options.
Page Order
You can set the order in which pages print. This is especially useful in a large document; for
example, controlling the print order can save time if you have to collate the document a certain
way.
Where a sheet prints to more than one page of paper, it can be printed either by column, where the
first column of pages prints, and then the second column and so on, or by row as shown in the
graphic on the top right of the dialog in Figure 11.
Print
You can specify which details to print. These details include:
• Row and column headers
• Sheet grid—prints the borders of the cells as a grid
• Comments—prints the comments defined in your spreadsheet on a separate page,
along with the corresponding cell reference
• Objects and graphics
• Charts
• Drawing objects
• Formulas—prints the formulas contained in the cells, instead of the results
• Zero Values—prints cells with a zero value
Margin
Changing the size of the left or right margin adjusts how far the header or footer is from that
side of the page.
Spacing
Spacing affects how far above or below the sheet the header or footer will print. So, if spacing
is set to 1.00", then there will be 1 inch between the header or footer and the sheet.
Height
Height affects how big the header or footer will be.
Areas
Each area in the header or footer is independent and can have different information in it.
Header
You can select from several preset choices in the Header drop-down list, or specify a custom
header using the buttons below the area boxes. (To format a footer, the choices are the same.)
Custom header
Click in the area (Left, Center, Right) that you want to customize, then use the buttons to add
elements or change text attributes.
Opens the Text Attributes dialog.
Inserts the File Name field.
Exporting to PDF
Calc can export documents to PDF (Portable Document Format). This industry-standard file format
is ideal for sending the file to someone else to view using Adobe Reader or other PDF viewers.
Click the Export Directly as PDF icon to export the entire document using your default PDF
settings. You are asked to enter the file name and location for the PDF file, but you do not get a
chance to choose a page range, the image compression, or other options.
Exporting to PDF 15
Controlling PDF content and quality
For more control over the content and quality of the resulting PDF, use File > Export as PDF. The
PDF Options dialog opens. This dialog has five pages (General, Initial View, User Interface, Links,
and Security). Select the appropriate settings, and then click Export. You are then asked to enter
the location and file name of the PDF to be created, and click Save to export the file.
Range section
• All: Exports the entire document.
• Pages: To export a range of pages, use the format 3-6 (pages 3 to 6). To export single
pages, use the format 7;9;11 (pages 7, 9, and 11). You can also export a combination of
page ranges and single pages, by using a format like 3-6;8;10;12.
• Selection: Exports whatever content is selected.
EPS (Encapsulated PostScript) images with embedded previews are exported only
Note as previews. EPS images without embedded previews are exported as empty
placeholders.
General section
• PDF/A-1a: PDF/A is an ISO standard for long-term preservation of documents, by
embedding all the information necessary for faithful reproduction (such as fonts) while
forbidding other elements (including forms, security, and encryption). PDF tags are written.
If you select PDF/A-1a, the forbidden elements are greyed-out (not available).
• Tagged PDF: Tagged PDF contains information about the structure of the document’s
contents. This can help to display the document on devices with different screens, and
when using screen reader software. Some tags that are exported are table of contents,
hyperlinks, and controls. This option can increase file sizes significantly.
• Create PDF form - Submit format: Choose the format for submitting forms from within the
PDF file. This setting overrides the control’s URL property that you set in the document.
There is only one common setting valid for the whole PDF document: PDF (sends the
whole document), FDF (sends the control contents), HTML, and XML. Most often you will
choose the PDF format.
• Export bookmarks: Exports sheet names in Calc documents as “bookmarks” (a table of
contents list displayed by some PDF readers, including Adobe Reader).
• Export comments: Exports comments in Calc documents as PDF notes. You may not
want this!
• Export automatically inserted blank pages: Not available in Calc.
• Embed standard fonts: You can choose to embed the standard fonts (Times, Helvetica,
Courier, Symbol, and ZapfDingbats) in all PDF documents created by LibreOffice, to
enhance display accuracy in PDF viewers.
• Create hybrid file: This setting enables you to export the document as a .pdf file
containing two file formats: PDF and ODF.
Exporting to PDF 17
Figure 16: Initial View page of PDF Options dialog
Cross-document links
Defines the behavior of links clicked in PDF files.
Exporting to PDF 19
Security page of PDF Options dialog
PDF export includes options to encrypt the PDF (so it cannot be opened without a password) and
apply some digital rights management (DRM) features.
• With an open password set, the PDF can only be opened with the password. Once opened,
there are no restrictions on what the user can do with the document (for example, print,
copy, or change it).
• With a permissions password set, the PDF can be opened by anyone, but its permissions
can be restricted. See Figure 19.
• With both the open password and permission password set, the PDF can only be opened
with the correct password, and its permissions can be restricted.
Permissions settings are effective only if the user’s PDF viewer respects the
Note settings.
Figure 20 shows the dialog displayed when you click the Set passwords button on the Security
page of the PDF Options dialog.
After you set a password for permissions, the other choices on the Security page (shown in Figure
19) become available. These selections are self-explanatory.
Exporting to XHTML
Calc can export spreadsheets to XHTML, if the appropriate filter is installed (standard on Mac and
Linux; optional on Windows). Choose File > Export. On the Export dialog, specify a file name for
the exported document, then select the XHTML in the File format list and click the Export button.
E-mailing spreadsheets
LibreOffice provides several quick and easy ways to send spreadsheets as an e-mail attachment in
one of three formats: OpenDocument Spreadsheet (LibreOffice’s default format), Microsoft Excel,
or PDF.
Documents can only be sent from the LibreOffice menu if a mail profile has been
Note set up.
E-mailing spreadsheets 21
2) In your e-mail program, enter the recipient, subject, and any text you want to add, then
send the e-mail.
File > Send > E-mail as OpenDocument Spreadsheet has the same effect.
If you choose E-mail as Microsoft Excel, LibreOffice first creates a file in Excel format and then
opens your e-mail program with the *.XLS file attached.
Similarly, if you choose E-mail as PDF, LibreOffice first creates a PDF using your default PDF
settings (as when using the Export Directly as PDF toolbar button) and then opens your email
program with the *.PDF file attached.
A signed document shows an icon in the status bar. You can double-click the icon to view the
certificate.