LibreOffice is an open source office suite that provides tools for all types of office tasks such as writing texts, working with spreadsheets, or creating graphics and presentations. With LibreOffice, you can use the same data across different computing platforms. You can also open and edit files in other formats, including Microsoft* Office* formats, then save them back to this format, if needed. This chapter contains information that applies to all LibreOffice modules.
LibreOffice consists of several application modules (subprograms) which are designed to integrate with each other. While this chapter contains information that applies to all LibreOffice modules, the following chapters and sections contain information on individual modules. Find a short description and where each module is described in the table Table 10.1, “The LibreOffice Application Modules”.
A full description of each module is available in the application help, described in Section 10.11, “For More Information”.
Module |
Purpose |
Described in |
---|---|---|
Writer |
Word processor module | |
Calc |
Spreadsheet module | |
Impress |
Presentation module | |
Base |
Database module | |
Draw |
Module for drawing vector graphics | |
Math |
Module for generating mathematical formulas |
To start LibreOffice, click
› › . In the LibreOffice start center, choose the type of document you want to create.There are multiple methods to directly start one of the LibreOffice modules:
If any LibreOffice module is open, you can start any of the other modules by clicking
› and then selecting the type of document you want to create.You can also start individual LibreOffice modules from the menu
.
As an alternative, use the command libreoffice
and one
of the options
--writer
, --calc
,
--impress
, --draw
, or
--base
to start the respective module.
LibreOffice has many command line options, especially for allowing document
conversions. To learn more about the command line options of LibreOffice, see
libreoffice --help
or the man page of LibreOffice
(man libreoffice(1)
).
Before you start working with LibreOffice, you may be interested in changing some options from the preferences dialog. Click
› to open it. The most important ones are:Specify your user data such as company, first and last name, street, city, and other useful information. This data has many uses: It is used in the comment functions of Writer and Calc, for authorship information in PDF documents, and for serial letters in Writer.
Map font names to installed fonts. This can be useful if you exchange documents with others and the document you received contains fonts that are not available on your system.
Contains loading and saving specific options. For example, you can choose whether to always create a backup copy and which file format LibreOffice should use by default.
To learn more about configuring LibreOffice, see Section 10.8, “Changing the Global Settings”.
The user interface of most LibreOffice is very similar across its modules:
At the top of the application, there is the menu bar which gives access to almost all functionality of LibreOffice. The menu bar can be customized to include more or fewer functions. You can also add and remove menus.
By default, the toolbars are positioned directly below the menu bar. The toolbars comprise the most used and most important items of the module.
To dock a toolbar to any other side of the window, drag them to the right position. To make a toolbar float, drag it into the middle of the window. They can be customized to include more or fewer functions. You can also add and remove toolbars.
By default, the side bar is positioned at the right side of the LibreOffice window. On the first start of LibreOffice, it is only visible as several icons stacked vertically. Clicking one of the icons opens a panel with more elements. Click the icon again to close the panel. Similarly to the toolbars, the side bar comprises the most important functions.
To dock the side bar to the left or right side of the window, drag it to the right position. To make the side bar float, drag it into the middle of the window. To hide the side bar, click the vertical arrowhead button on the document-facing side of the side bar.
You can hide or show side bar panels but cannot customize their functionality.
The statusbar is displayed at the bottom of the window. It mainly shows information about the document, such as the number of words (in Writer) or the sum of values of selected cells (in Calc). However, it can also be used to change the zoom or language settings. Many elements open additional menus or dialogs on left click, right click, or double click.
For more information on customizing LibreOffice, see Section 10.7, “Customizing LibreOffice”.
The native file format of LibreOffice is the OpenDocument format. OpenDocument is an ISO-standardized format for office documents that is based on XML. However, LibreOffice can also work with documents, spreadsheets, presentations, and databases in many other formats, including Microsoft Office formats. Files in Microsoft Office formats can be opened and saved back normally.
If you use LibreOffice in an environment where you need to share documents with Microsoft Word users, you should have little or no trouble exchanging document files. However, very complex documents can require editing after opening. Complex documents are documents containing, for example, complicated tables, Microsoft Office macros, or unusual fonts, formatting, or graphics objects.
In case there should ever be issues with opening documents, try the following strategies:
Text Documents. Consider opening text documents in the original application and saving them as RTF or plain text (TXT). However, saving as plain text means that all formatting will be lost.
Spreadsheets. Consider opening spreadsheets in the original application and saving them as Excel files. If this does not work, try the CSV format. However, saving as CSV means that all formatting, cell type definitions, formulas, and macros will be lost.
LibreOffice can read, edit, and save documents in several formats. It is not necessary to convert files from those formats to the OpenDocument format used by LibreOffice to use those files. However, if you want to convert the files, you can do so. To convert several documents, such as when first switching to LibreOffice, do the following:
Select
› › .Choose the file format from which to convert.
Click
.Specify where LibreOffice should look for templates and documents to convert and in which directory the converted files should be placed.
Documents retrieved from a Windows partition are usually in a
subdirectory of /windows
.
Make sure that all other settings are correct, then click
.Review the summary of the actions to perform, then start the conversion by clicking
.The amount of time needed for the conversion depends on the number of files and their complexity. For most documents, conversion does not take long.
When everything is done, close the Wizard.
You can save files, no matter in which LibreOffice format, with a password. Unlike older versions of LibreOffice, the encryption applied to the document with recent versions of LibreOffice is very strong. However, this encryption does not protect file names and file sizes of encrypted files. If that is important to you, see the alternate encryption methods described in Book “Security Guide”, Chapter 11 “Encrypting Partitions and Files”.
To save a file with a password, select
› or › .In the dialog that opens, activate the check box
at the bottom and click .Type and confirm your password, then click
.The next time you open the file, you will be prompted for the password.
To change the password, do either of the following:
Overwrite the same file by selecting
› . Make sure is deactivated.Select
› and click to access the password dialog.You can digitally sign documents to protect them. For this, you need a personal certificate, similar to an HTTPS certificate. You can either create a self-signed certificate or choose to obtain one from a Certificate Authority.
When applying a digital signature to a document, a kind of checksum is created from the document's content and your personal key. The checksum is stored together with the document.
When another person opens the document, the checksum will be generated again. The new checksum is then compared to the original checksum. If both are equal, the application will signal that the document has not been changed in the meantime.
To add a certificate to LibreOffice, you need to use Firefox:
Start Firefox by selecting
› › .Go to the certificates preferences by opening the menu (), then select
› › › .Add your certificate by selecting
and clicking and then locate your certificate.To sign a document, first open it in LibreOffice. Then select
› › . Select the certificate you want to use for signing, then click .openSUSE Leap allows you to access certificates from the certificate store. For more information, refer to Book “Security Guide”, Chapter 12 “Certificate Store”.
You can customize LibreOffice to best suit your needs and working style. Toolbars, menus, and key combinations can all be reconfigured to help you more quickly access the features you use the most.
You can also assign macros to application events if you want specific actions to occur when those events take place. For example, if you always work with a specific spreadsheet, you can create a macro that opens the spreadsheet and assign the macro to the
event.This section contains simple, generic instructions for customizing your environment. The changes you make are effective immediately. This means, you can see if the changes are what you wanted and go back and modify them if they are not. See the LibreOffice help files for detailed instructions.
To access the customization dialog in any open LibreOffice module, select
› .Click
for more information about the options in the dialog.In the customization dialog, click the tab
.From the drop-down box
, select the toolbar you want to customize.Activate the check boxes next to the commands you want to appear on the toolbar, and deactivate the check boxes next to the commands you do not want to appear. A short description for each command is shown at the bottom of the dialog.
With
, select whether to save your customized toolbar in the current LibreOffice module or in the current document. If you decide to save it in the LibreOffice module, the customized toolbar is used whenever you open that module. If you decide to save it together with the current document, the customized toolbar is used whenever you open that document.Repeat to customize additional toolbars.
Click
.To switch back to the original settings again, open the customization dialog, click the
drop-down box and select . Click and to proceed.Click the arrow icon at the right edge of the toolbar you want to change.
Click
to display a list of buttons.Select the buttons in the list to enable (check) or disable (uncheck) them.
You can add or delete items from current menus, reorganize menus, and even create new menus.
Click
› › .Select the menu you want to change, or click
to create a new menu.Modify, add, or delete menu items as desired.
Click
.You can reassign currently assigned key combinations and assign new ones to frequently used functions.
Click
› › .Select the keys you want to assign to a combination.
Select a
and an appropriate .Click
to assign the function to the key or to remove an existing assignment.Click
.LibreOffice also provides ways to assign macros to events such as application start-up or the saving of a document. The assigned macro runs automatically whenever the selected event occurs.
Click
› › .Select the event you want to change.
Assign or remove macros for the selected event.
Click
.Global settings can be changed in any LibreOffice module by clicking
› on the menu bar. This opens the window shown in the figure below. A tree structure is used to display categories of settings.The settings categories that appear depend on the module you are working in. For example, if you are in Writer, the LibreOffice Writer category appears in the list, but the LibreOffice Calc category does not. The LibreOffice Base category appears in both Calc and Writer. The Module column in the table shows where each setting category is available.
The following table lists the settings categories along with a brief description of each category:
Settings Category |
Description |
Module |
---|---|---|
|
Basic settings, including your user data (such as your address and e-mail), important paths, and settings for printers and external programs. |
All |
|
Settings related to the opening and saving of several file types. There is a dialog for general settings and several special dialogs to define how external formats should be handled. |
All |
|
Settings related to languages and writing aids, such as your locale and spell checker settings. This is also the place to enable support for Asian languages. |
All |
|
Settings related to word processing, such as the basic units, fonts and layout that Writer should use. |
Writer |
|
Settings related to the HTML authoring features of LibreOffice. |
Writer |
|
Settings related to spreadsheets, such as spreadsheet appearance, Microsoft Excel compatibility options, and calculation options. |
Calc |
|
Settings related to presentations, such as enabling the smartphone remote control and the grid of the page to use. |
Impress |
|
Settings related to drawings, such as the grid of the page to use. |
Draw |
|
Allows setting and editing database connections and registered databases. |
Base |
|
Allows defining the default colors used for newly created charts. |
All |
|
Allows configuring a proxy and the e-mail software to use. |
All |
All settings listed in the table apply globally for the specified modules. That means, they are used as defaults for every new document you create.
A template is a document containing only the styles—and content— that you want to appear in every document of that type. When a document is created or opened with the template, the styles are automatically applied to that document. Templates greatly enhance the use of LibreOffice by simplifying formatting tasks for a variety of different types of documents.
For example, in a word processor, you can write letters, memos, and reports, all of which look different and require different styles. Or, for example, for spreadsheets, you could use different cell styles or headings for certain types of spreadsheets. If you use templates for each of your document types, the styles you need for each document are always readily available.
LibreOffice comes with a set of predefined templates. You can also find additional templates on the Internet, for example at http://templates.libreoffice.org. For details, see Section 10.11, “For More Information”.
Creating own templates requires some planning. You need to determine how you want the document to look, so you can create the styles you need in that template.
A detailed explanation of templates is beyond the scope of this section. Procedure 10.8, “Creating LibreOffice Templates” only shows how to generate a template from an existing document.
For text documents, spreadsheets, presentations, and drawings, you can create a template from an existing document as follows:
Start LibreOffice and open or create a document that contains the styles and content that you want to re-use for other documents of that type.
Click
› › .Choose a directory to save the image in by double-clicking one of the directory icons.
If you are in a subdirectory and want to go up again, use the path bar displayed above the directories.
From the toolbar, choose
.Specify a name for the template.
Click
.You can convert Microsoft Word templates like you would convert any other Word document. For more information, see Section 10.4.2, “Converting Documents to the OpenDocument Format”.
When exchanging documents with other people, it is sometimes useful to store metadata like the owner of the file, who it was received from, and a URL. LibreOffice lets you attach such metadata to the file. This helps you track metadata which you do not want to or cannot save in the content of the file. This feature is also the basis for later sorting, searching and retrieving your documents based on metadata.
As an example, we assume you want to set these properties to your file:
A title, subject, and some keywords
The owner of the file
Who sent you the file
To attach such metadata to your document, proceed as follows:
Click
› . A dialog opens. It has, among others, the following tabs:Change to the
tab and insert title, subject, and your keywords.Switch to the
tab.To add a row for a property, click
.In the
column, click the drop-down box for the entry. A list of properties appears, from it, choose .Insert the name of the owner in the
column.Repeat from Step 4 but as the name of the property, this time, choose .
Optionally, repeat from Step 4 for more properties.
To remove a property, click the red icon at the end of the corresponding row.
Leave the dialog with
.Save the file.
LibreOffice contains extensive online help. In addition, a large community of users and developers support it. The following list shows some places where you can go for additional information.
Extensive help on performing any task in LibreOffice.
Home page of LibreOffice
Official question and answer page for LibreOffice.
Taming LibreOffice: books, news, tips and tricks.
Extensive information about creating and using macros.
Extension and template directory for LibreOffice.
Templates for creating labels with LibreOffice.