Kaydet (Commit) 7649a142 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Make these non-inline.

Change-Id: I0de443a78e3024c7d3834f964a92f5ccdabe3cc3
üst 9dd15210
...@@ -66,15 +66,15 @@ public: ...@@ -66,15 +66,15 @@ public:
/// @return the index of the newly appended row /// @return the index of the newly appended row
sal_Int32 appendRow(); sal_Int32 appendRow();
sal_Int32 getRowCount() const { return m_nRowCount;} sal_Int32 getRowCount() const;
sal_Int32 getColumnCount() const { return m_nColumnCount;} sal_Int32 getColumnCount() const;
typedef ::std::vector< ::std::vector< ::com::sun::star::uno::Any > > tVecVecAny; //inner index is hierarchical level typedef ::std::vector< ::std::vector< ::com::sun::star::uno::Any > > tVecVecAny; //inner index is hierarchical level
void setComplexRowLabels( const tVecVecAny& rNewRowLabels ); void setComplexRowLabels( const tVecVecAny& rNewRowLabels );
tVecVecAny getComplexRowLabels() const { return m_aRowLabels;} tVecVecAny getComplexRowLabels() const;
void setComplexColumnLabels( const tVecVecAny& rNewColumnLabels ); void setComplexColumnLabels( const tVecVecAny& rNewColumnLabels );
tVecVecAny getComplexColumnLabels() const { return m_aColumnLabels;} tVecVecAny getComplexColumnLabels() const;
void dump() const; void dump() const;
......
...@@ -376,6 +376,16 @@ sal_Int32 InternalData::appendRow() ...@@ -376,6 +376,16 @@ sal_Int32 InternalData::appendRow()
return getRowCount() - 1; return getRowCount() - 1;
} }
sal_Int32 InternalData::getRowCount() const
{
return m_nRowCount;
}
sal_Int32 InternalData::getColumnCount() const
{
return m_nColumnCount;
}
void InternalData::insertRow( sal_Int32 nAfterIndex ) void InternalData::insertRow( sal_Int32 nAfterIndex )
{ {
// note: -1 is allowed, as we insert after the given index // note: -1 is allowed, as we insert after the given index
...@@ -496,6 +506,11 @@ void InternalData::setComplexRowLabels( const vector< vector< uno::Any > >& rNew ...@@ -496,6 +506,11 @@ void InternalData::setComplexRowLabels( const vector< vector< uno::Any > >& rNew
enlargeData( 0, nNewRowCount ); enlargeData( 0, nNewRowCount );
} }
InternalData::tVecVecAny InternalData::getComplexRowLabels() const
{
return m_aRowLabels;
}
void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& rNewColumnLabels ) void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& rNewColumnLabels )
{ {
m_aColumnLabels = rNewColumnLabels; m_aColumnLabels = rNewColumnLabels;
...@@ -506,6 +521,11 @@ void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& r ...@@ -506,6 +521,11 @@ void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& r
enlargeData( nNewColumnCount, 0 ); enlargeData( nNewColumnCount, 0 );
} }
InternalData::tVecVecAny InternalData::getComplexColumnLabels() const
{
return m_aColumnLabels;
}
#ifdef DEBUG_INTERNAL_DATA #ifdef DEBUG_INTERNAL_DATA
void InternalData::dump() const void InternalData::dump() const
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment