diff options
Diffstat (limited to 'extensions/source/propctrlr/cellbindinghelper.hxx')
-rw-r--r-- | extensions/source/propctrlr/cellbindinghelper.hxx | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/extensions/source/propctrlr/cellbindinghelper.hxx b/extensions/source/propctrlr/cellbindinghelper.hxx index e0224aa9ed27..1bc9adf4c467 100644 --- a/extensions/source/propctrlr/cellbindinghelper.hxx +++ b/extensions/source/propctrlr/cellbindinghelper.hxx @@ -39,9 +39,9 @@ namespace pcr class CellBindingHelper { protected: - ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > + css::uno::Reference< css::beans::XPropertySet > m_xControlModel; // the model we work for - ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheetDocument > + css::uno::Reference< css::sheet::XSpreadsheetDocument > m_xDocument; // the document where the model lives public: @@ -50,8 +50,8 @@ 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::frame::XModel >& _rxContextDocument + const css::uno::Reference< css::beans::XPropertySet >& _rxControlModel, + const css::uno::Reference< css::frame::XModel >& _rxContextDocument ); public: @@ -61,14 +61,14 @@ namespace pcr the document, since then no of it's functionality will be available.</p> */ static bool isSpreadsheetDocument( - const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& _rxContextDocument + const css::uno::Reference< css::frame::XModel >& _rxContextDocument ); /** gets a cell binding for the given address @precond isCellBindingAllowed returns <TRUE/> */ - ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding > + css::uno::Reference< css::form::binding::XValueBinding > createCellBindingFromStringAddress( const OUString& _rAddress, bool _bSupportIntegerExchange = false @@ -77,15 +77,15 @@ namespace pcr /** creates a cell binding (supporting integer exchange, if requested) for the given address object */ - ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding > + css::uno::Reference< css::form::binding::XValueBinding > createCellBindingFromAddress( - const ::com::sun::star::table::CellAddress& _rAddress, + const css::table::CellAddress& _rAddress, bool _bSupportIntegerExchange = false ) const; /** gets a cell range list source binding for the given address */ - ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource > + css::uno::Reference< css::form::binding::XListEntrySource > createCellListSourceFromStringAddress( const OUString& _rAddress ) const; /** creates a string representation for the given value binding's address @@ -98,7 +98,7 @@ namespace pcr @see isCellBinding */ OUString getStringAddressFromCellBinding( - const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding + const css::uno::Reference< css::form::binding::XValueBinding >& _rxBinding ) const; /** creates an address object for the given value binding's address @@ -110,8 +110,8 @@ namespace pcr @see isCellBinding */ bool getAddressFromCellBinding( - const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding, - ::com::sun::star::table::CellAddress& _rAddress + const css::uno::Reference< css::form::binding::XValueBinding >& _rxBinding, + css::table::CellAddress& _rAddress ) const; /** creates a string representation for the given list source's range address @@ -125,17 +125,17 @@ namespace pcr @see isCellRangeListSource */ OUString getStringAddressFromCellListSource( - const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource >& _rxSource + const css::uno::Reference< css::form::binding::XListEntrySource >& _rxSource ) const; /** returns the current binding of our control model, if any. */ - ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding > + css::uno::Reference< css::form::binding::XValueBinding > getCurrentBinding( ) const; /** returns the current external list source of the control model, if any */ - ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource > + css::uno::Reference< css::form::binding::XListEntrySource > getCurrentListSource( ) const; /** sets a new binding for our control model @@ -144,7 +144,7 @@ namespace pcr returning <TRUE/>) */ void setBinding( - const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding + const css::uno::Reference< css::form::binding::XValueBinding >& _rxBinding ); /** sets a list source for our control model @@ -153,7 +153,7 @@ namespace pcr returning <TRUE/>) */ void setListSource( - const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource >& _rxSource + const css::uno::Reference< css::form::binding::XListEntrySource >& _rxSource ); /** checks whether it's possible to bind the control model to a spreadsheet cell @@ -173,27 +173,27 @@ namespace pcr /** checks whether a given binding is a spreadsheet cell binding */ static bool isCellBinding( - const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding + const css::uno::Reference< css::form::binding::XValueBinding >& _rxBinding ); /** checks whether a given binding is a spreadsheet cell binding, exchanging integer values */ static bool isCellIntegerBinding( - const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding + const css::uno::Reference< css::form::binding::XValueBinding >& _rxBinding ); /** checks whether a given list source is a spreadsheet cell list source */ static bool isCellRangeListSource( - const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XListEntrySource >& _rxSource + const css::uno::Reference< css::form::binding::XListEntrySource >& _rxSource ); /** retrieves the index of the sheet which our control belongs to @return the index of the sheet which our control belongs to or -1, if an error occurred */ sal_Int16 getControlSheetIndex( - ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheet >& _out_rxSheet + css::uno::Reference< css::sheet::XSpreadsheet >& _out_rxSheet ) const; protected: @@ -201,14 +201,14 @@ namespace pcr */ bool convertStringAddress( const OUString& _rAddressDescription, - ::com::sun::star::table::CellAddress& /* [out] */ _rAddress + css::table::CellAddress& /* [out] */ _rAddress ) const; /** creates an address range object from a string representation of a cell range address */ bool convertStringAddress( const OUString& _rAddressDescription, - ::com::sun::star::table::CellRangeAddress& /* [out] */ _rAddress + css::table::CellRangeAddress& /* [out] */ _rAddress ) const; /** determines if our document is a spreadsheet document, *and* can supply @@ -219,7 +219,7 @@ namespace pcr /** checkes whether a given component supports a given servive */ static bool doesComponentSupport( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxComponent, + const css::uno::Reference< css::uno::XInterface >& _rxComponent, const OUString& _rService ); @@ -233,11 +233,11 @@ namespace pcr the value of the instantiation argument. Not evaluated if <arg>_rArgumentName</arg> is empty. */ - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > + css::uno::Reference< css::uno::XInterface > createDocumentDependentInstance( const OUString& _rService, const OUString& _rArgumentName, - const ::com::sun::star::uno::Any& _rArgumentValue + const css::uno::Any& _rArgumentValue ) const; /** converts an address representation into another one @@ -257,14 +257,14 @@ namespace pcr @return <TRUE/> if any only if the conversion was successful - @see com::sun::star::table::CellAddressConversion - @see com::sun::star::table::CellRangeAddressConversion + @see css::table::CellAddressConversion + @see css::table::CellRangeAddressConversion */ bool doConvertAddressRepresentations( const OUString& _rInputProperty, - const ::com::sun::star::uno::Any& _rInputValue, + const css::uno::Any& _rInputValue, const OUString& _rOutputProperty, - ::com::sun::star::uno::Any& _rOutputValue, + css::uno::Any& _rOutputValue, bool _bIsRange ) const; }; |