Lines Matching refs:pBase

759 				SfxStyleSheetBase* pBase = pBasePool->Find( sStyleName, eFamily );  in getByIndex()  local
760 if(pBase) in getByIndex()
768 new SwXFrameStyle(*pBasePool, pDocShell->GetDoc(), pBase->GetName()): in getByIndex()
800 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in getByName() local
801 if(pBase) in getByName()
809 new SwXFrameStyle(*pBasePool, pDocShell->GetDoc(), pBase->GetName()): in getByName()
858 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in hasByName() local
859 bRet = 0 != pBase; in hasByName()
895 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in insertByName() local
897 if(pBase || pUINameBase) in insertByName()
965 SfxStyleSheetBase* pBase = pBasePool->Find(rName); in replaceByName() local
967 if(!pBase) in replaceByName()
969 if(!pBase->IsUserDefined()) in replaceByName()
972 uno::Reference< style::XStyle > xStyle = _FindStyle(pBase->GetName()); in replaceByName()
984 pBasePool->Remove(pBase); in replaceByName()
1002 SfxStyleSheetBase* pBase = pBasePool->Find( aString ); in removeByName() local
1003 if(pBase) in removeByName()
1004 pBasePool->Remove(pBase); in removeByName()
1420 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in SwXStyle() local
1421 DBG_ASSERT(pBase, "where is the style?" ); in SwXStyle()
1422 if(pBase) in SwXStyle()
1428 … bIsConditional = RES_CONDTXTFMTCOLL == ((SwDocStyleSheet*)pBase)->GetCollection()->Which(); in SwXStyle()
1461 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in getName() local
1462 DBG_ASSERT(pBase, "where is the style?" ); in getName()
1463 if(!pBase) in getName()
1465 …SwStyleNameMapper::FillProgName(pBase->GetName(), aString, lcl_GetSwEnumFromSfxEnum ( eFamily ), s… in getName()
1480 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in setName() local
1481 DBG_ASSERT(pBase, "where is the style?" ); in setName()
1483 if(pBase && pBase->IsUserDefined()) in setName()
1485 rtl::Reference< SwDocStyleSheet > xTmp( new SwDocStyleSheet( *(SwDocStyleSheet*)pBase ) ); in setName()
1506 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in isUserDefined() local
1508 if(pBase) in isUserDefined()
1509 bRet = pBase->IsUserDefined(); in isUserDefined()
1525 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in isInUse() local
1526 if(pBase) in isInUse()
1527 bRet = pBase->IsUsed(); in isInUse()
1543 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in getParentStyle() local
1544 if(pBase) in getParentStyle()
1545 aString = pBase->GetParent(); in getParentStyle()
1567 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in setParentStyle() local
1568 if(pBase) in setParentStyle()
1570 rtl::Reference< SwDocStyleSheet > xBase( new SwDocStyleSheet(*(SwDocStyleSheet*)pBase) ); in setParentStyle()
2040 SfxStyleSheetBase* pBase; in lcl_SetStyleProperty() local
2041pBase = ((SfxStyleSheetBasePool*)pBasePool)->Find(pCharStyleNames[i], SFX_STYLE_FAMILY_CHAR); in lcl_SetStyleProperty()
2042 if(!pBase) in lcl_SetStyleProperty()
2043pBase = &pBasePool->Make(pCharStyleNames[i], SFX_STYLE_FAMILY_CHAR); in lcl_SetStyleProperty()
2044 pCharFmt = ((SwDocStyleSheet*)pBase)->GetCharFmt(); in lcl_SetStyleProperty()
2194 const SfxStyleSheetBase* pBase = pBasePool->First(); in lcl_SetStyleProperty() local
2195 while (pBase && !bStyleFound) in lcl_SetStyleProperty()
2197 if(pBase->GetName() == aStyleName) in lcl_SetStyleProperty()
2199 pBase = pBasePool->Next(); in lcl_SetStyleProperty()
2406 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in SetPropertyValues_Impl() local
2408 DBG_ASSERT(pBase, "where is the style?" ); in SetPropertyValues_Impl()
2410 if(pBase) in SetPropertyValues_Impl()
2411 aBaseImpl.setNewBase(new SwDocStyleSheet(*(SwDocStyleSheet*)pBase)); in SetPropertyValues_Impl()
2476 SfxStyleSheetBase* pBase, in lcl_GetStyleProperty() argument
2485 sal_Bool bPhys = pBase != 0; in lcl_GetStyleProperty()
2486 if(pBase) in lcl_GetStyleProperty()
2488 bPhys = ((SwDocStyleSheet*)pBase)->IsPhysical(); in lcl_GetStyleProperty()
2491 ((SwDocStyleSheet*)pBase)->GetCharFmt() && in lcl_GetStyleProperty()
2492 ((SwDocStyleSheet*)pBase)->GetCharFmt()->IsDefault() ) in lcl_GetStyleProperty()
2497 else if(pBase) in lcl_GetStyleProperty()
2501 rBase.setNewBase(new SwDocStyleSheet( *(SwDocStyleSheet*)pBase )); in lcl_GetStyleProperty()
2621 SwFmt *pFmt = ((SwDocStyleSheet*)pBase)->GetCollection(); in lcl_GetStyleProperty()
2814 SfxStyleSheetBase* pBase = 0; in GetPropertyValues_Impl() local
2825 if(!pBase) in GetPropertyValues_Impl()
2829 pBase = pBasePool->Find(sStyleName); in GetPropertyValues_Impl()
2833 … pRet[nProp] = lcl_GetStyleProperty(*pEntry, *pPropSet, aBase, pBase, eFamily, GetDoc() ); in GetPropertyValues_Impl()
3035 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in getPropertyStates() local
3036 DBG_ASSERT(pBase, "where is the style?" ); in getPropertyStates()
3038 if(pBase) in getPropertyStates()
3041 … rtl::Reference< SwDocStyleSheet > xStyle( new SwDocStyleSheet( *(SwDocStyleSheet*)pBase ) ); in getPropertyStates()
3187 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in setPropertiesToDefault() local
3188 DBG_ASSERT(pBase, "Where is the style?"); in setPropertiesToDefault()
3190 if(pBase) in setPropertiesToDefault()
3192 rtl::Reference< SwDocStyleSheet > xStyle(new SwDocStyleSheet(*(SwDocStyleSheet*)pBase)); in setPropertiesToDefault()
3301 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in setAllPropertiesToDefault() local
3302 DBG_ASSERT(pBase, "where is the style, you fiend!?"); in setAllPropertiesToDefault()
3304 if(pBase) in setAllPropertiesToDefault()
3306 … rtl::Reference< SwDocStyleSheet > xStyle( new SwDocStyleSheet( *(SwDocStyleSheet*)pBase ) ); in setAllPropertiesToDefault()
3443 SfxStyleSheetBase* pBase = pBasePool->Find(sStyleName); in getPropertyDefaults() local
3444 DBG_ASSERT(pBase,"Doesn't seem to be a style!"); in getPropertyDefaults()
3446 if(pBase) in getPropertyDefaults()
3448 … rtl::Reference< SwDocStyleSheet > xStyle(new SwDocStyleSheet(*(SwDocStyleSheet*)pBase)); in getPropertyDefaults()
3601 SfxStyleSheetBase* pBase = GetBasePool()->Find(GetStyleName()); in SetPropertyValues_Impl() local
3603 DBG_ASSERT(pBase, "where is the style?" ); in SetPropertyValues_Impl()
3605 if(pBase) in SetPropertyValues_Impl()
3607 aBaseImpl.setNewBase(new SwDocStyleSheet(*(SwDocStyleSheet*)pBase)); in SetPropertyValues_Impl()
3916 SfxStyleSheetBase* pBase = 0; in GetPropertyValues_Impl() local
3930 if(!pBase) in GetPropertyValues_Impl()
3934 pBase = GetBasePool()->Find(GetStyleName()); in GetPropertyValues_Impl()
3963 … rtl::Reference< SwDocStyleSheet > xStyle( new SwDocStyleSheet( *(SwDocStyleSheet*)pBase ) ); in GetPropertyValues_Impl()
3972 … pRet[nProp] = lcl_GetStyleProperty(*pEntry, *pPropSet, aBase, pBase, GetFamily(), GetDoc() ); in GetPropertyValues_Impl()
3998 … pRet[nProp] = lcl_GetStyleProperty(*pEntry, *pPropSet, aBase, pBase, GetFamily(), GetDoc() ); in GetPropertyValues_Impl()
4035 … rtl::Reference< SwDocStyleSheet > xStyle( new SwDocStyleSheet( *(SwDocStyleSheet*)pBase ) ); in GetPropertyValues_Impl()
4044 … pRet[nProp] = lcl_GetStyleProperty(*pEntry, *pPropSet, aBase, pBase, GetFamily(), GetDoc() ); in GetPropertyValues_Impl()
4051 … pRet[nProp] = lcl_GetStyleProperty(*pEntry, *pPropSet, aBase, pBase, GetFamily(), GetDoc() ); in GetPropertyValues_Impl()
4105 … rtl::Reference< SwDocStyleSheet > xStyle( new SwDocStyleSheet( *(SwDocStyleSheet*)pBase ) ); in GetPropertyValues_Impl()
4115 … pRet[nProp] = lcl_GetStyleProperty(*pEntry, *pPropSet, aBase, pBase, GetFamily(), GetDoc() ); in GetPropertyValues_Impl()