Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: util ::

interface XModifiable2
Base Interfaces
XModifiable2XModifiableXModifyBroadcaster

XModifiable
(referenced interface's summary:)
makes the modify state of the object accessible.
Description
allows to control modifiable state change.

This interface allows to prevent changing of the modified state of the object. It is introduced for performance optimizations, to allow to prevent unnecessary updates, for example while importing a document. Please use this interface very carefuly.


Methods' Summary
disableSetModified disable possibility to change modified state of the document @retuns the value that says whether the modified state change was enabled before the call true the changing of the modified state was already disabled false the changing of the modified state was enabled  
enableSetModified enable possibility to change modified state of the document @retuns the value that says whether the modified state change was enabled before the call true the changing of the modified state was disabled false the changing of the modified state was already enabled  
isSetModifiedEnabled allows to detect whether the modified state change is enabled  
Methods' Details
disableSetModified
boolean
disableSetModified();

Description
disable possibility to change modified state of the document @retuns the value that says whether the modified state change was enabled before the call true the changing of the modified state was already disabled false the changing of the modified state was enabled
enableSetModified
boolean
enableSetModified();

Description
enable possibility to change modified state of the document @retuns the value that says whether the modified state change was enabled before the call true the changing of the modified state was disabled false the changing of the modified state was already enabled
isSetModifiedEnabled
boolean
isSetModifiedEnabled();

Description
allows to detect whether the modified state change is enabled
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.