Videos/Creating a table in Writer

Foreword
The video "Creating a table in Writer" links to this page here, which contains further information.

This description refers to the version LibreOffice 6.

Link to the Video
Link to the Video (in German [DE]):

Eine Tabelle erstellen in Writer

Create a table in Writer
The video shows two ways to create or insert a table in Writer.

One is to use the table function directly in Writer and the other is to link to a Calc table.

Simple table in Writer


Open Writer.

Press once.

You will now insert a table.

In the menu you select [[Media:201803_LO_HB_Menue_Tabelle_Tabelle-einfuegen.png|]].

In the [[Media:201803_LO_HB_Dialogbox_Tabelle-einfuegen.png|"Insert table"]] dialog enter = '6 for "Columns".

For "Rows" enter = 25.

Click.

The table has now been inserted.

With right mouse click in the table, you select [[Media:201803_LO_HB_Drop-Down_Tabelleneigenschaften.png|"Table Properties…"]].

Click on the tab [[Media:201803_LO_HB_Dialogbox_Tabelleneigenschaften.png|"Columns"]].

Adjust the column widths as follows:

Column 1 = 6,00 cm | Column 2 = 2,60 cm | Column 3 = 1,20 cm | Column 4 = 1,20 cm | Column 5 = 3,00 cm | Column 6 = 3,00 cm

Click.

As soon as the cursor is positioned in the table or the table is selected, the "Table" toolbar is automatically activated.

Mark the table with the "Table" symbol and select [[Media:201803_LO_HB_Schriftart_Dosis_10.png|Font = Dosis and font size = 10]].

Now enter in the top line on the left: "Delivery note".

In the fifth column the word "Date:"

And in the sixth column, the actual date.

Select the line and choose font size = 15.

In the third line on the left start with the headlines.

"Article" | "Order no." | "Size" | "Quantity" | "Value of goods EURO" | "Final price EURO"

Mark line 3 and select "Align centered".

Starting in line 4, mark columns 2, 3 and 4 and select "Align centered".

From row 4 also mark columns 5 and 6 and select "Align right".

Immediately afterwards click on the "Number format" symbol.

In the dialog [[Media:201803_LO_HB_Dialogbox_Zahl_formatieren.png|"Format number"]] that opens, select the "Decimal number" entry under "Category" and under "Options" we select "'2" Decimal places.

Click.

The formatting in the cells of the tables, can be done as you wish.

Get creative with your own tables.

The table has now been further formatted and then saved.

The name used for saving was "Lieferschein.odt".

We will now continue working with this document.

If you move the mouse pointer over the last cell at the bottom right, we see that a sum is entered there.

Save the document under the name: "Delivery note - filled in.odt".

Now enter some items with articles.

Format the order numbers.

For the final price per article enter a [[Media:201803_LO_HB_Formeln.png|Formula]].

Format the final price.

In the last position "Men's trousers", enter "2" for quantity and click in the cell for "Final price".

You can now look at the sum of all items.

Click.

Note How calculations are performed in Writer tables, you can read in the help of LibreOffice. Enter "Calculations" as search term and then double-click "Calculations in text documents". For more information, see the documentation of LibreOffice Writer ("Writer manual").

Table Properties
You can design the table for your purposes.

Right-click on the table and select "Table properties..." from the [[Media:202204EN_Writer Table context menu.png|context menu]].

In the "Table properties" dialog there are the tabs


 * Table
 * Text Flow
 * [[Media:202204EN_Writer TablePropertiesColumns.png|Columns]]
 * [[Media:202204EN_Writer TablePropertiesBorders.png|Borders]]
 * [[Media:202204EN_Writer TablePropertiesBackground.png|Background]]

In the "Table properties" dialog you can make your desired settings.



Table properties | Table
Set the distance of the table from the page margin

Tables extend from edge to edge by default (from left to right).

To indent the table from the margin, go to the menu, click the "Table" tab in the dialog there, and for "Alignment", click "Manual".

This activates the input fields for the lateral distances to the edge.

You can now set the values for the lateral distances to the page margin.

Table Properties | Text flow
Tables longer than one page



If you have tables that are larger than one page, then be sure to look at the properties of the table, [[Media:202201WriterEN Dialog Table Properties Text Flow.png|allow to split across page boundaries]].

If it doesn't, the table will be "moved" to the next page. And if it doesn't quite fit on the page, it will be split as a last resort (to avoid being moved endlessly).

Table Properties | Borders
Tables with Padding

If you find the text in the table too close to the cell borders, increase the Padding.

You can set the Padding in the "Table Properties | Borders" dialog.

Calc table in Writer
Open Writer.

Now we insert an existing Calc table.

In the menu choose [[Media:201803_LO_HB_Menue_Einfuegen_Objekt_OLE-Objekt.png|]].

In the dialog [[Media:201803_LO_HB_Dialogbox_OLE-Objekt_Einfuegen_01.png|"Insert OLE-Object"]] select "LibreOffice 6.0 Workbook" and "Create from file".

In the next selection click on [[Media:201803_LO_HB_Dialogbox_OLE-Objekt_Einfuegen_02.png|]].

In the [[Media:201803_LO_HB_Dialogbox_OEffnen.png|"Open"]] dialog select the "ODS.ods table" file and click.

You still set a check mark at [[Media:201803_LO_HB_Dialogbox_OLE-Objekt_Einfuegen_02.png|"Link to file"]].

Click.

Now the Calc table has been inserted into the Writer document as an object.

A double click on the Calc table object opens the Calc edit view.

The table can now be edited exactly as in Calc.

Finally you should save the document.

We assign the name, "Delivery note with Calc table".

Click.

Work files for the Writer table
[[Media:Lieferschein.odt|Delivery Note.odt]]

[[Media:Lieferschein - ausgefüllt.odt|Delivery note - completed.odt]]

Work files for the Calc table in Writer
[[Media:Lieferschein mit Calc Tabelle.odt|Delivery note with Calc table.odt]]

[[Media:Tabelle ODS.ods|Table ODS.ods]]

Documentation / Manuals
Here you will find the Documentation / Manuals:

Documentation / Manuals

Any questions?
For questions on this topic go to:

Ask.LibreOffice

Get Involved
Join us today and help us to make it even better!

Get Involved

Donate
LibreOffice is Free Software and is made available free of charge.

Your donation, which is purely optional, supports our worldwide community.

If you like the software, please consider a Donation.