Hi there,
I need to merge some Word files that are streams. I receive it as a
InputStream collection and I must generate a OutputStream.
I am already able to load them as XInputStream into OpenOffice I
but How can
I write a new word document that contains the previous merged?
After merging your documents into one you should have an
XTextDocument which supports the Interface XStorable.
So you should be able to store the Document with code like the
following in MS Word format.
Dim args(0) as new com.sun.star.beans.PropertyValue
args(0).Name = "FilterName"
args(0).Value = "MS Word 97"
destination = "file:///myhome/documents/output.doc"
xStorable.storeAsURL(destination,args())
Hope that helps
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]