Lines Matching refs:nIndex

280 uno::Any SwXStyleFamilies::getByIndex(sal_Int32 nIndex)  in getByIndex()  argument
285 if(nIndex < 0 || nIndex >= STYLE_FAMILY_COUNT) in getByIndex()
290 sal_uInt16 nType = aStyleByIndex[nIndex]; in getByIndex()
502 …rName ( const SwDoc &rDoc, SfxStyleFamily eFamily, String *pString, sal_uInt16 nIndex = USHRT_MAX ) in lcl_GetCountOrName() argument
511 nIndex = nIndex - nBaseCount; in lcl_GetCountOrName()
520 if ( nIndex == nCount ) in lcl_GetCountOrName()
544 nIndex = nIndex - nBaseCount; in lcl_GetCountOrName()
553 if ( nIndex == nCount ) in lcl_GetCountOrName()
567 nIndex = nIndex - nBaseCount; in lcl_GetCountOrName()
576 if ( nIndex == nCount ) in lcl_GetCountOrName()
590 nIndex = nIndex - nBaseCount; in lcl_GetCountOrName()
600 if ( nIndex == nCount ) in lcl_GetCountOrName()
614 nIndex = nIndex - nBaseCount; in lcl_GetCountOrName()
623 if ( nIndex == nCount ) in lcl_GetCountOrName()
658 sal_uInt16 nIndex = static_cast < sal_uInt16 > ( nTempIndex ); in getByIndex() local
666 if ( nIndex < ( RES_POOLCHR_NORMAL_END - RES_POOLCHR_NORMAL_BEGIN ) ) in getByIndex()
667 …ameMapper::FillUIName ( static_cast< sal_uInt16 >(RES_POOLCHR_NORMAL_BEGIN + nIndex), sStyleName ); in getByIndex()
668 else if ( nIndex < ( RES_POOLCHR_HTML_END - RES_POOLCHR_HTML_BEGIN + in getByIndex()
672 + nIndex, sStyleName ); in getByIndex()
677 if ( nIndex < ( RES_POOLCOLL_TEXT_END - RES_POOLCOLL_TEXT_BEGIN ) ) in getByIndex()
678 …NameMapper::FillUIName ( static_cast< sal_uInt16 >(RES_POOLCOLL_TEXT_BEGIN + nIndex), sStyleName ); in getByIndex()
679 else if ( nIndex < ( RES_POOLCOLL_LISTS_END - RES_POOLCOLL_LISTS_BEGIN + in getByIndex()
683 + nIndex, sStyleName ); in getByIndex()
684 else if ( nIndex < ( RES_POOLCOLL_EXTRA_END - RES_POOLCOLL_EXTRA_BEGIN + in getByIndex()
690 + nIndex), sStyleName ); in getByIndex()
691 else if ( nIndex < ( RES_POOLCOLL_REGISTER_END - RES_POOLCOLL_REGISTER_BEGIN + in getByIndex()
699 + nIndex), sStyleName ); in getByIndex()
700 else if ( nIndex < ( RES_POOLCOLL_DOC_END - RES_POOLCOLL_DOC_BEGIN + in getByIndex()
710 + nIndex), sStyleName ); in getByIndex()
711 else if ( nIndex < ( RES_POOLCOLL_HTML_END - RES_POOLCOLL_HTML_BEGIN + in getByIndex()
723 + nIndex), sStyleName ); in getByIndex()
728 if ( nIndex < ( RES_POOLFRM_END - RES_POOLFRM_BEGIN ) ) in getByIndex()
730 …wStyleNameMapper::FillUIName ( static_cast< sal_uInt16 >(RES_POOLFRM_BEGIN + nIndex), sStyleName ); in getByIndex()
736 if ( nIndex < ( RES_POOLPAGE_END - RES_POOLPAGE_BEGIN ) ) in getByIndex()
738 …StyleNameMapper::FillUIName ( static_cast< sal_uInt16 >(RES_POOLPAGE_BEGIN + nIndex), sStyleName ); in getByIndex()
744 if ( nIndex < ( RES_POOLNUMRULE_END - RES_POOLNUMRULE_BEGIN ) ) in getByIndex()
746 …leNameMapper::FillUIName ( static_cast< sal_uInt16 >(RES_POOLNUMRULE_BEGIN + nIndex), sStyleName ); in getByIndex()
755 lcl_GetCountOrName ( *pDocShell->GetDoc(), eFamily, &sStyleName, nIndex ); in getByIndex()
4258 uno::Any SwXAutoStyles::getByIndex(sal_Int32 nIndex) in getByIndex() argument
4264 if(nIndex < 0 || nIndex >= AUTOSTYLE_FAMILY_COUNT) in getByIndex()
4269 IStyleAccess::SwAutoStyleFamily nType = aAutoStyleByIndex[nIndex]; in getByIndex()