/aoo41x/main/sc/source/ui/view/ |
H A D | preview.cxx | 458 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 D | output3.cxx | 75 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 D | drawutil.cxx | 102 ((double)HMM_PER_TWIPS) / in CalcScale() 111 ((double)HMM_PER_TWIPS) / in CalcScale()
|
H A D | prevloc.cxx | 334 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 D | viewdata.cxx | 1073 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 D | viewfun5.cxx | 110 aPos = Point( (long)(nXT * HMM_PER_TWIPS), (long)(nYT * HMM_PER_TWIPS) ); in PasteDataFormat()
|
H A D | drawview.cxx | 177 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 D | prevwsh.cxx | 290 aPageSize.Width() = (long) (aPageSize.Width() * HMM_PER_TWIPS ); in UpdateScrollBars() 291 aPageSize.Height() = (long) (aPageSize.Height() * HMM_PER_TWIPS ); in UpdateScrollBars()
|
H A D | tabview.cxx | 1950 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 D | printfun.cxx | 1542 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 D | output2.cxx | 2378 … HMM_PER_TWIPS, HMM_PER_TWIPS, aFract, aFract ).GetEditArea( pPattern, sal_False ); in DrawEdit()
|
/aoo41x/main/sc/source/core/data/ |
H A D | documen3.cxx | 1667 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 D | drwlayer.cxx | 171 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 D | documen9.cxx | 185 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 D | stlsheet.cxx | 190 Size( 0, (long)( 500 / HMM_PER_TWIPS ) + HFDIST_CM ) ); in GetItemSet()
|
H A D | table1.cxx | 132 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 D | table2.cxx | 3235 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 D | transobj.cxx | 696 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 D | docsh2.cxx | 83 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 D | docsh3.cxx | 405 nWindowWidth = (long) ( nWindowWidth / ScGlobal::nScreenPPTX * HMM_PER_TWIPS ); in CalcOutputFactor()
|
/aoo41x/main/sc/source/filter/excel/ |
H A D | xlescher.cxx | 85 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 D | scflt.cxx | 2400 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 D | eeimpars.cxx | 538 (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 D | global.hxx | 148 #define HMM_PER_TWIPS (CM_PER_TWIPS * 1000.0) macro
|
/aoo41x/main/sc/source/core/tool/ |
H A D | detfunc.cxx | 360 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()
|