LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XModifiable2 Interface Reference

allows to control modifiable state change. More...

import"XModifiable2.idl";

Inheritance diagram for XModifiable2:
XModifiable XModifyBroadcaster XInterface XReportDefinition ReportDefinition

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...
 

Detailed 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 carefully.

Member Function Documentation

◆ disableSetModified()

boolean disableSetModified ( )

disable possibility to change modified state of the document

Returns
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 ( )

enable possibility to change modified state of the document

Returns
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 ( )

allows to detect whether the modified state change is enabled


The documentation for this interface was generated from the following file: