/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/ |
H A D | LineContainer.java | 156 int nMaxIndex = maLines.size()-1; in GetLineIndexForOffset() local 157 while (nMinIndex < nMaxIndex-1) in GetLineIndexForOffset() 159 final int nMedIndex = (nMinIndex + nMaxIndex) / 2; in GetLineIndexForOffset() 163 nMaxIndex = nMedIndex; in GetLineIndexForOffset() 165 for (int nIndex=nMinIndex; nIndex<=nMaxIndex; ++nIndex) in GetLineIndexForOffset() 172 for (int nIndex=nMinIndex; nIndex<=nMaxIndex; ++nIndex) in GetLineIndexForOffset() 180 for (int nIndex=nMaxIndex; nIndex>=nMinIndex; ++nIndex) in GetLineIndexForOffset()
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | ctlayout.cxx | 487 void CTLayout::GetCaretPositions( int nMaxIndex, sal_Int32* pCaretXArray ) const in GetCaretPositions() argument 489 DBG_ASSERT( ((nMaxIndex>0)&&!(nMaxIndex&1)), in GetCaretPositions() 493 for( int i = 0; i < nMaxIndex; ++i ) in GetCaretPositions() 507 if( 2*n >= nMaxIndex ) in GetCaretPositions()
|
H A D | atslayout.cxx | 789 void ATSLayout::GetCaretPositions( int nMaxIndex, long* pCaretXArray ) const in GetCaretPositions() argument 791 DBG_ASSERT( ((nMaxIndex>0)&&!(nMaxIndex&1)), in GetCaretPositions() 795 for( int i = 0; i < nMaxIndex; ++i ) in GetCaretPositions() 817 if( 2*n >= nMaxIndex ) in GetCaretPositions()
|
/trunk/main/chart2/source/view/axes/ |
H A D | VCartesianAxis.cxx | 381 sal_Int32 nMaxIndex = m_rTickInfoVector.size()-1; in MaxLabelTickIter() local 382 if( nLongestLabelIndex<0 || nLongestLabelIndex>=nMaxIndex-1 ) in MaxLabelTickIter() 385 if( nMaxIndex>=0 ) in MaxLabelTickIter() 387 if( nMaxIndex>=1 ) in MaxLabelTickIter() 391 if( nMaxIndex > 2 ) in MaxLabelTickIter() 392 m_aValidIndices.push_back(nMaxIndex-1); in MaxLabelTickIter() 393 if( nMaxIndex > 1 ) in MaxLabelTickIter() 394 m_aValidIndices.push_back(nMaxIndex); in MaxLabelTickIter()
|
/trunk/main/vcl/source/gdi/ |
H A D | sallayout.cxx | 1439 void GenericSalLayout::GetCaretPositions( int nMaxIndex, sal_Int32* pCaretXArray ) const in GetCaretPositions() argument 1444 for( i = 0; i < nMaxIndex; ++i ) in GetCaretPositions() 2220 void MultiSalLayout::GetCaretPositions( int nMaxIndex, sal_Int32* pCaretXArray ) const in GetCaretPositions() argument 2223 rLayout.GetCaretPositions( nMaxIndex, pCaretXArray ); in GetCaretPositions() 2227 sal_Int32* pTempPos = (sal_Int32*)alloca( nMaxIndex * sizeof(sal_Int32) ); in GetCaretPositions() 2230 mpLayouts[ n ]->GetCaretPositions( nMaxIndex, pTempPos ); in GetCaretPositions() 2233 for( int i = 0; i < nMaxIndex; ++i ) in GetCaretPositions()
|
/trunk/main/chart2/source/model/template/ |
H A D | ChartTypeTemplate.cxx | 643 const sal_Int32 nMaxIndex = xCooSys->getMaximumAxisIndexByDimension(nDimensionX); in adaptScales() local 644 for(sal_Int32 nI=0; nI<=nMaxIndex; ++nI) in adaptScales() 673 const sal_Int32 nMaxIndex = xCooSys->getMaximumAxisIndexByDimension(1); in adaptScales() local 674 for(sal_Int32 nI=0; nI<=nMaxIndex; ++nI) in adaptScales()
|
/trunk/main/chart2/source/tools/ |
H A D | ExplicitCategoriesProvider.cxx | 573 sal_Int32 nMaxIndex = m_aComplexCats.size()-1; in getCategoriesByLevel() local 574 if( nLevel >= 0 && nLevel <= nMaxIndex ) in getCategoriesByLevel() 575 aRet = m_aComplexCats[nMaxIndex-nLevel]; in getCategoriesByLevel()
|
/trunk/main/writerfilter/source/dmapper/ |
H A D | PropertyMap.cxx | 360 sal_Int32 nMaxIndex = 0; in lcl_FindUnusedPageStyleName() local 371 if( nIndex > nMaxIndex) in lcl_FindUnusedPageStyleName() 372 nMaxIndex = nIndex; in lcl_FindUnusedPageStyleName() 376 sRet += rtl::OUString::valueOf( nMaxIndex + 1); in lcl_FindUnusedPageStyleName()
|
/trunk/main/l10ntools/source/ |
H A D | export.cxx | 2312 sal_uLong nMaxIndex = 0; in MergeRest() local 2314 nMaxIndex = pList->GetSourceLanguageListEntryCount(); in MergeRest() 2316 while( pEntrys && ( nLIndex < nMaxIndex )) { in MergeRest() 2469 sal_uLong nMaxIndex = 0; in MergeRest() local 2471 nMaxIndex = pList->GetSourceLanguageListEntryCount(); in MergeRest() 2489 while( PrepareTextToMerge( sLine, nList, nListLang, pResData ) && ( nListIndex <= nMaxIndex )) { in MergeRest()
|
/trunk/main/odk/examples/DevelopersGuide/Charts/ |
H A D | ChartInCalc.java | 235 int nMaxIndex = 0; in testDataPointProperties() local 248 nMaxIndex = i; in testDataPointProperties()
|
/trunk/main/accessibility/source/standard/ |
H A D | vclxaccessibleedit.cxx | 578 sal_Int32 nMaxIndex = ::std::max( nStartIndex, nEndIndex ); in replaceText() local 583 pVCLXEdit->setText( sText.replaceAt( nMinIndex, nMaxIndex - nMinIndex, sReplacement ) ); in replaceText()
|
/trunk/main/comphelper/source/misc/ |
H A D | accessibletexthelper.cxx | 333 sal_Int32 nMaxIndex = ::std::max( nStartIndex, nEndIndex ); in getTextRange() local 335 return sText.copy( nMinIndex, nMaxIndex - nMinIndex ); in getTextRange()
|
/trunk/main/scripting/source/stringresource/ |
H A D | stringresource.cxx | 2263 sal_Int32 nMaxIndex = -1; in implWritePropertiesFile() local 2269 if( nMaxIndex < nIndex ) in implWritePropertiesFile() 2270 nMaxIndex = nIndex; in implWritePropertiesFile() 2272 sal_Int32 nTabSize = nMaxIndex - nMinIndex + 1; in implWritePropertiesFile()
|
/trunk/main/sc/source/core/tool/ |
H A D | interpr3.cxx | 3231 SCSIZE nMaxIndex = 0, nMax = 1, nCount = 1; in ScModalValue() local 3245 nMaxIndex = i-1; in ScModalValue() 3253 nMaxIndex = i-1; in ScModalValue() 3260 PushDouble(aSortArray[nMaxIndex]); in ScModalValue()
|
H A D | interpr2.cxx | 2441 … static const sal_uInt16 nMaxIndex = (sal_uInt16)(sizeof(pValues) / sizeof(pValues[0]) - 1); in ScRoman() local 2447 for( sal_uInt16 i = 0; i <= nMaxIndex / 2; i++ ) in ScRoman() 2456 while( (nSteps < nMode) && (nIndex < nMaxIndex) ) in ScRoman()
|
/trunk/main/sc/source/ui/Accessibility/ |
H A D | AccessibleSpreadsheet.cxx | 1702 sal_Int32 nMaxIndex = (m_nMaxX - m_nMinX +1)*(m_nMaxY - m_nMinY +1) -1 ; in CheckChildIndex() local 1703 return nIndex <= nMaxIndex && nIndex >= 0 ; in CheckChildIndex()
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 2893 sal_uInt16 nMaxIndex = GetTextLen( rPaM.GetPara() ); in ValidatePaM() local 2894 if ( rPaM.GetIndex() > nMaxIndex ) in ValidatePaM() 2895 rPaM.GetIndex() = nMaxIndex; in ValidatePaM()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8scan.cxx | 939 const sal_Int32 nMaxIndex ) in IsPLCFPosArrayValid() argument 944 for ( sal_Int32 i = 0; i <= nMaxIndex; ++i ) in IsPLCFPosArrayValid() 947 …&& !( i == nMaxIndex-1 && pPLCFPosArray[i] == -63488 ) // pPLCFPosArray[nMaxIndex-1]==-63488 (0x… in IsPLCFPosArrayValid() 948 …&& !( i == nMaxIndex-1 && pPLCFPosArray[i] == -65536 ) // pPLCFPosArray[nMaxIndex-1]==-65536 (0x… in IsPLCFPosArrayValid() 949 …&& !( i == nMaxIndex-1 && pPLCFPosArray[i] == -61440 ) ) // pPLCFPosArray[nMaxIndex-1]==-61440 (0x… in IsPLCFPosArrayValid()
|
/trunk/main/sc/source/filter/xml/ |
H A D | xmlexprt.cxx | 176 const sal_Int32 nMaxIndex( rRanges.getLength() - 1 ); in lcl_RangeSequenceToString() local 178 for( sal_Int32 i=0; i<=nMaxIndex; ++i ) in lcl_RangeSequenceToString() 184 if( i < nMaxIndex ) in lcl_RangeSequenceToString()
|