Lines Matching refs:nFamily
286 const sal_uInt16 nFamily = ((const SfxUInt16Item*)pItem)->GetValue(); in ExecStyleSheet() local
301 nRet = Edit( sName, sParent, nFamily, nMask, sal_True, 0, 0, rReq.IsAPI() ); in ExecStyleSheet()
347 sal_uInt16 nFamily = SFX_STYLE_FAMILY_PARA; in ExecStyleSheet() local
352 nFamily = SFX_STYLE_FAMILY_PARA; in ExecStyleSheet()
393 nFamily = ((const SfxUInt16Item*)pItem)->GetValue(); in ExecStyleSheet()
399 nFamily = SFX_STYLE_FAMILY_CHAR; in ExecStyleSheet()
402 nFamily = SFX_STYLE_FAMILY_PARA; in ExecStyleSheet()
405 nFamily = SFX_STYLE_FAMILY_PAGE; in ExecStyleSheet()
408 nFamily = SFX_STYLE_FAMILY_FRAME; in ExecStyleSheet()
411 nFamily = SFX_STYLE_FAMILY_PSEUDO; in ExecStyleSheet()
423 switch( nFamily ) in ExecStyleSheet()
461 nRet = Edit(aParam, aEmptyStr, nFamily, nMask, sal_False, 0, pActShell ); in ExecStyleSheet()
464 nRet = Delete(aParam, nFamily); in ExecStyleSheet()
468 nRet = ApplyStyles(aParam, nFamily, pActShell, rReq.GetModifier() ); in ExecStyleSheet()
471 nRet = DoWaterCan(aParam, nFamily); in ExecStyleSheet()
474 nRet = UpdateStyle(aParam, nFamily, pActShell); in ExecStyleSheet()
478 nRet = MakeByExample(aParam, nFamily, nMask, pActShell ); in ExecStyleSheet()
515 const sal_uInt16 nFamily, in Edit() argument
535 pStyle = &mxBasePool->Make( rName, (SfxStyleFamily)nFamily, nMask ); in Edit()
539 switch( nFamily ) in Edit()
620 pStyle = mxBasePool->Find( rName, (SfxStyleFamily)nFamily ); in Edit()
630 if( SFX_STYLE_FAMILY_PARA == nFamily ) in Edit()
653 else if( SFX_STYLE_FAMILY_CHAR == nFamily ) in Edit()
684 0, *(xTmp.get()), nFamily, nSlot, in Edit()
701 if( SFX_STYLE_FAMILY_PARA == nFamily ) in Edit()
713 if(SFX_STYLE_FAMILY_PAGE == nFamily) in Edit()
722 if( SFX_STYLE_FAMILY_CHAR == nFamily ) in Edit()
736 if( SFX_STYLE_FAMILY_PAGE == nFamily && SvtLanguageOptions().IsCTLFontEnabled() ) in Edit()
743 if(SFX_STYLE_FAMILY_PAGE == nFamily) in Edit()
795 if( SFX_STYLE_FAMILY_PARA == nFamily ) in Edit()
800 if( SFX_STYLE_FAMILY_CHAR == nFamily ) in Edit()
814 if(SFX_STYLE_FAMILY_PAGE == nFamily) in Edit()
836 sal_uInt16 SwDocShell::Delete(const String &rName, sal_uInt16 nFamily) in Delete() argument
838 SfxStyleSheetBase *pStyle = mxBasePool->Find(rName, (SfxStyleFamily)nFamily); in Delete()
858 sal_uInt16 SwDocShell::ApplyStyles(const String &rName, sal_uInt16 nFamily, in ApplyStyles() argument
862 (SwDocStyleSheet*)mxBasePool->Find(rName, (SfxStyleFamily)nFamily); in ApplyStyles()
874 switch (nFamily) in ApplyStyles()
912 return nFamily; in ApplyStyles()
921 sal_uInt16 SwDocShell::DoWaterCan(const String &rName, sal_uInt16 nFamily) in DoWaterCan() argument
931 aTemplate.eType = nFamily; in DoWaterCan()
936 (SwDocStyleSheet*)mxBasePool->Find(rName, (SfxStyleFamily)nFamily); in DoWaterCan()
939 if(!pStyle) return nFamily; in DoWaterCan()
941 switch(nFamily) in DoWaterCan()
969 return nFamily; in DoWaterCan()
977 sal_uInt16 SwDocShell::UpdateStyle(const String &rName, sal_uInt16 nFamily, SwWrtShell* pShell) in UpdateStyle() argument
983 (SwDocStyleSheet*)mxBasePool->Find(rName, (SfxStyleFamily)nFamily); in UpdateStyle()
986 return nFamily; in UpdateStyle()
988 switch(nFamily) in UpdateStyle()
1063 return nFamily; in UpdateStyle()
1071 sal_uInt16 SwDocShell::MakeByExample( const String &rName, sal_uInt16 nFamily, in MakeByExample() argument
1076 rName, (SfxStyleFamily)nFamily ); in MakeByExample()
1087 (SfxStyleFamily)nFamily, nMask ); in MakeByExample()
1090 switch(nFamily) in MakeByExample()
1227 return nFamily; in MakeByExample()