restore SdrTableObj::getColumnCount
removed correctly by fe630f3b09
but
we will need it again
Change-Id: I07a44e25cfc0de01cfdfef10ae817c413b50b597
This commit is contained in:
parent
cc24106366
commit
7c1ab34703
2 changed files with 16 additions and 0 deletions
|
@ -146,6 +146,8 @@ public:
|
|||
|
||||
void setActiveCell( const sdr::table::CellPos& rPos );
|
||||
void getActiveCellPos( sdr::table::CellPos& rPos ) const;
|
||||
sal_Int32 getRowCount() const;
|
||||
sal_Int32 getColumnCount() const;
|
||||
void getCellBounds( const sdr::table::CellPos& rPos, ::Rectangle& rCellRect );
|
||||
|
||||
const SfxItemSet& GetActiveCellItemSet() const;
|
||||
|
|
|
@ -1504,6 +1504,20 @@ const CellRef& SdrTableObj::getActiveCell() const
|
|||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
sal_Int32 SdrTableObj::getRowCount() const
|
||||
{
|
||||
return mpImpl ? mpImpl->getRowCount() : 0;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
sal_Int32 SdrTableObj::getColumnCount() const
|
||||
{
|
||||
return mpImpl ? mpImpl->getColumnCount() : 0;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
void SdrTableObj::setActiveCell( const CellPos& rPos )
|
||||
{
|
||||
if( mpImpl && mpImpl->mxTable.is() ) try
|
||||
|
|
Loading…
Reference in a new issue