pyuno store OO object into blob

Hartmut Goebel h.goebel at goebel-consult.de
Tue Oct 14 09:47:42 EDT 2008


DarkBlue schrieb:

> I want to store an openoffice writer object into a blob field using
> the pyuno bridge. I read about the possibility of using streams ,
> but only see some old basic or java examples .
> 
> The writer document has been created and stored into an odf file
> on disk. How to get it from there into the blob ?

The openoffice-python library <http://openoffice-python.origo.ethz.ch/> 
contains hight-level support for streams. See sample script at 
<http://svn.origo.ethz.ch/wsvn/openoffice-python/trunk/sample-scripts/open-stream.py>

-- 
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de



More information about the Python-list mailing list