/trunk/main/sw/source/core/doc/ |
H A D | docfld.cxx | 568 SwPosition aPos( *pTblNd ); in UpdateTblFlds() local 572 &aPos.nContent )); in UpdateTblFlds() 639 SwPosition aPos( *pCNd ); in UpdateTblFlds() local 900 SwPosition aPos( aIdx ); in SetBodyPos() local 904 ::GetBodyTxtNode( rDoc, aPos, rFrm ); in SetBodyPos() 906 nNode = aPos.nNode.GetIndex(); in SetBodyPos() 907 nCntnt = aPos.nContent.GetIndex(); in SetBodyPos() 2560 GetBodyTxtNode( rDoc, aPos, *pFrm ); in GetBodyNode() 2562 pNew = new _SetGetExpFld( aPos.nNode, &rTFld, &aPos.nContent ); in GetBodyNode() 2593 SwPosition aPos( rSectNd ); in GetBodyNode() local [all …]
|
/trunk/main/svx/source/gallery2/ |
H A D | galctrl.cxx | 173 const Point aPos( aPreviewRect.TopLeft() ); in Paint() local 177 aGraphicObj.StartAnimation( this, aPos, aSize ); in Paint() 179 aGraphicObj.Draw( this, aPos, aSize ); in Paint() 419 const Point aPos( in UserDraw() local 427 drawTransparenceBackground(*pDev, aPos, aBitmapExSizePixel); in UserDraw() 430 pDev->DrawBitmapEx(aPos, aBitmapEx); in UserDraw() 762 const Point aPos( in PaintField() local 769 drawTransparenceBackground(rDev, aPos, aBitmapExSizePixel); in PaintField() 772 rDev.DrawBitmapEx(aPos, aBitmapEx); in PaintField()
|
/trunk/main/svx/inc/svx/ |
H A D | svdglue.hxx | 64 Point aPos; member in SdrGluePoint 73 …SdrGluePoint(const Point& rNewPos, FASTBOOL bNewPercent=sal_True, sal_uInt16 nNewAlign=0): aPos(rN… in SdrGluePoint() 74 …bool operator==(const SdrGluePoint& rCmpGP) const { return aPos==rCmpGP.aPos && nEscDir==rCmpGP.… in operator ==() 76 const Point& GetPos() const { return aPos; } in GetPos() 77 void SetPos(const Point& rNewPos) { aPos=rNewPos; } in SetPos()
|
/trunk/main/sw/source/core/inc/ |
H A D | blink.hxx | 37 Point aPos; member in SwBlinkPortion 45 { pPor = pPort; pFrm = pBlink->pFrm; aPos = pBlink->aPos; nDir = pBlink->nDir; } in SwBlinkPortion() 46 void SetPos( const Point& aNew ){ aPos = aNew; } in SetPos() 47 const Point& GetPos() const{ return aPos; } in GetPos()
|
/trunk/main/sc/source/core/data/ |
H A D | postit.cxx | 782 for( ScAddress aPos( rRange.aStart ); aPos.Tab() <= rRange.aEnd.Tab(); aPos.IncTab() ) in UpdateCaptionPositions() local 783 for( aPos.SetCol( rRange.aStart.Col() ); aPos.Col() <= rRange.aEnd.Col(); aPos.IncCol() ) in UpdateCaptionPositions() 784 … for( aPos.SetRow( rRange.aStart.Row() ); aPos.Row() <= rRange.aEnd.Row(); aPos.IncRow() ) in UpdateCaptionPositions() 785 if( ScPostIt* pNote = rDoc.GetNote( aPos ) ) in UpdateCaptionPositions() 786 pNote->UpdateCaptionPos( aPos ); in UpdateCaptionPositions()
|
/trunk/main/sc/source/ui/view/ |
H A D | gridwin3.cxx | 338 Point aPos = pViewData->GetScrPos( rAddress.Col(), rAddress.Row(), eWhich, sal_True ); in CreateAnchorHandle() local 339 aPos = PixelToLogic(aPos); in CreateAnchorHandle() 340 rHdl.AddHdl(new SdrHdl(aPos, bNegativePage ? HDL_ANCHOR_TR : HDL_ANCHOR)); in CreateAnchorHandle() 401 Point aPos = PixelToLogic(aCurMousePos); in UpdateStatusPosSize() local 402 pPV->LogicToPagePos(aPos); in UpdateStatusPosSize() 403 aSet.Put( SfxPointItem( SID_ATTR_POSITION, aPos ) ); in UpdateStatusPosSize()
|
H A D | tabvwshg.cxx | 112 Point aPos; in InsertURLButton() local 114 aPos = *pInsPos; in InsertURLButton() 116 aPos = GetInsertPos(); in InsertURLButton() 122 aPos.X() -= aSize.Width(); in InsertURLButton() 124 pObj->SetLogicRect(Rectangle(aPos, aSize)); in InsertURLButton()
|
H A D | viewfun6.cxx | 143 ScAddress aPos( rViewData.GetCurX(), rViewData.GetCurY(), rViewData.GetTabNo() ); in ShowNote() local 145 rViewData.GetDocShell()->GetDocFunc().ShowNote( aPos, bShow ); in ShowNote() 157 ScAddress aPos( nCol, nRow, nTab ); in EditNote() local 166 if( ScPostIt* pNote = pDoc->GetOrCreateNote( aPos ) ) in EditNote() 171 pNote->ShowCaptionTemp( aPos ); in EditNote()
|
/trunk/main/svx/source/dialog/ |
H A D | hyperdlg.cxx | 79 if( aParentSize.Width() < pInfo->aPos.X() ) in SvxHlinkDlgWrapper() 80 pInfo->aPos.setX( aParentSize.Width()-aDlgSize.Width() < long(0.1*aParentSize.Width()) ? in SvxHlinkDlgWrapper() 82 if( aParentSize.Height() < pInfo->aPos. Y() ) in SvxHlinkDlgWrapper() 83 pInfo->aPos.setY( aParentSize.Height()-aDlgSize.Height() < long(0.1*aParentSize.Height()) ? in SvxHlinkDlgWrapper() 86 pWindow->SetPosPixel( pInfo->aPos ); in SvxHlinkDlgWrapper()
|
/trunk/main/editeng/source/editeng/ |
H A D | editview.cxx | 1002 Point aPos ( pImpEditView->GetWindow()->PixelToLogic( rPosPixel ) ); in IsWrongSpelledWordAtPos() local 1003 aPos = pImpEditView->GetDocPos( aPos ); in IsWrongSpelledWordAtPos() 1034 Point aPos ( pImpEditView->GetWindow()->PixelToLogic( rPosPixel ) ); in ExecuteSpellPopup() local 1035 aPos = pImpEditView->GetDocPos( aPos ); in ExecuteSpellPopup() 1362 Point aPos = pImpEditView->GetWindow()->GetPointerPosPixel(); in GetFieldUnderMousePointer() local 1363 aPos = pImpEditView->GetWindow()->PixelToLogic( aPos ); in GetFieldUnderMousePointer() 1364 return GetField( aPos, &nPara, &nPos ); in GetFieldUnderMousePointer() 1407 Point aPos = pImpEditView->GetWindow()->GetPointerPosPixel(); in GetWordUnderMousePointer() local 1408 aPos = pImpEditView->GetWindow()->PixelToLogic( aPos ); in GetWordUnderMousePointer() 1412 if( GetOutputArea().IsInside( aPos ) ) in GetWordUnderMousePointer() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | grviewsh.cxx | 114 Point aPos (0, maViewSize.Height() - aSize.Height()); in ArrangeGUIElements() local 116 mpLayerTabBar->SetPosSizePixel (aPos, aSize); in ArrangeGUIElements() 143 Point aPos = pTabBar->GetPosPixel(); in IMPL_LINK() local 144 aPos.X() += aTabSize.Width(); in IMPL_LINK() 147 mpHorizontalScrollBar->SetPosSizePixel(aPos, aScrSize); in IMPL_LINK()
|
/trunk/main/sw/source/ui/shells/ |
H A D | grfshex.cxx | 114 Point aPos( rVisArea.Center() ); in InsertMediaDlg() local 118 aPos.X() = aDocSz.Width() / 2 + rVisArea.Left(); in InsertMediaDlg() 121 aPos.Y() = aDocSz.Height() / 2 + rVisArea.Top(); in InsertMediaDlg() 133 SdrMediaObj* pObj = new SdrMediaObj( Rectangle( aPos, aSize ) ); in InsertMediaDlg() 137 rSh.SwFEShell::InsertDrawObj( *pObj, aPos ); in InsertMediaDlg()
|
/trunk/main/svx/source/form/ |
H A D | fmpage.cxx | 211 Point aPos = rEvt.GetMousePosPixel(); in RequestHelp() local 212 aPos = pWindow->ScreenToOutputPixel( aPos ); in RequestHelp() 213 aPos = pWindow->PixelToLogic( aPos ); in RequestHelp() 217 if ( !pView->PickObj( aPos, 0, pObj, pPV, SDRSEARCH_DEEP ) ) in RequestHelp()
|
/trunk/main/reportdesign/source/ui/misc/ |
H A D | statusbarcontroller.cxx | 181 const ::com::sun::star::awt::Point& aPos, in command() 188 m_rController->command( aPos, nCommand, bMouseEvent, aData ); in command() 202 const ::com::sun::star::awt::Point& aPos ) in click() 206 m_rController->click( aPos ); in click() 210 const ::com::sun::star::awt::Point& aPos ) in doubleClick() 214 m_rController->doubleClick( aPos ); in doubleClick()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | advancedsettings.cxx | 132 Point aPos( m_aTopLine.GetPosPixel() ); in SpecialSettingsPage() local 133 aPos.Move( 0, m_aTopLine.GetSizePixel().Height() ); in SpecialSettingsPage() 135 aPos.Move( aFirstDistance.Width(), aFirstDistance.Height() ); in SpecialSettingsPage() 147 (*setting->ppControl)->SetPosPixel( aPos ); in SpecialSettingsPage() 148 aPos.Move( 0, (*setting->ppControl)->GetSizePixel().Height() ); in SpecialSettingsPage() 149 aPos.Move( 0, aUnrelatedControls.Height() ); in SpecialSettingsPage() 162 long nMoveUp = aControlPos.Y() - aPos.Y(); in SpecialSettingsPage() 177 long nMoveUp = aControlPos.Y() - aPos.Y(); in SpecialSettingsPage()
|
/trunk/main/automation/source/server/ |
H A D | statemnt.cxx | 3807 Point aPos = pControl->GetPosPixel(); in HandleVisibleControls() local 3808 aPos = pControl->GET_REAL_PARENT()->OutputToScreenPixel( aPos ); in HandleVisibleControls() 3826 Point aPos = pControl->GetPosPixel(); in HandleVisibleControls() local 3827 aPos = pControl->GET_REAL_PARENT()->OutputToScreenPixel( aPos ); in HandleVisibleControls() 4129 … aPos = pActualWin->AbsoluteScreenToOutputPixel( pControl->OutputToAbsoluteScreenPixel ( aPos ) ); in HandleCommonMethods() 4134 AnimateMouse( pActualWin, aPos ); in HandleCommonMethods() 4148 … aPos = pActualWin->AbsoluteScreenToOutputPixel( pControl->OutputToAbsoluteScreenPixel ( aPos ) ); in HandleCommonMethods() 4153 AnimateMouse( pActualWin, aPos ); in HandleCommonMethods() 4174 AnimateMouse( pActualWin, aPos ); in HandleCommonMethods() 4195 AnimateMouse( pActualWin, aPos ); in HandleCommonMethods() [all …]
|
/trunk/main/svx/source/accessibility/ |
H A D | ChildrenManagerImpl.cxx | 333 awt::Point aPos; in CreateListOfVisibleShapes() local 340 aPos = xShape->getPosition(); in CreateListOfVisibleShapes() 343 aBoundingBox.nLeft = aPos.X; in CreateListOfVisibleShapes() 344 aBoundingBox.nTop = aPos.Y; in CreateListOfVisibleShapes() 345 aBoundingBox.nRight = aPos.X + aSize.Width; in CreateListOfVisibleShapes() 346 aBoundingBox.nBottom = aPos.Y + aSize.Height; in CreateListOfVisibleShapes() 472 awt::Point aPos = rxShape->getPosition(); in AddShape() local 476 aPos.X, in AddShape() 477 aPos.Y, in AddShape() 478 aPos.X + aSize.Width, in AddShape() [all …]
|
/trunk/main/chart2/source/view/main/ |
H A D | VLegend.cxx | 633 awt::Point aPos(0,0); in lcl_placeLegendEntries() local 637 aPos = xSymbol->getPosition(); in lcl_placeLegendEntries() 638 aPos.X += nLegendWidth; in lcl_placeLegendEntries() 639 xSymbol->setPosition( aPos ); in lcl_placeLegendEntries() 641 aPos = xText->getPosition(); in lcl_placeLegendEntries() 642 aPos.X += nLegendWidth; in lcl_placeLegendEntries() 643 xText->setPosition( aPos ); in lcl_placeLegendEntries() 1017 awt::Point aPos = lcl_calculatePositionAndRemainingSpace( in changePosition() local 1019 m_xShape->setPosition( aPos ); in changePosition() 1025 awt::Point aPos = lcl_calculatePositionAndRemainingSpace( in changePosition() local [all …]
|
/trunk/main/sw/source/ui/ribbar/ |
H A D | inputwin.cxx | 67 aPos( this, SW_RES(ED_POS)), in SFX_IMPL_POS_CHILDWINDOW() 93 InsertWindow( ED_POS, &aPos, 0, 0); in SFX_IMPL_POS_CHILDWINDOW() 95 aPos.SetAccessibleName(String(SW_RES(STR_ACCESS_FORMULA_TYPE))); in SFX_IMPL_POS_CHILDWINDOW() 123 Size aPosSize = aPos.GetSizePixel(); in SFX_IMPL_POS_CHILDWINDOW() 126 Point aPosPos = aPos.GetPosPixel(); in SFX_IMPL_POS_CHILDWINDOW() 130 aPos.SetPosSizePixel( aPosPos, aPosSize ); in SFX_IMPL_POS_CHILDWINDOW() 234 aPos.SetText( rPos.Copy( ++nSrch ) ); in ShowWin() 238 aPos.SetText(SW_RESSTR(STR_TBL_FORMULA)); in ShowWin()
|
/trunk/main/vcl/source/window/ |
H A D | brdwin.cxx | 428 pData->mnTrackX = aPos.X(); in ImplMouseButtonDown() 429 pData->mnTrackY = aPos.Y(); in ImplMouseButtonDown() 802 Point aPos = pBorderWindow->GetPosPixel(); in ImplTracking() local 803 aPos.X() += aMousePos.X(); in ImplTracking() 804 aPos.Y() += aMousePos.Y(); in ImplTracking() 807 pBorderWindow->SetPosPixel( aPos ); in ImplTracking() 813 pData->mnTrackX = aPos.X(); in ImplTracking() 814 pData->mnTrackY = aPos.Y(); in ImplTracking() 1807 Point aPos( pData->maPinRect.TopLeft() ); in DrawWindow() local 1809 aPos.Move( pOffset->X(), pOffset->Y() ); in DrawWindow() [all …]
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | ViewsWindow.cxx | 323 TSectionsMap::iterator aPos = getIteratorAtPos(_nPosition); in removeSection() local 328 m_aSections.erase(aPos); in removeSection() 1689 Point aPos; in handleKey() local 1692 aPos.X() = aMarkRect.Left(); in handleKey() 1699 aPos.Y() = aOver.Bottom(); in handleKey() 1705 aPos.Y() = aMarkRect.Top(); in handleKey() 1710 aPos.X() = aOver.Right(); in handleKey() 1711 aPos.Y() = aMarkRect.Top(); in handleKey() 1715 aMarkRect.SetPos(aPos); in handleKey() 1873 const Point aPos(PixelToLogic(_aThumbPos)); in scrollChildren() local [all …]
|
/trunk/main/oox/source/dump/ |
H A D | xlsbdumper.cxx | 287 Address aPos; in dumpAddress() local 288 readAddress( aPos ); in dumpAddress() 289 writeAddressItem( rName( "addr" ), aPos ); in dumpAddress() 290 return aPos; in dumpAddress() 526 TokenAddress aPos; in createTokenAddress() local 527 aPos.mnCol = nCol; in createTokenAddress() 529 aPos.mbRelCol = bRelC; in createTokenAddress() 530 aPos.mnRow = nRow; in createTokenAddress() 532 aPos.mbRelRow = bRelR; in createTokenAddress() 533 return aPos; in createTokenAddress() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | detfunc.cxx | 326 Point aPos; in GetDrawPos() local 337 aPos.X() += pDoc->GetColWidth( nCol, nTab ) / 4; in GetDrawPos() 341 aPos.X() += 6; in GetDrawPos() 351 aPos.X() -= 6; in GetDrawPos() 357 aPos.X() += pDoc->GetColWidth( i, nTab ); in GetDrawPos() 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() 364 aPos.X() *= -1; in GetDrawPos() 366 return aPos; in GetDrawPos() 1486 ScAddress aPos; in UpdateAllArrowColors() local [all …]
|
/trunk/main/starmath/source/ |
H A D | view.cxx | 174 Point aPos (PixelToLogic(rMEvt.GetPosPixel()) in MouseButtonDown() local 179 if (pTree->OrientedDist(aPos) <= 0) in MouseButtonDown() 180 pNode = pTree->FindRectClosestTo(aPos); in MouseButtonDown() 365 Point aPos(5, 5); in Command() local 713 if (aPos.X() < 0) in AdjustPosition() 714 aPos.X() = 0; in AdjustPosition() 715 if (aPos.Y() < 0) in AdjustPosition() 716 aPos.Y() = 0; in AdjustPosition() 717 SetPosPixel( aPos ); in AdjustPosition() 1192 aPos = rOutDev.PixelToLogic(rOutDev.LogicToPixel(aPos, MapMode(MAP_100TH_MM)), in Impl_Print() [all …]
|
/trunk/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 186 SwPosition aPos( *pDstNd, SwIndex( pDstNd )); in lcl_CpyBreakAttrs() local 187 aPos.nNode--; in lcl_CpyBreakAttrs() 188 pDstNd->GetDoc()->AppendTxtNode( aPos ); in lcl_CpyBreakAttrs() 190 *pNewIdx = aPos.nNode; in lcl_CpyBreakAttrs() 285 SwPosition aPos( pFlySave->nEndNd, in SetFlysInDoc() local 287 pDoc->SplitNode( aPos, false ); in SetFlysInDoc() 477 aAnchor.SetAnchor(&aPos); in SetFlysInDoc() 841 SwPosition aPos( aIdx ); in ReadFly() local 843 aAnchor.SetAnchor( &aPos ); in ReadFly() 1142 SwPosition aPos( *pPam->GetPoint() ); in ReadFly() local [all …]
|