Lines Matching refs:eFamily

127 SwGetPoolIdFromName lcl_GetSwEnumFromSfxEnum ( SfxStyleFamily eFamily )  in lcl_GetSwEnumFromSfxEnum()  argument
129 switch ( eFamily ) in lcl_GetSwEnumFromSfxEnum()
152 IStyleAccess::SwAutoStyleFamily eFamily; member in SwAutoStylesEnumImpl
157 IStyleAccess::SwAutoStyleFamily getFamily() const { return eFamily; } in getFamily()
471 eFamily((SfxStyleFamily)nFamily), in SwXStyleFamily()
502 sal_Int32 lcl_GetCountOrName ( const SwDoc &rDoc, SfxStyleFamily eFamily, String *pString, sal_uInt… in lcl_GetCountOrName() argument
505 switch( eFamily ) in lcl_GetCountOrName()
646 return lcl_GetCountOrName ( *pDocShell->GetDoc(), eFamily, NULL ); in getCount()
662 switch( eFamily ) in getByIndex()
755 lcl_GetCountOrName ( *pDocShell->GetDoc(), eFamily, &sStyleName, nIndex ); in getByIndex()
759 SfxStyleSheetBase* pBase = pBasePool->Find( sStyleName, eFamily ); in getByIndex()
765 xStyle = eFamily == SFX_STYLE_FAMILY_PAGE ? in getByIndex()
766 new SwXPageStyle(*pBasePool, pDocShell, eFamily, sStyleName) : in getByIndex()
767 eFamily == SFX_STYLE_FAMILY_FRAME ? in getByIndex()
769 new SwXStyle(*pBasePool, eFamily, pDocShell->GetDoc(), sStyleName); in getByIndex()
796 SwStyleNameMapper::FillUIName(rName, sStyleName, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True ); in getByName()
799 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in getByName()
806 xStyle = eFamily == SFX_STYLE_FAMILY_PAGE ? in getByName()
807 new SwXPageStyle(*pBasePool, pDocShell, eFamily, sStyleName) : in getByName()
808 eFamily == SFX_STYLE_FAMILY_FRAME ? in getByName()
810 new SwXStyle(*pBasePool, eFamily, pDocShell->GetDoc(), sStyleName); in getByName()
831 SfxStyleSheetIteratorPtr pIterator = pBasePool->CreateIterator(eFamily, 0xffff); in getElementNames()
838 …FillProgName((*pIterator)[i]->GetName(), aString, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True ); in getElementNames()
856 SwStyleNameMapper::FillUIName(rName, sStyleName, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True ); in hasByName()
857 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in hasByName()
893 SwStyleNameMapper::FillUIName(rName, sStyleName, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True); in insertByName()
894 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in insertByName()
916 pNewStyle->GetFamily() != eFamily) in insertByName()
921 if(eFamily == SFX_STYLE_FAMILY_PARA && !pNewStyle->IsConditional()) in insertByName()
926 pBasePool->Make(sStyleName, eFamily, nMask); in insertByName()
932 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in insertByName()
934 if(pParentBase && pParentBase->GetFamily() == eFamily && in insertByName()
936 pBasePool->SetParent( eFamily, sStyleName, sParentStyleName ); in insertByName()
964 pBasePool->SetSearchMask(eFamily); in replaceByName()
998 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in removeByName()
1000 SwStyleNameMapper::FillUIName(rName, aString, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True ); in removeByName()
1031 switch ( eFamily ) in getPropertyValue()
1105 … if(pTempStyle && pTempStyle->GetFamily() == eFamily && pTempStyle->GetStyleName() == rStyleName) in _FindStyle()
1273 if(!bRet && SFX_STYLE_FAMILY_CHAR == eFamily) in supportsService()
1278 if(!bRet && SFX_STYLE_FAMILY_PARA == eFamily) in supportsService()
1283 if(!bRet && SFX_STYLE_FAMILY_PAGE == eFamily) in supportsService()
1295 if(SFX_STYLE_FAMILY_PARA == eFamily) in getSupportedServiceNames()
1301 else if(SFX_STYLE_FAMILY_CHAR == eFamily) in getSupportedServiceNames()
1303 else if(SFX_STYLE_FAMILY_PAGE == eFamily) in getSupportedServiceNames()
1308 switch(eFamily) in getSupportedServiceNames()
1340 eFamily(eFam), in SwXStyle()
1356 switch( eFamily ) in SwXStyle()
1411 eFamily(eFam), in SwXStyle()
1419 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in SwXStyle()
1460 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in getName()
1465 …ameMapper::FillProgName(pBase->GetName(), aString, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True); in getName()
1479 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in setName()
1505 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in isUserDefined()
1524 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_USED); in isInUse()
1542 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL); in getParentStyle()
1551 SwStyleNameMapper::FillProgName(aString, aString, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True ); in getParentStyle()
1562 …SwStyleNameMapper::FillUIName(rParentStyle, sParentStyle, lcl_GetSwEnumFromSfxEnum ( eFamily ), sa… in setParentStyle()
1565 pBasePool->SetSearchMask(eFamily); in setParentStyle()
1608 uno::Reference< beans::XPropertySetInfo > lcl_getPropertySetInfo( SfxStyleFamily eFamily, sal_Bool … in lcl_getPropertySetInfo() argument
1611 switch( eFamily ) in lcl_getPropertySetInfo()
1674 return lcl_getPropertySetInfo( eFamily, bIsConditional ); in getPropertySetInfo()
1830 SfxStyleFamily eFamily) in lcl_SetStyleProperty() argument
2095 … SwStyleNameMapper::FillUIName(sTmp, aString, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True ) ; in lcl_SetStyleProperty()
2157 if(SFX_STYLE_FAMILY_PARA == eFamily) in lcl_SetStyleProperty()
2159 else if(SFX_STYLE_FAMILY_FRAME == eFamily) in lcl_SetStyleProperty()
2185 … SwStyleNameMapper::FillUIName( aTmp, aStyleName, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True ); in lcl_SetStyleProperty()
2350 if ( SFX_STYLE_FAMILY_PARA == eFamily && in lcl_SetStyleProperty()
2381 switch(eFamily) in SetPropertyValues_Impl()
2405 pBasePool->SetSearchMask(eFamily); in SetPropertyValues_Impl()
2407 pBasePool->SetSearchMask(eFamily, nSaveMask ); in SetPropertyValues_Impl()
2428 … lcl_SetStyleProperty(*pEntry, *pPropSet, pValues[nProp], aBaseImpl, pBasePool, m_pDoc, eFamily); in SetPropertyValues_Impl()
2477 SfxStyleFamily eFamily, in lcl_GetStyleProperty() argument
2490 if( bPhys && SFX_STYLE_FAMILY_CHAR == eFamily && in lcl_GetStyleProperty()
2555 DBG_ASSERT( SFX_STYLE_FAMILY_PARA == eFamily, "only paras" ); in lcl_GetStyleProperty()
2566 …ProgName(rBase.getNewBase()->GetFollow(), aString, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True); in lcl_GetStyleProperty()
2596 if(SFX_STYLE_FAMILY_PARA == eFamily) in lcl_GetStyleProperty()
2598 else if(SFX_STYLE_FAMILY_FRAME == eFamily) in lcl_GetStyleProperty()
2635 …leNameMapper::FillProgName(aStyleName, aStyleName, lcl_GetSwEnumFromSfxEnum ( eFamily ), sal_True); in lcl_GetStyleProperty()
2799 switch(eFamily) in GetPropertyValues_Impl()
2828 pBasePool->SetSearchMask(eFamily, SFXSTYLEBIT_ALL ); in GetPropertyValues_Impl()
2830 pBasePool->SetSearchMask(eFamily, nSaveMask ); in GetPropertyValues_Impl()
2833 … pRet[nProp] = lcl_GetStyleProperty(*pEntry, *pPropSet, aBase, pBase, eFamily, GetDoc() ); in GetPropertyValues_Impl()
2842 switch( eFamily ) in GetPropertyValues_Impl()
2857 if ( eFamily == SFX_STYLE_FAMILY_CHAR ) in GetPropertyValues_Impl()
3034 pBasePool->SetSearchMask(eFamily ); in getPropertyStates()
3044 switch(eFamily) in getPropertyStates()
3082 … const bool bHeader(SFX_STYLE_FAMILY_PAGE == eFamily && rPropName.EqualsAscii("Header", 0, 6)); in getPropertyStates()
3083 … const bool bFooter(SFX_STYLE_FAMILY_PAGE == eFamily && rPropName.EqualsAscii("Footer", 0, 6)); in getPropertyStates()
3137 …if(SFX_STYLE_FAMILY_PAGE == eFamily && SID_ATTR_PAGE_SIZE == pEntry->nWID && beans::PropertyState_… in getPropertyStates()
3186 pBasePool->SetSearchMask(eFamily); in setPropertiesToDefault()
3193 switch(eFamily) in setPropertiesToDefault()
3227 switch(eFamily) in setPropertiesToDefault()
3300 pBasePool->SetSearchMask(eFamily); in setAllPropertiesToDefault()
3310 switch(eFamily) in setAllPropertiesToDefault()
3442 pBasePool->SetSearchMask(eFamily); in getPropertyDefaults()
3451 switch(eFamily) in getPropertyDefaults()
3524 ((SfxStyleSheetBasePool&)rBC).SetSearchMask(eFamily); in Notify()
4365 pDocShell( pDocSh ), eFamily(nFamily) in SwXAutoStyleFamily()
4399 switch( eFamily ) in insertStyle()
4426 const bool bTakeCareOfDrawingLayerFillStyle(IStyleAccess::AUTO_STYLE_PARA == eFamily); in insertStyle()
4600 …emSet_Pointer_t pSet = pDocShell->GetDoc()->GetIStyleAccess().cacheAutomaticStyle( aSet, eFamily ); in insertStyle()
4601 uno::Reference<style::XAutoStyle> xRet = new SwXAutoStyle(pDocShell->GetDoc(), pSet, eFamily); in insertStyle()
4614 (new SwXAutoStylesEnumerator( pDocShell->GetDoc(), eFamily )); in createEnumeration()
4635 : pDoc( pInitDoc ), eFamily( eFam ) in SwAutoStylesEnumImpl()
4662 pDoc->GetIStyleAccess().getAllStyles( mAutoStyles, eFamily ); in SwAutoStylesEnumImpl()