Lines Matching refs:pStyle
127 SwDocStyleSheet* pStyle = 0, in lcl_FindCharFmt() argument
148 if(pStyle) in lcl_FindCharFmt()
152 pStyle->SetPhysical(sal_True); in lcl_FindCharFmt()
155 pStyle->PresetParent( p->GetName() ); in lcl_FindCharFmt()
157 pStyle->PresetParent( aEmptyStr ); in lcl_FindCharFmt()
160 pStyle->SetPhysical(sal_False); in lcl_FindCharFmt()
173 SwDocStyleSheet* pStyle = 0, in lcl_FindParaFmt() argument
189 if(pStyle) in lcl_FindParaFmt()
193 pStyle->SetPhysical(sal_True); in lcl_FindParaFmt()
195 pStyle->PresetParent( pColl->DerivedFrom()->GetName() ); in lcl_FindParaFmt()
197 pStyle->PresetParent( aEmptyStr ); in lcl_FindParaFmt()
200 pStyle->PresetFollow(rNext.GetName()); in lcl_FindParaFmt()
203 pStyle->SetPhysical(sal_False); in lcl_FindParaFmt()
216 SwDocStyleSheet* pStyle = 0, in lcl_FindFrmFmt() argument
231 if(pStyle) in lcl_FindFrmFmt()
235 pStyle->SetPhysical(sal_True); in lcl_FindFrmFmt()
237 pStyle->PresetParent( pFmt->DerivedFrom()->GetName() ); in lcl_FindFrmFmt()
239 pStyle->PresetParent( aEmptyStr ); in lcl_FindFrmFmt()
242 pStyle->SetPhysical(sal_False); in lcl_FindFrmFmt()
254 SwDocStyleSheet* pStyle = 0, in lcl_FindPageDesc() argument
270 if(pStyle) in lcl_FindPageDesc()
274 pStyle->SetPhysical(sal_True); in lcl_FindPageDesc()
276 pStyle->PresetFollow(pDesc->GetFollow()->GetName()); in lcl_FindPageDesc()
278 pStyle->PresetParent( aEmptyStr ); in lcl_FindPageDesc()
281 pStyle->SetPhysical(sal_False); in lcl_FindPageDesc()
288 SwDocStyleSheet* pStyle = 0, in lcl_FindNumRule() argument
304 if(pStyle) in lcl_FindNumRule()
308 pStyle->SetPhysical(sal_True); in lcl_FindNumRule()
309 pStyle->PresetParent( aEmptyStr ); in lcl_FindNumRule()
312 pStyle->SetPhysical(sal_False); in lcl_FindNumRule()
2242 void SwDocStyleSheetPool::Remove( SfxStyleSheetBase* pStyle) in Remove() argument
2244 if( !pStyle ) in Remove()
2249 const String& rName = pStyle->GetName(); in Remove()
2250 switch( pStyle->GetFamily() ) in Remove()
2295 Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_ERASED, *pStyle ) ); in Remove()
2888 SfxStyleSheetBase* pStyle = ((SfxStyleSheetHint&)rHint).GetStyleSheet(); in Notify() local
2890 if (pStyle) in Notify()
2892 sal_uInt16 nTmpPos = lcl_FindName( aLst, pStyle->GetFamily(), in Notify()
2893 pStyle->GetName() ); in Notify()