Am Donnerstag, den 28.08.2008, 18:39 +0200 schrieb Fernand Vanrie:
> 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 ?

See the macro attached to the issue, it has any answers needed.

>  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

Did you use a file on disk for streaming *to* the database? If you
managed to get anything else working I'd be keen to see some code. ;)

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

Seems to be [a|the] sensible solution currently.

Regards,
Marc



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

Reply via email to