Hi David
it may be useful to have a version that does not load the entire file in
memory, with something like (untested):
yes should work
btw, havin the whole file in foo can be usefull though for transport
consideration. It is what i need :)
thanks for your proposal
Laurent
--
Laurent
Hi,it may be useful to have a version that does not load the entire file in memory, with something like (untested):class FileInputStream(unohelper.Base, XInputStream, XSeekable): """ Minimal Implementation of XInputStream """
def __init__(self, filename): self.filename = filename
Hi pierre
Hi, the google link is a response to one of my question to the list
dev@udk.openoffice.org
look in the archive for subject
"making a copy of the current document"
The code you cited is from Joerg Budischewski and it worked perfectly
well with OOo1.1 but I never tested it with OOo2.
Hi, the google link is a response to one of my question to the list
dev@udk.openoffice.org
look in the archive for subject
"making a copy of the current document"
The code you cited is from Joerg Budischewski and it worked perfectly
well with OOo1.1 but I never tested it with OOo2.
Pierre Martin
Hi
seems google is my friend
hum, thanks to its caching
http://66.249.93.104/search?q=cache:hmuHvanK2soJ:www.o-r-g.org/~azaroth/convert.py+InputStream+loadComponentFromURL+python&hl=fr
It is worth a try :)
i'll have a look and let you know
Laurent
--
Laurent Godard <[EMAIL PROTECTED]> - Ingé
Hi all
i'm doing some tests with pyUNO
I cannot figure out using the InputStream property of LoadComponentFromURL
i have an OOo file, read by the legal file reading method from python
and need to pass it to an OOo instance
How can i define this inputStream to pass as argument
What is the best