From Scribus Documentation Project
To insert a table, you can either click on the table icon in the icon bar, press the A-key, or use Insert > Table. Click-drag, then let go to create a new frame the way you are used to from other frame types. A dialog will show up, where you can enter the number of rows and columns of the table.
Scribus will now create a new table:
To edit a cell in the table, you have to double-click just like in any other text frame, since tables are, in fact, just grouped text frames. You may even find a use for ungrouping them (Item > Ungroup) to move or resize individual elements.
To change the size of a row or a column, you can change the values in the X, Y, Z tab of the Properties Palette (in theory, you could also drag with the mouse, but this doesn't work well).
Since table cells are simply grouped frames, applying or changing the line properties of a table or a cell is a bit complicated in Scribus 1.3.3.x. Here are the necessary steps for different tasks:
- If you want to apply the same color and line properties to all cells of a Table, you have to ungroup and then immediately regroup it. Then you can select a line color in the Color tab and a line style in the Line tab of the Properties Palette. Please note that you won't be able to select a single cell anymore, once you ungrouped and regrouped the table.
- If you want to change the borders of a single cell, select it with a double-click. Then go to the Line tab of the Properties Palette, where you see a list of the borders: Line at Top, at the Left, at the Right and at Bottom. You can check for each side whether a color and a line style will be applied. Note that it's impossible to apply different colors or line styles to each of the four lines.
- If you want to apply a color and a line style only to the outer borders of a table, you have to use the step described before and change each cell individually, so that only one or two lines are colored.
It's also possible to change the size and the shape of single cells. Just select a cell and use Shape > Edit Shape in the Properties Palette. Now you can modify the cell like a single frame:
As stated above, cells in Tables are text frames. If you want to use images in a table, you have to convert the cells/text frames to image frames. This works just like any other conversion of frames by using the context menu.
The picture below shows a table with images and text:
Creating and Importing Complex Tables
If you need to have more complex tables, here is a workaround:
- Create your table in either OpenOffice.org Writer or Calc.
- Copy the table only (in other words, not the whole spreadsheet in Calc) to the clipboard, create a new OpenOffice.org Draw document, and paste from the clipboard.
- Export the selection to SVG.
- Open the SVG in Inkscape and save the selection to EPS. Note that the table might need some editing in Inkscape, e.g. adjusting of rows or columns.
- Import the EPS into Scribus. This can happen either by using File > Import or by creating an image frame and using “Get Image” from the context menu. The first option will allow you to edit the EPS as a Scribus vector object.
You may wonder about the reason for such a complicated procedure, since OpenOffice.org can export SVG and EPS, and Scribus can import both formats, and even OpenOffice.org Draw files. If you try yourself you will understand – OpenOffice.org's SVG and EPS export is far from perfect, and so is import to Scribus of SVG and .sxd/.odg. It's hard to predict in which cases import in Scribus will work. To save yourself some trouble, follow the steps above, since they always work.