You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by jianlizhao <ji...@hotmail.com> on 2012/06/03 14:51:43 UTC

Is the document needs to be saved?

Hello my friend:

In  Openoffice's  write  extention, how Judgment the document is modify has
not save?

 Best Regards!






Re: Is the document needs to be saved?

Posted by zhangjf <zh...@apache.org>.
You can refer to
http://www.openoffice.org/api/docs/common/ref/com/sun/star/util/XModifiable.html#isModified.

API XModifiable.isModified() should help, if a document was saved or
unchanged, it returns false. You can get the XModifiable interface
from an XComponent object.

On Sun, Jun 3, 2012 at 8:51 PM, jianlizhao <ji...@hotmail.com> wrote:
> Hello my friend:
>
> In  Openoffice's  write  extention, how Judgment the document is modify has
> not save?
>
>  Best Regards!
>
>
>
>
>