Hello Elvis, I don't know if this is what you are looking for, but I think you could implement an css.util.XModifyListener and catch the modified() event. f.e. to set the modified-flag of the document to the desired value. The setModified method is accessible via the css.util.XModifiable interface.
Hope that helps Christoph Am Montag, 18. Mai 2009 21:15:43 schrieb Elvis Ciocoiu: > 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. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org