Elvis Ciocoiu wrote:
I'm want to load/save documents in ooffice from a database. From the documentation it seems that this it will work using a temporary file. My problem is that after loading the document and after the user did some modifications to it the document is dirty. And if the user is trying to close the document first it will appear a confirmation dialog asking to save the modifications on disk. Can I inhibit this behaviour? I'd like to show my own dialog asking if for database saving. Is there a sample for loading/saving documents without using temporary fils (using streams)? Thank you.
http://api.openoffice.org/docs/common/ref/com/sun/star/util/XModifiable.html#setModified myDocument.setModified(False) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
