Hi,

Am 10.03.2010 11:16, schrieb Fernand Vanrie:
rf,

I think it depends on the complexity off the content, I use a technic,
where we store some simple formated text as "html" in a datbase and then
import this "thml" coded text in a exiting OO writerdoc. The OO html
import filterrebuild the text with his formating.
If wanted then is can post the code in Basic.
Fernand
is there a method to read/store an odt doc from a database
and import it into the current writer doc?

This cannot be done in Basic, because your class must implement XSeekable to load the doc as stream. Use XDocumentInsertable and the InputStream from your database, the url is private:stream.

Regards

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to