LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows to control modifiable state change. More...
import"XModifiable2.idl";
Public Member Functions | |
boolean | disableSetModified () |
disable possibility to change modified state of the document More... | |
boolean | enableSetModified () |
enable possibility to change modified state of the document More... | |
boolean | isSetModifiedEnabled () |
allows to detect whether the modified state change is enabled More... | |
Public Member Functions inherited from XModifiable | |
boolean | isModified () |
void | setModified ([in] boolean bModified) raises ( com::sun::star::beans::PropertyVetoException ) |
sets the status of the modified-flag from outside of the object. More... | |
Public Member Functions inherited from XModifyBroadcaster | |
void | addModifyListener ([in] com::sun::star::util::XModifyListener aListener) |
adds the specified listener to receive events "modified." More... | |
void | removeModifyListener ([in] com::sun::star::util::XModifyListener aListener) |
removes the specified listener. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
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 carefully.
boolean disableSetModified | ( | ) |
disable possibility to change modified state of the document
TRUE
the changing of the modified state was already disabled FALSE
the changing of the modified state was enabled boolean enableSetModified | ( | ) |
enable possibility to change modified state of the document
TRUE
the changing of the modified state was disabled FALSE
the changing of the modified state was already enabled boolean isSetModifiedEnabled | ( | ) |
allows to detect whether the modified state change is enabled