| /AOO41X/main/sc/source/ui/view/ |
| H A D | select.cxx | 88 SCsCOL nPosX; in BeginDrag() local 93 pViewData->GetPosFromPixel( aMPos.X(), aMPos.Y(), GetWhich(), nPosX, nPosY ); in BeginDrag() 97 nPosX = pViewData->GetCurX(); in BeginDrag() 134 SCCOL nHandleX = (nPosX >= (SCsCOL) nStartX) ? nPosX - nStartX : 0; in BeginDrag() 171 void ScViewFunctionSet::SetAnchor( SCCOL nPosX, SCROW nPosY ) in SetAnchor() argument 180 aAnchorPos.Set( nPosX, nPosY, nTab ); in SetAnchor() 187 aAnchorPos.Set( nPosX, nPosY, nTab ); in SetAnchor() 193 if ( bStarted && pView->IsMarking( nPosX, nPosY, nTab ) ) in SetAnchor() 200 aAnchorPos.Set( nPosX, nPosY, nTab ); in SetAnchor() 260 SCsCOL nPosX; in SetCursorAtPoint() local [all …]
|
| H A D | output.cxx | 298 long nPosX; in DrawGrid() local 342 nPosX = nScrX; in DrawGrid() 344 nPosX += nMirrorW - nOneX; in DrawGrid() 353 nPosX += nWidth * nLayoutSign; in DrawGrid() 448 aGrid.AddVerLine( nPosX-nSignedOneX, nPosY, nNextY-nOneY ); in DrawGrid() 458 aGrid.AddVerLine( nPosX-nSignedOneX, nScrY, nScrY+nScrH-nOneY ); in DrawGrid() 537 nPosX = nScrX; in DrawGrid() 539 nPosX += nMirrorW - nOneX; in DrawGrid() 544 nNextX = nPosX + pRowInfo[0].pCellInfo[i+1].nWidth * nLayoutSign; in DrawGrid() 545 if (nNextX != nPosX) // sichtbar in DrawGrid() [all …]
|
| H A D | tabview.cxx | 236 long nPosX = aSize.Width()-1; in Paint() local 244 long nDarkX = bLayoutRTL ? 0 : nPosX; in Paint() 265 DrawRect( Rectangle( 0, 0, nPosX, nCenterY-1 ) ); in Paint() 267 DrawRect( Rectangle( nCenterX+1, nCenterY, nPosX, nPosY ) ); in Paint() 274 DrawLine( Point(0,nPosY), Point(nPosX,nPosY) ); in Paint() 506 long nPosX = rOffset.X(); in DoResize() local 566 lcl_SetPosSize( aScrollBarBox, Point( nPosX+nSizeX, nPosY+nSizeY ), Size( nBarX, nBarY ), in DoResize() 618 lcl_SetPosSize( *pTabControl, Point(nPosX-nOverlap, nPosY+nSizeY), in DoResize() 622 lcl_SetPosSize( aHScrollLeft, Point(nPosX+nTabSize-nOverlap, nPosY+nSizeY), in DoResize() 624 lcl_SetPosSize( *pHSplitter, Point( nPosX+nTabSize+nSizeLt, nPosY+nSizeY ), in DoResize() [all …]
|
| H A D | gridwin2.cxx | 295 SCsCOL nPosX; in DPTestMouse() local 297 pViewData->GetPosFromPixel( aPixel.X(), aPixel.Y(), eWhich, nPosX, nPosY ); in DPTestMouse() 300 pViewData->GetMouseQuadrant( aPixel, eWhich, nPosX, nPosY, bMouseLeft, bMouseTop ); in DPTestMouse() 302 ScAddress aPos( nPosX, nPosY, pViewData->GetTabNo() ); in DPTestMouse() 682 SCsCOL nPosX; in HitPageBreak() local 684 pViewData->GetPosFromPixel( nMouseX, nMouseY, eWhich, nPosX, nPosY ); in HitPageBreak() 685 Point aTL = pViewData->GetScrPos( nPosX, nPosY, eWhich ); in HitPageBreak() 686 Point aBR = pViewData->GetScrPos( nPosX+1, nPosY+1, eWhich ); in HitPageBreak() 692 nHitX = nPosX; in HitPageBreak() 697 nHitX = nPosX+1; // linker Rand der naechsten Zelle in HitPageBreak() [all …]
|
| H A D | cellsh.cxx | 526 SCCOL nPosX = pData->GetCurX(); in GetState() local 562 ScAddress aPos( nPosX, nPosY, nTab ); in GetState() 575 rSet.Put( SfxInt16Item( nWhich, nPosX+1 ) ); in GetState() 585 pDoc->GetValue( nPosX, nPosY, nTab, nValue ); in GetState() 593 pDoc->GetFormula( nPosX, nPosY, nTab, aString ); in GetState() 596 pDoc->GetInputString( nPosX, nPosY, nTab, aString ); in GetState() 605 pDoc->GetString( nPosX, nPosY, nTab, aString ); in GetState() 660 pDoc->GetCell( nPosX, nPosY, nTab, pCell ); in GetState() 678 if ( !pDoc->HasSelectionData( nPosX, nPosY, nTab ) && in GetState() 721 if ( nPosX==0 || (pDoc->HasColBreak(nPosX, nTab) & BREAK_MANUAL) ) in GetState() [all …]
|
| H A D | gridwin.cxx | 1581 SCsCOL nPosX; in HandleMouseButtonDown() local 1583 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in HandleMouseButtonDown() 1585 SfxInt16Item aPosXItem( SID_RANGE_COL, nPosX ); in HandleMouseButtonDown() 1615 SCsCOL nPosX; in HandleMouseButtonDown() local 1617 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in HandleMouseButtonDown() 1626 if ( nPosX >= (SCsCOL) nEditCol && nPosX <= (SCsCOL) nEndCol && in HandleMouseButtonDown() 1703 SCsCOL nPosX; in HandleMouseButtonDown() local 1705 pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nPosX, nPosY ); in HandleMouseButtonDown() 1722 pDoc->GetAttr( nPosX, nPosY, nTab, ATTR_MERGE_FLAG ); in HandleMouseButtonDown() 1732 if (DoAutoFilterButton( nPosX, nPosY, rMEvt)) in HandleMouseButtonDown() [all …]
|
| H A D | tabvwsha.cxx | 102 SCCOL nPosX = pViewData->GetCurX(); in GetFunction() local 109 ScAddress aCursor( nPosX, nPosY, nTab ); in GetFunction() 123 pDoc->GetNumberFormat( nPosX, nPosY, nTab, nNumFmt ); in GetFunction() 127 pDoc->GetCell( nPosX, nPosY, nTab, pCell ); in GetFunction() 166 SCCOL nPosX = pViewData->GetCurX(); in GetState() local 187 ScAddress aPos( nPosX, nPosY, nTab ); in GetState() 611 SCCOL nPosX = pViewData->GetCurX(); in UpdateInputHandler() local 634 pDoc->GetAttr( nPosX,nPosY,nTab, in UpdateInputHandler() 642 pDoc->GetCellType( nPosX, nPosY, nTab, eType ); in UpdateInputHandler() 646 pDoc->GetFormula( nPosX, nPosY, nTab, aString ); in UpdateInputHandler() [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() 268 SCsCOL nPosX; in RequestHelp() local 270 pViewData->GetPosFromPixel( aPosPixel.X(), aPosPixel.Y(), eWhich, nPosX, nPosY ); in RequestHelp() 272 if ( ShowNoteMarker( nPosX, nPosY, sal_False ) ) in RequestHelp() 365 SCsCOL nPosX; 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 | viewdata.cxx | 102 nPosX[0]=nPosX[1]=0; in ScViewDataTable() 143 pSettings[SC_POSITION_LEFT].Value <<= sal_Int32(nPosX[SC_SPLIT_LEFT]); in WriteUserDataSequence() 145 pSettings[SC_POSITION_RIGHT].Value <<= sal_Int32(nPosX[SC_SPLIT_RIGHT]); in WriteUserDataSequence() 226 nPosX[SC_SPLIT_LEFT] = SanitizeCol( static_cast<SCCOL>(nTemp32)); in ReadUserDataSequence() 231 nPosX[SC_SPLIT_RIGHT] = SanitizeCol( static_cast<SCCOL>(nTemp32)); in ReadUserDataSequence() 941 Rectangle ScViewData::GetEditArea( ScSplitPos eWhich, SCCOL nPosX, SCROW nPosY, in GetEditArea() argument 945 return ScEditUtil( pDoc, nPosX, nPosY, nTabNo, GetScrPos(nPosX,nPosY,eWhich,sal_True), in GetEditArea() 1560 SCCOL nPosX = GetPosX(eWhichX); in GetScrPos() local 1564 if (nWhereX >= nPosX) in GetScrPos() 1565 for (nX=nPosX; nX<nWhereX && (bAllowNeg || nScrPosX<=aScrSize.Width()); nX++) in GetScrPos() [all …]
|
| H A D | viewfun5.cxx | 86 … SCCOL nPosX, SCROW nPosY, Point* pLogicPos, sal_Bool bLink, sal_Bool bAllowDialogs ) in PasteDataFormat() argument 105 for (SCCOL i=0; i<nPosX; i++) 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 | prevloc.cxx | 338 long nPosX = 0; in GetOffsetPixel() local 344 nPosX += (long) (nDocW * nScaleX); in GetOffsetPixel() 353 Size aOffsetLogic( nPosX, nPosY ); in GetOffsetPixel() 617 long nPosX = 0; in GetTableInfo() local 622 long nNextX = nPosX + (long) (nDocW * nScaleX); in GetTableInfo() 624 … long nPixelStart = pWindow->LogicToPixel( Size( nPosX, 0 ), aCellMapMode ).Width(); in GetTableInfo() 630 nPosX = nNextX; in GetTableInfo() 636 long nPosX = 0; in GetTableInfo() local 641 long nNextX = nPosX + (long) (nDocW * nScaleX); in GetTableInfo() 643 … long nPixelStart = pWindow->LogicToPixel( Size( nPosX, 0 ), aCellMapMode ).Width(); in GetTableInfo() [all …]
|
| H A D | gridwin4.cxx | 436 SCCOL nPosX = pViewData->GetPosX( eHWhich ); in Draw() local 438 if (nX2 < nPosX || nY2 < nPosY) in Draw() 440 if (nX1 < nPosX) nX1 = nPosX; in Draw() 443 SCCOL nXRight = nPosX + pViewData->VisibleCellsX(eHWhich); in Draw() 449 maVisibleRange.mnCol1 = nPosX; in Draw() 1325 long nPosX = aScrPos.X(); in DrawButtons() local 1332 … aCellBtn.setBoundingBox(Point(nPosX, nPosY), Size(nSizeX-1, nSizeY-1), bLayoutRTL); in DrawButtons() 1502 SCCOL nPosX = pViewData->GetPosX( eHWhich ); in InvertSimple() local 1504 if (nTestX2 < nPosX || nTestY2 < nPosY) in InvertSimple() 1507 if (nX1 < nPosX) in InvertSimple() [all …]
|
| H A D | viewfun4.cxx | 697 SCCOL nPosX = aRange.aStart.Col(); 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 748 nPosX >= pViewData->GetEditStartCol() && nPosX <= pViewData->GetEditEndCol() && 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 | 645 SCCOL nPosX = aViewData.GetPosX(WhichH(eWhich)); in MakeVisible() local 651 while (nScrollX > 0 && nPosX < MAXCOL) in MakeVisible() 653 nScrollX -= (long) ( pDoc->GetColWidth(nPosX, nTab) * nPPTX ); in MakeVisible() 654 ++nPosX; in MakeVisible() 658 while (nScrollX < 0 && nPosX > 0) in MakeVisible() 660 --nPosX; in MakeVisible() 661 nScrollX += (long) ( pDoc->GetColWidth(nPosX, nTab) * nPPTX ); in MakeVisible()
|
| H A D | tabview3.cxx | 113 void ScTabView::ClickCursor( SCCOL nPosX, SCROW nPosY, sal_Bool bControl ) in ClickCursor() argument 117 while (pDoc->IsHorOverlapped( nPosX, nPosY, nTab )) //! ViewData !!! in ClickCursor() 118 --nPosX; in ClickCursor() 119 while (pDoc->IsVerOverlapped( nPosX, nPosY, nTab )) in ClickCursor() 131 InitRefMode( nPosX, nPosY, nTab, SC_REFTYPE_REF ); in ClickCursor() 137 SetCursor( (SCCOL) nPosX, (SCROW) nPosY ); in ClickCursor() 302 void ScTabView::SetCursor( SCCOL nPosX, SCROW nPosY, sal_Bool bNew ) in SetCursor() argument 309 if ( nPosX != nOldX || nPosY != nOldY || bNew ) in SetCursor() 320 aViewData.SetCurX( nPosX ); in SetCursor() 1190 SCCOL nPosX = aViewData.GetPosX( WhichH(eWhich) ); in MoveCursorScreen() local [all …]
|
| H A D | printfun.cxx | 1407 long nPosX = nScrX; in PrintColHdr() local 1411 nPosX += (long)( pDoc->GetColWidth( nCol, nPrintTab ) * nScaleX ); in PrintColHdr() 1414 nPosX -= nOneX; in PrintColHdr() 1424 long nEndX = nPosX + nWidth * nLayoutSign; in PrintColHdr() 1426 pDev->DrawRect( Rectangle( nPosX,nPosY,nEndX,nEndY ) ); in PrintColHdr() 1433 long nTextPosX = nPosX+nAddX; in PrintColHdr() 1438 nPosX = nEndX; in PrintColHdr() 1453 long nPosX = nScrX; in PrintRowHdr() local 1457 nPosX -= nOneX; in PrintRowHdr() 1470 pDev->DrawRect( Rectangle( nPosX,nPosY,nEndX,nEndY ) ); in PrintRowHdr() [all …]
|
| H A D | output2.cxx | 1103 void ScOutputData::GetOutputArea( SCCOL nX, SCSIZE nArrY, long nPosX, long nPosY, in GetOutputArea() argument 1115 long nCellPosX = nPosX; // find nCellX position, starting at nX/nPosX in GetOutputArea() 1379 long nPosX = nInitPosX; in DrawStrings() local 1381 nPosX -= pRowInfo[0].pCellInfo[nLoopStartX+1].nWidth * nLayoutSign; in DrawStrings() 1571 GetOutputArea( nX, nArrY, nPosX, nPosY, nCellX, nCellY, nNeededWidth, in DrawStrings() 1892 nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign; in DrawStrings() 2158 long nPosX = 0; in DrawEdit() local 2161 …if (nX==nX1) nPosX = nInitPosX; // positions before nX1 are calculated individually in DrawEdit() 2326 nPosX = nInitPosX; in DrawEdit() 2349 … GetOutputArea( nXForPos, nArrYForPos, nPosX, nPosY, nCellX, nCellY, 0, in DrawEdit() [all …]
|
| /AOO41X/main/chart2/source/controller/main/ |
| H A D | ChartController_Position.cxx | 63 long nPosX(0); in lcl_getPositionAndSizeFromItemSet() local 73 nPosX=((const SfxInt32Item*)pPoolItem)->GetValue(); in lcl_getPositionAndSizeFromItemSet() 89 nPosX += ( aOriginalSize.Width - nSizX ) / 2; in lcl_getPositionAndSizeFromItemSet() 92 nPosX += aOriginalSize.Width - nSizX; in lcl_getPositionAndSizeFromItemSet() 98 nPosX += ( aOriginalSize.Width - nSizX ) / 2; in lcl_getPositionAndSizeFromItemSet() 102 nPosX += aOriginalSize.Width - nSizX; in lcl_getPositionAndSizeFromItemSet() 109 nPosX += ( aOriginalSize.Width - nSizX ) / 2; in lcl_getPositionAndSizeFromItemSet() 113 nPosX += aOriginalSize.Width - nSizX; in lcl_getPositionAndSizeFromItemSet() 120 rPosAndSize = awt::Rectangle(nPosX,nPosY,nSizX,nSizY); in lcl_getPositionAndSizeFromItemSet()
|
| /AOO41X/main/reportdesign/source/ui/dlg/ |
| H A D | PageNumber.cxx | 111 sal_Int32 nPosX = 0; in Execute() local 117 nPosX = getStyleProperty<sal_Int32>(m_xHoldAlive,PROPERTY_LEFTMARGIN); in Execute() 120 …nPosX = getStyleProperty<sal_Int32>(m_xHoldAlive,PROPERTY_LEFTMARGIN) + (aRptSize.Width - getStyle… in Execute() 123 …nPosX = (aRptSize.Width - getStyleProperty<sal_Int32>(m_xHoldAlive,PROPERTY_RIGHTMARGIN) - nContro… in Execute() 127 nPosX = getStyleProperty<sal_Int32>(m_xHoldAlive,PROPERTY_LEFTMARGIN); in Execute() 134 nPosX = nPos2X; in Execute() 139 aValues[nLength++].Value <<= awt::Point(nPosX,0); in Execute()
|
| /AOO41X/main/sc/source/ui/dbgui/ |
| H A D | csvruler.cxx | 554 void ScCsvRuler::ImplDrawArea( sal_Int32 nPosX, sal_Int32 nWidth ) in ImplDrawArea() argument 557 Rectangle aRect( Point( nPosX, 0 ), Size( nWidth, GetHeight() ) ); in ImplDrawArea() 562 aRect.Left() = Max( GetFirstX(), nPosX ); in ImplDrawArea() 563 … aRect.Right() = Min( Min( GetX( GetPosCount() ), GetLastX() ), nPosX + nWidth - sal_Int32( 1 ) ); in ImplDrawArea() 572 maBackgrDev.DrawLine( Point( nPosX, nY ), Point( nPosX + nWidth - 1, nY ) ); in ImplDrawArea()
|
| /AOO41X/main/sd/source/ui/dlg/ |
| H A D | vectdlg.cxx | 245 long nPosX, long nPosY, long nWidth, long nHeight ) in AddTile() argument 248 const long nRight = nPosX + nWidth - 1L; in AddTile() 254 for( long nX = nPosX; nX <= nRight; nX++ ) in AddTile() 268 Rectangle aRect( Point( nPosX, nPosY ), Size( nWidth + 1, nHeight + 1 ) ); in AddTile()
|
| /AOO41X/main/drawinglayer/source/texture/ |
| H A D | texture.cxx | 652 sal_Int32 nPosX(0); in appendTransformations() local 659 nPosX -= nDiff; in appendTransformations() 667 nPosX += nDiff; in appendTransformations() 689 … for(double fPosX(fStartX); basegfx::fTools::less(fPosX, 1.0); fPosX += fWidth, nPosX++) in appendTransformations() 691 … for(double fPosY(nPosX % 2 ? fStartY - fHeight + (mfOffsetY * fHeight) : fStartY); in appendTransformations()
|
| /AOO41X/main/sc/source/ui/Accessibility/ |
| H A D | AccessibleCell.cxx | 578 sal_uInt16 nPosX = maCellAddress.Col(); 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()
|
| /AOO41X/main/sc/source/ui/inc/ |
| H A D | viewdata.hxx | 135 SCCOL nPosX[2]; member in ScViewDataTable 278 SCCOL GetPosX( ScHSplitPos eWhich ) const { return pThisTab->nPosX[eWhich]; } in GetPosX() 357 … SCsCOL nPosX, SCsROW nPosY, sal_Bool& rLeft, sal_Bool& rTop ); 425 Rectangle GetEditArea( ScSplitPos eWhich, SCCOL nPosX, SCROW nPosY, Window* pWin, 436 …SCCOL CellsAtX( SCsCOL nPosX, SCsCOL nDir, ScHSplitPos eWhichX, sal_uInt16 nScrSizeY = S…
|
| /AOO41X/main/sc/source/ui/app/ |
| H A D | transobj.cxx | 690 long nPosX = 0; in InitDocShell() local 694 nPosX += pDestDoc->GetColWidth( nCol, 0 ); in InitDocShell() 696 nPosX = (long) ( nPosX * HMM_PER_TWIPS ); in InitDocShell() 724 Rectangle aNewArea( Point(nPosX,nPosY), Size(nSizeX,nSizeY) ); in InitDocShell()
|