Lines Matching refs:maFields

168     maFields.clear();  in ReadDataLabels()
169 maFields.reserve( rLabels.size() ); in ReadDataLabels()
174 maFields.push_back( aField ); in ReadDataLabels()
181 maFields.clear(); in ReadPivotFields()
182 maFields.reserve( rPivotFields.size() ); in ReadPivotFields()
187 maFields.push_back( aField ); in ReadPivotFields()
195 rFieldNames.reserve( maFields.size() ); in WriteFieldNames()
197 …for( ScPivotWindowFieldVector::const_iterator aIt = maFields.begin(), aEnd = maFields.end(); aIt !… in WriteFieldNames()
210 rPivotFields.resize( maFields.size() ); in WritePivotFields()
212 …for( ScPivotWindowFieldVector::const_iterator aIt = maFields.begin(), aEnd = maFields.end(); aIt !… in WritePivotFields()
235 return (nFieldIndex < maFields.size()) ? maFields[ nFieldIndex ].maFieldName : OUString(); in GetFieldText()
240 …for( ScPivotWindowFieldVector::const_iterator aIt = maFields.begin(), aEnd = maFields.end(); aIt !… in FindFuncDataByCol()
242 return ScPivotFuncDataEntry( &aIt->maFuncData, aIt - maFields.begin() ); in FindFuncDataByCol()
270 return (nFieldIndex < maFields.size()) ? nFieldIndex : PIVOTFIELD_INVALID; in GetFieldIndex()
293 return ::std::min( nFieldIndex, maFields.size() ); in GetDropIndex()
296 return maFields.size(); in GetDropIndex()
312 if( (meFieldType != PIVOTFIELDTYPE_SELECT) && (nInsertIndex <= maFields.size()) ) in InsertField()
315 if( nFieldIndex < maFields.size() ) in InsertField()
337 if( (meFieldType != PIVOTFIELDTYPE_SELECT) && (nRemoveIndex < maFields.size()) ) in RemoveField()
342 if( !maFields.empty() ) in RemoveField()
343 … MoveSelection( (mnSelectIndex < maFields.size()) ? mnSelectIndex : (maFields.size() - 1) ); in RemoveField()
360 …T) && (nFieldIndex != nInsertIndex) && (nFieldIndex < maFields.size()) && (nInsertIndex < maFields in MoveField()
363 ScPivotWindowField aField = maFields[ nFieldIndex ]; in MoveField()
376 return (mnSelectIndex < maFields.size()) ? &maFields[ mnSelectIndex ].maFuncData : 0; in GetSelectedFuncData()
381 if( mnSelectIndex < maFields.size() ) in ModifySelectedField()
383 maFields[ mnSelectIndex ].maFuncData = rFuncData; in ModifySelectedField()
384 maFields[ mnSelectIndex ].InitFieldName( *mpDialog, meFieldType == PIVOTFIELDTYPE_DATA ); in ModifySelectedField()
429 …else if( (mnInsCursorIndex < maFields.size()) && (mnInsCursorIndex == mnFirstVisIndex + mnPageSize… in NotifyTracking()
477 …if( HasFocus() && (mnSelectIndex < maFields.size()) && (mnFirstVisIndex <= mnSelectIndex) && (mnSe… in Paint()
480 …long nSelectionWidth = Min( GetTextWidth( maFields[ mnSelectIndex ].maFieldName ) + 4, nFieldWidth… in Paint()
488 size_t nFieldCount = maFields.size(); in Paint()
541 if( !maFields.empty() ) in KeyInput()
590 if( nNewSelectIndex < maFields.size() ) in MouseButtonDown()
616 if( (nFieldIndex < maFields.size()) && maFields[ nFieldIndex ].mbClipped ) in RequestHelp()
619 Help::ShowQuickHelp( this, aRect, maFields[ nFieldIndex ].maFieldName ); in RequestHelp()
664 …size_t nMaxFirstVisIndex = (maFields.size() <= mnPageSize) ? 0 : (((maFields.size() - 1) / mnLineS… in RecalcVisibleIndex()
670 if( !maFields.empty() && (nSelectIndex < maFields.size()) ) in SetSelectionUnchecked()
696 if( nSelectIndex < maFields.size() ) in MoveSelection()
702 if( maFields.empty() ) in MoveSelection()
705 size_t nLastIndex = maFields.size() - 1; in MoveSelection()
741 if( mnSelectIndex < maFields.size() ) in MoveSelectedField()
752 maFields.insert( maFields.begin() + nInsertIndex, rField ); in InsertFieldUnchecked()
763 maFields.erase( maFields.begin() + nRemoveIndex ); in RemoveFieldUnchecked()
801 …if( (nFieldIndex < maFields.size()) && (mnFirstVisIndex <= nFieldIndex) && (nFieldIndex < mnFirstV… in DrawField()
810 const OUString& rFullText = maFields[ nFieldIndex ].maFieldName; in DrawField()
813 if( (maFields[ nFieldIndex ].mbClipped = nLabelWidth + 6 > maFieldSize.Width()) == true ) in DrawField()
838 …if( (mnInsCursorIndex <= maFields.size()) && (mnFirstVisIndex <= mnInsCursorIndex) && (mnInsCursor… in DrawInsertionCursor()
898 nNewSelectIndex = ::std::min( nNewSelectIndex, maFields.size() - 1 ); in IMPL_LINK()