hi christophe > There is a way in Scribus to import an OpenOffice ODT file in a text > frame using GetText when a text frame is selected. > > For some reason, I would like to automate the import of several > OpenOffice ODT files inside a scribus document using the Scribus API. > However, I didn't find any command in the API allowing me to do what > the GetText is doing (I tried importPage but it seems it doesn't > support the ODT file since Scribus crashes...).
i guess that importPage is for importing pages from a .sla... getText returns the text in the frame... i wonder if there is already a loadText()... can't check it, now... it's not probably hard to add... but somebody has to do it :-) ciao a.l.e
