diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-16 11:03:22 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-16 11:03:22 +0000 |
commit | 2d392996e3952b999d92e0b0045325adb985ff46 (patch) | |
tree | c2470830460713513086358d0f5c286f0282d8c8 /extensions/source/propctrlr/cellbindinghelper.hxx | |
parent | c51e4f0432d6291cd8e73f88ac4a8424d6030901 (diff) |
INTEGRATION: CWS eforms2 (1.4.56); FILE MERGED
2004/07/22 10:37:27 fs 1.4.56.2: #i31762# pass the context document of the introspectee to some handlers
2004/07/13 14:02:44 fs 1.4.56.1: #i10000#
Diffstat (limited to 'extensions/source/propctrlr/cellbindinghelper.hxx')
-rw-r--r-- | extensions/source/propctrlr/cellbindinghelper.hxx | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/extensions/source/propctrlr/cellbindinghelper.hxx b/extensions/source/propctrlr/cellbindinghelper.hxx index b9a0ba978b64..33c1d7284879 100644 --- a/extensions/source/propctrlr/cellbindinghelper.hxx +++ b/extensions/source/propctrlr/cellbindinghelper.hxx @@ -2,9 +2,9 @@ * * $RCSfile: cellbindinghelper.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hr $ $Date: 2004-04-13 11:22:37 $ + * last change: $Author: obo $ $Date: 2004-11-16 12:03:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,6 +62,10 @@ #ifndef EXTENSIONS_PROPCTRLR_CELLBINDINGHELPER_HXX #define EXTENSIONS_PROPCTRLR_CELLBINDINGHELPER_HXX +/** === begin UNO includes === **/ +#ifndef _COM_SUN_STAR_FRAME_XMODEL_HPP_ +#include <com/sun/star/frame/XModel.hpp> +#endif #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_ #include <com/sun/star/beans/XPropertySet.hpp> #endif @@ -83,6 +87,7 @@ #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #endif +/** === end UNO includes === **/ //............................................................................ namespace pcr @@ -108,16 +113,18 @@ namespace pcr the control model which is or will be bound */ CellBindingHelper( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxControlModel + const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxControlModel, + const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& _rxContextDocument ); public: - /** determines whether the given control model lives in a spreadsheet document + /** determines whether the given model is a spreadsheet document model + <p>If this method returns <FALSE/>, you cannot instantiate a CellBindingHelper with - this model, since then no of it's functionality will be available.</p> + the document, since then no of it's functionality will be available.</p> */ - static sal_Bool livesInSpreadsheetDocument( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxControlModel + static sal_Bool isSpreadsheetDocument( + const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& _rxContextDocument ); /** gets a cell binding for the given address @@ -327,4 +334,4 @@ namespace pcr } // namespace pcr //............................................................................ -#endif EXTENSIONS_PROPCTRLR_CELLBINDINGHELPER_HXX +#endif // EXTENSIONS_PROPCTRLR_CELLBINDINGHELPER_HXX |