Lines Matching refs:pFormats

220 	ScAutoFormat* pFormats = ScGlobal::GetAutoFormat();  in GetObjectByIndex_Impl()  local
221 if (pFormats && nIndex < pFormats->GetCount()) in GetObjectByIndex_Impl()
229 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in GetObjectByName_Impl() local
230 if (pFormats) in GetObjectByName_Impl()
234 if (lcl_FindAutoFormatIndex( *pFormats, aString, nIndex )) in GetObjectByName_Impl()
256 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in insertByName() local
259 if (pFormats && !lcl_FindAutoFormatIndex( *pFormats, aNameStr, nDummy )) in insertByName()
264 if (pFormats->Insert( pNew )) in insertByName()
267 pFormats->Save(); // sofort speichern in insertByName()
270 if (lcl_FindAutoFormatIndex( *pFormats, aNameStr, nNewIndex )) in insertByName()
313 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in removeByName() local
316 if (pFormats && lcl_FindAutoFormatIndex( *pFormats, aNameStr, nIndex )) in removeByName()
318 pFormats->AtFree( nIndex ); in removeByName()
321 pFormats->Save(); // sofort speichern in removeByName()
343 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in getCount() local
344 if (pFormats) in getCount()
345 return pFormats->GetCount(); in getCount()
390 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in getElementNames() local
391 if (pFormats) in getElementNames()
394 sal_uInt16 nCount = pFormats->GetCount(); in getElementNames()
399 (*pFormats)[i]->GetName(aName); in getElementNames()
411 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in hasByName() local
412 if (pFormats) in hasByName()
416 return lcl_FindAutoFormatIndex( *pFormats, aString, nDummy ); in hasByName()
437 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in ~ScAutoFormatObj() local
438 if ( pFormats && pFormats->IsSaveLater() ) in ~ScAutoFormatObj()
439 pFormats->Save(); in ~ScAutoFormatObj()
560 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in getName() local
561 if (pFormats && IsInserted() && nFormatIndex < pFormats->GetCount()) in getName()
564 (*pFormats)[nFormatIndex]->GetName(aName); in getName()
575 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in setName() local
578 if (pFormats && IsInserted() && nFormatIndex < pFormats->GetCount() && in setName()
579 !lcl_FindAutoFormatIndex( *pFormats, aNewString, nDummy )) in setName()
581 ScAutoFormatData* pData = (*pFormats)[nFormatIndex]; in setName()
587 pFormats->AtFree( nFormatIndex ); in setName()
588 if (pFormats->Insert( pNew )) in setName()
590 nFormatIndex = pFormats->IndexOf( pNew ); // ist evtl. anders einsortiert... in setName()
593 pFormats->SetSaveLater(sal_True); in setName()
626 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in setPropertyValue() local
627 if (pFormats && IsInserted() && nFormatIndex < pFormats->GetCount()) in setPropertyValue()
629 ScAutoFormatData* pData = (*pFormats)[nFormatIndex]; in setPropertyValue()
650 pFormats->SetSaveLater(sal_True); in setPropertyValue()
661 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in getPropertyValue() local
662 if (pFormats && IsInserted() && nFormatIndex < pFormats->GetCount()) in getPropertyValue()
664 ScAutoFormatData* pData = (*pFormats)[nFormatIndex]; in getPropertyValue()
731 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in setPropertyValue() local
735 if ( pEntry && pEntry->nWID && pFormats && nFormatIndex < pFormats->GetCount() ) in setPropertyValue()
737 ScAutoFormatData* pData = (*pFormats)[nFormatIndex]; in setPropertyValue()
787 pFormats->SetSaveLater(sal_True); in setPropertyValue()
805 pFormats->SetSaveLater(sal_True); in setPropertyValue()
821 ScAutoFormat* pFormats = ScGlobal::GetAutoFormat(); in getPropertyValue() local
825 if ( pEntry && pEntry->nWID && pFormats && nFormatIndex < pFormats->GetCount() ) in getPropertyValue()
827 const ScAutoFormatData* pData = (*pFormats)[nFormatIndex]; in getPropertyValue()