Hi again
there is the interface XDocumentInsertable, implemented at the
TextCursor. It has a method insertDocumentFromURL( string,
sequence<PropertyValue>).
The property names are FilterName, FilterOption and Password.
reading dev Guide it seems that any MediDescriptor is acceptable
(so for InputStream)
so please forget my last question
'---------------------
The text cursor in writer supports the interface
com.sun.star.document.XDocumentInsertable which has a single method to
insert a file at the current cursor position:
void insertDocumentFromURL( [in] string aURL,
[in] sequence<
com::sun::star::beans::PropertyValue > aOptions)
Pass a URL and an empty sequence of PropertyValue structs. However, load
properties could be used as described in
com.sun.star.document.MediaDescriptor.
--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org -
http://www.indesko.com
Nuxeo Enterprise Content Management >> http://www.nuxeo.com -
http://www.nuxeo.org
Livre "Programmation OpenOffice.org", Eyrolles 2004-2006
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]