Lines Matching refs:m_nRowCount
84 , m_nRowCount( 0 ) in InternalData()
94 m_nRowCount = nRowCount; in createDefaultData()
112 m_aRowLabels.reserve( m_nRowCount ); in createDefaultData()
113 generate_n( back_inserter( m_aRowLabels ), m_nRowCount, in createDefaultData()
124 m_nRowCount = rDataInRows.getLength(); in setData()
125 m_nColumnCount = (m_nRowCount ? rDataInRows[0].getLength() : 0); in setData()
127 if( m_aRowLabels.size() != static_cast< sal_uInt32 >( m_nRowCount )) in setData()
128 m_aRowLabels.resize( m_nRowCount ); in setData()
132 m_aData.resize( m_nRowCount * m_nColumnCount ); in setData()
138 for( sal_Int32 nRow=0; nRow<m_nRowCount; ++nRow ) in setData()
152 Sequence< Sequence< double > > aResult( m_nRowCount ); in getData()
154 for( sal_Int32 i=0; i<m_nRowCount; ++i ) in getData()
165 m_aData[ ::std::slice( nColumnIndex, m_nRowCount, m_nColumnCount ) ] ); in getColumnValues()
170 if( nRowIndex >= 0 && nRowIndex < m_nRowCount ) in getRowValues()
182 tDataType aSlice = m_aData[ ::std::slice( nColumnIndex, m_nRowCount, m_nColumnCount ) ]; in setColumnValues()
185 m_aData[ ::std::slice( nColumnIndex, m_nRowCount, m_nColumnCount ) ] = aSlice; in setColumnValues()
241 if( nRowIndex < m_nRowCount - 1 ) in swapRowWithNext()
263 const sal_Int32 nMax = m_nRowCount; in swapColumnWithNext()
282 sal_Int32 nNewRowCount( ::std::max<sal_Int32>( m_nRowCount, nRowCount ) ); in enlargeData()
285 bool bGrow = (nNewSize > m_nColumnCount*m_nRowCount); in enlargeData()
295 aNewData[ ::std::slice( nCol, m_nRowCount, nNewColumnCount ) ] ) = in enlargeData()
296 m_aData[ ::std::slice( nCol, m_nRowCount, m_nColumnCount ) ]; in enlargeData()
302 m_nRowCount = nNewRowCount; in enlargeData()
313 sal_Int32 nNewSize( nNewColumnCount * m_nRowCount ); in insertColumn()
322 aNewData[ ::std::slice( nCol, m_nRowCount, nNewColumnCount ) ] = in insertColumn()
324 m_aData[ ::std::slice( nCol, m_nRowCount, m_nColumnCount ) ] ); in insertColumn()
326 aNewData[ ::std::slice( nCol, m_nRowCount, nNewColumnCount ) ] = in insertColumn()
328 m_aData[ ::std::slice( nCol - 1, m_nRowCount, m_nColumnCount ) ] ); in insertColumn()
358 OSL_ASSERT( nAfterIndex < m_nRowCount && nAfterIndex >= -1 ); in insertRow()
359 if( nAfterIndex >= m_nRowCount || nAfterIndex < -1 ) in insertRow()
361 sal_Int32 nNewRowCount = m_nRowCount + 1; in insertRow()
374 if( nIndex < m_nRowCount ) in insertRow()
376 sal_Int32 nRemainingCount = m_nColumnCount * (m_nRowCount - nIndex); in insertRow()
382 m_nRowCount = nNewRowCount; in insertRow()
401 sal_Int32 nNewSize( nNewColumnCount * m_nRowCount ); in deleteColumn()
410 aNewData[ ::std::slice( nCol, m_nRowCount, nNewColumnCount ) ] = in deleteColumn()
412 m_aData[ ::std::slice( nCol, m_nRowCount, m_nColumnCount ) ] ); in deleteColumn()
414 aNewData[ ::std::slice( nCol, m_nRowCount, nNewColumnCount ) ] = in deleteColumn()
416 m_aData[ ::std::slice( nCol + 1, m_nRowCount, m_nColumnCount ) ] ); in deleteColumn()
433 OSL_ASSERT( nAtIndex < m_nRowCount && nAtIndex >= 0 ); in deleteRow()
434 if( nAtIndex >= m_nRowCount || m_nRowCount < 1 || nAtIndex < 0 ) in deleteRow()
436 sal_Int32 nNewRowCount = m_nRowCount - 1; in deleteRow()
458 m_nRowCount = nNewRowCount; in deleteRow()
473 return m_nRowCount; in getRowCount()
485 if( nNewRowCount < m_nRowCount ) in setComplexRowLabels()
486 m_aRowLabels.resize( m_nRowCount ); in setComplexRowLabels()
516 for( sal_Int32 i=0; i<m_nRowCount; ++i ) in traceData()