Image1

Getting Started Guide 7.0

Chapter 10
Printing, Exporting, Emailing and Signing Documents

Copyright

This document is Copyright © 2020 by the LibreOffice Documentation Team. Contributors are listed below. You may distribute it and/or modify it under the terms of either the GNU General Public License (https://www.gnu.org/licenses/gpl.html), version 3 or later, or the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), version 4.0 or later.

All trademarks within this guide belong to their legitimate owners.

Contributors

To this edition

Jean Hollis Weber

Kees Kriek

Winston Min Tjong

To previous editions

Jean Hollis Weber

Steve Fanning

Kees Kriek

Dave Barton

Olivier Hallot

Paul Figueiredo

John A Smith

Miklos Vajna

Hazel Russman

Ron Faile Jr.

 

 

Feedback

Please direct any comments or suggestions about this document to the Documentation Team’s mailing list: documentation@global.libreoffice.org

Note

Everything you send to a mailing list, including your email address and any other personal information that is written in the message, is publicly archived and cannot be deleted.

Publication date and software version

Published January 2021. Based on LibreOffice .

Using LibreOffice on macOS

Some keystrokes and menu items are different on macOS from those used in Windows and Linux. The table below gives some common substitutions for the instructions in this document. For a detailed list, see the application Help.

Windows or Linux

macOS equivalent

Effect

Tools > Options
menu selection

LibreOffice > Preferences

Access setup options

Right-click

Control+click or right-click depending on computer setup

Open a context menu

Ctrl (Control)

(Command)

Used with other keys

F11

+T

Open the Styles deck in the Sidebar

Quick printing

If the Print Directly icon is visible on the Standard toolbar, you can click it to print the entire document using the current default print settings. If the icon is not visible, you can show it by right-clicking on the toolbar, pointing to Visible Buttons, and selecting Print Directly.

Note

The Print Directly and other printing options are not available when viewing a Base table or query.

You can specify the default printer on the Printer Setup dialog; go to File > Printer Settings on the Menu bar. When further printing options are available, click the Options button on the Printer Setup dialog to access them. The same options are available through Tools > Options > [LibreOffice Component] > Print, and more general print options through Tools > Options > LibreOffice > Print. See Chapter 2, Setting Up LibreOffice, for more information.

Controlling printing

For more control over printing, use the Print dialog (File > Print, Ctrl+P (⌘+P for macOS), or the Print icon on the Standard toolbar).

Note

The appearance of the Print dialog is different on macOS and may include extra printer controls not described in this chapter.

The Print dialog (Figure 1) has two tabs, from which you can choose a range of options as described in the following sections. The first tab is General; it is similar in all LibreOffice components although some of the options available in Writer are unavailable in other components. The second tab is component-specific.

The different components of LibreOffice have different print settings available, as summarized in Table 1.

Table 1: Print options in LibreOffice components

Feature

Writer

Calc

Impress

Draw

Math

Select pages/sheets/slides to print

Yes

Yes

Yes

Yes

Yes

Print multiple pages/sheets/slides on one page

Yes

Yes

Yes

Yes

No

Print a brochure

Yes

No

Yes

Yes

No

Print envelopes

Yes

No

No

No

No

Print labels or business cards

Yes

No

No

No

No

Preview pages/sheets before printing

Yes

Yes

No

No

No

Base forms and reports are printed using the Writer version of the Print dialog and hence provide the facilities in the Writer column of Table 1.

Figure 1: The Print dialog in Writer

Image10

Selecting general printing options

On the General tab of the Print dialog, you can choose:

Selecting printer and print job options

In the Printer section of the General tab, click the Properties button to display the selected printer’s properties dialog where you can choose portrait or landscape orientation, which paper tray to use, and the paper size to print on.

Click the More Options button at the bottom of the Print dialog to choose whether to create separate print jobs for collated output, instead of one print job containing all the collated pages (not relevant if only one copy of a document is printed).

Printing multiple pages on a single sheet of paper

You can print multiple pages of a document on one sheet of paper. To do this, in the Page Layout section of the General tab, click more and select from the Pages per sheet drop-down list the number of pages to print per sheet of paper. The preview panel on the left of the Print dialog shows how the printed document will look. This facility is not available in Math.

When printing more than two pages per sheet, you can choose the order in which they are printed across and down the paper (see Figure 2).

Tip

In Writer, to print two pages per sheet in “facing pages” (book layout) style, print from Print Preview instead. See below.

Figure 2: Print order choices

Image12

Selecting pages/sheets/slides to print

In addition to printing a full document, in the Range and Copies section of the General tab, you can choose to print individual pages/sheets/slides, ranges of pages/sheets/slides, or a selection of a document. The details vary slightly between Writer, Calc, Draw, Impress, and Math, as described below.

Writer and Math

Printing an individual page:

1)  In the Print dialog, in the Range and Copies section, select the Pages option. The text box shows the current page number.

2)  Enter the page number of the page you want to print. The preview box on the left changes to show the selected page.

Printing a range of pages:

1)  In the Print dialog, in the Range and Copies section, select the Pages option.

2)  Enter the page numbers of the pages to print (for example, 1–4 or 1,3,7,11).

Printing a selection of text or graphics (Writer only):

1)  In the document, select the material to print, then open the Print dialog.

2)  In the Range and Copies section of the Print dialog, the Selection option is now active and selected and the preview box shows the selected material. See Figure 3.

Figure 3: Printing a selection of text

Image14

Calc

You can choose individual sheets, ranges of sheets, or selections of sheets for printing.

Figure 4: Choosing what to print in Calc

Image13

Printing an individual sheet:

1)  In the spreadsheet, click on the sheet tab to select the sheet you want to print.

2)  Open the Print dialog and choose the General tab.

3)  In the Range and Copies section, click more and choose Print Selected Sheets in the From which drop-down.

Printing a range of sheets:

1)  In the spreadsheet, select the sheets to print.

a)  Select the first sheet.

b)  Hold down the Control key.

c)  Click on the additional sheet tabs.

d)  Release the Control key when all required sheets are selected.

2)  Open the Print dialog and choose the General tab.

3)  In the Range and Copies section, click more and choose Print Selected Sheets in the From which drop-down.

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.

Printing a selection of cells:

1)  In the document, select the cells to print.

2)  Open the Print dialog and choose the General tab.

3)  In the Ranges and Copies section, choose Print Selected Cells in the From which drop-down.

Impress and Draw

You can choose individual slides, ranges of slides, or selections of slides for printing.

To print an individual slide or a range of slides, do one of the following:

Figure 5: Choosing what to print in Impress and Draw

Image11

To print a selection from a slide, or a selection from multiple slides:

1)  In the document, select the section of the slide to print.

2)  Open the Print dialog.

3)  Choose the Selection option in the Range and Copies section.

You can also choose to print only even-numbered slides or only odd-numbered slides.

Choices on the component tabs

Choices on the LibreOffice [Component] tab vary with the component.

Writer

On the LibreOffice Writer tab (Figure 6) you can choose to print a subset of contents (for example, images or hidden text), print text in black (even if a color is defined for the text), whether to print automatically inserted blank pages, and whether and where to print any comments that are in the document (Figure 7).

Figure 6: LibreOffice Writer tab of Print dialog

Image8

Some selections may not be available all the time. For example, if the document contains no comments, the Comments drop-down list is disabled.

Figure 7: Choosing whether and where to print comments

Image18

Calc

The only choice on the LibreOffice Calc tab is whether to suppress the printing of blank sheets.

Impress

On the LibreOffice Impress tab (Figure 8), you can choose to print slides, handouts, notes, or an outline. See Chapter 6, Getting Started with Impress, for more information on these features.

Handouts prints the slides in reduced size on the page, from one to nine slides per page. The slides can be printed horizontally (landscape orientation) or vertically (portrait orientation) on the page.

Notes prints a single slide per page with any notes entered for that slide in Notes View.

Outline prints the title and headings of each slide in outline format.

Figure 8: LibreOffice Impress tab of Print dialog

Image16

To print slides, handouts, notes, or outlines:

1)  In the Document section, select the required option under Type.

2)  For Handouts, you can then choose how many slides to print per page, and the order in which they are printed (see Figure 9).

Figure 9: Handouts

Image17

Draw

On the LibreOffice Draw tab (Figure 10), you can choose print options as shown.

Figure 10: LibreOffice Draw tab of Print dialog

Image19

Math

On the LibreOffice Math tab (Figure 11), you can choose print options as shown.

Figure 11 - LibreOffice Math tab of Print dialog

Image26

Printing a brochure

In Writer, Impress, and Draw, you can print a document with two pages on each side of a sheet of paper, arranged so that when the printed pages are folded in half, the pages are in the correct order to form a booklet or brochure.

Tip

Plan your document so it will look good when printed half size; choose appropriate margins, font sizes, and so on. You may need to experiment.

To print a brochure:

1)  In the Page Layout section of the General tab, click more and select the Brochure option. The preview on the left changes to show the sequence in which the pages will be printed. (See Figure 12.)

Figure 12: Settings for printing a brochure on a simplex printer

Image20

2)  Depending on your language settings (Tools > Options > Language Settings > Languages), the Writer variant of the Print dialog may include a drop-down menu adjacent to the Brochure button (not shown in Figure 12). This provides Left-to-right script and Right-to-left script options. Select the required setting in this menu.

3)  If your printer can print double-sided (duplex) pages automatically, choose All pages in the Range and Copies section, then click OK to print.

4)  If your printer can print only single-sided pages automatically, follow these steps:

a)  Select Even pages in the Range and Copies section, then click OK to print.

b)  Take the printed pages out of the printer and put them back in the correct orientation to print on the blank side. You may need to experiment to find the correct arrangement for your printer.

c)  On the Print dialog, in the Range and Copies section, select Odd pages. Click OK.

Printing envelopes, labels, business cards

Printing envelopes, labels, or business cards using Writer involves two steps: setup and printing.

For details, see Chapter 14, Using Mail Merge, in the Writer Guide.

Previewing pages/sheets before printing

You can use the previewing options in Writer and Calc to view the document as it will be printed. Several viewing options are available.

Writer

The normal page view in Writer shows you what each page will look like when printed and you can edit the pages in that view. If you are designing a document to be printed double-sided, you may want to see what facing pages look like. Writer provides two ways to do this:

Image62

To use Print Preview:

1)  Choose File > Print Preview on the Menu bar, or click the Toggle Print Preview button on the Standard toolbar, or press Ctrl+Shift+O (Shift+⌘+O for macOS).

Writer now displays the Print Preview toolbar instead of the Formatting toolbar.

Figure 13: Print Preview toolbar (Writer)

Image24

2)  Select the required preview icon: Single Page, Two Pages, Multiple Pages, or Book Preview.

3)  To print the document from this view, click the Print icon to open the Print dialog. Choose the print options and click OK or Print (macOS).

Calc

To preview the sheets in Calc before printing:

1)  Choose File > Print Preview on the Menu bar, or click the Toggle Print Preview button on the Standard toolbar, or press Ctrl+Shift+O (Shift+⌘+O for macOS).

The Calc window now displays the Print Preview toolbar instead of the Formatting toolbar.

Figure 14: Print Preview toolbar (Calc)

Image25

2)  To print the document from this view, click the Print icon to open the Print dialog.

Exporting to PDF

LibreOffice can export documents to PDF (Portable Document Format). This standard file format is ideal for sending the file to someone else to view using Adobe Reader or other PDF viewers.

Warning

A document in PDF format is not protected against contents tampering or editing by default. The PDF document contents can be edited by specialized software tools, including LibreOffice Draw.

The process and dialogs are the same for Writer, Calc, Impress, and Draw, with a few minor differences mentioned in this section.

Tip

Unlike Save As, the Export command writes a copy of the current document in a new file with the chosen format, but keeps the current document and format open in your session.

Quick export to PDF

Click the Export Directly as PDF icon on the Standard toolbar to export the entire document using the PDF settings you most recently selected on the PDF Options dialog (see below). In Writer, Impress, and Draw, you can also use File > Export As > Export Directly as PDF. 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.

Controlling PDF content and quality

For more control over the content and quality of the resulting PDF, use File > Export As > Export as PDF (Writer, Impress, and Draw) or File > Export as PDF (Calc and Math) on the Menu bar. The PDF Options dialog opens. This dialog has six tabs (General, Initial View, User Interface, Links, Security, and Digital Signatures). Select the appropriate settings, and then click Export. Then you are asked to enter the location and file name of the PDF to be created, and click Save (Windows and Linux) or Export (macOS) to export the file.

Note

You can also export to PDF from File > Export (not Math). On the Export dialog, select the PDF file format, the file name and location, and click Save or Export (macOS). The PDF Options dialog then opens. Select the appropriate settings and then click Export. The only difference between the two export methods is the sequence in which steps occur.

General tab of PDF Options dialog

On the General tab (Figure 15), you can choose which pages to include in the PDF, the type of compression to use for images (which affects the quality of images in the PDF), and other options. Figure 15 shows the Writer variant of the General tab – the corresponding tabs for other LibreOffice components have minor differences from this figure.

Figure 15: General tab of PDF Options dialog (Writer)

Image9

Range section

Images section

Watermark section

Note

EPS (Encapsulated PostScript) images with embedded previews are exported only as previews. EPS images without embedded previews are exported as empty placeholders.

General section

Structure section

Initial View tab of PDF Options dialog

On the Initial View tab (Figure 16), you can choose how the PDF opens by default in a PDF viewer. The selections should be self-explanatory.

If you have Complex Text Layout enabled (in Tools > Options > Language Settings > Languages), an additional selection is available under the Continuous facing button: First page is left (normally, the first page is on the right when using the Continuous facing option).

Figure 16: Initial View tab of PDF Options dialog

Image3

User Interface tab of PDF Options dialog

On the User Interface tab (Figure 17), you can choose more settings to control how a PDF viewer displays the file. Some of these choices are particularly useful when you are creating a PDF to be used as a presentation or a kiosk-type display.

Figure 17: User Interface tab of PDF Options dialog

Image15

Window Options section

User Interface Options section

Transitions

In Impress, displays slide transition effects as their respective PDF effects.

Bookmarks

Select how many heading levels are displayed as bookmarks, if Export bookmarks is selected on the General tab.

Links tab of PDF Options dialog

On the Links tab (Figure 18), you can choose how links are exported to PDF.

Figure 18: Links tab of PDF Options dialog

Image2

Export bookmarks as named destinations

If you have defined Writer bookmarks, Impress or Draw slide names, or Calc sheet names, they are exported as “named destinations” to which Web pages and PDFs can link.

Convert document references to PDF targets

If you have defined links to other documents with OpenDocument extensions (such as .odt, .ods, and .odp), the file extensions are converted to .pdf in the exported PDF document.

Export URLs relative to file system

If you have defined relative links in a document, this option exports those links to the PDF.

Cross-document Links

Defines the behavior of links clicked in PDF files. Select one among the following alternatives:

Security tab 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.

Note

Permissions settings are effective only if the user’s PDF viewer respects the settings.

Figure 19: Security tab of PDF Options dialog

Image5

Digital Signatures tab of PDF Options dialog

The Digital Signatures tab (Figure 20) contains the options related to exporting a digitally signed PDF.

Figure 20: Digital Signatures tab of PDF Options dialog

Image6

Digital signatures are used to ensure that the PDF was really created by the original author (that is, you), and that the document has not been modified since it was signed.

The signed PDF export uses the keys and X.509 certificates already stored in your default key store location or on a smartcard. The key store to be used can be selected under Tools > Options > LibreOffice > Security > Certificate (macOS and Linux only). When using a smartcard, it must already be configured for use by your key store. This is usually done during installation of the smartcard software. Details about using these features is outside the scope of this chapter.

Exporting to EPUB format (Writer only)

EPUB format has become popular since mobile devices such as smartphones, tablets, and e‑readers appeared on the market. The EPUB format is implemented as an archive file consisting of HTML files carrying the content, along with images and other supporting files. Writer can export a file to EPUB.

Quick export to EPUB

Choose File > Export As > Export Directly as EPUB to export the entire document using the EPUB settings you most recently selected on the EPUB Export dialog (see below). You are asked to enter the file name and location for the EPUB file, but you do not get a chance to select other options.

Controlling export to EPUB

For more control over the content and quality of the resulting EPUB file, use File > Export As > Export as EPUB. The EPUB Export dialog opens (Figure 21).

Figure 21: EPUB Export dialog

Image7

The EPUB Export dialog has the following fields:

Version

Choose the EPUB version for the exported file. Values are EPUB 2.0 and EPUB 3.0.

Split method

Select the method to start a new section. Choose Heading to start the section on a heading, according to the document’s chapter numbering. Choose Page break to start the section on a page break.

Layout method

Choose Reflowable to have the ebook display change to fit the screen size and the user’s preference (so page size and header/footer content is not exported). Choose Fixed to have the ebook layout remain the same under all conditions.

Customize - Cover image

The path to the image file for the cover page. If no image is specified, the EPUB file will automatically use any image with a name like cover.gif, cover.jpg, cover.png, or cover.svg. A custom cover image is embedded in the EPUB file.

Customize - Media directory

The path to the optional directory for the cover image, metadata, and multimedia files. If you do not specify a directory, the exporter looks for custom media and custom metadata in the current document directory inside a folder with the same name as the document file name.

Metadata

The basic information for the file that provides tags to help searches. These fields provide another chance to edit metadata that is picked up by default from File > Properties in Writer.

Exporting to other formats

LibreOffice uses the term “export” for some file operations involving a change of file type. If you cannot find what you want under File > Save As, look under File > Export (not available in Math) as well.

LibreOffice can export files to XHTML. In addition, Draw and Impress can export to a range of image formats.

To export to one of these formats, choose File > Export. On the Export dialog, specify a file name for the exported document, then select the required format in the Save as type or File format (macOS) list and click the Save or Export (macOS) button.

Emailing documents

LibreOffice provides several ways to send documents quickly and easily as email attachments in one of three formats: OpenDocument (LibreOffice’s default format), Microsoft Office formats, or PDF.

To send the current document in OpenDocument format:

1)  Choose File > Send > Email Document. LibreOffice opens your default email program. The document is attached to a new email.

2)  In your email program, enter the recipient, subject, and any text you want to add, then send the email.

File > Send > Email as OpenDocument [Text, Spreadsheet] has the same effect in Writer or Calc.

If you choose Email as Microsoft [Word, Excel] in Writer or Calc, LibreOffice first creates a file in one of those formats and then opens your email program with the file attached to a new email.

Similarly, if you choose Email as PDF, LibreOffice first creates a PDF using your default PDF settings (as when using the Export Directly as PDF function) and then opens your email program with the PDF file attached to a new email.

Emailing a document to several recipients

To email a document to several recipients, you can use the features in your email program or you can use LibreOffice Writer’s mail merge facilities to create the document and send it. See Chapter 14, Mail Merge, in the Writer Guide for details.

Digital signing of documents

To sign a document digitally, you need a personal key, also known as a certificate. A personal key is stored on your computer as a combination of a private key, which must be kept secret, and a public key, which you add to your documents when you sign them. You can get a certificate from a certification authority, which may be a private company or a governmental institution.

When you apply a digital signature to a document, a checksum is computed from the document’s content plus your personal key. The checksum and your public key are stored together with the document.

When someone later opens the document on any computer with a recent version of LibreOffice, the program will compute the checksum again and compare it with the stored checksum. If both are the same, the program will signal that you see the original, unchanged document. In addition, the program can show you the public key information from the certificate. You can compare the public key with the public key that is published on the web site of the certificate authority. Whenever someone changes something in the document, this change breaks the digital signature.

For a more detailed description of how to get and manage a certificate, and signature validation, see “Applying Digital Signatures” in the LibreOffice Help.

Applying a digital signature

The following procedure is an example of how to digitally sign a document. The actual procedure depends on how your computer is set up and its operating system.

1)  Choose File > Digital Signatures > Digital Signatures.

2)  The Digital Signatures dialog (Figure 27) opens. It lists existing signatures together with their description (if they have any). Click the Sign Document button to add a new signature to the document.

3)  In the Select Certificate dialog, select your certificate, add an optional description, and click Sign to return to the Digital Signatures dialog.

The certificate used is displayed in the dialog with an icon next to its name. This icon indicates the status of the digital signature.

4)  Click Close in the Digital Signatures dialog to apply the digital signature.

A signed document shows an icon in the status bar. You can double-click the icon to view the certificate. More than one signature can be added to a document.

Changing an existing description invalidates the signature. However, multiple signatures from the same author are allowed, because each signature can have a different description.

Figure 22: Signatures of the document

Image86

Figure 23: Signatures can have a description

Image87

Including a signature line (Writer and Calc)

You can generate a graphic box representing a signature line using Insert > Signature Line (see Figure 24), and you can optionally sign the signature line using a digital certificate.

Figure 24: Creating a signature line for a document

Image22

Figure 25: Signature line example

Image23

Removing personal data

You may wish to ensure that personal data, versions, notes, hidden information, or recorded changes are removed from files before you send them to other people or create PDFs from them.

In Tools > Options > LibreOffice > Security, click the Options button to display a dialog where you can set LibreOffice to warn you when files contain certain information and/or automatically remove personal information on saving.

To remove personal and some other data from a file, go to File > Properties. On the General tab, uncheck Apply user data and click the Reset Properties button. This removes any names in the created and modified fields, deletes the modification and printing dates, and resets the editing time to zero, the creation date to the current date and time, and the version number to 1.

To remove version information, either go to File > Versions, select the versions from the list and click Delete; or use File > Save As and save the file with a different name.

Redaction (Writer, Calc, and Impress)

You can redact documents to remove or hide sensitive information, to allow the selective disclosure of information in a document while keeping other parts of the document secret. For example, when a document is subpoenaed in a court case, information not specifically relevant to the case at hand is often redacted.

To redact a document:

1)  Open the document in LibreOffice.

2)  Click Tools > Redact on the Menu bar, and wait for the document to be prepared for redaction and transferred to Draw. The Redaction toolbar (Figure 26) opens.

Figure 26: Redaction toolbar

Image4

3)  Do the redaction by using the Rectangle Redaction and Freeform Redaction tools on the Redaction toolbar. The shapes will be transparent and in gray so you can see what you are redacting.

4)  Optionally use the Export Directly as PDF tool to make an in-redaction copy of the document in PDF to use as a verbatim copy for review. The redacted items will be in transparent grey.

5)  To finalize the redaction, select the desired option (black or white) on the Redacted Export tool. The transparent grey shapes are converted to opaque black or white shapes and the document is exported as a pixellized PDF. There will be no selectable text in it, and the redacted content will be non-existent.

Auto-redaction

To partially automate the redaction process, you can define certain words (such as names) to be redacted wherever they are found in the document. To do this, choose Tools > Auto-Redact on the Menu bar to open the Automatic Redaction dialog (Figure 27). Here you can load a list of terms (targets), add targets, delete targets, edit targets, and save a list of targets.

Figure 27: Automatic Redaction dialog

Image21

Contents