19#ifndef INCLUDED_SW_SOURCE_UI_VBA_VBATABLEHELPER_HXX 
   20#define INCLUDED_SW_SOURCE_UI_VBA_VBATABLEHELPER_HXX 
   22#include <com/sun/star/text/XTextTable.hpp> 
   43    explicit SwVbaTableHelper( css::uno::Reference< css::text::XTextTable > xTextTable );
 
   56    sal_Int32 
GetColWidth( sal_Int32 nCol, sal_Int32 nRow = 0 );
 
   58    void SetColWidth( sal_Int32 _width, sal_Int32 nCol, sal_Int32 nRow = 0, 
bool bCurRowOnly  = 
false );
 
   61    static SwTable* 
GetSwTable( 
const css::uno::Reference< css::text::XTextTable >& xTextTable );
 
SwTableBox is one table cell in the document model.
 
SwTable is one table in the document model, containing rows (which contain cells).
 
static sal_Int32 GetColCount(SwTabCols const &rCols)
 
sal_Int32 getTabColumnsCount(sal_Int32 nRowIndex)
 
sal_Int32 getTabColIndex(const OUString &sCellName)
 
css::uno::Reference< css::text::XTextTable > mxTextTable
 
sal_Int32 getTabRowIndex(const OUString &sCellName)
 
void SetColWidth(sal_Int32 _width, sal_Int32 nCol, sal_Int32 nRow=0, bool bCurRowOnly=false)
 
sal_Int32 getTableWidth() const
 
sal_Int32 getTabColumnsMaxCount()
 
static OUString getColumnStr(sal_Int32 nCol)
 
static sal_Int32 GetRightSeparator(SwTabCols const &rCols, sal_Int32 nNum)
 
static SwTable * GetSwTable(const css::uno::Reference< css::text::XTextTable > &xTextTable)
 
static sal_Int32 GetColWidth(SwTabCols &rCols, sal_Int32 nNum)
 
SwVbaTableHelper(css::uno::Reference< css::text::XTextTable > xTextTable)
 
SwTableBox * GetTabBox(sal_Int32 nCol, sal_Int32 nRow)
 
void InitTabCols(SwTabCols &rCols, const SwTableBox *pStart)