Home
last modified time | relevance | path

Searched refs:nPosX (Results 1 – 25 of 66) sorted by relevance

123

/aoo41x/main/sc/source/ui/view/
H A Dselect.cxx88 SCsCOL nPosX; in BeginDrag() local
134 SCCOL nHandleX = (nPosX >= (SCsCOL) nStartX) ? nPosX - nStartX : 0; in BeginDrag()
260 SCsCOL nPosX; in SetCursorAtPoint() local
274 do --nPosX; while ( nPosX>=0 && pDoc->ColHidden( nPosX, nTab ) ); in SetCursorAtPoint()
394 if ( nPosX+1 >= (SCsCOL) nStartX && nPosX <= (SCsCOL) nEndX && in SetCursorAtCell()
476 do ++nPosX; while ( nPosX<nStartX && pDoc->ColHidden(nPosX, nTab) ); in SetCursorAtCell()
507 nPosX = nEndX; in SetCursorAtCell()
555 if ( nPosX < nStartX ) nPosX = nStartX; in SetCursorAtCell()
645 SCsCOL nPosX; in IsSelectionAtPoint() local
806 SCsCOL nPosX; in SetCursorAtPoint() local
[all …]
H A Doutput.cxx298 long nPosX; in DrawGrid() local
342 nPosX = nScrX; in DrawGrid()
537 nPosX = nScrX; in DrawGrid()
568 nPosX = nNextX; in DrawGrid()
827 long nPosX = nScrX; in DrawBackground() local
830 aRect = Rectangle( nPosX,nPosY, nPosX,nPosY+nRowHeight-nOneY ); in DrawBackground()
1116 …return (bSnapPixel && nPosX) ? rDev.PixelToLogic( rDev.LogicToPixel( Size( nPosX, 0 ) ) ).Width() … in lclGetSnappedX()
1443 long nPosX = 0; in DrawRotatedFrame() local
1918 long nPosX = nScrX; in DrawRefMark() local
1926 nMinX = nPosX; in DrawRefMark()
[all …]
H A Dtabview.cxx671 Rectangle( nPosX, nPosY, nPosX+nSizeX, nPosY+nSizeY ), pFrameWin ); in DoResize()
700 nOutPosX = nPosX; in DoResize()
723 nPosX += nBarX; in DoResize()
1947 long nPosX = 0; in GetInsertPos() local
1950 nPosX = (long)(nPosX * HMM_PER_TWIPS); in GetInsertPos()
1952 nPosX = -nPosX; in GetInsertPos()
2227 SCsCOL nPosX; in SnapSplitPos() local
2235 ++nPosX; in SnapSplitPos()
2259 SCsCOL nPosX; in FreezeSplitters() local
2278 ++nPosX; in FreezeSplitters()
[all …]
H A Dgridwin2.cxx295 SCsCOL nPosX; in DPTestMouse() local
682 SCsCOL nPosX; in HitPageBreak() local
692 nHitX = nPosX; in HitPageBreak()
721 sal_Bool bInsideH = ( nPosX >= aRange.aStart.Col() && nPosX <= aRange.aEnd.Col() ); in HitPageBreak()
855 SCsCOL nPosX; in PagebreakMove() local
860 if ( !bLeft ) ++nPosX; in PagebreakMove()
875 aDrawRange.aStart.SetCol( nPosX ); in PagebreakMove()
876 aDrawRange.aEnd.SetCol( nPosX - 1 ); in PagebreakMove()
897 aDrawRange.aStart.SetCol( nPosX ); in PagebreakMove()
902 if ( nPosX > 0 ) in PagebreakMove()
[all …]
H A Dcellsh.cxx526 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()
605 pDoc->GetString( nPosX, nPosY, nTab, aString ); in GetState()
660 pDoc->GetCell( nPosX, nPosY, nTab, pCell ); in GetState()
721 if ( nPosX==0 || (pDoc->HasColBreak(nPosX, nTab) & BREAK_MANUAL) ) in GetState()
731 if ( nPosX==0 || (pDoc->HasColBreak(nPosX, nTab) & BREAK_MANUAL) == 0 ) in GetState()
898 if ( pNote && pDoc->IsBlockEditable( nTab, nPosX,nPosY, nPosX,nPosY ) ) in GetState()
[all …]
H A Dgridwin.cxx1581 SCsCOL nPosX; in HandleMouseButtonDown() local
1615 SCsCOL nPosX; in HandleMouseButtonDown() local
1703 SCsCOL nPosX; in HandleMouseButtonDown() local
2384 SCsCOL nPosX; in MouseMove() local
3370 SCsCOL nPosX; in AcceptPrivateDrop() local
4264 SCsCOL nPosX; in ExecuteDrop() local
4316 SCsCOL nPosX; in PasteSelection() local
4877 SCsCOL nPosX; in RFMouseMove() local
4951 SCsCOL nPosX; in GetEditUrlOrError() local
5549 if (nX1 < nPosX) nX1 = nPosX; in UpdateDragRectOverlay()
[all …]
H A Dtabvwsha.cxx102 SCCOL nPosX = pViewData->GetCurX(); in GetFunction() local
109 ScAddress aCursor( nPosX, nPosY, nTab ); 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()
651 pDoc->GetCell( nPosX, nPosY, nTab, pCell ); in UpdateInputHandler()
[all …]
H A Dgridwin5.cxx91 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 Dviewdata.cxx102 nPosX[0]=nPosX[1]=0; in ScViewDataTable()
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()
1580 for (nX=nPosX; nX>nWhereX;) in GetScrPos()
1658 nX = nPosX; // vorwaerts in CellsAtX()
1660 nX = nPosX-1; // rueckwaerts in CellsAtX()
1682 nX = (nPosX-1)-nX; in CellsAtX()
1949 pThisTab->nPosX[eWhich] = 0; in SetPosX()
1996 SCCOL nPosX = pThisTab->nPosX[eWhich]; in RecalcPixPos() local
[all …]
H A Dviewfun5.cxx86 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 Dprevloc.cxx338 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 Dgridwin4.cxx436 SCCOL nPosX = pViewData->GetPosX( eHWhich ); in Draw() local
438 if (nX2 < nPosX || nY2 < nPosY) in Draw()
440 if (nX1 < nPosX) nX1 = nPosX; in Draw()
449 maVisibleRange.mnCol1 = nPosX; in Draw()
1325 long nPosX = aScrPos.X(); in DrawButtons() local
1504 if (nTestX2 < nPosX || nTestY2 < nPosY) in InvertSimple()
1507 if (nX1 < nPosX) in InvertSimple()
1508 nX1 = nPosX; in InvertSimple()
1692 if (nTestX2 < nPosX || nTestY2 < nPosY) in GetSelectionRects()
1695 if (nX1 < nPosX) in GetSelectionRects()
[all …]
H A Dviewfun4.cxx697 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 Dtabview5.cxx645 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 Dtabview3.cxx118 --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()
309 if ( nPosX != nOldX || nPosY != nOldY || bNew ) in SetCursor()
320 aViewData.SetCurX( nPosX ); in SetCursor()
1201 nNewX=nPosX; in MoveCursorScreen()
1203 nNewX=nPosX+nAddX; in MoveCursorScreen()
1498 SCCOL nPosX = rRange.aStart.Col(); in MarkRange() local
1503 --nPosX; in MarkRange()
[all …]
H A Dprintfun.cxx1407 long nPosX = nScrX; in PrintColHdr() local
1414 nPosX -= nOneX; 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()
1494 long nPosX = nScrX - nOneX; in LocateColHdr() local
1499 nPosX += (long) (nDocW * nScaleX); in LocateColHdr()
1553 long nPosX = nScrX - nOneX; in LocateArea() local
1558 nPosX += (long) (nDocW * nScaleX); in LocateArea()
[all …]
H A Doutput2.cxx1379 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
2326 nPosX = nInitPosX; in DrawEdit()
2349 GetOutputArea( nXForPos, nArrYForPos, nPosX, nPosY, nCellX, nCellY, 0, in DrawEdit()
2976 nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign; in DrawEdit()
3034 long nPosX = 0; in DrawRotated() local
3094 long nStartX = nPosX; in DrawRotated()
[all …]
/aoo41x/main/chart2/source/controller/main/
H A DChartController_Position.cxx63 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 DPageNumber.cxx111 sal_Int32 nPosX = 0; in Execute() local
117 nPosX = getStyleProperty<sal_Int32>(m_xHoldAlive,PROPERTY_LEFTMARGIN); in Execute()
120nPosX = getStyleProperty<sal_Int32>(m_xHoldAlive,PROPERTY_LEFTMARGIN) + (aRptSize.Width - getStyle… in Execute()
123nPosX = (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 Dcsvruler.cxx554 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 Dvectdlg.cxx245 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 Dtexture.cxx652 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/inc/
H A Dviewdata.hxx135 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 = SC_SIZE_N…
/aoo41x/main/sc/source/ui/Accessibility/
H A DAccessibleCell.cxx578 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/app/
H A Dtransobj.cxx690 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()

Completed in 207 milliseconds

123