Lines Matching refs:nId

359 			sal_uInt16 nId;  in getHashTable()  local
371 for ( nIndex = 0, nId = RES_POOLCOLL_TEXT_BEGIN ; nId < RES_POOLCOLL_TEXT_END ; nId++,nIndex++ ) in getHashTable()
372 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
374 … for ( nIndex = 0, nId = RES_POOLCOLL_LISTS_BEGIN ; nId < RES_POOLCOLL_LISTS_END ; nId++,nIndex++ ) in getHashTable()
375 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
377 … for ( nIndex = 0, nId = RES_POOLCOLL_EXTRA_BEGIN ; nId < RES_POOLCOLL_EXTRA_END ; nId++,nIndex++ ) in getHashTable()
378 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
380 …for ( nIndex = 0, nId = RES_POOLCOLL_REGISTER_BEGIN ; nId < RES_POOLCOLL_REGISTER_END ; nId++,nInd… in getHashTable()
381 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
383 for ( nIndex = 0, nId = RES_POOLCOLL_DOC_BEGIN ; nId < RES_POOLCOLL_DOC_END ; nId++,nIndex++ ) in getHashTable()
384 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
386 for ( nIndex = 0, nId = RES_POOLCOLL_HTML_BEGIN ; nId < RES_POOLCOLL_HTML_END ; nId++,nIndex++ ) in getHashTable()
387 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
402 sal_uInt16 nId; in getHashTable() local
407 … for ( nIndex = 0, nId = RES_POOLCHR_NORMAL_BEGIN ; nId < RES_POOLCHR_NORMAL_END ; nId++,nIndex++ ) in getHashTable()
408 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
410 for ( nIndex = 0, nId = RES_POOLCHR_HTML_BEGIN ; nId < RES_POOLCHR_HTML_END ; nId++,nIndex++ ) in getHashTable()
411 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
426 for ( sal_uInt16 nIndex=0,nId = RES_POOLFRM_BEGIN ; nId < RES_POOLFRM_END ; nId++,nIndex++ ) in getHashTable() local
427 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
442 for ( sal_uInt16 nIndex=0,nId = RES_POOLPAGE_BEGIN ; nId < RES_POOLPAGE_END ; nId++,nIndex++ ) in getHashTable() local
443 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
458 …for ( sal_uInt16 nIndex=0,nId = RES_POOLNUMRULE_BEGIN ; nId < RES_POOLNUMRULE_END ; nId++,nIndex++… in getHashTable() local
459 (*pHash)[(*pStrings)[nIndex]] = nId; in getHashTable()
474 …for ( sal_uInt16 nIndex = 0, nId = RES_POOLCOLL_TEXT_BEGIN ; nId < RES_POOLCOLL_TEXT_END ; nId++,n… in getHashTable() local
477 FillUIName ( nId, aString ); in getHashTable()
483 if ( nNewId != nId ) in getHashTable()
486 … for ( nIndex = 0, nId = RES_POOLCOLL_LISTS_BEGIN ; nId < RES_POOLCOLL_LISTS_END ; nId++,nIndex++ ) in getHashTable()
489 FillUIName ( nId, aString ); in getHashTable()
495 if ( nNewId != nId ) in getHashTable()
498 … for ( nIndex = 0, nId = RES_POOLCOLL_EXTRA_BEGIN ; nId < RES_POOLCOLL_EXTRA_END ; nId++,nIndex++ ) in getHashTable()
501 FillUIName ( nId, aString ); in getHashTable()
507 if ( nNewId != nId ) in getHashTable()
510 …for ( nIndex = 0, nId = RES_POOLCOLL_REGISTER_BEGIN ; nId < RES_POOLCOLL_REGISTER_END ; nId++,nInd… in getHashTable()
513 FillUIName ( nId, aString ); in getHashTable()
519 if ( nNewId != nId ) in getHashTable()
522 for ( nIndex = 0, nId = RES_POOLCOLL_DOC_BEGIN ; nId < RES_POOLCOLL_DOC_END ; nId++,nIndex++ ) in getHashTable()
525 FillUIName ( nId, aString ); in getHashTable()
531 if ( nNewId != nId ) in getHashTable()
534 for ( nIndex = 0, nId = RES_POOLCOLL_HTML_BEGIN ; nId < RES_POOLCOLL_HTML_END ; nId++,nIndex++ ) in getHashTable()
537 FillUIName ( nId, aString ); in getHashTable()
543 if ( nNewId != nId ) in getHashTable()
548 …for ( sal_uInt16 nIndex = 0, nId = RES_POOLCHR_NORMAL_BEGIN ; nId < RES_POOLCHR_NORMAL_END ; nId++… in getHashTable() local
551 FillUIName ( nId, aString ); in getHashTable()
557 if ( nNewId != nId ) in getHashTable()
560 for ( nIndex = 0, nId = RES_POOLCHR_HTML_BEGIN ; nId < RES_POOLCHR_HTML_END ; nId++,nIndex++ ) in getHashTable()
563 FillUIName ( nId, aString ); in getHashTable()
569 if ( nNewId != nId ) in getHashTable()
574 for ( sal_uInt16 nIndex=0,nId = RES_POOLFRM_BEGIN ; nId < RES_POOLFRM_END ; nId++,nIndex++ ) in getHashTable() local
577 FillUIName ( nId, aString ); in getHashTable()
583 if ( nNewId != nId ) in getHashTable()
588 for ( sal_uInt16 nIndex=0,nId = RES_POOLPAGE_BEGIN ; nId < RES_POOLPAGE_END ; nId++,nIndex++ ) in getHashTable() local
591 FillUIName ( nId, aString ); in getHashTable()
597 if ( nNewId != nId ) in getHashTable()
602 …for ( sal_uInt16 nIndex=0,nId = RES_POOLNUMRULE_BEGIN ; nId < RES_POOLNUMRULE_END ; nId++,nIndex++… in getHashTable() local
605 FillUIName ( nId, aString ); in getHashTable()
611 if ( nNewId != nId ) in getHashTable()
622 sal_uInt16 nId = GetPoolIdFromProgName ( rName, eFlags ); in GetUIName() local
623 return nId != USHRT_MAX ? GetUIName( nId, rName ) : rName; in GetUIName()
630 sal_uInt16 nId = GetPoolIdFromUIName ( rName, eFlags ); in GetProgName() local
631 return nId != USHRT_MAX ? GetProgName( nId, rName ) : rName; in GetProgName()
637 sal_uInt16 nId = GetPoolIdFromUIName ( rName, eFlags ); in FillProgName() local
638 if ( bDisambiguate && nId == USHRT_MAX ) in FillProgName()
641 nId = GetPoolIdFromProgName ( rName, eFlags ); in FillProgName()
644 if (nId == USHRT_MAX ) in FillProgName()
660 fillNameFromId ( nId, rFillName, sal_True); in FillProgName()
666 sal_uInt16 nId = GetPoolIdFromProgName ( rName, eFlags ); in FillUIName() local
667 if ( bDisambiguate && nId == USHRT_MAX ) in FillUIName()
676 fillNameFromId ( nId, rFillName, sal_False); in FillUIName()
680 const String& SwStyleNameMapper::getNameFromId( sal_uInt16 nId, const String& rFillName, sal_Bool b… in getNameFromId() argument
685 switch( (USER_FMT | COLL_GET_RANGE_BITS | POOLGRP_NOCOLLID) & nId ) in getNameFromId()
688 if( RES_POOLCOLL_TEXT_BEGIN <= nId && nId < RES_POOLCOLL_TEXT_END ) in getNameFromId()
695 if( RES_POOLCOLL_LISTS_BEGIN <= nId && nId < RES_POOLCOLL_LISTS_END ) in getNameFromId()
702 if( RES_POOLCOLL_EXTRA_BEGIN <= nId && nId < RES_POOLCOLL_EXTRA_END ) in getNameFromId()
709 if( RES_POOLCOLL_REGISTER_BEGIN <= nId && nId < RES_POOLCOLL_REGISTER_END ) in getNameFromId()
716 if( RES_POOLCOLL_DOC_BEGIN <= nId && nId < RES_POOLCOLL_DOC_END ) in getNameFromId()
723 if( RES_POOLCOLL_HTML_BEGIN <= nId && nId < RES_POOLCOLL_HTML_END ) in getNameFromId()
730 if( RES_POOLCHR_NORMAL_BEGIN <= nId && nId < RES_POOLCHR_NORMAL_END ) in getNameFromId()
735 else if( RES_POOLCHR_HTML_BEGIN <= nId && nId < RES_POOLCHR_HTML_END ) in getNameFromId()
742 if( RES_POOLFRM_BEGIN <= nId && nId < RES_POOLFRM_END ) in getNameFromId()
749 if( RES_POOLPAGE_BEGIN <= nId && nId < RES_POOLPAGE_END ) in getNameFromId()
756 if( RES_POOLNUMRULE_BEGIN <= nId && nId < RES_POOLNUMRULE_END ) in getNameFromId()
763 return pStrArr ? *(pStrArr->operator[] ( nId - nStt ) ) : rFillName; in getNameFromId()
765 void SwStyleNameMapper::fillNameFromId( sal_uInt16 nId, String& rFillName, sal_Bool bProgName ) in fillNameFromId() argument
770 switch( (USER_FMT | COLL_GET_RANGE_BITS | POOLGRP_NOCOLLID) & nId ) in fillNameFromId()
773 if( RES_POOLCOLL_TEXT_BEGIN <= nId && nId < RES_POOLCOLL_TEXT_END ) in fillNameFromId()
780 if( RES_POOLCOLL_LISTS_BEGIN <= nId && nId < RES_POOLCOLL_LISTS_END ) in fillNameFromId()
787 if( RES_POOLCOLL_EXTRA_BEGIN <= nId && nId < RES_POOLCOLL_EXTRA_END ) in fillNameFromId()
794 if( RES_POOLCOLL_REGISTER_BEGIN <= nId && nId < RES_POOLCOLL_REGISTER_END ) in fillNameFromId()
801 if( RES_POOLCOLL_DOC_BEGIN <= nId && nId < RES_POOLCOLL_DOC_END ) in fillNameFromId()
808 if( RES_POOLCOLL_HTML_BEGIN <= nId && nId < RES_POOLCOLL_HTML_END ) in fillNameFromId()
815 if( RES_POOLCHR_NORMAL_BEGIN <= nId && nId < RES_POOLCHR_NORMAL_END ) in fillNameFromId()
820 else if( RES_POOLCHR_HTML_BEGIN <= nId && nId < RES_POOLCHR_HTML_END ) in fillNameFromId()
827 if( RES_POOLFRM_BEGIN <= nId && nId < RES_POOLFRM_END ) in fillNameFromId()
834 if( RES_POOLPAGE_BEGIN <= nId && nId < RES_POOLPAGE_END ) in fillNameFromId()
841 if( RES_POOLNUMRULE_BEGIN <= nId && nId < RES_POOLNUMRULE_END ) in fillNameFromId()
849 rFillName = *(pStrArr->operator[] ( nId - nStt ) ); in fillNameFromId()
852 void SwStyleNameMapper::FillUIName ( sal_uInt16 nId, String& rFillName ) in FillUIName() argument
854 fillNameFromId ( nId, rFillName, sal_False ); in FillUIName()
857 const String& SwStyleNameMapper::GetUIName ( sal_uInt16 nId, const String& rName ) in GetUIName() argument
859 return getNameFromId ( nId, rName, sal_False ); in GetUIName()
863 void SwStyleNameMapper::FillProgName ( sal_uInt16 nId, String& rFillName ) in FillProgName() argument
865 fillNameFromId ( nId, rFillName, sal_True ); in FillProgName()
868 const String& SwStyleNameMapper::GetProgName ( sal_uInt16 nId, const String& rName ) in GetProgName() argument
870 return getNameFromId ( nId, rName, sal_True ); in GetProgName()