[scribus] Importing OpenOffice ODT files using Scribus API

Barry McKenna bmcken at pobox.com
Fri Apr 1 20:48:20 CEST 2011



On 4/1/2011 6:39 AM, Christophe Amerijckx wrote:
> On 1/04/2011 15:33, John Culleton wrote:
>> On Friday 01 April 2011 09:26:48 Gregory Pittman wrote:
>>> On 04/01/2011 08:19 AM, Christophe Amerijckx wrote:
>>>> Hi,
>>>>
>>>> unfortunately, there is no such command in the API and I
>>>> have no
>>>> idea how to add such a command. I am afraid it would
>>>> take me way
>>>> too much time to try implementing such a thing.
>>>>
>>>> Just a few word about the reason I would need this.
>>>> Every period
>>>> of time, we have to write a report. The first part
>>>> doesn't change
>>>> that much. The second part part consists of hundred of
>>>> sheets
>>>> describing what we have in stock. Part of these sheets
>>>> are coming
>>>> from ODT documents (describing the product), other parts
>>>> are
>>>> characteristics, others are numbers coming from a
>>>> database. I've
>>>> been able to generate everything automatically with scripts
>>>> except the import of the ODT file and having to do it
>>>> manually
>>>> would be a pity...
>> May I suggest saving the ODT file as text from OO Writer,
>> Inputting it
>> ino text frames, and then modifying it as needed?
> Yes, that's something I already thought about. However, in
> that case I would loose the text formatting (colors, bold,
> italic,...).

Exactly! And that's the major benefit of being able to 
import the .odt files as is into Scribus. That's a major 
feature that means a lot to me.

Barry McKenna



More information about the scribus mailing list