Home
last modified time | relevance | path

Searched refs:nMaxIndex (Results 1 – 19 of 19) sorted by relevance

/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/
H A DLineContainer.java156 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 Dctlayout.cxx487 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 Datslayout.cxx789 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 DVCartesianAxis.cxx381 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 Dsallayout.cxx1439 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 DChartTypeTemplate.cxx643 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 DExplicitCategoriesProvider.cxx573 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 DPropertyMap.cxx360 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 Dexport.cxx2312 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 DChartInCalc.java235 int nMaxIndex = 0; in testDataPointProperties() local
248 nMaxIndex = i; in testDataPointProperties()
/trunk/main/accessibility/source/standard/
H A Dvclxaccessibleedit.cxx578 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 Daccessibletexthelper.cxx333 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 Dstringresource.cxx2263 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 Dinterpr3.cxx3231 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 Dinterpr2.cxx2441 … 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 DAccessibleSpreadsheet.cxx1702 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 Dtexteng.cxx2893 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 Dww8scan.cxx939 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 Dxmlexprt.cxx176 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()

Completed in 225 milliseconds