Lines Matching refs:nRowIndex
168 Sequence< double > InternalData::getRowValues( sal_Int32 nRowIndex ) const in getRowValues()
170 if( nRowIndex >= 0 && nRowIndex < m_nRowCount ) in getRowValues()
172 m_aData[ ::std::slice( nRowIndex*m_nColumnCount, m_nColumnCount, 1 ) ] ); in getRowValues()
188 void InternalData::setRowValues( sal_Int32 nRowIndex, const vector< double > & rNewData ) in setRowValues() argument
190 if( nRowIndex < 0 ) in setRowValues()
192 enlargeData( rNewData.size(), nRowIndex+1 ); in setRowValues()
194 tDataType aSlice = m_aData[ ::std::slice( nRowIndex*m_nColumnCount, m_nColumnCount, 1 ) ]; in setRowValues()
197 m_aData[ ::std::slice( nRowIndex*m_nColumnCount, m_nColumnCount, 1 ) ]= aSlice; in setRowValues()
212 void InternalData::setComplexRowLabel( sal_Int32 nRowIndex, const vector< uno::Any >& rComplexLabel… in setComplexRowLabel() argument
214 if( nRowIndex < 0 ) in setComplexRowLabel()
216 if( nRowIndex >= static_cast< sal_Int32 >( m_aRowLabels.size() ) ) in setComplexRowLabel()
218 m_aRowLabels.resize(nRowIndex+1); in setComplexRowLabel()
219 enlargeData( 0, nRowIndex+1 ); in setComplexRowLabel()
221 m_aRowLabels[nRowIndex] = rComplexLabel; in setComplexRowLabel()
231 vector< uno::Any > InternalData::getComplexRowLabel( sal_Int32 nRowIndex ) const in getComplexRowLabel()
233 if( nRowIndex < static_cast< sal_Int32 >( m_aRowLabels.size() ) ) in getComplexRowLabel()
234 return m_aRowLabels[nRowIndex]; in getComplexRowLabel()
239 void InternalData::swapRowWithNext( sal_Int32 nRowIndex ) in swapRowWithNext() argument
241 if( nRowIndex < m_nRowCount - 1 ) in swapRowWithNext()
246 size_t nIndex1 = nColIdx + nRowIndex*m_nColumnCount; in swapRowWithNext()
253 vector< uno::Any > aTemp( m_aRowLabels[nRowIndex] ); in swapRowWithNext()
254 m_aRowLabels[nRowIndex] = m_aRowLabels[nRowIndex + 1]; in swapRowWithNext()
255 m_aRowLabels[nRowIndex + 1] = aTemp; in swapRowWithNext()