Marc Santhoff wrote:
Am Montag, den 25.08.2008, 16:47 +0200 schrieb Fernand Vanrie:
don't know if this is shorter, but as I said you can store your OO_source.odf into a stream and then read/write a blob field of your database.
OK, I was concerned about the "size" of the blob's i will test it and comback with the results and nobody seems to now ( on the forum at least) how to get the stored binary data out of a database field !!

I think this could be caused by:

http://extensions.openoffice.org/issues/show_bug.cgi?id=83449

I don't know if the forum message is old enough, but nowadays (2.4.x)
Thanks i hope it will been properly documented somwhere

so no longer need off "private:stream" argument ?

and

'args1(2).Name = "DocumentBaseURL"
'args1(2).Value = "file:///h:/test.html"

is of no uses ?


But there is still a problem with this styreams, Just the Retrieving of a stream from a medium complex writerdoc (2 pages) takes over 20 seconds from a OO-database doc!!

Storing the stream (after a time consuming loading from the datbase) to a tmpURL is prety fast but very space consuming on the database site

I stay with my RTF or even HTML coded strings, far more simple more speedy , and very economic in space :-)

thanks for your usefull reply

Fernand

".insertDodumentFromUrl()" should work using a stream.

HTH,
Marc



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to