diff options
author | Sascha Ballach <sab@openoffice.org> | 2001-06-12 11:53:53 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2001-06-12 11:53:53 +0000 |
commit | 240de20d76bdd9f01e918f3d2a81560aae0b91a2 (patch) | |
tree | 1b44c754304358f34711e7877d14609667deee89 /sc/inc/cellsuno.hxx | |
parent | 4cdc48a5a22e605d25ec13f39d29e3f09fdc88f5 (diff) |
#79771#; XActionLockable added
Diffstat (limited to 'sc/inc/cellsuno.hxx')
-rw-r--r-- | sc/inc/cellsuno.hxx | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index fc7eef2d7ad5..9aea38643191 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -2,9 +2,9 @@ * * $RCSfile: cellsuno.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: sab $ $Date: 2001-06-07 09:39:41 $ + * last change: $Author: sab $ $Date: 2001-06-12 12:51:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -210,6 +210,9 @@ #ifndef _COM_SUN_STAR_LANG_XUNOTUNNEL_HPP_ #include <com/sun/star/lang/XUnoTunnel.hpp> #endif +#ifndef _COM_SUN_STAR_DOCUMENT_XACTIONLOCKABLE_HPP_ +#include <com/sun/star/document/XActionLockable.hpp> +#endif #ifndef _CPPUHELPER_IMPLBASE2_HXX_ #include <cppuhelper/implbase2.hxx> @@ -817,12 +820,14 @@ class ScCellObj : public ScCellRangeObj, public com::sun::star::table::XCell, public com::sun::star::sheet::XCellAddressable, public com::sun::star::sheet::XSheetAnnotationAnchor, - public com::sun::star::text::XTextFieldsSupplier + public com::sun::star::text::XTextFieldsSupplier, + public com::sun::star::document::XActionLockable { private: SvxUnoText* pUnoText; SfxItemPropertySet aCellPropSet; ScAddress aCellPos; + sal_Int16 nActionLockCount; private: String GetInputString_Impl(BOOL bEnglish) const; @@ -956,6 +961,15 @@ public: throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException); + + // XActionLockable + virtual sal_Bool SAL_CALL isActionLocked() throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL addActionLock() throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL removeActionLock() throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setActionLocks( sal_Int16 nLock ) + throw(::com::sun::star::uno::RuntimeException); + virtual sal_Int16 SAL_CALL resetActionLocks() throw(::com::sun::star::uno::RuntimeException); + }; |