/trunk/main/sw/source/ui/utlui/ |
H A D | prcntfld.cxx | 83 sal_Int64 nAktWidth, nPercent; in ShowPercent() local 98 nPercent = ((nAktWidth * 10) / nRefValue + 5) / 10; in ShowPercent() 107 nPercent = ((nAktWidth * 10) / nRefValue + 5) / 10; in ShowPercent() 108 MetricFormatter::SetValue(nPercent); in ShowPercent() 109 nLastPercent = nPercent; in ShowPercent() 158 sal_Int64 nPercent, nAktWidth; in SetPrcntValue() local 168 nPercent = ((nAktWidth * 10) / nRefValue + 5) / 10; in SetPrcntValue() 169 MetricFormatter::SetValue(nPercent); in SetPrcntValue() 185 sal_Int64 nPercent, nAktWidth; in SetUserValue() local 195 nPercent = ((nAktWidth * 10) / nRefValue + 5) / 10; in SetUserValue() [all …]
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/convwatch/ |
H A D | PRNCompare.java | 340 int nPercent = estimateGfx(sOldGfx, sNewGfx, sDiffGfx); in createDiffs() local 342 aStatus.nPercent = nPercent; in createDiffs() 349 if (nPercent > 75 && in createDiffs() 381 aStatus.nPercent2 = nPercent; in createDiffs() 456 int nPercent = estimateGfx(sOldGfx, sNewGfx, sDiffGfx); in createDiffs() local 462 aStatus.nPercent = nPercent; in createDiffs() 464 if (nPercent > 75 && in createDiffs() 505 aStatus.nPercent2 = nPercent; in createDiffs() 689 aCurrentStatus.nPercent = estimateGfx(sOldGfx, sNewGfx, sDiffGfx); in checkDiffDiff() 694 aCurrentStatus.nPercent = -1; in checkDiffDiff() [all …]
|
H A D | INIOutputter.java | 132 String sPercent = String.valueOf(_aStatus.nPercent) + "%"; in checkLine() 133 if (_aStatus.nPercent > 0 && _aStatus.nPercent < 5) in checkLine() 187 String sPercent = String.valueOf(_aStatus.nPercent) + "%"; in checkDiffDiffLine()
|
H A D | StatusHelper.java | 41 public int nPercent = 0; field in StatusHelper 78 GlobalLogWriter.get().println("Files differ by " + String.valueOf(nPercent) + "%"); in printStatus() 86 … the files differ by " + String.valueOf(nPercent2) + " old was " + String.valueOf(nPercent) + "%"); in printStatus()
|
H A D | HTMLOutputter.java | 297 String sPercent = String.valueOf(_aStatus.nPercent) + "%"; in checkLine() 298 if (_aStatus.nPercent > 0 && _aStatus.nPercent < 5) in checkLine() 390 String sPercent = String.valueOf(_aStatus.nPercent) + "%"; in checkDiffDiffLine()
|
/trunk/main/svtools/source/config/ |
H A D | optionsdrawinglayer.cxx | 269 void SetTransparentSelectionPercent( sal_uInt16 nPercent ); 1154 if(m_nTransparentSelectionPercent != nPercent) in SetTransparentSelectionPercent() 1156 m_nTransparentSelectionPercent = nPercent; in SetTransparentSelectionPercent() 1168 if(m_nSelectionMaximumLuminancePercent != nPercent) in SetSelectionMaximumLuminancePercent() 1170 m_nSelectionMaximumLuminancePercent = nPercent; in SetSelectionMaximumLuminancePercent() 1643 if(nPercent < 10) in SetTransparentSelectionPercent() 1645 nPercent = 10; in SetTransparentSelectionPercent() 1648 if(nPercent > 90) in SetTransparentSelectionPercent() 1650 nPercent = 90; in SetTransparentSelectionPercent() 1696 if(nPercent > 90) in SetSelectionMaximumLuminancePercent() [all …]
|
/trunk/main/sal/qa/helper/gcov/ |
H A D | gcov_resultinterpreter.pl | 46 our $nPercent; # show all functions, which have a value > $nPercent 58 "percent=s" => \$nPercent, 93 $nPercent = 100.00; 119 elsif ($nPercent) 121 if ($value >= $nPercent)
|
/trunk/main/filter/source/graphicfilter/ipcx/ |
H A D | ipcx.cxx | 55 sal_Bool Callback( sal_uInt16 nPercent ); 225 sal_uLong i, nx, ny, np, nCount, nUsedLineSize, nLineSize, nPercent; in ImplReadBody() local 243 nPercent = ny * 60 / nHeight + 10; in ImplReadBody() 244 if ( ny == 0 || nLastPercent + 4 <= nPercent ) in ImplReadBody() 246 nLastPercent = nPercent; in ImplReadBody() 247 if ( Callback( (sal_uInt16)nPercent ) == sal_True ) in ImplReadBody()
|
/trunk/main/filter/source/graphicfilter/egif/ |
H A D | egif.cxx | 54 void MayCallback( sal_uLong nPercent ); 231 void GIFWriter::MayCallback( sal_uLong nPercent ) in MayCallback() argument 235 if( nPercent >= nLastPercent + 3 ) in MayCallback() 237 nLastPercent = nPercent; in MayCallback() 238 if ( nPercent <= 100 ) in MayCallback() 239 xStatusIndicator->setValue( nPercent ); in MayCallback()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/graphical/ |
H A D | JPEGComparator.java | 259 int nPercent = aResultIniFile.getIntValue(sCurrentPage, "percent", -1); in evaluateResult() local 260 if (nPercent == 0) in evaluateResult() 264 else if (nPercent <= 5) in evaluateResult() 670 int nPercent = Math.abs(nNotBlackCount_DiffGraphic * 100 / nMinNotWhiteCount); in estimateGfx() local 671 …GlobalLogWriter.println("Graphics check, pixel based:" + String.valueOf(nPercent) + "% pixel diffe… in estimateGfx() 672 return nPercent; in estimateGfx()
|
/trunk/main/filter/source/graphicfilter/etiff/ |
H A D | etiff.cxx | 104 void ImplCallback( sal_uInt32 nPercent ); 244 void TIFFWriter::ImplCallback( sal_uInt32 nPercent ) in ImplCallback() argument 248 if( nPercent >= mnLastPercent + 3 ) in ImplCallback() 250 mnLastPercent = nPercent; in ImplCallback() 251 if ( nPercent <= 100 ) in ImplCallback() 252 xStatusIndicator->setValue( nPercent ); in ImplCallback()
|
/trunk/main/filter/source/graphicfilter/expm/ |
H A D | expm.cxx | 48 void ImplCallback( sal_uInt16 nPercent ); 80 void XPMWriter::ImplCallback( sal_uInt16 nPercent ) in ImplCallback() argument 84 if ( nPercent <= 100 ) in ImplCallback() 85 xStatusIndicator->setValue( nPercent ); in ImplCallback()
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | colmgr.cxx | 118 void SwColMgr::SetLineHeightPercent(short nPercent) in SetLineHeightPercent() argument 120 ASSERT(nPercent <= 100, LineHeight darf nur bis 100 % gross sein); in SetLineHeightPercent() 121 aFmtCol.SetLineHeight((sal_uInt8)nPercent); in SetLineHeightPercent()
|
H A D | colex.cxx | 404 sal_uInt16 nPercent = m_aCols.GetLineHeight(); in Paint() local 405 if( nPercent != 100 ) in Paint() 407 nLength -= nLength * nPercent / 100; in Paint()
|
/trunk/main/extensions/source/update/check/ |
H A D | updatehdl.cxx | 230 void UpdateHandler::setProgress( sal_Int32 nPercent ) in setProgress() argument 232 if ( nPercent > 100 ) in setProgress() 233 nPercent = 100; in setProgress() 234 else if ( nPercent < 0 ) in setProgress() 235 nPercent = 0; in setProgress() 237 if ( nPercent != mnPercent ) in setProgress() 241 mnPercent = nPercent; in setProgress() 242 setControlProperty( CTRL_PROGRESS, UNISTRING("ProgressValue"), uno::Any( nPercent ) ); in setProgress()
|
/trunk/main/tools/inc/tools/ |
H A D | poly.hxx | 90 PolyOptimizeData( sal_uInt16 nPercent ) : eType( DATA_PERCENT ), mnPercent( nPercent ) {} in PolyOptimizeData() argument 126 static void ImplReduceEdges( Polygon& rPoly, const double& rArea, sal_uInt16 nPercent );
|
/trunk/main/sw/source/ui/shells/ |
H A D | tabsh.cxx | 261 sal_uInt16 nPercent = 0; in lcl_TableParamToItemSet() local 262 long nWidth = ::GetTableWidth(pFmt, aCols, &nPercent, &rSh ); in lcl_TableParamToItemSet() 264 if(nPercent) in lcl_TableParamToItemSet() 265 nWidth = pRep->GetSpace() * nPercent / 100; in lcl_TableParamToItemSet() 287 if(!nPercent) in lcl_TableParamToItemSet() 296 pRep->SetWidthPercent(nPercent); in lcl_TableParamToItemSet()
|
/trunk/main/filter/source/graphicfilter/ipict/ |
H A D | ipict.cxx | 176 sal_Bool Callback(sal_uInt16 nPercent); 1789 sal_uLong nSize, nPos, nStartPos, nEndPos, nPercent, nLastPercent; in ReadPict() local 1828 nPercent=(nPos-nStartPos)*100/(nEndPos-nStartPos); in ReadPict() 1829 if (nLastPercent+4<=nPercent) { in ReadPict() 1830 if (Callback((sal_uInt16)nPercent)==sal_True) break; in ReadPict() 1831 nLastPercent=nPercent; in ReadPict()
|
/trunk/main/svtools/inc/svtools/ |
H A D | optionsdrawinglayer.hxx | 197 void SetTransparentSelectionPercent( sal_uInt16 nPercent ); 198 void SetSelectionMaximumLuminancePercent( sal_uInt16 nPercent );
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 1081 sal_uLong nPos, nPercent, nLastPercent; in ReadWMF() local 1113 nPercent = ( nPos - nStartPos ) * 100 / ( nEndPos - nStartPos ); in ReadWMF() 1115 if( nLastPercent + 4 <= nPercent ) in ReadWMF() 1117 Callback( (sal_uInt16) nPercent ); in ReadWMF() 1118 nLastPercent = nPercent; in ReadWMF()
|
H A D | wmfwr.cxx | 276 sal_uLong nPercent; in MayCallback() local 282 nPercent=((nWrittenBitmaps<<14)+(nActBitmapPercent<<14)/100+nWrittenActions) in MayCallback() 286 if ( nPercent >= nLastPercent + 3 ) in MayCallback() 288 nLastPercent = nPercent; in MayCallback() 289 if( nPercent <= 100 ) in MayCallback() 290 xStatusIndicator->setValue( nPercent ); in MayCallback()
|
/trunk/main/framework/source/helper/ |
H A D | vclstatusindicator.cxx | 198 sal_uInt16 nPercent = sal::static_int_cast< sal_uInt16 >( in setValue() local 205 m_pStatusBar->SetProgressValue(nPercent); in setValue()
|
/trunk/main/sd/source/ui/inc/ |
H A D | FrameView.hxx | 175 void SetTabCtrlPercent( double nPercent ) { mnTabCtrlPercent = nPercent; } in SetTabCtrlPercent() argument
|
/trunk/main/vcl/source/window/ |
H A D | splitwin.cxx | 537 long nPercent = 0; in ImplCalcSet() local 547 nPercent += pItems[i].mnSize; in ImplCalcSet() 553 nPercent *= nPercentFactor; in ImplCalcSet() 562 if ( nPercent < nRelPercentBase ) in ImplCalcSet() 564 nRelPercent = (nRelPercentBase-nPercent)/nRelCount; in ImplCalcSet() 565 nPercent += nRelPercent*nRelCount; in ImplCalcSet() 570 if ( !nPercent ) in ImplCalcSet() 571 nPercent = 1; in ImplCalcSet() 582 pItems[i].mnPixSize = (nSizeDelta*pItems[i].mnSize*nRelPercent)/nPercent; in ImplCalcSet() 589 pItems[i].mnPixSize = (nSizeDelta*pItems[i].mnSize*nPercentFactor)/nPercent; in ImplCalcSet()
|
/trunk/main/tools/source/generic/ |
H A D | poly2.cxx | 312 sal_uInt16 nPercent = 0; in Optimize() local 319 nPercent = pData ? pData->GetPercentValue() : 50; in Optimize() 336 Polygon::ImplReduceEdges( *( mpImplPolyPolygon->mpPolyAry[ i ] ), fArea, nPercent ); in Optimize()
|