/trunk/main/sw/source/core/swg/ |
H A D | SwXMLTextBlocks1.cxx | 64 sal_uLong SwXMLTextBlocks::GetDoc( sal_uInt16 nIdx ) in GetDoc() argument 66 String aFolderName ( GetPackageName ( nIdx ) ); in GetDoc() 68 if (!IsOnlyTextBlock ( nIdx ) ) in GetDoc() 179 sal_uLong SwXMLTextBlocks::GetMacroTable( sal_uInt16 nIdx, in GetMacroTable() argument 185 aShort = aNames[ nIdx ]->aShort; in GetMacroTable() 186 aLong = aNames[ nIdx ]->aLong; in GetMacroTable() 187 aPackageName = aNames[ nIdx ]->aPackageName; in GetMacroTable() 607 sal_uInt16 nIdx, in SetMacroTable() argument 612 aShort = aNames[ nIdx ]->aShort; in SetMacroTable() 613 aLong = aNames[ nIdx ]->aLong; in SetMacroTable() [all …]
|
/trunk/main/vcl/unx/kde4/ |
H A D | KDEXLib.cxx | 101 int nIdx; in Init() local 107 for ( nIdx = 0; nIdx < nParams; ++nIdx ) in Init() 109 aCommandLine.getCommandArg( nIdx, aParam ); in Init() 110 if ( !m_pFreeCmdLineArgs && aParam.equalsAscii( "-display" ) && nIdx + 1 < nParams ) in Init() 112 aCommandLine.getCommandArg( nIdx + 1, aParam ); in Init()
|
/trunk/main/comphelper/source/misc/ |
H A D | serviceinfohelper.cxx | 75 sal_Int32 nIdx; in concatSequences() local 77 for( nIdx = 0; nIdx < nLen1; nIdx++ ) in concatSequences() 81 for( nIdx = 0; nIdx < nLen2; nIdx++ ) in concatSequences()
|
/trunk/main/sw/source/ui/dochdl/ |
H A D | gloshdl.cxx | 365 sal_uInt16 nIdx = pTmp->GetLongIndex( rName ); in GetGlossaryShortName() local 366 if( nIdx != (sal_uInt16) -1 ) in GetGlossaryShortName() 367 sReturn = pTmp->GetShortName( nIdx ); in GetGlossaryShortName() 460 sal_uInt16 nIdx = pGlossary->GetIndex( rShortName ); in DelGlossary() local 461 if( nIdx != (sal_uInt16) -1 ) in DelGlossary() 462 pGlossary->Delete( nIdx ); in DelGlossary() 716 sal_uInt16 nIdx = pGlos->GetIndex( rShortName ); in SetMacros() local 794 if( nIdx != USHRT_MAX && in Rename() 795 (nOldLongIdx == USHRT_MAX || nOldLongIdx == nIdx )&& in Rename() 796 (nOldIdx == USHRT_MAX || nOldIdx == nIdx )) in Rename() [all …]
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | SelectionBrowseBox.cxx | 206 xub_StrLen nIdx = 0; in DBG_NAME() local 207 for (; nIdx < nCount; nIdx++) in DBG_NAME() 269 for (xub_StrLen nIdx = 0; nIdx < nCount; nIdx++) in initialize() local 1095 if (nIdx == sal_uInt16(-1)) in SaveModified() 1096 nIdx = 0; in SaveModified() 1241 pEntry->SetCriteria(nIdx, aCrit); in SaveModified() 2020 nIdx != sal_uInt16(-1) && in CellModified() 2398 if (nIdx == sal_uInt16(-1)) in GetCellContents() 2399 nIdx = 0; in GetCellContents() 2400 return String(nIdx); in GetCellContents() [all …]
|
H A D | TableFieldDescription.cxx | 132 void OTableFieldDesc::SetCriteria( sal_uInt16 nIdx, const ::rtl::OUString& rCrit) in SetCriteria() argument 135 if (nIdx < m_aCriteria.size()) in SetCriteria() 136 m_aCriteria[nIdx] = rCrit; in SetCriteria() 139 for(sal_Int32 i=m_aCriteria.size();i<nIdx;++i) in SetCriteria() 146 ::rtl::OUString OTableFieldDesc::GetCriteria( sal_uInt16 nIdx ) const in GetCriteria() 150 if( nIdx < m_aCriteria.size()) in GetCriteria() 151 aRetStr = m_aCriteria[nIdx]; in GetCriteria()
|
/trunk/main/svl/source/items/ |
H A D | style.cxx | 474 if(z == nIdx) in operator []() 488 sal_Int32 nIdx = -1; in First() local 491 nIdx = 0; in First() 499 nIdx = n; in First() 504 if ( nIdx != -1 ) in First() 506 nAktPosition = (sal_uInt16)nIdx; in First() 515 sal_Int32 nIdx = -1; in Next() local 519 nIdx = nAktPosition + 1; in Next() 527 nIdx = n; in Next() 532 if ( nIdx != -1 ) in Next() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8graf.cxx | 143 nIdx *= 3; in WW8TransCol() 145 nIdx += ((nWC[i] == 0xff) ? 2 : 1); in WW8TransCol() 147 if (eColA[nIdx] != COL_BLACK) in WW8TransCol() 1598 nIdx = WW8_BordersSO::single2;// 50 in MatchSdrBoxIntoFlyBoxItem() 1600 nIdx = WW8_BordersSO::single3;// 80 in MatchSdrBoxIntoFlyBoxItem() 1602 nIdx = WW8_BordersSO::single4;// 100 in MatchSdrBoxIntoFlyBoxItem() 1606 nIdx = WW8_BordersSO::double2;// 150 in MatchSdrBoxIntoFlyBoxItem() 1608 nIdx = WW8_BordersSO::double5;// 180 in MatchSdrBoxIntoFlyBoxItem() 1617 nIdx = WW8_BordersSO::double1;// 60 in MatchSdrBoxIntoFlyBoxItem() 1619 nIdx = WW8_BordersSO::double2;// 150 in MatchSdrBoxIntoFlyBoxItem() [all …]
|
/trunk/main/vcl/unx/kde/ |
H A D | kdedata.cxx | 139 sal_uInt16 nIdx; in Init() local 145 for ( nIdx = 0; nIdx < nParams; ++nIdx ) in Init() 147 aCommandLine.getCommandArg( nIdx, aParam ); in Init() 148 if ( !m_pFreeCmdLineArgs && aParam.equalsAscii( "-display" ) && nIdx + 1 < nParams ) in Init() 150 aCommandLine.getCommandArg( nIdx + 1, aParam ); in Init()
|
/trunk/main/sw/source/ui/app/ |
H A D | docshini.cxx | 278 for(sal_uInt8 nIdx = 0; nIdx < 24; nIdx += 2) in InitNew() local 280 if(nIdx == 8) in InitNew() 286 else if(nIdx == 16) in InitNew() 293 if(!pStdFont->IsFontDefault(aFontIdPoolId[nIdx])) in InitNew() 295 sEntry = pStdFont->GetFontFor(aFontIdPoolId[nIdx]); in InitNew() 301 pColl = mpDoc->GetTxtCollFromPool(aFontIdPoolId[nIdx + 1]); in InitNew() 310 …FontHeight = pStdFont->GetFontHeight( static_cast< sal_Int8 >(aFontIdPoolId[nIdx]), 0, eLanguage ); in InitNew() 312 nFontHeight = pStdFont->GetDefaultHeightFor( aFontIdPoolId[nIdx], eLanguage ); in InitNew() 314 pColl = mpDoc->GetTxtCollFromPool(aFontIdPoolId[nIdx + 1]); in InitNew()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xestyle.cxx | 335 for( sal_uInt16 nIdx = 0; nIdx < nCount; ++nIdx ) in XclExpPaletteImpl() local 366 for( sal_uInt32 nIdx = 0; nIdx < nCount; ++nIdx ) in Finalize() local 478 if( nIdx < maPalette.size() ) in GetColorData() 487 …for( sal_uInt32 nIdx = 0, nSize = static_cast< sal_uInt32 >( maPalette.size() ); bDefault && (nIdx… in IsDefaultPalette() local 488 bDefault = maPalette[ nIdx ].maColor == mrDefPal.GetDefColor( GetXclIndex( nIdx ) ); in IsDefaultPalette() 595 for( sal_uInt32 nIdx = 0, nCount = xOldList->Count(); nIdx < nCount; ++nIdx ) in RawReducePalette() local 662 for( sal_uInt32 nIdx = 0, nCount = mxColorList->Count(); nIdx < nCount; ++nIdx ) in GetLeastUsedListColor() local 668 nFound = nIdx; in GetLeastUsedListColor() 680 for( sal_uInt32 nIdx = 0, nCount = mxColorList->Count(); nIdx < nCount; ++nIdx ) in GetNearestListColor() local 682 if( nIdx != nIgnore ) in GetNearestListColor() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | frmcrsr.cxx | 965 nIdx = nIdx + pPor->GetLen(); in lcl_VisualMoveRecursion() 976 if ( bRecurse && nIdx == nPos ) in lcl_VisualMoveRecursion() 1001 nIdx = nIdx - pLast->GetLen(); in lcl_VisualMoveRecursion() 1010 xub_StrLen nTmpPos = nPos - nIdx; in lcl_VisualMoveRecursion() 1016 nPos = nTmpPos + nIdx; in lcl_VisualMoveRecursion() 1034 if ( bRecurse && nIdx == nPos ) in lcl_VisualMoveRecursion() 1053 nIdx = nIdx - pLast->GetLen(); in lcl_VisualMoveRecursion() 1086 nPos = nTmpPos + nIdx; in lcl_VisualMoveRecursion() 1585 MSHORT nIdx = 0; in FillCrsrPos() local 1589 if( nIdx < rRuler.Count() ) in FillCrsrPos() [all …]
|
H A D | inftxt.hxx | 200 xub_StrLen nIdx, nLen; member in SwTxtSizeInfo 223 const xub_StrLen nIdx = 0, 229 const xub_StrLen nIdx = 0, 300 const XubString& rTxt, const xub_StrLen nIdx, 303 void GetTxtSize( const SwScriptInfo* pSI, const xub_StrLen nIdx, 323 inline xub_StrLen GetIdx() const { return nIdx; } in GetIdx() 324 inline void SetIdx( const xub_StrLen nNew ) { nIdx = nNew; } in SetIdx() 413 const xub_StrLen nIdx, const xub_StrLen nLen, 451 const xub_StrLen nIdx = 0, 761 xub_StrLen nIdx; member in SwTxtSlot [all …]
|
/trunk/main/xmloff/inc/xmloff/ |
H A D | nmspmap.hxx | 157 /* deprecated */ sal_Bool AddAtIndex( sal_uInt16 nIdx, const ::rtl::OUString& rPrefix, 159 /* deprecated */ sal_Bool AddAtIndex( sal_uInt16 nIdx, const sal_Char *pPrefix, 162 /* deprecated */ sal_uInt16 GetKeyByIndex( sal_uInt16 nIdx ) const; 166 /* deprecated */ const ::rtl::OUString& GetPrefixByIndex( sal_uInt16 nIdx ) const; 167 /* deprecated */ const ::rtl::OUString& GetNameByIndex( sal_uInt16 nIdx ) const; 168 /* deprecated */ ::rtl::OUString GetAttrNameByIndex( sal_uInt16 nIdx ) const; 169 /* deprecated */ ::rtl::OUString GetQNameByIndex( sal_uInt16 nIdx,
|
/trunk/main/sw/source/ui/inc/ |
H A D | uinums.hxx | 104 inline const SwNumRulesWithName* GetRules(sal_uInt16 nIdx) const; 107 sal_uInt16 nIdx); 122 sal_uInt16 nIdx); 126 inline const SwNumRulesWithName *SwBaseNumRules::GetRules(sal_uInt16 nIdx) const in GetRules() 128 ASSERT(nIdx < nMaxRules, Array der NumRules ueberindiziert.); in GetRules() 129 return pNumRules[nIdx]; in GetRules()
|
/trunk/main/sd/source/ui/func/ |
H A D | fuolbull.cxx | 202 sal_uInt16 nIdx = pItem->GetValue(); in SetCurrentBulletsNumbering() local 205 if( nIdx == (sal_uInt16)0xFFFF ) in SetCurrentBulletsNumbering() 208 nIdx = 1; in SetCurrentBulletsNumbering() 211 else if (nIdx == DEFAULT_NONE) in SetCurrentBulletsNumbering() 215 nIdx--; in SetCurrentBulletsNumbering() 237 if ( nSId == FN_SVX_SET_BULLET && bToggle && nIdx==0 ) in SetCurrentBulletsNumbering() 240 pNumRuleMgr->ApplyNumRule( aTmpRule, nIdx, nActNumLvl, true ); in SetCurrentBulletsNumbering() 244 pNumRuleMgr->ApplyNumRule( aTmpRule, nIdx, nActNumLvl ); in SetCurrentBulletsNumbering()
|
/trunk/main/sfx2/source/doc/ |
H A D | objcont.cxx | 817 sal_uInt16 nStart = 0, nIdx = 0; in Print() local 821 while(nIdx < aStr.Len()) in Print() 823 sal_uInt16 nOld = nIdx; in Print() 825 nIdx = aStr.Search(cDelim, nStart); in Print() 826 nTextWidth = pPrinter->GetTextWidth(aStr, nStart, nIdx-nStart); in Print() 827 while(nIdx != STRING_NOTFOUND && in Print() 831 nOld = nIdx; in Print() 832 nIdx = aStr.Search(cDelim, nIdx+1); in Print() 835 String aTmp(aStr, nStart, nIdx == STRING_NOTFOUND? in Print() 852 nIdx = nStart + nChar; in Print() [all …]
|
/trunk/main/sfx2/inc/ |
H A D | orgmgr.hxx | 78 sal_Bool Delete( SfxOrganizeListBox_Impl* pCaller, sal_uInt16 nRegion, sal_uInt16 nIdx ); 80 sal_Bool SetName( const String& rName, sal_uInt16 nRegion, sal_uInt16 nIdx = USHRT_MAX ); 81 sal_Bool CopyTo( sal_uInt16 nRegion, sal_uInt16 nIdx, const String& rName ) const; 82 …sal_Bool CopyFrom( SfxOrganizeListBox_Impl* pCaller, sal_uInt16 nRegion, sal_uInt16 nIdx, String& … 93 SfxObjectShellRef CreateObjectShell( sal_uInt16 nIdx ); 94 SfxObjectShellRef CreateObjectShell( sal_uInt16 nRegion, sal_uInt16 nIdx );
|
/trunk/main/tools/inc/tools/ |
H A D | ref.hxx | 263 inline void ClassName##MemberList::Insert( EntryName p, sal_uIntPtr nIdx )\ 264 {BaseList::Insert(p,nIdx);}\ 271 inline EntryName ClassName##MemberList::Remove( sal_uIntPtr nIdx )\ 272 {return (EntryName)BaseList::Remove(nIdx);}\ 277 inline EntryName ClassName##MemberList::Replace( EntryName p, sal_uIntPtr nIdx )\ 278 {return (EntryName)BaseList::Replace(p,nIdx);}\ 283 inline EntryName ClassName##MemberList::GetObject( sal_uIntPtr nIdx ) const\ 284 {return (EntryName)BaseList::GetObject( nIdx );}\ 285 inline EntryName ClassName##MemberList::Seek( sal_uIntPtr nIdx )\ 286 {return (EntryName)BaseList::Seek( nIdx );}\
|
/trunk/main/formula/source/core/api/ |
H A D | token.cxx | 498 FormulaToken* FormulaTokenArray::PeekPrev( sal_uInt16 & nIdx ) in PeekPrev() argument 500 if (0 < nIdx && nIdx <= nLen) in PeekPrev() 501 return pCode[--nIdx]; in PeekPrev() 660 sal_uInt16 nIdx = 0xFFFF; in Clone() local 665 nIdx = j; break; in Clone() 668 if( nIdx == 0xFFFF ) in Clone() 671 *pp = p->pCode[ nIdx ]; in Clone() 1272 short nIdx = pCur->nPC; in PeekNextOperator() local 1273 while (!t && ((t = GetNonEndOfPathToken( ++nIdx)) != NULL)) in PeekNextOperator() 1303 if (nIdx < pCur->pArr->nRPN && nIdx < pCur->nStop) in GetNonEndOfPathToken() [all …]
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | unocpres.cxx | 439 sal_uInt32 nIdx = 0; in getElementNames() local 440 while( nIdx < nCount ) in getElementNames() 442 const SdCustomShow* pShow = (const SdCustomShow*)pList->GetObject(nIdx); in getElementNames() 443 pStringList[nIdx] = pShow->GetName(); in getElementNames() 444 nIdx++; in getElementNames() 476 sal_uInt32 nIdx = 0; in getSdCustomShow() local 483 while( nIdx < nCount ) in getSdCustomShow() 485 SdCustomShow* pShow = (SdCustomShow*)pList->GetObject(nIdx); in getSdCustomShow() 488 nIdx++; in getSdCustomShow()
|
/trunk/main/cui/source/options/ |
H A D | optlingu.cxx | 626 sal_Int32 nIdx = aRes.getLength(); in GetSortedImplNames() local 647 if (nIdx < aRes.getLength()) in GetSortedImplNames() 648 pRes[ nIdx++ ] = aImplName; in GetSortedImplNames() 654 aRes.realloc( nIdx ); in GetSortedImplNames() 785 sal_Int32 nIdx; in SvxLinguData_Impl() local 786 for(nIdx = 0; nIdx < aSpellNames.getLength(); nIdx++) in SvxLinguData_Impl() 810 for(nIdx = 0; nIdx < aGrammarNames.getLength(); nIdx++) in SvxLinguData_Impl() 834 for(nIdx = 0; nIdx < aHyphNames.getLength(); nIdx++) in SvxLinguData_Impl() 858 for(nIdx = 0; nIdx < aThesNames.getLength(); nIdx++) in SvxLinguData_Impl() 1462 nRes = DicUserData( nIdx, in GetDicUserData() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdoedge.cxx | 130 sal_uInt16 nIdx=ImpGetPolyIdx(eLineCode,rXP); in ImpIsHorzLine() local 133 nIdx=rXP.GetPointCount()-nIdx; // #36314# in ImpIsHorzLine() 136 if ((nIdx & 1)==1) bHorz=!bHorz; in ImpIsHorzLine() 1421 aXP1[nIdx].Y()+=pInfo->aObj1Line2.Y(); in ImpCalcEdgeTrack() 1424 aXP1[nIdx].X()+=pInfo->aObj1Line2.X(); in ImpCalcEdgeTrack() 1431 aXP1[nIdx].Y()+=pInfo->aObj1Line3.Y(); in ImpCalcEdgeTrack() 1434 aXP1[nIdx].X()+=pInfo->aObj1Line3.X(); in ImpCalcEdgeTrack() 1441 aXP1[nIdx].Y()+=pInfo->aObj2Line2.Y(); in ImpCalcEdgeTrack() 1444 aXP1[nIdx].X()+=pInfo->aObj2Line2.X(); in ImpCalcEdgeTrack() 1451 aXP1[nIdx].Y()+=pInfo->aObj2Line3.Y(); in ImpCalcEdgeTrack() [all …]
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | colmgr.cxx | 129 sal_uInt16 SwColMgr::GetColWidth(sal_uInt16 nIdx) const in GetColWidth() 131 ASSERT(nIdx < GetCount(), Spaltenarray ueberindiziert.); in GetColWidth() 132 return aFmtCol.CalcPrtColWidth(nIdx, nWidth); in GetColWidth() 137 void SwColMgr::SetColWidth(sal_uInt16 nIdx, sal_uInt16 nWd) in SetColWidth() argument 139 ASSERT(nIdx < GetCount(), Spaltenarray ueberindiziert.); in SetColWidth() 140 aFmtCol.GetColumns()[nIdx]->SetWishWidth(nWd); in SetColWidth()
|
/trunk/main/cui/source/tabpages/ |
H A D | labdlg.cxx | 399 xub_StrLen nCnt=0, nIdx=0; in SetupAnsatz_Impl() local 432 for( nIdx=0 ; nIdx<nCnt ; nIdx++ ) in SetupAnsatz_Impl() 433 aLB_ANSATZ_REL.InsertEntry( aStrHorzList.GetToken(nIdx) ); in SetupAnsatz_Impl() 446 for( nIdx=0 ; nIdx<nCnt ; nIdx++ ) in SetupAnsatz_Impl() 447 aLB_ANSATZ_REL.InsertEntry( aStrVertList.GetToken(nIdx) ); in SetupAnsatz_Impl()
|