Lines Matching refs:pStyle
518 SfxStyleSheetBase *pStyle = 0; in Edit() local
530 pStyle = &mxBasePool->Make( rName, (SfxStyleFamily)nFamily, nMask ); in Edit()
533 SwDocStyleSheet* pDStyle = (SwDocStyleSheet*)pStyle; in Edit()
615 pStyle = mxBasePool->Find( rName, (SfxStyleFamily)nFamily ); in Edit()
616 ASSERT(pStyle, "Vorlage nicht gefunden"); in Edit()
619 if(!pStyle) in Edit()
624 rtl::Reference< SwDocStyleSheet > xTmp( new SwDocStyleSheet( *(SwDocStyleSheet*)pStyle ) ); in Edit()
703 nRet = SFX_STYLE_FAMILY_PARA == pStyle->GetFamily() in Edit()
707 else if( pStyle->GetMask() != xTmp->GetMask() ) in Edit()
812 nRet = SFX_STYLE_FAMILY_PARA == pStyle->GetFamily() in Edit()
816 else if( pStyle->GetMask() != xTmp->GetMask() ) in Edit()
862 SfxStyleSheetBase *pStyle = mxBasePool->Find(rName, (SfxStyleFamily)nFamily); in Delete() local
864 if(pStyle) in Delete()
869 mxBasePool->Remove(pStyle); in Delete()
888 … SwDocStyleSheet* pStyle = (SwDocStyleSheet*) mxBasePool->Find( rName, (SfxStyleFamily) nFamily ); in ApplyStyles() local
890 ASSERT( pStyle, "Wo ist der StyleSheet" ); in ApplyStyles()
891 if ( !pStyle ) in ApplyStyles()
904 SwFmtCharFmt aFmt( pStyle->GetCharFmt() ); in ApplyStyles()
911 pSh->SetTxtFmtColl( pStyle->GetCollection(), true ); in ApplyStyles()
917 pSh->SetFrmFmt( pStyle->GetFrmFmt() ); in ApplyStyles()
922 pSh->SetPageStyle( pStyle->GetPageDesc()->GetName() ); in ApplyStyles()
928 const SwNumRule* pNumRule = pStyle->GetNumRule(); in ApplyStyles()
962 SwDocStyleSheet* pStyle = in DoWaterCan() local
965 ASSERT(pStyle, "Wo ist der StyleSheet"); in DoWaterCan()
966 if(!pStyle) return nFamily; in DoWaterCan()
971 aTemplate.aColl.pCharFmt = pStyle->GetCharFmt(); in DoWaterCan()
974 aTemplate.aColl.pTxtColl = pStyle->GetCollection(); in DoWaterCan()
977 aTemplate.aColl.pFrmFmt = pStyle->GetFrmFmt(); in DoWaterCan()
980 aTemplate.aColl.pPageDesc = (SwPageDesc*)pStyle->GetPageDesc(); in DoWaterCan()
983 aTemplate.aColl.pNumRule = (SwNumRule*)pStyle->GetNumRule(); in DoWaterCan()
1009 SwDocStyleSheet* pStyle = in UpdateStyle() local
1012 if(!pStyle) in UpdateStyle()
1019 SwTxtFmtColl* pColl = pStyle->GetCollection(); in UpdateStyle()
1039 SwFrmFmt* pFrm = pStyle->GetFrmFmt(); in UpdateStyle()
1062 SwCharFmt* pChar = pStyle->GetCharFmt(); in UpdateStyle()
1077 if( pStyle->GetNumRule() && in UpdateStyle()
1082 aRule.SetName( pStyle->GetNumRule()->GetName(), in UpdateStyle()
1102 SwDocStyleSheet* pStyle = (SwDocStyleSheet*)mxBasePool->Find( in MakeByExample() local
1104 if(!pStyle) in MakeByExample()
1113 pStyle = (SwDocStyleSheet*)&mxBasePool->Make(rName, in MakeByExample()
1121 SwTxtFmtColl* pColl = pStyle->GetCollection(); in MakeByExample()
1162 SwFrmFmt* pFrm = pStyle->GetFrmFmt(); in MakeByExample()
1197 SwCharFmt* pChar = pStyle->GetCharFmt(); in MakeByExample()
1215 SwPageDesc& rDest = *(SwPageDesc*)pStyle->GetPageDesc(); in MakeByExample()
1242 aRule.SetName( pStyle->GetNumRule()->GetName(), in MakeByExample()