New loplugin:dynexcspec: Add @throws documentation, chart2
Change-Id: I9b558b713186c64054914ebfc4c122ff769b71a1
This commit is contained in:
@@ -179,16 +179,20 @@ private:
|
|||||||
bool
|
bool
|
||||||
impl_isControllerConnected( const css::uno::Reference< com::sun::star::frame::XController >& xController );
|
impl_isControllerConnected( const css::uno::Reference< com::sun::star::frame::XController >& xController );
|
||||||
|
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
css::uno::Reference< css::frame::XController >
|
css::uno::Reference< css::frame::XController >
|
||||||
impl_getCurrentController()
|
impl_getCurrentController()
|
||||||
throw( css::uno::RuntimeException);
|
throw( css::uno::RuntimeException);
|
||||||
|
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void SAL_CALL
|
void SAL_CALL
|
||||||
impl_notifyModifiedListeners()
|
impl_notifyModifiedListeners()
|
||||||
throw( css::uno::RuntimeException);
|
throw( css::uno::RuntimeException);
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void SAL_CALL
|
void SAL_CALL
|
||||||
impl_notifyCloseListeners()
|
impl_notifyCloseListeners()
|
||||||
throw( css::uno::RuntimeException);
|
throw( css::uno::RuntimeException);
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void SAL_CALL
|
void SAL_CALL
|
||||||
impl_notifyStorageChangeListeners()
|
impl_notifyStorageChangeListeners()
|
||||||
throw(css::uno::RuntimeException);
|
throw(css::uno::RuntimeException);
|
||||||
|
@@ -91,6 +91,7 @@ protected:
|
|||||||
|
|
||||||
// character properties have to be handled differently (via the XFormattedString elements)
|
// character properties have to be handled differently (via the XFormattedString elements)
|
||||||
void getFastCharacterPropertyValue( sal_Int32 nHandle, css::uno::Any& rValue );
|
void getFastCharacterPropertyValue( sal_Int32 nHandle, css::uno::Any& rValue );
|
||||||
|
/// @throws css::uno::Exception
|
||||||
void setFastCharacterPropertyValue( sal_Int32 nHandle, const css::uno::Any& rValue )
|
void setFastCharacterPropertyValue( sal_Int32 nHandle, const css::uno::Any& rValue )
|
||||||
throw (css::uno::Exception);
|
throw (css::uno::Exception);
|
||||||
|
|
||||||
|
@@ -66,8 +66,16 @@ public:
|
|||||||
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) override;
|
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) override;
|
||||||
|
|
||||||
protected: //methods
|
protected: //methods
|
||||||
|
/// @throws css::beans::UnknownPropertyException
|
||||||
|
/// @throws css::beans::PropertyVetoException
|
||||||
|
/// @throws css::lang::IllegalArgumentException
|
||||||
|
/// @throws css::lang::WrappedTargetException
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void setPropertyValue( tScaleProperty eScaleProperty, const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
|
void setPropertyValue( tScaleProperty eScaleProperty, const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
|
||||||
throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
||||||
|
/// @throws css::beans::UnknownPropertyException
|
||||||
|
/// @throws css::lang::WrappedTargetException
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
css::uno::Any getPropertyValue( tScaleProperty eScaleProperty, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
|
css::uno::Any getPropertyValue( tScaleProperty eScaleProperty, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
|
||||||
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
||||||
|
|
||||||
|
@@ -111,6 +111,7 @@ public:
|
|||||||
virtual void fillExtraControls( const ChartTypeParameter& rParameter
|
virtual void fillExtraControls( const ChartTypeParameter& rParameter
|
||||||
, const css::uno::Reference< css::chart2::XChartDocument >& xChartModel
|
, const css::uno::Reference< css::chart2::XChartDocument >& xChartModel
|
||||||
, const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const;
|
, const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const;
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
virtual void setTemplateProperties( const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const throw (css::uno::RuntimeException);
|
virtual void setTemplateProperties( const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const throw (css::uno::RuntimeException);
|
||||||
|
|
||||||
bool isSubType( const OUString& rServiceName );
|
bool isSubType( const OUString& rServiceName );
|
||||||
|
@@ -113,6 +113,7 @@ protected:
|
|||||||
object is already disposed
|
object is already disposed
|
||||||
@return true, if the component is already disposed and bThrowException is false,
|
@return true, if the component is already disposed and bThrowException is false,
|
||||||
false otherwise
|
false otherwise
|
||||||
|
@throws css::lang::DisposedException
|
||||||
*/
|
*/
|
||||||
bool CheckDisposeState( bool bThrowException = true ) const throw (css::lang::DisposedException);
|
bool CheckDisposeState( bool bThrowException = true ) const throw (css::lang::DisposedException);
|
||||||
|
|
||||||
@@ -132,11 +133,15 @@ protected:
|
|||||||
bool NotifyEvent( EventType eType, const AccessibleUniqueId & rId );
|
bool NotifyEvent( EventType eType, const AccessibleUniqueId & rId );
|
||||||
|
|
||||||
/** Adds a state to the set.
|
/** Adds a state to the set.
|
||||||
|
|
||||||
|
@throws css::uno::RuntimeException
|
||||||
*/
|
*/
|
||||||
void AddState( sal_Int16 aState ) throw (css::uno::RuntimeException);
|
void AddState( sal_Int16 aState ) throw (css::uno::RuntimeException);
|
||||||
|
|
||||||
/** Removes a state from the set if the set contains the state, otherwise
|
/** Removes a state from the set if the set contains the state, otherwise
|
||||||
nothing is done.
|
nothing is done.
|
||||||
|
|
||||||
|
@throws css::uno::RuntimeException
|
||||||
*/
|
*/
|
||||||
void RemoveState( sal_Int16 aState ) throw (css::uno::RuntimeException);
|
void RemoveState( sal_Int16 aState ) throw (css::uno::RuntimeException);
|
||||||
|
|
||||||
@@ -200,6 +205,9 @@ protected:
|
|||||||
|
|
||||||
/** Is called from getAccessibleChild(). Before this method is called, an
|
/** Is called from getAccessibleChild(). Before this method is called, an
|
||||||
update of children is done if necessary.
|
update of children is done if necessary.
|
||||||
|
|
||||||
|
@throws css::lang::IndexOutOfBoundsException
|
||||||
|
@throws css::uno::RuntimeException
|
||||||
*/
|
*/
|
||||||
virtual css::uno::Reference< css::accessibility::XAccessible >
|
virtual css::uno::Reference< css::accessibility::XAccessible >
|
||||||
ImplGetAccessibleChildById( sal_Int32 i ) const
|
ImplGetAccessibleChildById( sal_Int32 i ) const
|
||||||
@@ -208,6 +216,8 @@ protected:
|
|||||||
|
|
||||||
/** Is called from getAccessibleChildCount(). Before this method is called,
|
/** Is called from getAccessibleChildCount(). Before this method is called,
|
||||||
an update of children is done if necessary.
|
an update of children is done if necessary.
|
||||||
|
|
||||||
|
@throws css::uno::RuntimeException
|
||||||
*/
|
*/
|
||||||
virtual sal_Int32 ImplGetAccessibleChildCount() const
|
virtual sal_Int32 ImplGetAccessibleChildCount() const
|
||||||
throw (css::uno::RuntimeException);
|
throw (css::uno::RuntimeException);
|
||||||
|
@@ -80,6 +80,7 @@ public:
|
|||||||
|
|
||||||
css::uno::Reference< css::drawing::XShapes > getAdditionalShapes() const;
|
css::uno::Reference< css::drawing::XShapes > getAdditionalShapes() const;
|
||||||
|
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
css::uno::Reference< css::drawing::XDrawPage > impl_getDrawPage() const
|
css::uno::Reference< css::drawing::XDrawPage > impl_getDrawPage() const
|
||||||
throw (css::uno::RuntimeException);
|
throw (css::uno::RuntimeException);
|
||||||
|
|
||||||
|
@@ -145,6 +145,8 @@ protected:
|
|||||||
false.
|
false.
|
||||||
|
|
||||||
The default implementation does nothing except showing an assertion
|
The default implementation does nothing except showing an assertion
|
||||||
|
|
||||||
|
@throws css::uno::Exception
|
||||||
*/
|
*/
|
||||||
virtual void FillSpecialItem( sal_uInt16 nWhichId, SfxItemSet & rOutItemSet ) const
|
virtual void FillSpecialItem( sal_uInt16 nWhichId, SfxItemSet & rOutItemSet ) const
|
||||||
throw (css::uno::Exception, std::exception);
|
throw (css::uno::Exception, std::exception);
|
||||||
@@ -157,6 +159,8 @@ protected:
|
|||||||
The default implementation returns just false and shows an assertion
|
The default implementation returns just false and shows an assertion
|
||||||
|
|
||||||
@return true if the item changed a property, false otherwise.
|
@return true if the item changed a property, false otherwise.
|
||||||
|
|
||||||
|
@throws css::uno::Exception
|
||||||
*/
|
*/
|
||||||
virtual bool ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSet & rItemSet )
|
virtual bool ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSet & rItemSet )
|
||||||
throw( css::uno::Exception );
|
throw( css::uno::Exception );
|
||||||
|
@@ -43,6 +43,7 @@ public:
|
|||||||
virtual ~LifeTimeManager();
|
virtual ~LifeTimeManager();
|
||||||
|
|
||||||
bool impl_isDisposed( bool bAssert=true );
|
bool impl_isDisposed( bool bAssert=true );
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
bool dispose() throw(css::uno::RuntimeException);
|
bool dispose() throw(css::uno::RuntimeException);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -89,12 +90,15 @@ OOO_DLLPUBLIC_CHARTTOOLS CloseableLifeTimeManager( css::util::XCloseable* pCl
|
|||||||
OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager() override;
|
OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager() override;
|
||||||
|
|
||||||
OOO_DLLPUBLIC_CHARTTOOLS bool impl_isDisposedOrClosed( bool bAssert=true );
|
OOO_DLLPUBLIC_CHARTTOOLS bool impl_isDisposedOrClosed( bool bAssert=true );
|
||||||
|
/// @throws css::uno::Exception
|
||||||
OOO_DLLPUBLIC_CHARTTOOLS bool g_close_startTryClose(bool bDeliverOwnership)
|
OOO_DLLPUBLIC_CHARTTOOLS bool g_close_startTryClose(bool bDeliverOwnership)
|
||||||
throw ( css::uno::Exception );
|
throw ( css::uno::Exception );
|
||||||
|
/// @throws css::util::CloseVetoException
|
||||||
OOO_DLLPUBLIC_CHARTTOOLS bool g_close_isNeedToCancelLongLastingCalls( bool bDeliverOwnership, css::util::CloseVetoException& ex )
|
OOO_DLLPUBLIC_CHARTTOOLS bool g_close_isNeedToCancelLongLastingCalls( bool bDeliverOwnership, css::util::CloseVetoException& ex )
|
||||||
throw ( css::util::CloseVetoException );
|
throw ( css::util::CloseVetoException );
|
||||||
OOO_DLLPUBLIC_CHARTTOOLS void g_close_endTryClose(bool bDeliverOwnership, bool bMyVeto );
|
OOO_DLLPUBLIC_CHARTTOOLS void g_close_endTryClose(bool bDeliverOwnership, bool bMyVeto );
|
||||||
OOO_DLLPUBLIC_CHARTTOOLS void g_close_endTryClose_doClose();
|
OOO_DLLPUBLIC_CHARTTOOLS void g_close_endTryClose_doClose();
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
OOO_DLLPUBLIC_CHARTTOOLS void g_addCloseListener( const css::uno::Reference< css::util::XCloseListener > & xListener )
|
OOO_DLLPUBLIC_CHARTTOOLS void g_addCloseListener( const css::uno::Reference< css::util::XCloseListener > & xListener )
|
||||||
throw(css::uno::RuntimeException);
|
throw(css::uno::RuntimeException);
|
||||||
|
|
||||||
|
@@ -64,6 +64,9 @@ protected:
|
|||||||
/** implement this method to provide default values for all properties
|
/** implement this method to provide default values for all properties
|
||||||
supporting defaults. If a property does not have a default value, you
|
supporting defaults. If a property does not have a default value, you
|
||||||
may throw an UnknownPropertyException.
|
may throw an UnknownPropertyException.
|
||||||
|
|
||||||
|
@throws css::beans::UnknownPropertyException
|
||||||
|
@throws css::uno::RuntimeException
|
||||||
*/
|
*/
|
||||||
virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
|
virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
|
||||||
throw (css::beans::UnknownPropertyException,
|
throw (css::beans::UnknownPropertyException,
|
||||||
|
@@ -40,18 +40,33 @@ public:
|
|||||||
const OUString& getOuterName() const { return m_aOuterName;}
|
const OUString& getOuterName() const { return m_aOuterName;}
|
||||||
virtual OUString getInnerName() const;
|
virtual OUString getInnerName() const;
|
||||||
|
|
||||||
|
/// @throws css::beans::UnknownPropertyException
|
||||||
|
/// @throws css::beans::PropertyVetoException
|
||||||
|
/// @throws css::lang::IllegalArgumentException
|
||||||
|
/// @throws css::lang::WrappedTargetException
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
|
virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
|
||||||
throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
||||||
|
|
||||||
|
/// @throws css::beans::UnknownPropertyException
|
||||||
|
/// @throws css::lang::WrappedTargetException
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
virtual css::uno::Any getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
|
virtual css::uno::Any getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
|
||||||
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
||||||
|
|
||||||
|
/// @throws css::beans::UnknownPropertyException
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
virtual void setPropertyToDefault( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const
|
virtual void setPropertyToDefault( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const
|
||||||
throw (css::beans::UnknownPropertyException, css::uno::RuntimeException);
|
throw (css::beans::UnknownPropertyException, css::uno::RuntimeException);
|
||||||
|
|
||||||
|
/// @throws css::beans::UnknownPropertyException
|
||||||
|
/// @throws css::lang::WrappedTargetException
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
virtual css::uno::Any getPropertyDefault( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const
|
virtual css::uno::Any getPropertyDefault( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const
|
||||||
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
||||||
|
|
||||||
|
/// @throws css::beans::UnknownPropertyException
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
virtual css::beans::PropertyState getPropertyState( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const
|
virtual css::beans::PropertyState getPropertyState( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const
|
||||||
throw (css::beans::UnknownPropertyException, css::uno::RuntimeException);
|
throw (css::beans::UnknownPropertyException, css::uno::RuntimeException);
|
||||||
|
|
||||||
|
@@ -114,6 +114,7 @@ protected:
|
|||||||
const css::uno::Reference< css::chart2::XDiagram >& xDiagram )
|
const css::uno::Reference< css::chart2::XDiagram >& xDiagram )
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
throw (css::uno::RuntimeException, std::exception) override;
|
||||||
|
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void SAL_CALL applyStyles(
|
void SAL_CALL applyStyles(
|
||||||
const css::uno::Reference< css::chart2::XDiagram >& xDiagram )
|
const css::uno::Reference< css::chart2::XDiagram >& xDiagram )
|
||||||
throw (css::uno::RuntimeException);
|
throw (css::uno::RuntimeException);
|
||||||
|
@@ -40,6 +40,7 @@ public:
|
|||||||
virtual ~VAxisOrGridBase() override;
|
virtual ~VAxisOrGridBase() override;
|
||||||
|
|
||||||
virtual void setTransformationSceneToScreen( const css::drawing::HomogenMatrix& rMatrix ) override;
|
virtual void setTransformationSceneToScreen( const css::drawing::HomogenMatrix& rMatrix ) override;
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
virtual void setExplicitScaleAndIncrement(
|
virtual void setExplicitScaleAndIncrement(
|
||||||
const ExplicitScaleData& rScale
|
const ExplicitScaleData& rScale
|
||||||
, const ExplicitIncrementData& rIncrement )
|
, const ExplicitIncrementData& rIncrement )
|
||||||
|
@@ -48,6 +48,7 @@ public:
|
|||||||
PlotterBase( sal_Int32 nDimension );
|
PlotterBase( sal_Int32 nDimension );
|
||||||
virtual ~PlotterBase();
|
virtual ~PlotterBase();
|
||||||
|
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
virtual void initPlotter(
|
virtual void initPlotter(
|
||||||
const css::uno::Reference< css::drawing::XShapes >& xLogicTarget
|
const css::uno::Reference< css::drawing::XShapes >& xLogicTarget
|
||||||
, const css::uno::Reference< css::drawing::XShapes >& xFinalTarget
|
, const css::uno::Reference< css::drawing::XShapes >& xFinalTarget
|
||||||
|
@@ -50,6 +50,7 @@ public:
|
|||||||
static VCoordinateSystem* createCoordinateSystem( const css::uno::Reference<
|
static VCoordinateSystem* createCoordinateSystem( const css::uno::Reference<
|
||||||
css::chart2::XCoordinateSystem >& xCooSysModel );
|
css::chart2::XCoordinateSystem >& xCooSysModel );
|
||||||
|
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void initPlottingTargets(
|
void initPlottingTargets(
|
||||||
const css::uno::Reference< css::drawing::XShapes >& xLogicTarget
|
const css::uno::Reference< css::drawing::XShapes >& xLogicTarget
|
||||||
, const css::uno::Reference< css::drawing::XShapes >& xFinalTarget
|
, const css::uno::Reference< css::drawing::XShapes >& xFinalTarget
|
||||||
|
@@ -152,6 +152,8 @@ public:
|
|||||||
The parameter nAxisIndex matches this DataSeries property 'AttachedAxisIndex'.
|
The parameter nAxisIndex matches this DataSeries property 'AttachedAxisIndex'.
|
||||||
nAxisIndex must be greater than 0. nAxisIndex==1 referres to the first secondary axis.
|
nAxisIndex must be greater than 0. nAxisIndex==1 referres to the first secondary axis.
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@throws css::uno::RuntimeException
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void addSecondaryValueScale( const ExplicitScaleData& rScale, sal_Int32 nAxisIndex )
|
void addSecondaryValueScale( const ExplicitScaleData& rScale, sal_Int32 nAxisIndex )
|
||||||
|
Reference in New Issue
Block a user