Complex tables in Scribus: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
m (formatting the list)
Line 3: Line 3:
Scribus 1.2x provides the ability to create tables. Unfortunately, scribus tables are nothing more than combined text frames, and it is a bit hard to work with them. If you need to have more complex tables, here is a workaround:
Scribus 1.2x provides the ability to create tables. Unfortunately, scribus tables are nothing more than combined text frames, and it is a bit hard to work with them. If you need to have more complex tables, here is a workaround:


1) Create your table in either OpenOffice.org Writer or Calc.
# Create your table in either OpenOffice.org Writer or Calc.
 
# Copy the table items you need on a page in scribus (this means: not the whole spreadheet in Calc) to the clipboard, create a new OpenOffice.org Draw document, and paste from the clipboard.
2) Copy the table items you need on a page in scribus (this means: not the whole spreadheet 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 rows or columns.
3) Export the ''selection'' to SVG.
# Import the EPS into scribus. This can happen either by using File > Import or by creating a picture frame and "Get Picture" from the context menu. The first option will allow you to edit the EPS as a scribus vector object.
 
4) Open the SVG in Inkscape and save the ''selection'' to EPS. Note that the table might need some editing in Inkscape, e.g. adjusting rows or columns.
 
5) Import the EPS into scribus. This can happen either by using File > Import or by creating a picture frame and "Get Picture" from the context menu. The first option will allow you to edit the EPS as a scribus vector object.


This approach works perfectly with OpenOffice.org 1.1.x, but there are still problems with the beta versions of OO.o 2.0.
This approach works perfectly with OpenOffice.org 1.1.x, but there are still problems with the beta versions of OO.o 2.0.

Revision as of 22:22, 13 September 2005

This article is part of the Tips & Tricks series.
Installation Usage PDF issues Other

Scribus 1.2x provides the ability to create tables. Unfortunately, scribus tables are nothing more than combined text frames, and it is a bit hard to work with them. If you need to have more complex tables, here is a workaround:

  1. Create your table in either OpenOffice.org Writer or Calc.
  2. Copy the table items you need on a page in scribus (this means: not the whole spreadheet in Calc) to the clipboard, create a new OpenOffice.org Draw document, and paste from the clipboard.
  3. Export the selection to SVG.
  4. Open the SVG in Inkscape and save the selection to EPS. Note that the table might need some editing in Inkscape, e.g. adjusting rows or columns.
  5. Import the EPS into scribus. This can happen either by using File > Import or by creating a picture frame and "Get Picture" from the context menu. The first option will allow you to edit the EPS as a scribus vector object.

This approach works perfectly with OpenOffice.org 1.1.x, but there are still problems with the beta versions of OO.o 2.0.

You may ask for the reason to use such a complicated procedure, since OO.o can export SVG and EPS, and scribus can import both formats, and even OO.o Draw files. Try this yourself and you will understand the reason why. OO.o's SVG and EPS export is far from perfect, and so is scribus' import of SVG and *.sxd. It is hard to predict in which cases import in scribus will work. So, save yourself some time, anger and swearing, and follwow the steps above. They always work, at least as much as I can tell.

Contributed by Christoph Schäfer