Working With Tables in Writer
Creating and Customizing Tables
|At the beginning of a document or a section in order to introduce content before the table it is necessary to go to the first cell (top left) and press|
There are two ways to insert a table in a Writer document.
The first is to use the corresponding button on the "Standard" toolbar, as shown in the following screenshot:
On the grid it is possible to select the number of rows and columns needed.
The other way to insert a table gives greater control: Table → Insert → Table or +
In this dialogue it is possible to:
- select the number of rows and columns;
- give a name to the table to later distinguish it on the Navigator.
The offers the following dialogue:
Here it is possible to choose between different predefined formats (different line types, cell colors, text format...).
If none of the predefined autoformats have the desired characteristics, it is possible to tune the format of the table or of a particular cell. This is accomplished either with the contextual toolbar "Table" that it is presented when the cursor is inside a table cell or with Table → Table Properties or with a right click Table. After that, it is possible to create your own AutoFormat: with the cursor inside the table Table → AutoFormat and then press and provide a name to the new AutoFormat.
It is possible to assign a caption to a table, numbering it at the same time, with a right click → Caption.
As shown in the screenshot it is possible to choose the numbering, the separator between number and text, and if the caption will be shown above or below the table.
With thebutton it is possible to set that all the inserted tables are automatically associated to a caption, while the gives the chance to define if the table number needs to reflect the chapter number, also. We will come back to this later.
It is important to note that the drop down menu "Category" can be edited. For example, if you want "Data" instead of "Table", you can click over the white box where the word "Table" is, and edit the text in the box to create another category
Number Recognition and Data Operations
By default, Writer tries to guess which kind of data you insert on a table and format the content accordingly. For example, if you insert "10/2" Writer will interpret it as a date and change it into "10/02/13" (the result may depend on your settings under Tools → Options → Language Settings → Languages → Locale setting). To disable this, go to Tools → Options → OpenOffice Writer → Table and under "Input in tables" disable "Number recognition".
With tables on Writer it is possible to operate with data introduced on cells, for example obtaining the sum over a column.
|The operation you can do on a table on Writer are limited. If you need to perform complex calculations you need to use Calc instead. Remember that you can insert a Calc sheet on a Writer document as OLE object|
TODO: talking about the Formula toolbar () and how to use it