Home
last modified time | relevance | path

Searched refs:HMM_PER_TWIPS (Results 1 – 25 of 27) sorted by relevance

12

/aoo41x/main/sc/source/ui/view/
H A Dpreview.cxx458 nLeftMargin = (long) ( nLeftMargin * HMM_PER_TWIPS ); in DoPrint()
459 nRightMargin = (long) ( nRightMargin * HMM_PER_TWIPS ); in DoPrint()
460 nTopMargin = (long) ( nTopMargin * HMM_PER_TWIPS ); in DoPrint()
1050 …bLeftRulerChange && ( aButtonUpPt.X() / HMM_PER_TWIPS > nWidth - aLRItem.GetRight() - aOffset.X() … in MouseButtonUp()
1055 …if( bRightRulerChange && ( aButtonUpPt.X() / HMM_PER_TWIPS < aLRItem.GetLeft() - aOffset.X() / HMM… in MouseButtonUp()
1070 … aLRItem.SetLeft( (long)( aButtonUpPt.X() / HMM_PER_TWIPS + aOffset.X() / HMM_PER_TWIPS )); in MouseButtonUp()
1075 …aLRItem.SetRight( (long)( nWidth - aButtonUpPt.X() / HMM_PER_TWIPS - aOffset.X() / HMM_PER_TWIPS )… in MouseButtonUp()
1140 …aULItem.SetUpperValue( (sal_uInt16)( aButtonUpPt.Y() / HMM_PER_TWIPS + aOffset.Y() / HMM_PER_TWIPS in MouseButtonUp()
1145 …tLowerValue( (sal_uInt16)( nHeight - aButtonUpPt.Y() / HMM_PER_TWIPS - aOffset.Y() / HMM_PER_TWIPS in MouseButtonUp()
1155 …aHeaderSize.Height() = (long)( aButtonUpPt.Y() / HMM_PER_TWIPS + aOffset.Y() / HMM_PER_TWIPS - aUL… in MouseButtonUp()
[all …]
H A Doutput3.cxx75 aMMOffset.X() = (long)(aMMOffset.X() * HMM_PER_TWIPS); in PrePrintDrawingLayer()
76 aMMOffset.Y() = (long)(aMMOffset.Y() * HMM_PER_TWIPS); in PrePrintDrawingLayer()
85 aRect.Left() = (long) (aRect.Left() * HMM_PER_TWIPS); in PrePrintDrawingLayer()
86 aRect.Top() = (long) (aRect.Top() * HMM_PER_TWIPS); in PrePrintDrawingLayer()
87 aRect.Right() = (long) (aRect.Right() * HMM_PER_TWIPS); in PrePrintDrawingLayer()
88 aRect.Bottom() = (long) (aRect.Bottom() * HMM_PER_TWIPS); in PrePrintDrawingLayer()
H A Ddrawutil.cxx102 ((double)HMM_PER_TWIPS) / in CalcScale()
111 ((double)HMM_PER_TWIPS) / in CalcScale()
H A Dprevloc.cxx334 const double nScaleX = HMM_PER_TWIPS; in GetOffsetPixel()
335 const double nScaleY = HMM_PER_TWIPS; in GetOffsetPixel()
508 const double nScaleX = HMM_PER_TWIPS; in GetTableInfo()
509 const double nScaleY = HMM_PER_TWIPS; in GetTableInfo()
H A Dviewdata.cxx1073 HMM_PER_TWIPS, HMM_PER_TWIPS, aFract, aFract ).GetEditArea( pPattern, sal_False ); in SetEditEngine()
1942 pThisTab->nMPosX[eWhich] = (long) (nTPosX * HMM_PER_TWIPS); in SetPosX()
1981 pThisTab->nMPosY[eWhich] = (long) (nTPosY * HMM_PER_TWIPS); in SetPosY()
2066 nTwips = (long) (rVisAreaStart.X() / HMM_PER_TWIPS); in SetScreenPos()
2084 nTwips = (long) (rVisAreaStart.Y() / HMM_PER_TWIPS); in SetScreenPos()
2115 ( aScrSize.Width() * ScGlobal::nScreenPPTX / HMM_PER_TWIPS ); in SetScreen()
2117 ( aScrSize.Height() * ScGlobal::nScreenPPTY / HMM_PER_TWIPS ); in SetScreen()
H A Dviewfun5.cxx110 aPos = Point( (long)(nXT * HMM_PER_TWIPS), (long)(nYT * HMM_PER_TWIPS) ); in PasteDataFormat()
H A Ddrawview.cxx177 long nPosX = (long) (aPos.X() / HMM_PER_TWIPS) + nDelta; in AddCustomHdl()
178 long nPosY = (long) (aPos.Y() / HMM_PER_TWIPS) + nDelta; in AddCustomHdl()
H A Dprevwsh.cxx290 aPageSize.Width() = (long) (aPageSize.Width() * HMM_PER_TWIPS ); in UpdateScrollBars()
291 aPageSize.Height() = (long) (aPageSize.Height() * HMM_PER_TWIPS ); in UpdateScrollBars()
H A Dtabview.cxx1950 nPosX = (long)(nPosX * HMM_PER_TWIPS); in GetInsertPos()
1954 nPosY = (long)(nPosY * HMM_PER_TWIPS); in GetInsertPos()
1988 …long nDocX = (long)( (double) pDoc->GetColOffset( MAXCOL + 1, nTab ) * HMM_PER_TWIPS ) * nLayoutSi… in GetChartInsertPos()
1989 long nDocY = (long)( (double) pDoc->GetRowOffset( MAXROW + 1, nTab ) * HMM_PER_TWIPS ); in GetChartInsertPos()
H A Dprintfun.cxx1542 aMMOffset.X() = (long)(aMMOffset.X() * HMM_PER_TWIPS); in LocateArea()
1543 aMMOffset.Y() = (long)(aMMOffset.Y() * HMM_PER_TWIPS); in LocateArea()
2615 nScaleX = nScaleY = HMM_PER_TWIPS; // Ausgabe in 1/100 mm in InitModes()
H A Doutput2.cxx2378HMM_PER_TWIPS, HMM_PER_TWIPS, aFract, aFract ).GetEditArea( pPattern, sal_False ); in DrawEdit()
/aoo41x/main/sc/source/core/data/
H A Ddocumen3.cxx1667 nTwips = (long) (aPosRect.Left() / HMM_PER_TWIPS); in GetRange()
1683 nTwips = (long) (aPosRect.Right() / HMM_PER_TWIPS); in GetRange()
1701 nTwips = (long) (aPosRect.Top() / HMM_PER_TWIPS); in GetRange()
1708 nTwips = (long) (aPosRect.Bottom() / HMM_PER_TWIPS); in GetRange()
1729 long nTwips = (long) (rVal / HMM_PER_TWIPS); in lcl_SnapHor()
1742 rVal = (long) ( nSnap * HMM_PER_TWIPS ); in lcl_SnapHor()
1749 long nTwips = (long) (rVal / HMM_PER_TWIPS); in lcl_SnapVer()
1778 rVal = (long) ( nSnap * HMM_PER_TWIPS ); in lcl_SnapVer()
1938 aRect.Left() = (long)(aRect.Left() * HMM_PER_TWIPS); in GetMMRect()
1939 aRect.Right() = (long)(aRect.Right() * HMM_PER_TWIPS); in GetMMRect()
[all …]
H A Ddrwlayer.cxx171 nVal = (long) ( nVal * HMM_PER_TWIPS ); in TwipsToMM()
178 nVal = ((long) ( nVal / HMM_PER_TWIPS )) + 1; in ReverseTwipsToMM()
585 (long)(pDoc->GetRowHeight( nRow1, nTab1 ) * HMM_PER_TWIPS) ); in RecalcPos()
745 nStartX = (long)(nStartX * HMM_PER_TWIPS); in GetPrintArea()
746 nEndX = (long)(nEndX * HMM_PER_TWIPS); in GetPrintArea()
753 nStartY = (long)(nStartY * HMM_PER_TWIPS); in GetPrintArea()
754 nEndY = (long)(nEndY * HMM_PER_TWIPS); in GetPrintArea()
813 nStartX = (long) (nStartX / HMM_PER_TWIPS); in GetPrintArea()
814 nEndX = (long) (nEndX / HMM_PER_TWIPS); in GetPrintArea()
831 nStartY = (long) (nStartY / HMM_PER_TWIPS); in GetPrintArea()
[all …]
H A Ddocumen9.cxx185 sal_uLong nx = (sal_uLong) ((double) (MAXCOL+1) * STD_COL_WIDTH * HMM_PER_TWIPS ); in InitDrawLayer()
186 sal_uLong ny = (sal_uLong) ((double) (MAXROW+1) * ScGlobal::nStdRowHeight * HMM_PER_TWIPS ); in InitDrawLayer()
542 aMMRect.Left() = (long)(nLeft * HMM_PER_TWIPS); in IsPrintEmpty()
543 aMMRect.Right() = (long)(nRight * HMM_PER_TWIPS); in IsPrintEmpty()
H A Dstlsheet.cxx190 Size( 0, (long)( 500 / HMM_PER_TWIPS ) + HFDIST_CM ) ); in GetItemSet()
H A Dtable1.cxx132 sal_uLong nx = (sal_uLong) ((double) (MAXCOL+1) * STD_COL_WIDTH * HMM_PER_TWIPS ); in ScTable()
133 … sal_uLong ny = (sal_uLong) ((double) (MAXROW+1) * ScGlobal::nStdRowHeight * HMM_PER_TWIPS ); in ScTable()
H A Dtable2.cxx3235 double fValX = GetColOffset( MAXCOL + 1 ) * HMM_PER_TWIPS; in SetDrawPageSize()
3236 double fValY = GetRowOffset( MAXROW + 1 ) * HMM_PER_TWIPS; in SetDrawPageSize()
/aoo41x/main/sc/source/ui/app/
H A Dtransobj.cxx696 nPosX = (long) ( nPosX * HMM_PER_TWIPS ); in InitDocShell()
697 nPosY = (long) ( nPosY * HMM_PER_TWIPS ); in InitDocShell()
719 nSizeX = (long) ( nSizeX * HMM_PER_TWIPS ); in InitDocShell()
720 nSizeY = (long) ( nSizeY * HMM_PER_TWIPS ); in InitDocShell()
/aoo41x/main/sc/source/ui/docshell/
H A Ddocsh2.cxx83 Size aSize( (long) ( STD_COL_WIDTH * HMM_PER_TWIPS * OLE_STD_CELLS_X ), in InitNew()
84 (long) ( ScGlobal::nStdRowHeight * HMM_PER_TWIPS * OLE_STD_CELLS_Y ) ); in InitNew()
H A Ddocsh3.cxx405 nWindowWidth = (long) ( nWindowWidth / ScGlobal::nScreenPPTX * HMM_PER_TWIPS ); in CalcOutputFactor()
/aoo41x/main/sc/source/filter/excel/
H A Dxlescher.cxx85 case MAP_100TH_MM: fScale = HMM_PER_TWIPS; break; // Calc twips <-> 1/100mm in lclGetTwipsScale()
219 case MAP_TWIP: fScale = HMM_PER_TWIPS; break; // Calc twips -> 1/100mm in SetRect()
/aoo41x/main/sc/source/filter/starcalc/
H A Dscflt.cxx2400 nStartX = (long) ( nStartX * HMM_PER_TWIPS ); in LoadObjects()
2401 nStartX += (long) ( GraphHeader.x / nPPTX * HMM_PER_TWIPS ); in LoadObjects()
2402 long nSizeX = (long) ( GraphHeader.w / nPPTX * HMM_PER_TWIPS ); in LoadObjects()
2406 nStartY = (long) ( nStartY * HMM_PER_TWIPS ); in LoadObjects()
2407 nStartY += (long) ( GraphHeader.y / nPPTY * HMM_PER_TWIPS ); in LoadObjects()
2408 long nSizeY = (long) ( GraphHeader.h / nPPTY * HMM_PER_TWIPS ); in LoadObjects()
/aoo41x/main/sc/source/filter/rtf/
H A Deeimpars.cxx538 (long)((double) mpDoc->GetColOffset( nCol, nTab ) * HMM_PER_TWIPS), in InsertGraphic()
539 (long)((double) mpDoc->GetRowOffset( nRow, nTab ) * HMM_PER_TWIPS) ); in InsertGraphic()
/aoo41x/main/sc/inc/
H A Dglobal.hxx148 #define HMM_PER_TWIPS (CM_PER_TWIPS * 1000.0) macro
/aoo41x/main/sc/source/core/tool/
H A Ddetfunc.cxx360 aPos.X() = static_cast< long >( aPos.X() * HMM_PER_TWIPS ); in GetDrawPos()
361 aPos.Y() = static_cast< long >( aPos.Y() * HMM_PER_TWIPS ); in GetDrawPos()

Completed in 231 milliseconds

12