Lines Matching refs:nIndex
432 sal_Bool BulletsTypeMgr::RelplaceNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLevel) in RelplaceNumRule() argument
467 if ( nIndex >= DEFAULT_BULLET_TYPES ) in RelplaceNumRule()
470 pActualBullets[nIndex]->cBulletChar = cChar; in RelplaceNumRule()
472 pActualBullets[nIndex]->aFont = *pFont; in RelplaceNumRule()
473 pActualBullets[nIndex]->bIsCustomized = sal_True; in RelplaceNumRule()
477 String sNUM = String::CreateFromInt32( nIndex + 1 ); in RelplaceNumRule()
479 pActualBullets[nIndex]->sDescription = aStrFromRES; in RelplaceNumRule()
484 sal_Bool BulletsTypeMgr::ApplyNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLevel,sal_Bool… in ApplyNumRule() argument
509 if ( nIndex >= DEFAULT_BULLET_TYPES ) in ApplyNumRule()
511 cChar = pActualBullets[nIndex]->cBulletChar; in ApplyNumRule()
513 Font rActBulletFont = pActualBullets[nIndex]->aFont; in ApplyNumRule()
535 String BulletsTypeMgr::GetDescription(sal_uInt16 nIndex,sal_Bool /* isDefault */) in GetDescription() argument
541 if ( nIndex >= DEFAULT_BULLET_TYPES ) in GetDescription()
544 sRet = pActualBullets[nIndex]->sDescription; in GetDescription()
548 sal_Bool BulletsTypeMgr::IsCustomized(sal_uInt16 nIndex) in IsCustomized() argument
554 if ( nIndex >= DEFAULT_BULLET_TYPES ) in IsCustomized()
557 bRet = pActualBullets[nIndex]->bIsCustomized; in IsCustomized()
562 sal_Unicode BulletsTypeMgr::GetBulChar(sal_uInt16 nIndex) in GetBulChar() argument
568 if ( nIndex >= DEFAULT_BULLET_TYPES ) in GetBulChar()
571 cChar = pActualBullets[nIndex]->cBulletChar; in GetBulChar()
593 Font BulletsTypeMgr::GetBulCharFont(sal_uInt16 nIndex) in GetBulCharFont() argument
596 if ( nIndex >= DEFAULT_BULLET_TYPES ) in GetBulCharFont()
599 aRet = pActualBullets[nIndex]->aFont; in GetBulCharFont()
702 sal_Bool GraphicBulletsTypeMgr::RelplaceNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLeve… in RelplaceNumRule() argument
710 if ( nIndex >= aGrfDataLst.Count() ) in RelplaceNumRule()
730 GrfBulDataRelation* pEntry = (GrfBulDataRelation*) aGrfDataLst.GetObject(nIndex); in RelplaceNumRule()
738 String sNUM = String::CreateFromInt32( nIndex + 1 ); in RelplaceNumRule()
749 sal_Bool GraphicBulletsTypeMgr::ApplyNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLevel,s… in ApplyNumRule() argument
754 if ( nIndex >= aGrfDataLst.Count() ) in ApplyNumRule()
758 GrfBulDataRelation* pEntry = (GrfBulDataRelation*) aGrfDataLst.GetObject(nIndex); in ApplyNumRule()
794 String GraphicBulletsTypeMgr::GetDescription(sal_uInt16 nIndex,sal_Bool /* isDefault */) in GetDescription() argument
800 if ( nIndex >= nLength ) in GetDescription()
804 GrfBulDataRelation* pEntry = (GrfBulDataRelation*) aGrfDataLst.GetObject(nIndex); in GetDescription()
812 sal_Bool GraphicBulletsTypeMgr::IsCustomized(sal_uInt16 nIndex) in IsCustomized() argument
819 if ( nIndex >= nLength ) in IsCustomized()
823 GrfBulDataRelation* pEntry = (GrfBulDataRelation*) aGrfDataLst.GetObject(nIndex); in IsCustomized()
832 String GraphicBulletsTypeMgr::GetGrfName(sal_uInt16 nIndex) in GetGrfName() argument
835 if ( nIndex < aGrfDataLst.Count() ) in GetGrfName()
837 GrfBulDataRelation* pEntry = (GrfBulDataRelation*) aGrfDataLst.GetObject(nIndex); in GetGrfName()
887 pActualBullets[i]->nIndex = aTypeMgr.pActualBullets[i]->nIndex; // Index in the tab page display in MixBulletsTypeMgr()
898 pActualBullets[i]->nIndex = aTypeMgr.pActualBullets[i]->nIndex; // Index in the tab page display in MixBulletsTypeMgr()
921 …pActualBullets[0]->nIndex = 0+1; // Index in the tab page display,decrease 1 to the index within a… in Init()
933 …pActualBullets[1]->nIndex = 1+1; // Index in the tab page display,decrease 1 to the index within a… in Init()
945 …pActualBullets[2]->nIndex = 2+1; // Index in the tab page display,decrease 1 to the index within a… in Init()
957 …pActualBullets[3]->nIndex = 3+1; // Index in the tab page display,decrease 1 to the index within a… in Init()
969 …pActualBullets[4]->nIndex = 4+1; // Index in the tab page display,decrease 1 to the index within a… in Init()
981 …pActualBullets[5]->nIndex = 5+1; // Index in the tab page display,decrease 1 to the index within a… in Init()
997 …pActualBullets[6]->nIndex = 6+1; // Index in the tab page display,decrease 1 to the index within a… in Init()
1008 …pActualBullets[7]->nIndex = 7+1; // Index in the tab page display,decrease 1 to the index within a… in Init()
1047 return pActualBullets[i]->nIndex; in GetNBOIndexForNumRule()
1070 return pActualBullets[i]->nIndex; in GetNBOIndexForNumRule()
1080 return pActualBullets[i]->nIndex; in GetNBOIndexForNumRule()
1090 sal_Bool MixBulletsTypeMgr::RelplaceNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLevel) in RelplaceNumRule() argument
1092 if ( mLevel == (sal_uInt16)0xFFFF || mLevel == 0 || nIndex>=DEFAULT_BULLET_TYPES) in RelplaceNumRule()
1105 if( eNumType == SVX_NUM_CHAR_SPECIAL && pActualBullets[nIndex]->eType == eNBType::BULLETS ) in RelplaceNumRule()
1109 BulletsSettings_Impl* pEntry = (BulletsSettings_Impl*) (pActualBullets[nIndex]->pBullets); in RelplaceNumRule()
1115 String sNUM = String::CreateFromInt32( nIndex + 1 ); in RelplaceNumRule()
1119 …}else if ( (eNumType&(~LINK_TOKEN)) == SVX_NUM_BITMAP && pActualBullets[nIndex]->eType == eNBType:… in RelplaceNumRule()
1133 GrfBulDataRelation* pEntry = (GrfBulDataRelation*) (pActualBullets[nIndex]->pBullets); in RelplaceNumRule()
1146 pActualBullets[nIndex]->nIndexDefault = (sal_uInt16)0xFFFF; in RelplaceNumRule()
1149 String sNUM = String::CreateFromInt32( nIndex + 1 ); in RelplaceNumRule()
1167 delete pActualBullets[nIndex]->pBullets; in RelplaceNumRule()
1168 pActualBullets[nIndex]->pBullets = 0; in RelplaceNumRule()
1173 pActualBullets[nIndex]->eType = eNBType::BULLETS; in RelplaceNumRule()
1174 …pActualBullets[nIndex]->nIndex = nIndex+1; // Index in the tab page display, decrease 1 to the ind… in RelplaceNumRule()
1175 pActualBullets[nIndex]->pBullets = new BulletsSettings_Impl(eNBType::BULLETS) ; in RelplaceNumRule()
1176 ((BulletsSettings_Impl*)(pActualBullets[nIndex]->pBullets))->cBulletChar = cChar; in RelplaceNumRule()
1177 …((BulletsSettings_Impl*)(pActualBullets[nIndex]->pBullets))->aFont = pFont?*pFont:lcl_GetDefaultBu… in RelplaceNumRule()
1178 ((BulletsSettings_Impl*)(pActualBullets[nIndex]->pBullets))->bIsCustomized = sal_True; in RelplaceNumRule()
1179 ((BulletsSettings_Impl*)(pActualBullets[nIndex]->pBullets))->eType = eNBType::BULLETS; in RelplaceNumRule()
1190 pActualBullets[nIndex]->nIndexDefault = (sal_uInt16)0xFFFF; in RelplaceNumRule()
1193 String sNUM = String::CreateFromInt32( nIndex + 1 ); in RelplaceNumRule()
1195 ((BulletsSettings_Impl*)(pActualBullets[nIndex]->pBullets))->sDescription = aStrFromRES; in RelplaceNumRule()
1213 pActualBullets[nIndex]->eType = eNBType::GRAPHICBULLETS; in RelplaceNumRule()
1214 …pActualBullets[nIndex]->nIndex = nIndex+1; // Index in the tab page display, decrease 1 to the ind… in RelplaceNumRule()
1215 pActualBullets[nIndex]->pBullets = new GrfBulDataRelation(eNBType::GRAPHICBULLETS) ; in RelplaceNumRule()
1217 ((GrfBulDataRelation*)(pActualBullets[nIndex]->pBullets))->sGrfName = *pGrfName; in RelplaceNumRule()
1218 ((GrfBulDataRelation*)(pActualBullets[nIndex]->pBullets))->bIsCustomized = sal_True; in RelplaceNumRule()
1219 ((GrfBulDataRelation*)(pActualBullets[nIndex]->pBullets))->eType = eNBType::GRAPHICBULLETS; in RelplaceNumRule()
1230 pActualBullets[nIndex]->nIndexDefault = (sal_uInt16)0xFFFF; in RelplaceNumRule()
1233 String sNUM = String::CreateFromInt32( nIndex + 1 ); in RelplaceNumRule()
1235 ((GrfBulDataRelation*)(pActualBullets[nIndex]->pBullets))->sDescription = aStrFromRES; in RelplaceNumRule()
1237 ((GrfBulDataRelation*)(pActualBullets[nIndex]->pBullets))->pGrfObj = new Graphic(*pGrf); in RelplaceNumRule()
1238 ((GrfBulDataRelation*)(pActualBullets[nIndex]->pBullets))->pGrfObj = new Graphic(*pGrf); in RelplaceNumRule()
1243 ((GrfBulDataRelation*)(pActualBullets[nIndex]->pBullets))->aSize = aTmpSize; in RelplaceNumRule()
1251 ApplyNumRule(aTmpRule1,nIndex,mLevel,true); in RelplaceNumRule()
1252 if (GetNBOIndexForNumRule(aTmpRule1,mLevel,nIndex)==nIndex+1) { in RelplaceNumRule()
1253 if (pActualBullets[nIndex]->eType == eNBType::BULLETS) { in RelplaceNumRule()
1254 BulletsSettings_Impl* pEntry = (BulletsSettings_Impl*) (pActualBullets[nIndex]->pBullets); in RelplaceNumRule()
1256 pEntry->sDescription = GetDescription(nIndex,true); in RelplaceNumRule()
1258 if (pActualBullets[nIndex]->eType == eNBType::GRAPHICBULLETS) { in RelplaceNumRule()
1259 GrfBulDataRelation* pEntry = (GrfBulDataRelation*) (pActualBullets[nIndex]->pBullets); in RelplaceNumRule()
1261 pEntry->sDescription = GetDescription(nIndex,true); in RelplaceNumRule()
1268 sal_Bool MixBulletsTypeMgr::ApplyNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLevel,sal_B… in ApplyNumRule() argument
1271 if ( nIndex>=DEFAULT_BULLET_TYPES ) in ApplyNumRule()
1273 MixBulletsSettings_Impl* pCurrentBullets = pActualBullets[nIndex]; in ApplyNumRule()
1274 if (isDefault) pCurrentBullets=pDefaultActualBullets[nIndex]; in ApplyNumRule()
1365 String MixBulletsTypeMgr::GetDescription(sal_uInt16 nIndex,sal_Bool isDefault) in GetDescription() argument
1371 if ( nIndex >= DEFAULT_BULLET_TYPES ) in GetDescription()
1374 sRet = pActualBullets[nIndex]->pBullets->sDescription; in GetDescription()
1375 if (isDefault) sRet = pDefaultActualBullets[nIndex]->pBullets->sDescription; in GetDescription()
1378 sal_Bool MixBulletsTypeMgr::IsCustomized(sal_uInt16 nIndex) in IsCustomized() argument
1384 if ( nIndex >= DEFAULT_BULLET_TYPES ) in IsCustomized()
1387 bRet = pActualBullets[nIndex]->pBullets->bIsCustomized; in IsCustomized()
1481 pNumEntry->nIndex = i + 1; in Init()
1565 sal_Bool NumberingTypeMgr::RelplaceNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLevel) in RelplaceNumRule() argument
1584 if ( nIndex >= nCount ) in RelplaceNumRule()
1587 NumberSettings_ImplPtr _pSet = pNumberSettingsArr->GetObject(nIndex); in RelplaceNumRule()
1596 ApplyNumRule(aTmpRule1,nIndex,mLevel,true); in RelplaceNumRule()
1597 ApplyNumRule(aTmpRule2,nIndex,mLevel,false); in RelplaceNumRule()
1602 String sNUM = String::CreateFromInt32( nIndex + 1 ); in RelplaceNumRule()
1606 _pSet->sDescription = GetDescription(nIndex,true); in RelplaceNumRule()
1612 sal_Bool NumberingTypeMgr::ApplyNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLevel,sal_Bo… in ApplyNumRule() argument
1618 if(pNumberSettingsArr->Count() <= nIndex) in ApplyNumRule()
1622 NumberSettings_ImplPtr _pSet = pCurrentNumberSettingsArr->GetObject(nIndex); in ApplyNumRule()
1646 String NumberingTypeMgr::GetDescription(sal_uInt16 nIndex,sal_Bool isDefault) in GetDescription() argument
1652 if ( nIndex >= nLength ) in GetDescription()
1655 sRet = pNumberSettingsArr->GetObject(nIndex)->sDescription; in GetDescription()
1656 if (isDefault) sRet = pDefaultNumberSettingsArr->GetObject(nIndex)->sDescription; in GetDescription()
1660 sal_Bool NumberingTypeMgr::IsCustomized(sal_uInt16 nIndex) in IsCustomized() argument
1666 if ( nIndex >= nLength ) in IsCustomized()
1669 bRet = pNumberSettingsArr->GetObject(nIndex)->bIsCustomized; in IsCustomized()
1681 NumberSettings_Impl* NumberingTypeMgr::GetNumSettingByIndex(sal_uInt16 nIndex) const in GetNumSettingByIndex()
1684 if ( pNumberSettingsArr && nIndex< pNumberSettingsArr->Count() ) in GetNumSettingByIndex()
1686 pRet = pNumberSettingsArr->GetObject(nIndex); in GetNumSettingByIndex()
1864 sal_Bool OutlineTypeMgr::RelplaceNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLevel) in RelplaceNumRule() argument
1870 if ( nIndex >= nLength ) in RelplaceNumRule()
1873 OutlineSettings_Impl* pItemArr = pOutlineSettingsArrs[nIndex]; in RelplaceNumRule()
1918 ApplyNumRule(aTmpRule1,nIndex,mLevel,true); in RelplaceNumRule()
1919 ApplyNumRule(aTmpRule2,nIndex,mLevel,false); in RelplaceNumRule()
1924 String sNUM = String::CreateFromInt32( nIndex + 1 ); in RelplaceNumRule()
1928 pItemArr->sDescription = GetDescription(nIndex,true); in RelplaceNumRule()
1934 sal_Bool OutlineTypeMgr::ApplyNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 /* mLevel */,sa… in ApplyNumRule() argument
1939 DBG_ASSERT(DEFAULT_NUM_VALUSET_COUNT > nIndex, "wrong index"); in ApplyNumRule()
1940 if(DEFAULT_NUM_VALUSET_COUNT <= nIndex) in ApplyNumRule()
1945 OutlineSettings_Impl* pItemArr = pOutlineSettingsArrs[nIndex]; in ApplyNumRule()
1946 if (isDefault) pItemArr=pDefaultOutlineSettingsArrs[nIndex]; in ApplyNumRule()
2051 String OutlineTypeMgr::GetDescription(sal_uInt16 nIndex,sal_Bool isDefault) in GetDescription() argument
2057 if ( nIndex >= nLength ) in GetDescription()
2061 OutlineSettings_Impl* pItemArr = pOutlineSettingsArrs[nIndex]; in GetDescription()
2062 if (isDefault) pItemArr = pDefaultOutlineSettingsArrs[nIndex]; in GetDescription()
2070 sal_Bool OutlineTypeMgr::IsCustomized(sal_uInt16 nIndex) in IsCustomized() argument
2077 if ( nIndex >= nLength ) in IsCustomized()
2081 OutlineSettings_Impl* pItemArr = pOutlineSettingsArrs[nIndex]; in IsCustomized()