interface XActionLockable in module com::sun::star::document::

(Global Index)

Syntax

interface XActionLockable : com::sun::star::uno::XInterface ;

Description

enables the object to lock actions.

Method Summary

isActionLocked determines if at least one lock exists.

addActionLock increments the lock count of the object by one.

removeActionLock decrements the lock count of the object by one.

setActionLocks sets the locking level.

resetActionLocks resets the locking level.

Known Services Which Export this Interface

com::sun::star::sheet::SheetCell

Method Details



isActionLocked

Syntax

boolean isActionLocked ();

Description

determines if at least one lock exists.


addActionLock

Syntax

void addActionLock ();

Description

increments the lock count of the object by one.


removeActionLock

Syntax

void removeActionLock ();

Description

decrements the lock count of the object by one.


setActionLocks

Syntax

void setActionLocks (
short nLock );

Description

sets the locking level.

This method is used for debugging purposes. The programming environment can restore the locking after a break of a debug session.


resetActionLocks

Syntax

short resetActionLocks ();

Description

resets the locking level.

This method is used for debugging purposes. The debugging environment of a programming language can reset the locks to allow refreshing of the view if a breakpoint is reached or step execution is used.

Top of Page