Grover Blue schrieb:
I found examples of inserting via a file, but I'm confused on how I would go
from a XTextDocument to an input stream.  I guess I'd need to use an
XInputStream object (assuming that is the interface I want to use when
passing the "InputStream" property to XDocumentInsertable), but it's not
clear on how to obtain that from XTextDocument.  You wouldn't happen to have
an example?

Sorry, no.
If you have a XTextDocument, I guess you have a URL where it is stored. If not (created from a template and modified) you can store it to a temp-folder or to a stream which you can reuse, for example http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=3801&start=0&st=0&sk=t&sd=a

Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to