/aoo42x/main/sc/source/ui/view/ |
H A D | select.cxx | 89 SCsROW nPosY; in BeginDrag() local 135 SCROW nHandleY = (nPosY >= (SCsROW) nStartY) ? nPosY - nStartY : 0; in BeginDrag() 261 SCsROW nPosY; in SetCursorAtPoint() local 279 nPosY = pDoc->LastVisibleRow(0, nPosY, nTab); in SetCursorAtPoint() 395 nPosY+1 >= (SCsROW) nStartY && nPosY <= (SCsROW) nEndY && in SetCursorAtCell() 445 nPosY = nEndY; in SetCursorAtCell() 502 nPosY = nEndY; in SetCursorAtCell() 556 if ( nPosY < nStartY ) nPosY = nStartY; in SetCursorAtCell() 646 SCsROW nPosY; in IsSelectionAtPoint() local 807 SCsROW nPosY; in SetCursorAtPoint() local [all …]
|
H A D | output.cxx | 299 long nPosY; in DrawGrid() local 416 nPosY = nScrY; in DrawGrid() 450 nPosY = nNextY; in DrawGrid() 470 nPosY = nScrY; in DrawGrid() 803 long nPosY = nScrY; in DrawBackground() local 830 aRect = Rectangle( nPosX,nPosY, nPosX,nPosY+nRowHeight-nOneY ); in DrawBackground() 1083 long nPosY = nScrY; in DrawClear() local 1121 …return (bSnapPixel && nPosY) ? rDev.PixelToLogic( rDev.LogicToPixel( Size( 0, nPosY ) ) ).Height()… in lclGetSnappedY() 1425 long nPosY = nScrY; in DrawRotatedFrame() local 1719 long nPosY = nScrY; in SetChangedClip() local [all …]
|
H A D | tabview.cxx | 274 DrawLine( Point(0,nPosY), Point(nPosX,nPosY) ); in Paint() 671 Rectangle( nPosX, nPosY, nPosX+nSizeX, nPosY+nSizeY ), pFrameWin ); in DoResize() 674 Rectangle( nPosX, nPosY, nPosX+nSizeX, nPosY+nSizeY ), pFrameWin ); in DoResize() 701 nOutPosY = nPosY; in DoResize() 724 nPosY += nBarY; in DoResize() 1954 nPosY = (long)(nPosY * HMM_PER_TWIPS); in GetInsertPos() 2228 SCsROW nPosY; in SnapSplitPos() local 2237 ++nPosY; in SnapSplitPos() 2260 SCsROW nPosY; in FreezeSplitters() local 2280 ++nPosY; in FreezeSplitters() [all …]
|
H A D | gridwin2.cxx | 296 SCsROW nPosY; in DPTestMouse() local 683 SCsROW nPosY; in HitPageBreak() local 702 nHitY = nPosY; in HitPageBreak() 722 sal_Bool bInsideV = ( nPosY >= aRange.aStart.Row() && nPosY <= aRange.aEnd.Row() ); in HitPageBreak() 856 SCsROW nPosY; in PagebreakMove() local 861 if ( !bTop ) ++nPosY; in PagebreakMove() 887 aDrawRange.aStart.SetRow( nPosY ); in PagebreakMove() 888 aDrawRange.aEnd.SetRow( nPosY - 1 ); in PagebreakMove() 899 aDrawRange.aStart.SetRow( nPosY ); in PagebreakMove() 909 if ( nPosY > 0 ) in PagebreakMove() [all …]
|
H A D | cellsh.cxx | 527 SCROW nPosY = pData->GetCurY(); in GetState() local 562 ScAddress aPos( nPosX, nPosY, nTab ); in GetState() 571 rSet.Put( SfxInt32Item( nWhich, nPosY+1 ) ); in GetState() 585 pDoc->GetValue( nPosX, nPosY, nTab, nValue ); in GetState() 593 pDoc->GetFormula( nPosX, nPosY, nTab, aString ); in GetState() 605 pDoc->GetString( nPosX, nPosY, nTab, aString ); in GetState() 660 pDoc->GetCell( nPosX, nPosY, nTab, pCell ); in GetState() 716 if ( nPosY==0 || (pDoc->HasRowBreak(nPosY, nTab) & BREAK_MANUAL) ) in GetState() 726 if ( nPosY==0 || (pDoc->HasRowBreak(nPosY, nTab) & BREAK_MANUAL) == 0 ) in GetState() 898 if ( pNote && pDoc->IsBlockEditable( nTab, nPosX,nPosY, nPosX,nPosY ) ) in GetState() [all …]
|
H A D | gridwin.cxx | 1631 SCsROW nPosY; in HandleMouseButtonDown() local 1642 nPosY >= (SCsROW) nEditRow && nPosY <= (SCsROW) nEndRow ) in HandleMouseButtonDown() 1719 SCsROW nPosY; in HandleMouseButtonDown() local 2400 SCsROW nPosY; in MouseMove() local 3386 SCsROW nPosY; in AcceptPrivateDrop() local 4280 SCsROW nPosY; in ExecuteDrop() local 4332 SCsROW nPosY; in PasteSelection() local 4893 SCsROW nPosY; in RFMouseMove() local 4967 SCsROW nPosY; in GetEditUrlOrError() local 5566 if (nY1 < nPosY) nY1 = nPosY; in UpdateDragRectOverlay() [all …]
|
H A D | tabvwsha.cxx | 103 SCROW nPosY = pViewData->GetCurY(); in GetFunction() local 109 ScAddress aCursor( nPosX, nPosY, nTab ); in GetFunction() 127 pDoc->GetCell( nPosX, nPosY, nTab, pCell ); in GetFunction() 167 SCROW nPosY = pViewData->GetCurY(); in GetState() local 187 ScAddress aPos( nPosX, nPosY, nTab ); in GetState() 623 SCROW nPosY = pViewData->GetCurY(); in UpdateInputHandler() local 645 pDoc->GetAttr( nPosX,nPosY,nTab, in UpdateInputHandler() 653 pDoc->GetCellType( nPosX, nPosY, nTab, eType ); in UpdateInputHandler() 657 pDoc->GetFormula( nPosX, nPosY, nTab, aString ); in UpdateInputHandler() 662 pDoc->GetCell( nPosX, nPosY, nTab, pCell ); in UpdateInputHandler() [all …]
|
H A D | viewdata.cxx | 103 nPosY[0]=nPosY[1]=0; in ScViewDataTable() 945 return ScEditUtil( pDoc, nPosX, nPosY, nTabNo, GetScrPos(nPosX,nPosY,eWhich,sal_True), in GetEditArea() 1595 if (nWhereY >= nPosY) in GetScrPos() 1620 for (nY=nPosY; nY>nWhereY;) in GetScrPos() 1702 nY = nPosY; in CellsAtY() 1708 nY -= nPosY; in CellsAtY() 1713 nY = nPosY-1; in CellsAtY() 1719 nY = (nPosY-1)-nY; in CellsAtY() 1988 pThisTab->nPosY[eWhich] = 0; in SetPosY() 2002 SCROW nPosY = pThisTab->nPosY[eWhich]; in RecalcPixPos() local [all …]
|
H A D | gridwin5.cxx | 91 sal_Bool ScGridWindow::ShowNoteMarker( SCsCOL nPosX, SCsROW nPosY, sal_Bool bKeyboard ) in ShowNoteMarker() argument 97 ScAddress aCellPos( nPosX, nPosY, nTab ); in ShowNoteMarker() 269 SCsROW nPosY; in RequestHelp() local 270 pViewData->GetPosFromPixel( aPosPixel.X(), aPosPixel.Y(), eWhich, nPosX, nPosY ); in RequestHelp() 272 if ( ShowNoteMarker( nPosX, nPosY, sal_False ) ) in RequestHelp() 366 SCsROW nPosY; in RequestHelp() local 368 pViewData->GetPosFromPixel( aPosPixel.X(), aPosPixel.Y(), eWhich, nPosX, nPosY ); in RequestHelp() 369 const ScPatternAttr* pPattern = pDoc->GetPattern( nPosX, nPosY, nTab ); in RequestHelp() 374 aPixRect = pViewData->GetEditArea( eWhich, nPosX, nPosY, this, pPattern, sal_False ); in RequestHelp()
|
H A D | viewfun5.cxx | 86 SCCOL nPosX, SCROW nPosY, Point* pLogicPos, sal_Bool bLink, sal_Bool bAllowDialogs ) in PasteDataFormat() argument 109 sal_uLong nYT = pDoc->GetRowHeight( 0, nPosY-1, nTab); in PasteDataFormat() 168 SetCursor( nPosX, nPosY ); in PasteDataFormat() 307 PasteRTF( nPosX, nPosY, rxTransferable ); in PasteDataFormat() 312 ScAddress aCellPos( nPosX, nPosY, GetViewData()->GetTabNo() ); in PasteDataFormat() 386 ClickCursor(nPosX, nPosY, sal_False); // set cursor position in PasteDataFormat() 391 ScDBData* pDBData = pDocSh->GetDBData( ScRange(nPosX,nPosY,nTab), SC_DB_OLD, SC_DBSEL_KEEP ); in PasteDataFormat() 397 ScAddress aCellPos( nPosX,nPosY,nTab ); in PasteDataFormat() 577 MoveCursorAbs( nPosX, nPosY, SC_FOLLOW_NONE, sal_False, sal_False ); in PasteDataFormat() 629 bRet = PasteBookmark( nFormatId, rxTransferable, nPosX, nPosY ); in PasteDataFormat()
|
H A D | gridwin4.cxx | 437 SCROW nPosY = pViewData->GetPosY( eVWhich ); in Draw() local 438 if (nX2 < nPosX || nY2 < nPosY) in Draw() 441 if (nY1 < nPosY) nY1 = nPosY; in Draw() 451 maVisibleRange.mnRow1 = nPosY; in Draw() 1326 long nPosY = aScrPos.Y(); in DrawButtons() local 1504 if (nTestX2 < nPosX || nTestY2 < nPosY) in InvertSimple() 1509 if (nY1 < nPosY) in InvertSimple() 1510 nY1 = nPosY; in InvertSimple() 1692 if (nTestX2 < nPosX || nTestY2 < nPosY) in GetSelectionRects() 1697 if (nY1 < nPosY) in GetSelectionRects() [all …]
|
H A D | prevloc.cxx | 349 long nPosY = (long) pDoc->GetScaledRowHeight( rRange.aStart.Row(), in GetOffsetPixel() local 353 Size aOffsetLogic( nPosX, nPosY ); in GetOffsetPixel() 682 long nPosY = 0; in GetTableInfo() local 689 long nNextY = nPosY + (long) (nDocH * nScaleY); in GetTableInfo() 691 long nPixelStart = pWindow->LogicToPixel( Size( 0, nPosY ), aCellMapMode ).Height(); in GetTableInfo() 697 nPosY = nNextY; in GetTableInfo() 703 long nPosY = 0; in GetTableInfo() local 710 long nNextY = nPosY + (long) (nDocH * nScaleY); in GetTableInfo() 712 long nPixelStart = pWindow->LogicToPixel( Size( 0, nPosY ), aCellMapMode ).Height(); in GetTableInfo() 718 nPosY = nNextY; in GetTableInfo()
|
H A D | viewfun4.cxx | 698 SCROW nPosY = aRange.aStart.Row(); in PasteFile() local 700 InsertBookmark( aStrURL, aStrURL, nPosX, nPosY ); in PasteFile() 731 SCCOL nPosX, SCROW nPosY ) in PasteBookmark() argument 738 InsertBookmark( aBookmark.GetDescription(), aBookmark.GetURL(), nPosX, nPosY ); in PasteBookmark() 743 SCCOL nPosX, SCROW nPosY, const String* pTarget, in InsertBookmark() argument 749 nPosY >= pViewData->GetEditStartRow() && nPosY <= pViewData->GetEditEndRow() ) in InsertBookmark() 764 ScAddress aCellPos( nPosX, nPosY, nTab ); in InsertBookmark() 778 pDoc->GetInputString( nPosX, nPosY, nTab, aOld ); in InsertBookmark() 804 EnterData( nPosX, nPosY, nTab, pData ); in InsertBookmark()
|
H A D | tabview5.cxx | 646 SCROW nPosY = aViewData.GetPosY(WhichV(eWhich)); in MakeVisible() local 666 while (nScrollY > 0 && nPosY < MAXROW) in MakeVisible() 668 nScrollY -= (long) ( pDoc->GetRowHeight(nPosY, nTab) * nPPTY ); in MakeVisible() 669 ++nPosY; in MakeVisible() 673 while (nScrollY < 0 && nPosY > 0) in MakeVisible() 675 --nPosY; in MakeVisible() 676 nScrollY += (long) ( pDoc->GetRowHeight(nPosY, nTab) * nPPTY ); in MakeVisible()
|
H A D | printfun.cxx | 1415 long nPosY = nScrY - nOneY; in PrintColHdr() local 1459 long nPosY = nScrY - nOneY; in PrintRowHdr() local 1468 long nEndY = nPosY + nHeight; in PrintRowHdr() 1479 nPosY = nEndY; in PrintRowHdr() 1519 long nPosY = nScrY - nOneY; in LocateRowHdr() local 1521 Rectangle aCellRect( nScrX, nScrY, nEndX, nPosY ); in LocateRowHdr() 1561 long nPosY = nScrY - nOneY; in LocateArea() local 1563 Rectangle aCellRect( nScrX, nScrY, nPosX, nPosY ); in LocateArea() 1916 long nPosY = aPageRect.Top(); in DoNotes() local 1955 nPosY += nTextHeight; in DoNotes() [all …]
|
H A D | tabview3.cxx | 119 while (pDoc->IsVerOverlapped( nPosX, nPosY, nTab )) in ClickCursor() 120 --nPosY; in ClickCursor() 131 InitRefMode( nPosX, nPosY, nTab, SC_REFTYPE_REF ); in ClickCursor() 137 SetCursor( (SCCOL) nPosX, (SCROW) nPosY ); in ClickCursor() 309 if ( nPosX != nOldX || nPosY != nOldY || bNew ) in SetCursor() 321 aViewData.SetCurY( nPosY ); in SetCursor() 1206 nNewY=nPosY; in MoveCursorScreen() 1208 nNewY=nPosY+nAddY; in MoveCursorScreen() 1499 SCROW nPosY = rRange.aStart.Row(); in MarkRange() local 1505 --nPosY; in MarkRange() [all …]
|
H A D | output2.cxx | 1103 void ScOutputData::GetOutputArea( SCCOL nX, SCSIZE nArrY, long nPosX, long nPosY, in GetOutputArea() argument 1135 long nCellPosY = nPosY; // find nCellY position, starting at nArrY/nPosY in GetOutputArea() 1371 long nPosY = nScrY; in DrawStrings() local 1571 GetOutputArea( nX, nArrY, nPosX, nPosY, nCellX, nCellY, nNeededWidth, in DrawStrings() 1895 nPosY += pRowInfo[nArrY].nHeight; in DrawStrings() 2172 long nPosY = nRowPosY; in DrawEdit() local 2175 nPosY = nScrY; in DrawEdit() 2332 nPosY = nScrY; in DrawEdit() 2349 GetOutputArea( nXForPos, nArrYForPos, nPosX, nPosY, nCellX, nCellY, 0, in DrawEdit() 3056 long nPosY = nRowPosY; in DrawRotated() local [all …]
|
/aoo42x/main/chart2/source/controller/main/ |
H A D | ChartController_Position.cxx | 64 long nPosY(0); in lcl_getPositionAndSizeFromItemSet() local 75 nPosY=((const SfxInt32Item*)pPoolItem)->GetValue(); in lcl_getPositionAndSizeFromItemSet() 95 nPosY += ( aOriginalSize.Height - nSizY ) / 2; in lcl_getPositionAndSizeFromItemSet() 99 nPosY += ( aOriginalSize.Height - nSizY ) / 2; in lcl_getPositionAndSizeFromItemSet() 103 nPosY += ( aOriginalSize.Height - nSizY ) / 2; in lcl_getPositionAndSizeFromItemSet() 106 nPosY += aOriginalSize.Height - nSizY; in lcl_getPositionAndSizeFromItemSet() 110 nPosY += aOriginalSize.Height - nSizY; in lcl_getPositionAndSizeFromItemSet() 114 nPosY += aOriginalSize.Height - nSizY; in lcl_getPositionAndSizeFromItemSet() 120 rPosAndSize = awt::Rectangle(nPosX,nPosY,nSizX,nSizY); in lcl_getPositionAndSizeFromItemSet()
|
/aoo42x/main/framework/source/layoutmanager/ |
H A D | toolbarlayoutmanager.cxx | 2964 sal_Int32 nPosY( 0 ); in implts_calcDockingPosSize() local 3065 nPosY -= rTrackingRect.getHeight(); in implts_calcDockingPosSize() 3066 rTrackingRect.SetPos( Point( nPosX, nPosY )); in implts_calcDockingPosSize() 3101 nPosY = std::min( nPosY, in implts_calcDockingPosSize() 3112 rTrackingRect.SetPos( Point( nPosX, nPosY )); in implts_calcDockingPosSize() 3137 nPosY = pDockingAreaWindow->ScreenToOutputPixel( in implts_calcDockingPosSize() 3140 rUIElement.m_aDockedData.m_aPos.Y() = nPosY; in implts_calcDockingPosSize() 3158 sal_Int32 nPosY = rRowColRect.Top() + nRegion; in implts_determineDockingOperation() local 3160 if ( rMousePos.Y() < nPosY ) in implts_determineDockingOperation() 3232 nPosY = std::min( nPosY, in implts_calcTrackingAndElementRect() [all …]
|
/aoo42x/main/sd/source/ui/dlg/ |
H A D | vectdlg.cxx | 245 long nPosX, long nPosY, long nWidth, long nHeight ) in AddTile() argument 249 const long nBottom = nPosY + nHeight - 1L; in AddTile() 252 for( long nY = nPosY; nY <= nBottom; nY++ ) in AddTile() 268 Rectangle aRect( Point( nPosX, nPosY ), Size( nWidth + 1, nHeight + 1 ) ); in AddTile()
|
/aoo42x/main/drawinglayer/source/texture/ |
H A D | texture.cxx | 753 sal_Int32 nPosY(0); in appendTransformations() local 775 nPosY -= nDiff; in appendTransformations() 783 nPosY += nDiff; in appendTransformations() 805 … for(double fPosY(fStartY); basegfx::fTools::less(fPosY, 1.0); fPosY += fHeight, nPosY++) in appendTransformations() 807 … for(double fPosX(nPosY % 2 ? fStartX - fWidth + (mfOffsetX * fWidth) : fStartX); in appendTransformations()
|
/aoo42x/main/sc/source/ui/Accessibility/ |
H A D | AccessibleCell.cxx | 579 sal_uInt16 nPosY = sal_uInt16(maCellAddress.Row()); in IsDropdown() local 581 …sal_uInt32 nValidation = static_cast< const SfxUInt32Item* >( mpDoc->GetAttr( nPosX, nPosY, nTab, … in IsDropdown() 589 pAttr = (ScMergeFlagAttr*)mpDoc->GetAttr( nPosX, nPosY, nTab, ATTR_MERGE_FLAG ); in IsDropdown() 615 bHasScenario = (aRange.aStart.Col() == nPosX && aRange.aEnd.Row() == nPosY-1); in IsDropdown() 619 bHasScenario = (aRange.aStart.Col() == nPosX && aRange.aStart.Row() == nPosY+1); in IsDropdown()
|
/aoo42x/main/sc/source/ui/inc/ |
H A D | viewdata.hxx | 136 SCROW nPosY[2]; member in ScViewDataTable 279 SCROW GetPosY( ScVSplitPos eWhich ) const { return pThisTab->nPosY[eWhich]; } in GetPosY() 357 SCsCOL nPosX, SCsROW nPosY, sal_Bool& rLeft, sal_Bool& rTop ); 425 Rectangle GetEditArea( ScSplitPos eWhich, SCCOL nPosX, SCROW nPosY, Window* pWin, 437 …SCROW CellsAtY( SCsROW nPosY, SCsROW nDir, ScVSplitPos eWhichY, sal_uInt16 nScrSizeX = SC_SIZE_N…
|
/aoo42x/main/sc/source/ui/app/ |
H A D | transobj.cxx | 691 long nPosY = 0; in InitDocShell() local 695 nPosY += pDestDoc->GetRowHeight( 0, nStartY-1, 0 ); in InitDocShell() 697 nPosY = (long) ( nPosY * HMM_PER_TWIPS ); in InitDocShell() 724 Rectangle aNewArea( Point(nPosX,nPosY), Size(nSizeX,nSizeY) ); in InitDocShell()
|
/aoo42x/main/reportdesign/source/filter/xml/ |
H A D | xmlTable.cxx | 204 sal_Int32 nPosY = 0; in EndElement() local 267 … (*aCellIter)->setPosition(awt::Point(nPosX,nPosY)); in EndElement() 278 nPosY += m_aHeight[i]; in EndElement()
|