diff options
Diffstat (limited to 'sc/source/ui/inc/condformatuno.hxx')
-rw-r--r-- | sc/source/ui/inc/condformatuno.hxx | 305 |
1 files changed, 71 insertions, 234 deletions
diff --git a/sc/source/ui/inc/condformatuno.hxx b/sc/source/ui/inc/condformatuno.hxx index ab7ab4e9f229..9a1a95c4e7b9 100644 --- a/sc/source/ui/inc/condformatuno.hxx +++ b/sc/source/ui/inc/condformatuno.hxx @@ -59,20 +59,13 @@ public: virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override; // XConditionalFormats - virtual sal_Int32 SAL_CALL createByRange(const uno::Reference<sheet::XSheetCellRanges>& xRanges) - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL createByRange(const uno::Reference<sheet::XSheetCellRanges>& xRanges) override; - virtual void SAL_CALL removeByID( const sal_Int32 nID ) - throw(css::uno::RuntimeException, - std::exception) override; + virtual void SAL_CALL removeByID( const sal_Int32 nID ) override; - virtual uno::Sequence< uno::Reference< sheet::XConditionalFormat > > SAL_CALL getConditionalFormats() - throw(css::uno::RuntimeException, - std::exception) override; + virtual uno::Sequence< uno::Reference< sheet::XConditionalFormat > > SAL_CALL getConditionalFormats() override; - virtual sal_Int32 SAL_CALL getLength() - throw(css::uno::RuntimeException, - std::exception) override; + virtual sal_Int32 SAL_CALL getLength() override; ScConditionalFormatList* getCoreObject(); @@ -92,67 +85,35 @@ public: ScDocShell* getDocShell(); // XConditionalFormat - virtual void SAL_CALL createEntry(const sal_Int32 nType, const sal_Int32 nPos) - throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL createEntry(const sal_Int32 nType, const sal_Int32 nPos) override; - virtual void SAL_CALL removeByIndex(const sal_Int32 nIndex) - throw(css::uno::RuntimeException, - std::exception) override; + virtual void SAL_CALL removeByIndex(const sal_Int32 nIndex) override; // XIndexAccess - virtual uno::Type SAL_CALL getElementType() - throw(css::uno::RuntimeException, - std::exception) override; + virtual uno::Type SAL_CALL getElementType() override; - virtual sal_Bool SAL_CALL hasElements() - throw(css::uno::RuntimeException, - std::exception) override; + virtual sal_Bool SAL_CALL hasElements() override; - virtual sal_Int32 SAL_CALL getCount() - throw(css::uno::RuntimeException, - std::exception) override; + virtual sal_Int32 SAL_CALL getCount() override; - virtual uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) - throw(css::uno::RuntimeException, - std::exception) override; + virtual uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > - SAL_CALL getPropertySetInfo() - throw(css::uno::RuntimeException, std::exception) override; + SAL_CALL getPropertySetInfo() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, - const css::uno::Any& aValue ) - throw(css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Any& aValue ) override; virtual css::uno::Any SAL_CALL getPropertyValue( - const OUString& PropertyName ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const OUString& PropertyName ) override; virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override; virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override; virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; ScConditionalFormat* getCoreObject(); @@ -175,45 +136,23 @@ public: ScCondFormatEntry* getCoreObject(); // XConditionEntry - virtual sal_Int32 SAL_CALL getType() - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getType() override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > - SAL_CALL getPropertySetInfo() - throw(css::uno::RuntimeException, std::exception) override; + SAL_CALL getPropertySetInfo() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, - const css::uno::Any& aValue ) - throw(css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Any& aValue ) override; virtual css::uno::Any SAL_CALL getPropertyValue( - const OUString& PropertyName ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const OUString& PropertyName ) override; virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override; virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override; virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; private: ScDocShell* mpDocShell; @@ -231,48 +170,26 @@ public: virtual ~ScColorScaleFormatObj() override; // XConditionEntry - virtual sal_Int32 SAL_CALL getType() - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getType() override; ScColorScaleFormat* getCoreObject(); // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > - SAL_CALL getPropertySetInfo() - throw(css::uno::RuntimeException, std::exception) override; + SAL_CALL getPropertySetInfo() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, - const css::uno::Any& aValue ) - throw(css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Any& aValue ) override; virtual css::uno::Any SAL_CALL getPropertyValue( - const OUString& PropertyName ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const OUString& PropertyName ) override; virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override; virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override; virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; private: rtl::Reference<ScCondFormatObj> mxParent; @@ -287,23 +204,17 @@ public: virtual ~ScColorScaleEntryObj() override; - virtual css::util::Color SAL_CALL getColor() - throw(css::uno::RuntimeException, std::exception) override; + virtual css::util::Color SAL_CALL getColor() override; - virtual void SAL_CALL setColor(css::util::Color aColor) - throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setColor(css::util::Color aColor) override; - virtual sal_Int32 SAL_CALL getType() - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getType() override; - virtual void SAL_CALL setType(sal_Int32 nType) - throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setType(sal_Int32 nType) override; - virtual OUString SAL_CALL getFormula() - throw(css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getFormula() override; - virtual void SAL_CALL setFormula(const OUString& rString) - throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setFormula(const OUString& rString) override; private: ScColorScaleEntry* getCoreObject(); @@ -323,45 +234,23 @@ public: ScDataBarFormat* getCoreObject(); // XConditionEntry - virtual sal_Int32 SAL_CALL getType() - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getType() override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > - SAL_CALL getPropertySetInfo() - throw(css::uno::RuntimeException, std::exception) override; + SAL_CALL getPropertySetInfo() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, - const css::uno::Any& aValue ) - throw(css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Any& aValue ) override; virtual css::uno::Any SAL_CALL getPropertyValue( - const OUString& PropertyName ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const OUString& PropertyName ) override; virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override; virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override; virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; private: rtl::Reference<ScCondFormatObj> mxParent; @@ -376,17 +265,13 @@ public: virtual ~ScDataBarEntryObj() override; - virtual sal_Int32 SAL_CALL getType() - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getType() override; - virtual void SAL_CALL setType(sal_Int32 nType) - throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setType(sal_Int32 nType) override; - virtual OUString SAL_CALL getFormula() - throw(css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getFormula() override; - virtual void SAL_CALL setFormula(const OUString& rString) - throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setFormula(const OUString& rString) override; private: ScColorScaleEntry* getCoreObject(); @@ -406,45 +291,23 @@ public: ScIconSetFormat* getCoreObject(); // XConditionEntry - virtual sal_Int32 SAL_CALL getType() - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getType() override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > - SAL_CALL getPropertySetInfo() - throw(css::uno::RuntimeException, std::exception) override; + SAL_CALL getPropertySetInfo() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, - const css::uno::Any& aValue ) - throw(css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Any& aValue ) override; virtual css::uno::Any SAL_CALL getPropertyValue( - const OUString& PropertyName ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const OUString& PropertyName ) override; virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override; virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override; virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; private: rtl::Reference<ScCondFormatObj> mxParent; @@ -459,17 +322,13 @@ public: virtual ~ScIconSetEntryObj() override; - virtual sal_Int32 SAL_CALL getType() - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getType() override; - virtual void SAL_CALL setType(sal_Int32 nType) - throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setType(sal_Int32 nType) override; - virtual OUString SAL_CALL getFormula() - throw(css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getFormula() override; - virtual void SAL_CALL setFormula(const OUString& rString) - throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setFormula(const OUString& rString) override; private: ScColorScaleEntry* getCoreObject(); @@ -490,45 +349,23 @@ public: ScCondDateFormatEntry* getCoreObject(); // XConditionEntry - virtual sal_Int32 SAL_CALL getType() - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getType() override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > - SAL_CALL getPropertySetInfo() - throw(css::uno::RuntimeException, std::exception) override; + SAL_CALL getPropertySetInfo() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, - const css::uno::Any& aValue ) - throw(css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Any& aValue ) override; virtual css::uno::Any SAL_CALL getPropertyValue( - const OUString& PropertyName ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const OUString& PropertyName ) override; virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override; virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override; virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) - throw(css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; private: rtl::Reference<ScCondFormatObj> mxParent; |