Lines Matching refs:pStyle
89 SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( (*iter).get() ); in getStyleSheets() local
90 …if( pStyle && (pStyle->GetFamily() == SD_STYLE_FAMILY_MASTERPAGE) && (pStyle->GetName().Equals( aL… in getStyleSheets()
91 maStyleSheets[ pStyle->GetApiName() ] = rtl::Reference< SdStyleSheet >( pStyle ); in getStyleSheets()
140 SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( xStyle.get() ); in GetValidNewSheet() local
142 …if( pStyle == 0 || (pStyle->GetFamily() != mnFamily) || (&pStyle->GetPool() != mxPool.get()) || (m… in GetValidNewSheet()
145 return pStyle; in GetValidNewSheet()
167 SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( (*iter).get() ); in GetSheetByName() local
168 if( pStyle && (pStyle->GetFamily() == mnFamily) && (pStyle->GetApiName() == rName) ) in GetSheetByName()
170 pRet = pStyle; in GetSheetByName()
287 SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( (*iter).get() ); in getElementNames() local
288 if( pStyle && (pStyle->GetFamily() == mnFamily) ) in getElementNames()
289 aNames.push_back( pStyle->GetApiName() ); in getElementNames()
315 SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( (*iter).get() ); in hasByName() local
316 if( pStyle && (pStyle->GetFamily() == mnFamily) && ( pStyle->GetApiName() == aName ) ) in hasByName()
350 SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( (*iter).get() ); in hasElements() local
351 if( pStyle && (pStyle->GetFamily() == mnFamily) ) in hasElements()
378 SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( (*iter).get() ); in getCount() local
379 if( pStyle && (pStyle->GetFamily() == mnFamily) ) in getCount()
414 SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( (*iter).get() ); in getByIndex() local
415 if( pStyle && (pStyle->GetFamily() == mnFamily) ) in getByIndex()
418 return Any( Reference< XStyle >( pStyle ) ); in getByIndex()
439 SdStyleSheet* pStyle = GetValidNewSheet( rElement ); in insertByName() local
440 if( !pStyle->SetName( rName ) ) in insertByName()
443 pStyle->SetApiName( rName ); in insertByName()
444 mxPool->Insert( pStyle ); in insertByName()
454 SdStyleSheet* pStyle = GetSheetByName( rName ); in removeByName() local
456 if( !pStyle->IsUserDefined() ) in removeByName()
459 mxPool->Remove( pStyle ); in removeByName()