Home
last modified time | relevance | path

Searched refs:nI (Results 1 – 25 of 80) sorted by relevance

1234

/AOO42X/main/sw/source/filter/ww8/
H A Dwriterwordglue.cxx311 sal_Int32 nI = 1; in MakeNonCollidingStyle() local
314 (nI < SAL_MAX_INT32) in MakeNonCollidingStyle()
317 aName += String::CreateFromInt32(nI++); in MakeNonCollidingStyle()
827 xub_StrLen nI = 0; in MSDateTimeFormatToSwFormat() local
828 while (nI < nLen) in MSDateTimeFormatToSwFormat()
830 if (rParams.GetChar(nI) == '\\') in MSDateTimeFormatToSwFormat()
831 nI++; in MSDateTimeFormatToSwFormat()
832 else if (rParams.GetChar(nI) == '\"') in MSDateTimeFormatToSwFormat()
834 ++nI; in MSDateTimeFormatToSwFormat()
836 … while ((nI < nLen) && (!(rParams.GetChar(nI) == '\"') && (rParams.GetChar(nI-1) != '\\'))) in MSDateTimeFormatToSwFormat()
[all …]
H A Dww8par5.cxx367 for( xub_StrLen nI = 0; in Read_Book() local
368 nI < aVal.Len() && aVal.Len() < (MAX_FIELDLEN - 4); ++nI ) in Read_Book()
370 switch( cChar = aVal.GetChar( nI ) ) in Read_Book()
376 aVal.SetChar( nI, '\n' ), bSetAsHex = false; in Read_Book()
398 aVal.Replace( nI, 1 , sTmp ); in Read_Book()
399 nI += sTmp.Len() - 1; in Read_Book()
977 sal_uInt16 nI = n / 32; // # des sal_uInt32 in Read_Field() local
980 if ((sizeof(nFieldTagAlways)/sizeof(nFieldTagAlways[0])) <= nI) in Read_Field()
986 if( nFieldTagAlways[nI] & nMask ) // Flag: Tag it in Read_Field()
994 if( nFieldTagBad[nI] & nMask ) // Flag: Tag it when bad in Read_Field()
[all …]
H A Dww8scan.cxx2254 long nI = nIdx ? nIdx : 1; in SeekPos() local
2259 for( ; nI <=nEnd; ++nI) in SeekPos()
2261 if( nP < pPLCF_PosArray[nI] ) in SeekPos()
2263 nIdx = nI - 1; // nI - 1 ist der richtige Index in SeekPos()
2267 nI = 1; in SeekPos()
2289 long nI = nIdx ? nIdx-1 : 0; in SeekPosExact() local
2294 for( ; nI < nEnd; ++nI) in SeekPosExact()
2296 if( nP <=pPLCF_PosArray[nI] ) in SeekPosExact()
2298 nIdx = nI; // nI ist der richtige Index in SeekPosExact()
2302 nI = 0; in SeekPosExact()
[all …]
H A Dww8par6.cxx277 for (sal_uInt16 nI = 0; nI < pStyles->GetCount(); ++nI) in SetDocumentGrid() local
279 if (pCollA[nI].bValid in SetDocumentGrid()
280 && pCollA[nI].pFmt != NULL in SetDocumentGrid()
281 && pCollA[nI].IsWW8BuiltInDefaultStyle()) in SetDocumentGrid()
283 nCharWidth = ItemGet<SvxFontHeightItem>(*(pCollA[nI].pFmt), in SetDocumentGrid()
1160 for (int nI = 0, nMask = 1; nI < 6; ++nI, nMask <<= 1) in CreateSep() local
1166 …mrReader.pHdFt->GetTextPosExact( static_cast< short >(nI + ( maSegments.size() + 1) * 6), nStart, … in CreateSep()
2960 sal_uInt8 nI; in Read_BoldUsw() local
2963 nI = nContigiousWestern; // The out of sequence western id in Read_BoldUsw()
2968 nI = static_cast< sal_uInt8 >(nId - 60); in Read_BoldUsw()
[all …]
H A Dww8par.cxx2110 for( sal_uInt8 nI = 0x20; nI; nI >>= 1, nNumber-- ) in HasOwnHeaderFooter() local
2112 if (nI & nWhichItems) in HasOwnHeaderFooter()
2116 bOk = ( pHdFt->GetTextPos(grpfIhdt, nI, start, nLen ) && nLen >= 2 ); in HasOwnHeaderFooter()
2158 for( sal_uInt8 nI = 0x20; nI; nI >>= 1, nNumber-- ) in Read_HdFt() local
2160 if (nI & nWhichItems) in Read_HdFt()
2164 bOk = ( pHdFt->GetTextPos(grpfIhdt, nI, start, nLen ) && nLen >= 2 ); in Read_HdFt()
2172 = (nI & ( WW8_HEADER_EVEN | WW8_FOOTER_EVEN )) ? true: false; in Read_HdFt()
2174 = (nI & ( WW8_FOOTER_EVEN | WW8_FOOTER_ODD | WW8_FOOTER_FIRST )) ? true: false; in Read_HdFt()
2217 CopyPageDescHdFt(pPrev, pPD, nI); in Read_HdFt()
2919 for( xub_StrLen nI = 0; nI < nLen; ++nI, ++pBuffer ) in ReadPlainChars() local
[all …]
H A Dwriterhelper.cxx560 for (mysizet nI = 0; nI < nCount; ++nI) in GetParaStyles() local
561 aStyles.push_back((*pColls)[ static_cast< sal_uInt16 >(nI) ]); in GetParaStyles()
618 for (sal_uLong nI = rStart.GetIndex(); nI < nEnd; ++nI)
621 std::back_inserter(aRet), anchoredto(nI));
/AOO42X/main/writerfilter/source/dmapper/
H A DConversionHelper.cxx331 for (sal_Int32 nI = 0; nI < nLen; ++nI) in lcl_SwapQuotesInField() local
333 if ((pFmt[nI] == '\"') && (!nI || pFmt[nI-1] != '\\')) in lcl_SwapQuotesInField()
334 aBuffer.setCharAt(nI, '\''); in lcl_SwapQuotesInField()
335 else if ((pFmt[nI] == '\'') && (!nI || pFmt[nI-1] != '\\')) in lcl_SwapQuotesInField()
336 aBuffer.setCharAt(nI, '\"'); in lcl_SwapQuotesInField()
361 sal_Int32 nI = 0; in ConvertMSFormatStringToSO() local
364 while (nI < nLen) in ConvertMSFormatStringToSO()
366 if (aNewFormat.charAt(nI) == '\\') in ConvertMSFormatStringToSO()
367 nI++; in ConvertMSFormatStringToSO()
368 else if (aNewFormat.charAt(nI) == '\"') in ConvertMSFormatStringToSO()
[all …]
/AOO42X/main/framework/test/threadtest/
H A Dthreadtest.cxx633 for( sal_Int32 nI=0; nI<nThreadCount; ++nI ) in measureTime() local
642 if( nOwner == nI ) in measureTime()
647 pThreads[nI].pCondition = new Condition; in measureTime()
649 … pThreads[nI].pThread = new TestThread( &aClass, nLoopCount, pThreads[nI].pCondition, bOwner ); in measureTime()
659 for( nI=0; nI<nThreadCount; ++nI ) in measureTime()
661 pThreads[nI].pThread->create(); in measureTime()
665 for( nI=0; nI<nThreadCount; ++nI ) in measureTime()
667 pThreads[nI].pCondition->wait(); in measureTime()
668 delete pThreads[nI].pCondition; in measureTime()
669 pThreads[nI].pCondition = NULL; in measureTime()
[all …]
/AOO42X/main/chart2/source/controller/dialogs/
H A DDialogModel.cxx176 for( sal_Int32 nI = 0; nI < aSeq.getLength(); ++ nI ) in operator =() local
180 ::chart::DataSeriesHelper::getDataSeriesLabel( aSeq[nI], aRole ), in operator =()
181 ::std::make_pair( aSeq[nI], xCT ))); in operator =()
319 sal_Int32 nI = 0; in lcl_CreateNewSeries() local
321 for(nI=0; nI<aRoles.getLength(); ++nI) in lcl_CreateNewSeries()
323 if( aRoles[nI].equals( lcl_aLabelRole )) in lcl_CreateNewSeries()
326 lcl_SetSequenceRole( xSeq, aRoles[nI] ); in lcl_CreateNewSeries()
328 if( aRoles[nI].equals( aRoleOfSeqForSeriesLabel )) in lcl_CreateNewSeries()
338 for(nI=0; nI<aOptRoles.getLength(); ++nI) in lcl_CreateNewSeries()
340 if( aOptRoles[nI].equals( lcl_aLabelRole )) in lcl_CreateNewSeries()
[all …]
/AOO42X/main/framework/test/
H A Dthreadtest.cxx638 for( sal_Int32 nI=1; nI<=nThreadCount; ++nI ) in measureTime() local
647 if( nOwner == nI ) in measureTime()
652 pThreads[nI].pCondition = new Condition; in measureTime()
654 … pThreads[nI].pThread = new TestThread( &aClass, nLoopCount, pThreads[nI].pCondition, bOwner ); in measureTime()
664 for( nI=1; nI<=nThreadCount; ++nI ) in measureTime()
666 pThreads[nI].pThread->create(); in measureTime()
670 for( nI=1; nI<=nThreadCount; ++nI ) in measureTime()
672 pThreads[nI].pCondition->wait(); in measureTime()
673 delete pThreads[nI].pCondition; in measureTime()
674 pThreads[nI].pCondition = NULL; in measureTime()
[all …]
/AOO42X/main/chart2/source/tools/
H A DOPropertySet.cxx285 sal_Int32 nI = 0; in getPropertyDefaults() local
287 for( ; nI < nElements; ++nI ) in getPropertyDefaults()
289 pResultArray[ nI ] = GetDefaultValue( in getPropertyDefaults()
290 rPH.getHandleByName( aPropertyNames[ nI ] )); in getPropertyDefaults()
391 sal_Int32 nI = aProps.getLength() - 1; in getFastPropertyValue() local
392 while( ( nI >= 0 ) && nHandle != aProps[ nI ].Handle ) in getFastPropertyValue()
393 --nI; in getFastPropertyValue()
395 if( nI >= 0 ) // => nHandle == aProps[nI].Handle in getFastPropertyValue()
399 beans::Property aProp( rPH.getPropertyByName( aProps[ nI ].Name ) ); in getFastPropertyValue()
405 OSL_ENSURE( aProp.Type == aProps[nI].Type, in getFastPropertyValue()
[all …]
H A DRegressionEquation.cxx334 sal_Int32 nI = 0; in getSupportedServiceNames_Static() local
336 aServices[ nI++ ] = lcl_aServiceName; in getSupportedServiceNames_Static()
337 aServices[ nI++ ] = C2U( "com.sun.star.beans.PropertySet" ); in getSupportedServiceNames_Static()
338 aServices[ nI++ ] = C2U( "com.sun.star.drawing.FillProperties" ); in getSupportedServiceNames_Static()
339 aServices[ nI++ ] = C2U( "com.sun.star.drawing.LineProperties" ); in getSupportedServiceNames_Static()
340 aServices[ nI++ ] = C2U( "com.sun.star.style.CharacterProperties" ); in getSupportedServiceNames_Static()
341 OSL_ASSERT( nNumServices == nI ); in getSupportedServiceNames_Static()
H A DDiagramHelper.cxx174 for(sal_Int32 nI=0; nI<=nMaximumScaleIndex; ++nI) in setVertical() local
176 … Reference< chart2::XAxis > xAxis( xCooSys->getAxisByDimension( nDimIndex,nI )); in setVertical()
293 for(sal_Int32 nI=0; nI<=nMaximumScaleIndex; ++nI) in setStackMode() local
295 Reference< chart2::XAxis > xAxis( xCooSys->getAxisByDimension( 1,nI )); in setStackMode()
818 for(sal_Int32 nI=0; nI<=nMaximumScaleIndex; ++nI) in lcl_getAxisHoldingCategoriesFromDiagram() local
820 Reference< XAxis > xAxis = xCooSys->getAxisByDimension( nN,nI ); in lcl_getAxisHoldingCategoriesFromDiagram()
865 for(sal_Int32 nI=0; nI<=nMaximumScaleIndex; ++nI) in isCategoryDiagram() local
867 Reference< XAxis > xAxis = xCooSys->getAxisByDimension( nN,nI ); in isCategoryDiagram()
/AOO42X/main/unotools/source/misc/
H A Dfontcvt.cxx1239 int nI = Symbol; in SymbolFontToString() local
1240 while (nI <= nResult) in SymbolFontToString()
1242 if (!(nI & nResult)) in SymbolFontToString()
1243 nI = nI << 1; in SymbolFontToString()
1310 int nI = Symbol; in ConvertString() local
1311 while (nI <= nResult) in ConvertString()
1313 if (!(nI & nResult)) in ConvertString()
1314 nI = nI << 1; in ConvertString()
1318 sRet.AssignAscii(SymbolFontToString(nI)); in ConvertString()
1327 if (aIndex->second.eFont == nI) in ConvertString()
/AOO42X/main/sw/source/core/doc/
H A Ddocdesc.cxx882 sal_uInt16 nI; in FindPageDesc() local
883 for (nI = 0; nI < aPageDescs.Count(); nI++) in FindPageDesc()
885 if (aPageDescs[nI]->GetName() == rName) in FindPageDesc()
887 *pFound = nI; in FindPageDesc()
900 sal_uInt16 nI; in GetPageDesc() local
902 if (FindPageDesc(rName, &nI)) in GetPageDesc()
903 aResult = aPageDescs[nI]; in GetPageDesc()
910 sal_uInt16 nI; in DelPageDesc() local
912 if (FindPageDesc(rName, &nI)) in DelPageDesc()
913 DelPageDesc(nI, bBroadcast); // #116530# in DelPageDesc()
[all …]
/AOO42X/main/starmath/source/
H A Dmathtype.cxx760 for(int nI=rRet.Len()-1;nI >= 0; nI--) in lcl_AppendDummyTerm() local
762 xub_StrLen nIdx = sal::static_int_cast< xub_StrLen >(nI); in lcl_AppendDummyTerm()
845 xub_StrLen nI = rRet.Len()-1; in HandleRecords() local
846 while (nI && ((cChar = rRet.GetChar(nI)) == ' ')) in HandleRecords()
847 --nI; in HandleRecords()
1407 xub_StrLen nI = rRet.SearchBackward('{'); in HandleRecords() local
1408 if (nI != STRING_NOTFOUND) in HandleRecords()
1410 for(nI=nI+1;nI<rRet.Len();nI++) in HandleRecords()
1411 if (rRet.GetChar(nI) != ' ') in HandleRecords()
1532 xub_StrLen nI = rRet.SearchBackward('{'); in HandleRecords() local
[all …]
/AOO42X/main/sw/source/filter/ww8/dump/
H A Dww8scan.cxx2070 long nI = nIdx ? nIdx : 1; in SeekPos() local
2075 for( ; nI <=nEnd; ++nI) in SeekPos()
2077 if( nP < pPLCF_PosArray[nI] ) in SeekPos()
2079 nIdx = nI - 1; // nI - 1 ist der richtige Index in SeekPos()
2083 nI = 1; in SeekPos()
2105 long nI = nIdx ? nIdx-1 : 0; in SeekPosExact() local
2110 for( ; nI < nEnd; ++nI) in SeekPosExact()
2112 if( nP <=pPLCF_PosArray[nI] ) in SeekPosExact()
2114 nIdx = nI; // nI ist der richtige Index in SeekPosExact()
2118 nI = 0; in SeekPosExact()
[all …]
H A Dww8scan.hxx145 void SetIdx( sal_uLong nI ) { nIdx = (long)nI; } // geht ueber Nummer in SetIdx() argument
227 void SetIdx( sal_uLong nI ) { nIdx = (long)nI; } in SetIdx() argument
272 void SetIdx( sal_uLong nI ) { nIdx = (long)nI; } in SetIdx() argument
329 virtual void SetIdx( sal_uLong nI );
348 virtual void SetIdx( sal_uLong nI );
404 void SetIdx( sal_uLong nI );
583 virtual void SetIdx( sal_uLong nI );
/AOO42X/main/chart2/source/model/main/
H A DLegend.cxx278 sal_Int32 nI = 0; in getSupportedServiceNames_Static() local
280 aServices[ nI++ ] = C2U( "com.sun.star.chart2.Legend" ); in getSupportedServiceNames_Static()
281 aServices[ nI++ ] = C2U( "com.sun.star.beans.PropertySet" ); in getSupportedServiceNames_Static()
282 aServices[ nI++ ] = C2U( "com.sun.star.drawing.FillProperties" ); in getSupportedServiceNames_Static()
283 aServices[ nI++ ] = C2U( "com.sun.star.drawing.LineProperties" ); in getSupportedServiceNames_Static()
284 aServices[ nI++ ] = C2U( "com.sun.star.style.CharacterProperties" ); in getSupportedServiceNames_Static()
285 aServices[ nI++ ] = C2U( "com.sun.star.layout.LayoutElement" ); in getSupportedServiceNames_Static()
286 OSL_ASSERT( nNumServices == nI ); in getSupportedServiceNames_Static()
/AOO42X/main/sfx2/inc/sfx2/
H A Dminstack.hxx29 #define DECL_OBJSTACK( ARR, T, nI, nG ) \ argument
30 DECL_OBJARRAY( ARR##arr_, T, nI, nG ); \
34 ARR( sal_uInt8 nInitSize = nI, sal_uInt8 nGrowSize = nG ): \
62 #define DECL_PTRSTACK( ARR, T, nI, nG ) \ argument
63 DECL_PTRARRAY( ARR##arr_, T, nI, nG ) \
67 ARR( sal_uInt8 nInitSize = nI, sal_uInt8 nGrowSize = nG ): \
H A Dminarray.hxx41 #define DECL_OBJARRAY( ARR, T, nI, nG ) \ argument
50 ARR( sal_uInt8 nInitSize = nI, sal_uInt8 nGrowSize = nG );\
358 #define DECL_PTRARRAY(ARR, T, nI, nG)\ argument
362 ARR( sal_uInt8 nIni=nI, sal_uInt8 nGrowValue=nG ):\
426 #define DECL_1BYTEARRAY(ARR, T, nI, nG)\ argument
430 ARR( sal_uInt8 nIni=nI, sal_uInt8 nGrow=nG ):\
491 #define DECL_2BYTEARRAY(ARR, T, nI, nG)\ argument
495 ARR( sal_uInt8 nIni=nI, sal_uInt8 nGrowValue=nG ):\
/AOO42X/main/sw/source/core/text/
H A Dporlay.cxx1777 sal_uInt16 nI = 0; in Compress() local
1782 nI = nChg - nIdx; in Compress()
1792 long nLast = nI ? pKernArray[ nI - 1 ] : 0; in Compress()
1804 if ( pKernArray[ nI ] - nLast < nMinWidth ) in Compress()
1806 nIdx++; nI++; in Compress()
1815 nLast -= pKernArray[ nI ]; in Compress()
1824 if( nI ) in Compress()
1836 nLast = pKernArray[ nI ]; in Compress()
1838 pKernArray[ nI - 1 ] += nMove; in Compress()
1839 pKernArray[ nI++ ] -= nSub; in Compress()
[all …]
/AOO42X/main/xmloff/source/chart/
H A DSchXMLTools.cxx464 for(sal_Int32 nI=0; nI<=nMaxAxisIndex; ++nI) in CreateCategories() local
466 … uno::Reference< chart2::XAxis > xAxis( xCooSys->getAxisByDimension( nDimensionIndex, nI )); in CreateCategories()
633 for( sal_Int32 nI=0; nI<aCurveSeq.getLength(); ++nI ) in getRegressionCurve() local
636 Reference< lang::XServiceName > xServiceName( aCurveSeq[nI], uno::UNO_QUERY ); in getRegressionCurve()
645 if( aCurveSeq[nI].is()) in getRegressionCurve()
647 xResult.set( aCurveSeq[nI] ); in getRegressionCurve()
/AOO42X/main/sd/source/ui/framework/configuration/
H A DConfigurationUpdater.cxx398 for (sal_Int32 nI=nIndex; nI<nCount-2; ++nI) in CheckPureAnchors() local
399 aResources[nI] = aResources[nI+1]; in CheckPureAnchors()
/AOO42X/main/svtools/source/svrtf/
H A Drtfout.cxx145 for (sal_Int32 nI = 0; nI < nLen; ++nI) in Out_Char() local
148 Out_Hex(rStream, sConverted.getStr()[nI], 2); in Out_Char()

1234