diff options
Diffstat (limited to 'sw/source/ui/vba/vbatablehelper.hxx')
-rw-r--r-- | sw/source/ui/vba/vbatablehelper.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbatablehelper.hxx b/sw/source/ui/vba/vbatablehelper.hxx index f787ec56cd1e..741aeea6f216 100644 --- a/sw/source/ui/vba/vbatablehelper.hxx +++ b/sw/source/ui/vba/vbatablehelper.hxx @@ -31,24 +31,35 @@ private: SwTable* pTable; private: + /// @throws css::uno::RuntimeException SwTableBox* GetTabBox( sal_Int32 nCol, sal_Int32 nRow ) throw (css::uno::RuntimeException); void InitTabCols( SwTabCols& rCols, const SwTableBox *pStart, bool bCurRowOnly ); static sal_Int32 GetRightSeparator( SwTabCols& rCols, sal_Int32 nNum); static sal_Int32 GetColCount( SwTabCols& rCols ); + /// @throws css::uno::RuntimeException static sal_Int32 GetColWidth( SwTabCols& rCols, sal_Int32 nNum ) throw (css::uno::RuntimeException); public: + /// @throws css::uno::RuntimeException explicit SwVbaTableHelper( const css::uno::Reference< css::text::XTextTable >& xTextTable ) throw (css::uno::RuntimeException); ~SwVbaTableHelper() {} + /// @throws css::uno::RuntimeException sal_Int32 getTabColumnsCount( sal_Int32 nRowIndex ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException sal_Int32 getTabColumnsMaxCount( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException sal_Int32 getTabRowIndex( const OUString& sCellName ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException sal_Int32 getTabColIndex( const OUString& sCellName ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException sal_Int32 getTableWidth( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException sal_Int32 GetColWidth( sal_Int32 nCol, sal_Int32 nRow = 0, bool bCurRowOnly = false ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void SetColWidth( sal_Int32 _width, sal_Int32 nCol, sal_Int32 nRow = 0, bool bCurRowOnly = false ) throw (css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException static SwTable* GetSwTable( const css::uno::Reference< css::text::XTextTable >& xTextTable ) throw (css::uno::RuntimeException); static OUString getColumnStr( sal_Int32 nCol ); }; |