Lines Matching refs:pStyleSheet
120 SfxStyleSheetBase* pStyleSheet = NULL; in DoExecute() local
187 pStyleSheet = &pSSPool->Make( aStyleName, (SfxStyleFamily) nFamily, SFXSTYLEBIT_USERDEF ); in DoExecute()
192 pStyleSheet->SetParent(aParentName); in DoExecute()
196 pStyleSheet->SetParent(String(SdResId(STR_STANDARD_STYLESHEET_NAME))); in DoExecute()
213 pStyleSheet = &pSSPool->Make( aStyleName, (SfxStyleFamily) nFamily, SFXSTYLEBIT_USERDEF ); in DoExecute()
214 pStyleSheet->SetParent(String(SdResId(STR_STANDARD_STYLESHEET_NAME))); in DoExecute()
220 pStyleSheet = pSSPool->Find( aStyleName, (SfxStyleFamily) nFamily); in DoExecute()
224 pStyleSheet = pSSPool->Find( aStyleName, (SfxStyleFamily) nFamily); in DoExecute()
225 if( pStyleSheet ) in DoExecute()
227 pSSPool->Remove( pStyleSheet ); in DoExecute()
239 pStyleSheet = pSSPool->Find( aStyleName, (SfxStyleFamily) nFamily); in DoExecute()
242 if ( pStyleSheet && pStyleSheet->GetFamily() != SD_STYLE_FAMILY_PSEUDO ) in DoExecute()
251 pStyleSheet->GetFamily() == pOldStyleSheet->GetFamily() || in DoExecute()
254 …pStyleSheet->GetFamily() == (SD_STYLE_FAMILY_GRAPHICS && pOldStyleSheet->GetHelpId( aStr ) == HID_… in DoExecute()
259 mpView->SetStyleSheet( (SfxStyleSheet*) pStyleSheet); in DoExecute()
277 pStyleSheet = pSSPool->Find( aStyleName, (SfxStyleFamily) nFamily); in DoExecute()
281 if( pStyleSheet && pStyleSheet->GetFamily() != SD_STYLE_FAMILY_PSEUDO ) in DoExecute()
283 ( (SdStyleSheetPool*) pSSPool )->SetActualStyleSheet( pStyleSheet ); in DoExecute()
313 if( pStyleSheet ) in DoExecute()
319 SfxItemSet aOriSet( pStyleSheet->GetItemSet() ); in DoExecute()
321 SfxStyleFamily eFamily = pStyleSheet->GetFamily(); in DoExecute()
325 …pStdDlg = pFact ? pFact->CreateSdTabTemplateDlg( 0, mpDoc->GetDocSh(), *pStyleSheet, mpDoc, mpView… in DoExecute()
329 String aName(pStyleSheet->GetName()); in DoExecute()
391 …pFact->CreateSdPresLayoutTemplateDlg( mpDocSh, NULL, SdResId(nDlgId), *pStyleSheet, ePO, pSSPool )… in DoExecute()
415 nRetMask = pStyleSheet->GetMask(); in DoExecute()
420 ((SdStyleSheet*)pStyleSheet)->AdjustToFontHeight(aTempSet); in DoExecute()
453 pStyleSheet->GetItemSet().Put(aTempSet); in DoExecute()
455 SdStyleSheet* pRealSheet =((SdStyleSheet*)pStyleSheet)->GetRealStyleSheet(); in DoExecute()
476 SfxItemSet& rAttr = pStyleSheet->GetItemSet(); in DoExecute()
552 ( (SfxStyleSheet*) pStyleSheet )->Broadcast( SfxSimpleHint( SFX_HINT_DATACHANGED ) ); in DoExecute()
603 pSSPool->Remove( pStyleSheet ); in DoExecute()
617 if( pStyleSheet ) in DoExecute()
619 nRetMask = pStyleSheet->GetMask(); in DoExecute()
628 if( pOldStyle != pStyleSheet ) in DoExecute()
632 pStyleSheet->SetParent(pOldStyle->GetName()); in DoExecute()
635 SfxItemSet* pStyleSet = &pStyleSheet->GetItemSet(); in DoExecute()
643 mpView->SetStyleSheet( (SfxStyleSheet*) pStyleSheet); in DoExecute()
646 ( (SfxStyleSheet*) pStyleSheet )->Broadcast( SfxSimpleHint( SFX_HINT_DATACHANGED ) ); in DoExecute()
660 pStyleSheet = mpView->GetStyleSheet(); in DoExecute()
662 if( pStyleSheet ) in DoExecute()
664 nRetMask = pStyleSheet->GetMask(); in DoExecute()
668 SfxItemSet* pStyleSet = &pStyleSheet->GetItemSet(); in DoExecute()
671 mpView->SetStyleSheet( (SfxStyleSheet*) pStyleSheet); in DoExecute()
673 ( (SfxStyleSheet*) pStyleSheet )->Broadcast( SfxSimpleHint( SFX_HINT_DATACHANGED ) ); in DoExecute()