/aoo42x/main/basic/source/sbx/ |
H A D | sbxarray.cxx | 154 nIdx = 0; in GetRef32() 172 nIdx = 0; in GetRef() 301 if( nIdx > nSize ) in Insert32() 302 nIdx = nSize; in Insert32() 305 if( nIdx == nSize ) in Insert32() 521 sal_uInt16 nIdx; in LoadData() local 522 rStrm >> nIdx; in LoadData() 715 if( nIdx < p->nLbound || nIdx > p->nUbound ) in Offset32() 733 short nIdx = *pIdx++; in Offset() local 734 if( nIdx < p->nLbound || nIdx > p->nUbound ) in Offset() [all …]
|
/aoo42x/main/editeng/source/items/ |
H A D | svxfont.cxx | 206 const xub_StrLen nIdx; member in SvxDoCapitals 223 xub_StrLen GetIdx() const { return nIdx; } in GetIdx() 243 const xub_StrLen nIdx = rDo.GetIdx(); in DoOnCapitals() local 271 aCharString = rTxt.GetChar( nPos + nIdx ); in DoOnCapitals() 307 aCharString = rTxt.GetChar( nPos + nIdx ); in DoOnCapitals() 330 aCharString = rTxt.GetChar( nPos + nIdx ); in DoOnCapitals() 418 const XubString aSnippet(rTxt, nIdx, nLen); in GetPhysTxtSize() 467 pDXArray, nIdx, nLen ) ); in QuickGetTextSize() 526 DrawCapital( pOut, aPos, rTxt, nIdx, nTmp ); in DrawText() 535 nIdx, nTmp ); in DrawText() [all …]
|
/aoo42x/main/svx/source/dialog/ |
H A D | svxruler.cxx | 239 sal_uInt16 nIdx; member 256 nIdx(0), in SvxRuler_Impl() 589 return bHorz? nIdx: nIdx + 2; in GetObjectBordersOff() 2062 int nIdx; in DragBorders() local 2070 nIdx=0; in DragBorders() 2247 pBorders[nIdx].nWidth += pBorders[nIdx].nPos - lPos; in DragBorders() 2254 pBorders[nIdx].nWidth = lPos - pBorders[nIdx].nPos; in DragBorders() 2684 lOrigLPos = pBorders[nIdx].nPos + pBorders[nIdx].nWidth; in PrepareProportional_Impl() 3088 if(0 == nIdx) in CalcMinMax() 3107 if(0 != nIdx) in CalcMinMax() [all …]
|
/aoo42x/main/sw/source/filter/ww8/dump/ |
H A D | ww8scan.hxx | 150 long Where() { return ( nIdx >= nIMax ) ? LONG_MAX : pPLCF_PosArray[nIdx]; } in Where() 155 return ( nIdx >= nIMax ) ? 0 : (const void*)&pPLCF_Contents[nIdx * nStru]; } in GetData() 156 long GetPos( long nIdx ){ in GetPos() argument 157 return ( nIdx >= nIMax ) ? LONG_MAX : pPLCF_PosArray[nIdx]; } in GetPos() 204 long nIdx; member in WW8PLCF 232 WW8PLCF& operator ++( int ) { if( nIdx < nIMax ) nIdx++; return *this; } in operator ++() 235 return ( nIdx >= nIMax ) ? 0 : (const void*)&pPLCF_Contents[nIdx * nStru]; } in GetData() 266 long nIdx; member in WW8PLCFpcd_Iter 279 WW8PLCFpcd_Iter& operator ++( int ) { if( nIdx < rPLCF.nIMax ) nIdx++; return *this; } in operator ++() 409 WW8Fkp& operator ++( int ) { if( nIdx < nIMax ) nIdx++; in operator ++() [all …]
|
H A D | ww8scan.cxx | 2039 for( nIdx = 0; nIdx <= nIMax; nIdx++ ) in WW8PLCFspecial() 2041 nIdx = 0; in WW8PLCFspecial() 2071 long nI = nIdx ? nIdx : 1; in SeekPos() 2106 long nI = nIdx ? nIdx-1 : 0; in SeekPosExact() 2191 for( nIdx = 0; nIdx <= nIMax; nIdx++ ) in ReadPLCF() 2193 nIdx = 0; in ReadPLCF() 2251 long nI = nIdx ? nIdx : 1; in SeekPos() 2339 long nI = nIdx ? nIdx : 1; in SeekPos() 2402 for (nIdx = 0; nIdx < nIMax; ++nIdx) in WW8Fkp() 2463 nIdx = 0; in WW8Fkp() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | itratr.cxx | 392 if( nIdx <= aBndry.startPos && nIdx && nIdx-1 != rArg.nNoLineBreak ) in lcl_MinMaxString() 425 nIdx = nStop; in lcl_MinMaxString() 660 nStop = nIdx; in GetMinMaxSize() 675 nIdx = nStop; in GetMinMaxSize() 908 nStop = nIdx; in GetScalingOfSelectedText() 941 nIdx = nStop; in GetScalingOfSelectedText() 948 nIdx++; in GetScalingOfSelectedText() 956 nIdx++; in GetScalingOfSelectedText() 959 ++nIdx; in GetScalingOfSelectedText() 965 nIdx++; in GetScalingOfSelectedText() [all …]
|
H A D | porlay.cxx | 1421 for ( sal_uInt16 nIdx = 0; nIdx < nCount; ++nIdx ) in UpdateBidiInfo() local 1778 nLen = nLen + nIdx; in Compress() 1780 if( nChg > nIdx ) in Compress() 1783 nIdx = nChg; in Compress() 1860 ++nIdx; in Compress() 1980 while ( nIdx < nEnd && !rCC.isLetterNumeric( rTxt, (xub_StrLen)nIdx ) ) in IsArabicText() 1982 ++nIdx; in IsArabicText() 1985 if( nIdx == nEnd ) in IsArabicText() 1988 --nIdx; in IsArabicText() 1991 --nIdx; in IsArabicText() [all …]
|
H A D | itradj.cxx | 132 xub_StrLen nIdx = rItr.GetStart(); in lcl_CheckKashidaPositions() local 151 while ( nKashidas && nIdx < nEnd ) in lcl_CheckKashidaPositions() 164 xub_StrLen nKashidasInAttr = rSI.KashidaJustify ( 0, 0, nIdx, nNext - nIdx ); in lcl_CheckKashidaPositions() 168 if ( !SwScriptInfo::IsArabicText( rInf.GetTxt(), nIdx, nNext - nIdx ) ) in lcl_CheckKashidaPositions() 177 … nKashidasDropped = rInf.GetOut()->ValidateKashidas ( rInf.GetTxt(), nIdx, nNext - nIdx, in lcl_CheckKashidaPositions() 190 nIdx = nNext; in lcl_CheckKashidaPositions() 212 xub_StrLen nIdx = rItr.GetStart(); in lcl_CheckKashidaWidth() local 214 while ( nIdx < nEnd ) in lcl_CheckKashidaWidth() 227 xub_StrLen nKashidasInAttr = rSI.KashidaJustify ( 0, 0, nIdx, nNext - nIdx ); in lcl_CheckKashidaWidth() 247 rSI.MarkKashidasInvalid( nKashidasDropped, nIdx, nNext - nIdx ); in lcl_CheckKashidaWidth() [all …]
|
/aoo42x/main/svl/source/numbers/ |
H A D | zforlist.cxx | 2193 sal_Int32 nIdx; in ImpGenerateFormats() local 2263 ImpInsertFormat( aFormatSeq[nIdx], in ImpGenerateFormats() 2268 ImpInsertFormat( aFormatSeq[nIdx], in ImpGenerateFormats() 2273 ImpInsertFormat( aFormatSeq[nIdx], in ImpGenerateFormats() 2278 ImpInsertFormat( aFormatSeq[nIdx], in ImpGenerateFormats() 2294 ImpInsertFormat( aFormatSeq[nIdx], in ImpGenerateFormats() 2299 ImpInsertFormat( aFormatSeq[nIdx], in ImpGenerateFormats() 2317 ImpInsertFormat( aFormatSeq[nIdx], in ImpGenerateFormats() 2325 ImpInsertFormat( aFormatSeq[nIdx], in ImpGenerateFormats() 2333 ImpInsertFormat( aFormatSeq[nIdx], in ImpGenerateFormats() [all …]
|
/aoo42x/main/editeng/source/misc/ |
H A D | txtrange.cxx | 289 sal_uInt16 nIdx = 0; in NoteRange() local 292 while( nIdx < nCount && (*pLongArr)[ nIdx ] < nMin ) in NoteRange() 293 ++nIdx; in NoteRange() 296 if( nIdx == nCount || ( !bOdd && nMax < (*pLongArr)[ nIdx ] ) ) in NoteRange() 308 --nIdx; in NoteRange() 316 if( nMaxIdx < nIdx ) in NoteRange() 317 nMaxIdx = nIdx; in NoteRange() 394 nIdx = 0; in Calc() 416 if( !nIdx ) in Calc() 542 sal_uInt16 nIdx = 0; in Concat() local [all …]
|
/aoo42x/main/sw/source/core/swg/ |
H A D | SwXMLTextBlocks.cxx | 154 if( nIdx != (sal_uInt16) -1 ) in AddName() 155 aNames.DeleteAndDestroy( nIdx ); in AddName() 169 if( nIdx != (sal_uInt16) -1 ) in AddName() 170 aNames.DeleteAndDestroy( nIdx ); in AddName() 209 if (IsOnlyTextBlock ( nIdx ) ) in Rename() 252 sal_uInt16 nIdx = 0; in CopyBlock() local 261 ++nIdx; in CopyBlock() 263 if(USHRT_MAX == nIdx) in CopyBlock() 541 if (nIdx != (sal_uInt16) -1 && nIdx != USHRT_MAX) in SetIsTextOnly() 554 if (nIdx != (sal_uInt16) -1 && nIdx != USHRT_MAX) in IsOnlyTextBlock() [all …]
|
H A D | swblocks.cxx | 207 if( nIdx != (sal_uInt16) -1 ) in AddName() 208 aNames.DeleteAndDestroy( nIdx ); in AddName() 518 pImp->nCur = nIdx; in Rename() 548 nIdx = pImp->GetIndex( aNew ); in Rename() 550 return nIdx; in Rename() 655 nIdx = pImp->nCur; in PutDoc() 657 return nIdx; in PutDoc() 684 if( nIdx != (sal_uInt16) -1 ) in PutText() 701 return nIdx; in PutText() 753 if( USHRT_MAX != nIdx ) in IsOnlyTextBlock() [all …]
|
/aoo42x/main/sfx2/source/view/ |
H A D | orgmgr.cxx | 360 sal_uInt16 nIdx) in CreateObjectShell() argument 478 sal_uInt16 nRegion, sal_uInt16 nIdx) in Delete() argument 506 if ( USHRT_MAX == nIdx ) in Delete() 547 bOk = pTemplates->Delete(nRegion, nIdx); in Delete() 607 sal_uInt16 nRegion, sal_uInt16 nIdx) in SetName() argument 659 return pTemplates->CopyTo(nRegion, nIdx, rName); in CopyTo() 692 if( nIdx!=USHRT_MAX ) in CopyFrom() 697 if( nIdx == USHRT_MAX ) in CopyFrom() 698 nIdx = 0; in CopyFrom() 699 else nIdx++; in CopyFrom() [all …]
|
/aoo42x/main/sw/source/core/view/ |
H A D | printdata.cxx | 219 int nIdx = 0; in SwPrintUIOptions() local 233 m_aUIProperties[ nIdx++ ].Value = getBoolControlOpt( aLocalizedStrings.GetString( 2 ), in SwPrintUIOptions() 240 m_aUIProperties[ nIdx++ ].Value = getBoolControlOpt( aLocalizedStrings.GetString( 3 ), in SwPrintUIOptions() 263 m_aUIProperties[ nIdx++ ].Value = getBoolControlOpt( aLocalizedStrings.GetString( 6 ), in SwPrintUIOptions() 273 m_aUIProperties[ nIdx++ ].Value = getBoolControlOpt( aLocalizedStrings.GetString( 8 ), in SwPrintUIOptions() 295 m_aUIProperties[ nIdx++ ].Value = getBoolControlOpt( aLocalizedStrings.GetString( 11 ), in SwPrintUIOptions() 325 m_aUIProperties[nIdx++].Value = getChoiceControlOpt( rtl::OUString(), in SwPrintUIOptions() 335 m_aUIProperties[nIdx++].Value = getEditControlOpt( rtl::OUString(), in SwPrintUIOptions() 409 m_aUIProperties[ nIdx++ ].Value = getBoolControlOpt( aLocalizedStrings.GetString( 23 ), in SwPrintUIOptions() 430 m_aUIProperties[ nIdx++ ].Value = getChoiceControlOpt( rtl::OUString(), in SwPrintUIOptions() [all …]
|
/aoo42x/main/starmath/source/ |
H A D | toolbox.cxx | 73 sal_Int16 nIdx = -1; in GetToolBoxCategoriesIndex() local 76 case RID_UNBINOPS_CAT : nIdx = 0; break; in GetToolBoxCategoriesIndex() 77 case RID_RELATIONS_CAT : nIdx = 1; break; in GetToolBoxCategoriesIndex() 78 case RID_SETOPERATIONS_CAT : nIdx = 2; break; in GetToolBoxCategoriesIndex() 79 case RID_FUNCTIONS_CAT : nIdx = 3; break; in GetToolBoxCategoriesIndex() 80 case RID_OPERATORS_CAT : nIdx = 4; break; in GetToolBoxCategoriesIndex() 88 return nIdx; in GetToolBoxCategoriesIndex() 228 if (pImageList && nIdx >= 0) in ApplyImageLists() 344 DBG_ASSERT( nIdx >= 0, "unknown category" ); in SetCategory() 345 if (nIdx >= 0) in SetCategory() [all …]
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | ww8scan.cxx | 2220 for( nIdx = 0; nIdx <= nIMax; nIdx++ ) in WW8PLCFspecial() 2222 nIdx = 0; in WW8PLCFspecial() 2252 if( (1 > nIdx) || (nP < pPLCF_PosArray[ nIdx-1 ]) ) in SeekPos() 2255 long nI = nIdx ? nIdx : 1; in SeekPos() 2290 long nI = nIdx ? nIdx-1 : 0; in SeekPosExact() 2342 , nIdx( 0 ) in WW8PLCF() 2402 for( nIdx = 0; nIdx <= nIMax; nIdx++ ) in ReadPLCF() 2502 if( (1 > nIdx) || (nP < pPLCF_PosArray[ nIdx-1 ]) ) in SeekPos() 2505 sal_Int32 nI = nIdx ? nIdx : 1; in SeekPos() 2595 if( (1 > nIdx) || (nP < rPLCF.pPLCF_PosArray[ nIdx-1 ]) ) in SeekPos() [all …]
|
H A D | ww8scan.hxx | 222 long GetIdx() const { return nIdx; } in GetIdx() 229 { return ( nIdx >= nIMax ) ? SAL_MAX_INT32 : pPLCF_PosArray[nIdx]; } in Where() 282 sal_Int32 nIdx; member in WW8PLCF 314 WW8PLCF& operator ++( int ) { if( nIdx < nIMax ) nIdx++; return *this; } in operator ++() 342 long nIdx; member in WW8PLCFpcd_Iter 349 long GetIdx() const { return nIdx; } in GetIdx() 350 void SetIdx( long nI ) { nIdx = nI; } in SetIdx() 357 if( nIdx < rPLCF.nIMax ) in operator ++() 358 nIdx++; in operator ++() 615 void SetPCDIdx( sal_uLong nIdx ); [all …]
|
/aoo42x/main/tools/source/inet/ |
H A D | inetmsg.cxx | 552 sal_uIntPtr nIdx = LIST_APPEND; in SetHeaderField() local 568 nIdx = INETMSG_RFC822_BCC; in SetHeaderField() 577 nIdx = INETMSG_RFC822_DATE; in SetHeaderField() 582 nIdx = INETMSG_RFC822_FROM; in SetHeaderField() 611 nIdx = INETMSG_RFC822_TO; in SetHeaderField() 710 nIdx = INETMSG_RFC822_CC; in SetHeaderField() 769 m_nIndex[nIdx]); in SetHeaderField() 770 nNewIndex = m_nIndex[nIdx]; in SetHeaderField() 1099 sal_uIntPtr nIdx = LIST_APPEND; in SetHeaderField() local 1223 m_nIndex[nIdx]); in SetHeaderField() [all …]
|
/aoo42x/main/sw/source/core/inc/ |
H A D | drawdev.hxx | 52 const sal_uInt16 nIdx = 0, 56 const sal_uInt16 nIdx = 0, 61 const sal_uInt16 nIdx = 0, 76 const sal_uInt16 nIdx, const sal_uInt16 nLen ) in DrawText() argument 79 pOut->DrawText( rStart, rTxt, nIdx, nLen ); in DrawText() 81 pOut->DrawText( rStart - *pPos, rTxt, nIdx, nLen ); in DrawText() 89 const String& rTxt, const sal_uInt16 nIdx, const sal_uInt16 nLen ) in DrawStretchText() argument 92 pOut->DrawStretchText( rStart, nWidth, rTxt, nIdx, nLen ); in DrawStretchText() 94 pOut->DrawStretchText( rStart - *pPos, nWidth, rTxt, nIdx, nLen ); in DrawStretchText() 102 long *pKernArray, const sal_uInt16 nIdx, const sal_uInt16 nLen ) in DrawTextArray() argument [all …]
|
/aoo42x/main/oox/source/drawingml/diagram/ |
H A D | layoutnodecontext.cxx | 177 if( nIdx != -1 ) in createFastChildContext() 224 sal_Int32 nIdx = -1; in tagToVarIdx() local 228 nIdx = LayoutNode::VAR_animLvl; in tagToVarIdx() 231 nIdx = LayoutNode::VAR_animOne; in tagToVarIdx() 234 nIdx = LayoutNode::VAR_bulletEnabled; in tagToVarIdx() 237 nIdx = LayoutNode::VAR_chMax; in tagToVarIdx() 240 nIdx = LayoutNode::VAR_chPref; in tagToVarIdx() 243 nIdx = LayoutNode::VAR_dir; in tagToVarIdx() 246 nIdx = LayoutNode::VAR_hierBranch; in tagToVarIdx() 249 nIdx = LayoutNode::VAR_orgChart; in tagToVarIdx() [all …]
|
/aoo42x/main/sfx2/inc/sfx2/ |
H A D | doctempl.hxx | 71 sal_Bool IsRegionLoaded( sal_uInt16 nIdx ) const; 73 const String& GetRegionName(sal_uInt16 nIdx) const; //dv! 74 String GetFullRegionName(sal_uInt16 nIdx) const; 79 const String& GetName(sal_uInt16 nRegion, sal_uInt16 nIdx) const; //dv! 80 String GetFileName(sal_uInt16 nRegion, sal_uInt16 nIdx) const; 81 String GetPath(sal_uInt16 nRegion, sal_uInt16 nIdx) const; 107 sal_Bool Delete(sal_uInt16 nRegion, sal_uInt16 nIdx); 109 sal_Bool SetName(const String &rName, sal_uInt16 nRegion, sal_uInt16 nIdx); 112 sal_Bool CopyFrom(sal_uInt16 nRegion, sal_uInt16 nIdx, String &rName); 114 SfxObjectShellRef CreateObjectShell(sal_uInt16 nRegion, sal_uInt16 nIdx); [all …]
|
/aoo42x/main/o3tl/inc/o3tl/ |
H A D | vector_pool.hxx | 54 std::ptrdiff_t nIdx=mnFirstFreeIndex; in store() local 56 this->at(nIdx).value = rCopy; in store() 57 this->at(nIdx).nextFree = -1; in store() 59 return nIdx; in store() 68 void free( std::ptrdiff_t nIdx ) in free() argument 70 this->at(nIdx).nextFree = mnFirstFreeIndex; in free() 71 mnFirstFreeIndex = nIdx; in free() 74 const ValueType& get( std::ptrdiff_t nIdx ) const in get() 76 return this->operator[](nIdx).value; in get() 78 ValueType& get( std::ptrdiff_t nIdx ) in get() argument [all …]
|
/aoo42x/main/sw/source/core/bastyp/ |
H A D | index.cxx | 100 : nIndex( nIdx ), pArray( pArr ), pNext( 0 ), pPrev( 0 ) in SwIndex() 111 ChgValue( *pArray->pLast, nIdx ); in SwIndex() 113 ChgValue( *pArray->pFirst, nIdx ); in SwIndex() 122 SwIndex::SwIndex( const SwIndex& rIdx, short nIdx ) in SwIndex() argument 125 ChgValue( rIdx, rIdx.nIndex + nIdx ); in SwIndex() 322 nIdx = 0; // steht immer auf 0 !!! in Assign() 333 nIndex = nIdx; in Assign() 336 ChgValue( *pArr->pLast, nIdx ); in Assign() 338 ChgValue( *pArr->pFirst, nIdx ); in Assign() 340 else if( nIndex != nIdx ) in Assign() [all …]
|
/aoo42x/main/qadevOOo/runner/graphical/ |
H A D | FileHelper.java | 124 if (nIdx == -1) in getBasename() 126 nIdx = _sFilename.lastIndexOf("/"); in getBasename() 128 if (nIdx > 0) in getBasename() 141 int nIdx = _sFilename.lastIndexOf("."); in getNameNoSuffix() local 142 if (nIdx > 0) in getNameNoSuffix() 155 int nIdx = _sFilename.lastIndexOf("."); in getSuffix() local 156 if (nIdx > 0) in getSuffix() 158 return _sFilename.substring(nIdx ); in getSuffix() 172 if (nIdx == -1) in getPath() 174 nIdx = _sFilename.lastIndexOf("/"); in getPath() [all …]
|
/aoo42x/main/sfx2/source/doc/ |
H A D | doctempl.cxx | 602 pEntry = pRegion->GetEntry( nIdx ); in GetFileName() 643 pEntry = pRegion->GetEntry( nIdx ); in GetPath() 1285 if ( nIdx == USHRT_MAX ) in CopyFrom() 1286 nIdx = 0; in CopyFrom() 1288 nIdx += 1; in CopyFrom() 1356 if ( nIdx == USHRT_MAX ) in Delete() 1372 pRegion->DeleteEntry( nIdx ); in Delete() 1472 if ( nIdx == USHRT_MAX ) in SetName() 1488 pEntry = pRegion->GetEntry( nIdx ); in SetName() 1839 if( nIdx == USHRT_MAX ) in HasUserContents() [all …]
|