Home
last modified time | relevance | path

Searched refs:nLayoutSign (Results 1 – 11 of 11) sorted by relevance

/AOO41X/main/sc/source/ui/view/
H A Dhdrcont.cxx127 long nLayoutSign = bLayoutRTL ? -1 : 1; in DoPaint() local
132 … aRect.Top() = GetScrPos( nStart )-nLayoutSign; // extra pixel for line at top of selection in DoPaint()
133 aRect.Bottom() = GetScrPos( nEnd+1 )-nLayoutSign; in DoPaint()
137 … aRect.Left() = GetScrPos( nStart )-nLayoutSign; // extra pixel for line left of selection in DoPaint()
138 aRect.Right() = GetScrPos( nEnd+1 )-nLayoutSign; in DoPaint()
286 long nLayoutSign = bLayoutRTL ? -1 : 1; in Paint() local
328 long nLineEnd = nInitScrPos - nLayoutSign; in Paint()
335 nLineEnd += nSizePix * nLayoutSign; in Paint()
339 long nLineStart = nLineEnd - ( nSizePix - 1 ) * nLayoutSign; in Paint()
340 if ( nLineStart * nLayoutSign < nTransStart * nLayoutSign ) in Paint()
[all …]
H A Doutput.cxx320 long nLayoutSign = bLayoutRTL ? -1 : 1; in DrawGrid() local
321 long nSignedOneX = nOneX * nLayoutSign; in DrawGrid()
353 nPosX += nWidth * nLayoutSign; in DrawGrid()
544 nNextX = nPosX + pRowInfo[0].pCellInfo[i+1].nWidth * nLayoutSign; in DrawGrid()
791 long nLayoutSign = bLayoutRTL ? -1 : 1; in DrawBackground() local
792 long nSignedOneX = nOneX * nLayoutSign; in DrawBackground()
889 nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign; in DrawBackground()
934 long nLayoutSign = bLayoutRTL ? -1 : 1; in DrawExtraShadow() local
947 long nPosX = nInitPosX - pRowInfo[0].pCellInfo[nX1].nWidth * nLayoutSign; in DrawExtraShadow()
988 nPosX + ( nThisWidth - 1 ) * nLayoutSign, in DrawExtraShadow()
[all …]
H A Dgridwin4.cxx218 long nLayoutSign = bLayoutRTL ? -1 : 1; in lcl_DrawScenarioFrames() local
237 aStartPos.X() -= nLayoutSign; in lcl_DrawScenarioFrames()
239 aEndPos.X() -= nLayoutSign; in lcl_DrawScenarioFrames()
476 long nLayoutSign = bLayoutRTL ? -1 : 1; in Draw() local
942 aEnd.X() -= 2 * nLayoutSign; // don't overwrite grid in Draw()
1364 long nLayoutSign = bLayoutRTL ? -1 : 1; in GetListValButtonRect() local
1397 aPos.X() += nCellSizeX * nLayoutSign; // start of next cell in GetListValButtonRect()
1399 … aPos.X() -= aBtnSize.Width() * nLayoutSign; // right edge of cell if next cell not available in GetListValButtonRect()
1495 long nLayoutSign = bLayoutRTL ? -1 : 1; in InvertSimple() local
1578 long nEndX = nScrX + ( nWidth - 1 ) * nLayoutSign; in InvertSimple()
[all …]
H A Doutput2.cxx1113 long nLayoutSign = bLayoutRTL ? -1 : 1; in GetOutputArea() local
1123 nCellPosX += nColWidth * nLayoutSign; in GetOutputArea()
1132 nCellPosX -= nColWidth * nLayoutSign; in GetOutputArea()
1196 rParam.maAlignRect.Right() = nCellPosX + ( nMergeSizeX - 1 ) * nLayoutSign; in GetOutputArea()
1244 rParam.maClipRect.Right() += nAdd * nLayoutSign; in GetOutputArea()
1258 rParam.maClipRect.Left() -= nAdd * nLayoutSign; in GetOutputArea()
1269 rParam.maClipRect.Right() -= nMarkPixel * nLayoutSign; in GetOutputArea()
1276 rParam.maClipRect.Left() += nMarkPixel * nLayoutSign; in GetOutputArea()
1301 rParam.maAlignRect.Right() -= nFilter * nLayoutSign; in GetOutputArea()
1302 rParam.maClipRect.Right() -= nFilter * nLayoutSign; in GetOutputArea()
[all …]
H A Doutput3.cxx56 long nLayoutSign(bLayoutRTL ? -1 : 1); in PrePrintDrawingLayer() local
59 aOffset.X() -= pDoc->GetColWidth( nCol, nTab ) * nLayoutSign; in PrePrintDrawingLayer()
H A Dtabview3.cxx2050 long nLayoutSign = bLayoutRTL ? -1 : 1; in PaintArea() local
2056 aEnd.X() -= nLayoutSign; in PaintArea()
2066 aStart.X() -= nLayoutSign; // include change marks in PaintArea()
2080 aStart.X() -= nMarkPixel * nLayoutSign; in PaintArea()
2082 aStart.X() -= nLayoutSign; // cell grid in PaintArea()
2343 long nLayoutSign = bLayoutRTL ? -1 : 1; in PaintTopArea() local
2356 nEndX = aViewData.GetScrPos( nEndCol+1, 0, eWhich ).X() - nLayoutSign; in PaintTopArea()
H A Dtabview.cxx1986 long nLayoutSign = bLayoutRTL ? -1 : 1; in GetChartInsertPos() local
1988 …ng nDocX = (long)( (double) pDoc->GetColOffset( MAXCOL + 1, nTab ) * HMM_PER_TWIPS ) * nLayoutSign; in GetChartInsertPos()
1991 if ( aVisible.Left() * nLayoutSign > nDocX * nLayoutSign ) in GetChartInsertPos()
1993 if ( aVisible.Right() * nLayoutSign > nDocX * nLayoutSign ) in GetChartInsertPos()
H A Dprintfun.cxx1397 long nLayoutSign = bLayoutRTL ? -1 : 1; in PrintColHdr() local
1424 long nEndX = nPosX + nWidth * nLayoutSign; in PrintColHdr()
2041 long nLayoutSign = bLayoutRTL ? -1 : 1; in PrintPage() local
2223 …long nRepStartX = nInnerStartX + nHeaderWidth * nLayoutSign; // widths/heights are 0 if not used in PrintPage()
2225 long nDataX = nRepStartX + nRepeatWidth * nLayoutSign; in PrintPage()
2227 long nEndX = nDataX + nContentWidth * nLayoutSign; in PrintPage()
H A Dgridwin.cxx4625 long nLayoutSign = bLayoutRTL ? -1 : 1; in HitRangeFinder() local
4639 aNext.X() += nSizeXPix * nLayoutSign; in HitRangeFinder()
5564 long nLayoutSign = bLayoutRTL ? -1 : 1; in UpdateDragRectOverlay() local
5571 aScrPos.X() -= nLayoutSign; in UpdateDragRectOverlay()
5584 aScrPos.X() -= 2 * nLayoutSign; in UpdateDragRectOverlay()
5588 … aScrPos.X() + ( nSizeXPix + 2 ) * nLayoutSign, aScrPos.Y() + nSizeYPix + 2 ); in UpdateDragRectOverlay()
H A Dviewdata.cxx1907 long nLayoutSign = bLayoutRTL ? -1 : 1; in GetMouseQuadrant() local
1913 rLeft = ( rClickPos.X() - aCellStart.X() ) * nLayoutSign <= nSizeX / 2; in GetMouseQuadrant()
/AOO41X/main/sc/source/core/tool/
H A Deditutil.cxx116 long nLayoutSign = bLayoutRTL ? -1 : 1; in GetEditArea() local
139 aStartPos.X() += nPixDifX * nLayoutSign; in GetEditArea()