Lines Matching refs:nColumnIndex
161 Sequence< double > InternalData::getColumnValues( sal_Int32 nColumnIndex ) const in getColumnValues()
163 if( nColumnIndex >= 0 && nColumnIndex < m_nColumnCount ) in getColumnValues()
165 m_aData[ ::std::slice( nColumnIndex, m_nRowCount, m_nColumnCount ) ] ); in getColumnValues()
176 void InternalData::setColumnValues( sal_Int32 nColumnIndex, const vector< double > & rNewData ) in setColumnValues() argument
178 if( nColumnIndex < 0 ) in setColumnValues()
180 enlargeData( nColumnIndex + 1, rNewData.size() ); in setColumnValues()
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()
200 void InternalData::setComplexColumnLabel( sal_Int32 nColumnIndex, const vector< uno::Any >& rComple… in setComplexColumnLabel() argument
202 if( nColumnIndex < 0 ) in setComplexColumnLabel()
204 if( nColumnIndex >= static_cast< sal_Int32 >( m_aColumnLabels.size() ) ) in setComplexColumnLabel()
206 m_aColumnLabels.resize(nColumnIndex+1); in setComplexColumnLabel()
207 enlargeData( nColumnIndex+1, 0 ); in setComplexColumnLabel()
209 m_aColumnLabels[nColumnIndex]=rComplexLabel; in setComplexColumnLabel()
224 vector< uno::Any > InternalData::getComplexColumnLabel( sal_Int32 nColumnIndex ) const in getComplexColumnLabel()
226 if( nColumnIndex < static_cast< sal_Int32 >( m_aColumnLabels.size() ) ) in getComplexColumnLabel()
227 return m_aColumnLabels[nColumnIndex]; in getComplexColumnLabel()
259 void InternalData::swapColumnWithNext( sal_Int32 nColumnIndex ) in swapColumnWithNext() argument
261 if( nColumnIndex < m_nColumnCount - 1 ) in swapColumnWithNext()
266 size_t nIndex1 = nColumnIndex + nRowIdx*m_nColumnCount; in swapColumnWithNext()
273 vector< uno::Any > aTemp( m_aColumnLabels[nColumnIndex] ); in swapColumnWithNext()
274 m_aColumnLabels[nColumnIndex] = m_aColumnLabels[nColumnIndex + 1]; in swapColumnWithNext()
275 m_aColumnLabels[nColumnIndex + 1] = aTemp; in swapColumnWithNext()