/dports/science/jmol/jmol-14.32.7/src/jspecview/export/ |
H A D | JDXCompressor.java | 75 int nDif = 0; in compressDIF() local 87 nDif++; in compressDIF() 90 if (nDif > 0) { in compressDIF() 91 yStr.append(makeDUP(nDif + 1)); in compressDIF() 92 nDif = 0; in compressDIF() 97 …t' + xyCoords[i].getXVal() + '\t' + xyCoords[i].getYVal() + '\t' + y2 + '\t' + nDif + '\t' + yStr); in compressDIF() 101 if (nDif > 0) in compressDIF() 102 yStr.append(makeDUP(nDif + 1)); in compressDIF() 106 …("" + i + '\t' + xyCoords[i].getXVal() + '\t' + xyCoords[i].getYVal() + '\t' + nDif + '\t' + yStr); in compressDIF()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/core/data/ |
H A D | documen4.cxx | 930 sal_uLong nDif = 0; in RowDifferences() local 947 nDif += 3; in RowDifferences() 949 nDif += 4; // content <-> empty counts more in RowDifferences() 958 return static_cast<sal_uInt16>((nDif*64)/nUsed); // max.256 (SC_DOCCOMP_MAXDIFF) in RowDifferences() 960 OSL_ENSURE(!nDif,"Diff without Used"); in RowDifferences() 971 sal_uLong nDif = 0; in ColDifferences() local 988 nDif += 3; in ColDifferences() 990 nDif += 4; // content <-> empty counts more in ColDifferences() 999 return static_cast<sal_uInt16>((nDif*64)/nUsed); // max.256 in ColDifferences() 1001 OSL_ENSURE(!nDif,"Diff without Used"); in ColDifferences()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/core/data/ |
H A D | documen4.cxx | 917 sal_uLong nDif = 0; in RowDifferences() local 934 nDif += 3; in RowDifferences() 936 nDif += 4; // content <-> empty counts more in RowDifferences() 945 return static_cast<sal_uInt16>((nDif*64)/nUsed); // max.256 (SC_DOCCOMP_MAXDIFF) in RowDifferences() 947 OSL_ENSURE(!nDif,"Diff without Used"); in RowDifferences() 958 sal_uLong nDif = 0; in ColDifferences() local 975 nDif += 3; in ColDifferences() 977 nDif += 4; // content <-> empty counts more in ColDifferences() 986 return static_cast<sal_uInt16>((nDif*64)/nUsed); // max.256 in ColDifferences() 988 OSL_ENSURE(!nDif,"Diff without Used"); in ColDifferences()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/ui/view/ |
H A D | hdrcont.cxx | 532 long nDif; in GetMousePos() local 548 nDif = nMousePos - nScrPos; in GetMousePos() 549 if (nDif >= -2 && nDif <= 2) in GetMousePos() 554 else if (nDif * nLayoutSign >= 0 && nEntryNo < nSize) in GetMousePos() 558 while ( nScrPos * nLayoutSign < nEndPos * nLayoutSign && nDif * nLayoutSign > 0 ); in GetMousePos()
|
H A D | preview.cxx | 837 long nDif = LogicToPixel(aOffset).X() - LogicToPixel(Point(nX,0)).X(); in SetXOffset() local 839 if (nDif && !bInSetZoom) in SetXOffset() 843 Scroll( nDif, 0 ); in SetXOffset() 864 long nDif = LogicToPixel(aOffset).Y() - LogicToPixel(Point(0,nY)).Y(); in SetYOffset() local 866 if (nDif && !bInSetZoom) in SetYOffset() 870 Scroll( 0, nDif ); in SetYOffset()
|
H A D | printfun.cxx | 1827 long nDif = aPaperSize.Height() - static_cast<long>(pEditEngine->GetTextHeight()); in PrintHF() local 1828 if (nDif > 0) in PrintHF() 1829 aDraw.AdjustY(nDif / 2 ); in PrintHF() 1841 long nDif = aPaperSize.Height() - static_cast<long>(pEditEngine->GetTextHeight()); in PrintHF() local 1842 if (nDif > 0) in PrintHF() 1843 aDraw.AdjustY(nDif / 2 ); in PrintHF() 1855 long nDif = aPaperSize.Height() - static_cast<long>(pEditEngine->GetTextHeight()); in PrintHF() local 1856 if (nDif > 0) in PrintHF() 1857 aDraw.AdjustY(nDif / 2 ); in PrintHF()
|
H A D | output2.cxx | 4861 long nDif = nScrX - nStartX; in DrawRotated() local 4863 aClipSize.AdjustWidth( -nDif ); in DrawRotated() 4870 long nDif = nRowPosY - nClipStartY; in DrawRotated() local 4872 aClipSize.AdjustHeight( -nDif ); in DrawRotated()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/ui/view/ |
H A D | hdrcont.cxx | 632 tools::Long nDif; in GetMousePos() local 648 nDif = nMousePos - nScrPos; in GetMousePos() 649 if (nDif >= -2 && nDif <= 2) in GetMousePos() 654 else if (nDif * nLayoutSign >= 0 && nEntryNo < nSize) in GetMousePos() 658 while ( nScrPos * nLayoutSign < nEndPos * nLayoutSign && nDif * nLayoutSign > 0 ); in GetMousePos()
|
H A D | preview.cxx | 841 tools::Long nDif = LogicToPixel(aOffset).X() - LogicToPixel(Point(nX,0)).X(); in SetXOffset() local 843 if (nDif && !bInSetZoom) in SetXOffset() 847 Scroll( nDif, 0 ); in SetXOffset() 868 tools::Long nDif = LogicToPixel(aOffset).Y() - LogicToPixel(Point(0,nY)).Y(); in SetYOffset() local 870 if (nDif && !bInSetZoom) in SetYOffset() 874 Scroll( 0, nDif ); in SetYOffset()
|
H A D | printfun.cxx | 1859 … tools::Long nDif = aPaperSize.Height() - static_cast<tools::Long>(pEditEngine->GetTextHeight()); in PrintHF() local 1860 if (nDif > 0) in PrintHF() 1861 aDraw.AdjustY(nDif / 2 ); in PrintHF() 1873 … tools::Long nDif = aPaperSize.Height() - static_cast<tools::Long>(pEditEngine->GetTextHeight()); in PrintHF() local 1874 if (nDif > 0) in PrintHF() 1875 aDraw.AdjustY(nDif / 2 ); in PrintHF() 1887 … tools::Long nDif = aPaperSize.Height() - static_cast<tools::Long>(pEditEngine->GetTextHeight()); in PrintHF() local 1888 if (nDif > 0) in PrintHF() 1889 aDraw.AdjustY(nDif / 2 ); in PrintHF()
|
H A D | output2.cxx | 4946 tools::Long nDif = nScrX - nStartX; in DrawRotated() local 4948 aClipSize.AdjustWidth( -nDif ); in DrawRotated() 4955 tools::Long nDif = nRowPosY - nClipStartY; in DrawRotated() local 4957 aClipSize.AdjustHeight( -nDif ); in DrawRotated()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 99 CR_SetBoxWidth( TableChgWidthHeightType eType, SwTwips nDif, SwTwips nSid, in CR_SetBoxWidth() 102 nDiff( nDif ), nSide( nSid ), nMaxSize( nMax ), nLowerDiff( 0 ) in CR_SetBoxWidth()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 99 CR_SetBoxWidth( TableChgWidthHeightType eType, SwTwips nDif, SwTwips nSid, in CR_SetBoxWidth() 102 nDiff( nDif ), nSide( nSid ), nMaxSize( nMax ), nLowerDiff( 0 ) in CR_SetBoxWidth()
|
/dports/graphics/sampleicc/SampleICC-1.6.8/IccProfLib/ |
H A D | IccTagLut.cpp | 571 icFloatNumber nDif = v*m_nMaxIndex - nIndex; in Apply() local 574 icFloatNumber rv = p0 + (m_Curve[nIndex+1]-p0)*nDif; in Apply()
|