/aoo4110/main/sc/source/ui/miscdlgs/ |
H A D | mtrindlg.cxx | 124 Point aNewPos; in CalcPositions() local 131 aNewPos.Y() = aEdValue.GetPosPixel().Y(); in CalcPositions() 135 aEdValue.SetPosPixel( aNewPos ); in CalcPositions() 137 aNewPos.Y() = aBtnDefVal.GetPosPixel().Y(); in CalcPositions() 138 aBtnDefVal.SetPosPixel( aNewPos ); in CalcPositions() 140 aNewPos.Y() = aBtnOk.GetPosPixel().Y(); in CalcPositions() 143 aBtnOk.SetPosPixel( aNewPos ); in CalcPositions() 145 aBtnCancel.SetPosPixel( aNewPos ); in CalcPositions() 146 aNewPos.Y() = aBtnHelp.GetPosPixel().Y(); in CalcPositions() 147 aBtnHelp.SetPosPixel( aNewPos ); in CalcPositions() [all …]
|
/aoo4110/main/sw/source/core/doc/ |
H A D | doccorr.cxx | 129 SwPosition const aNewPos( rNewPos ); in PaMCorrAbs() local 203 SwPosition aNewPos(rNewPos); in CorrAbs() local 204 aNewPos.nContent += nOffset; in CorrAbs() 232 ::PaMCorrAbs(aPam, aNewPos); in CorrAbs() 243 SwPosition aNewPos(rNewPos); in CorrAbs() local 277 SwPosition aNewPos( rNewPos ); in PaMCorrRel() local 289 lcl_PaMCorrRel1( _pStkCrsr, pOldNode, aNewPos, nCntIdx ); in PaMCorrRel() 294 lcl_PaMCorrRel1( PCURCRSR, pOldNode, aNewPos, nCntIdx); in PaMCorrRel() 307 lcl_PaMCorrRel1( PCURCRSR, pOldNode, aNewPos, nCntIdx ); in PaMCorrRel() 331 SwPosition aNewPos(rNewPos); in CorrRel() local [all …]
|
H A D | docbm.cxx | 569 SwPosition aNewPos(rNewPos); in correctMarksAbsolute() local 570 aNewPos.nContent += nOffset; in correctMarksAbsolute() 582 pMark->SetMarkPos(aNewPos); in correctMarksAbsolute() 589 pMark->SetMarkPos(aNewPos); in correctMarksAbsolute() 609 SwPosition aNewPos(rNewPos); in correctMarksRelative() local 610 aNewPos.nContent += nOffset; in correctMarksRelative() 1652 aNewPos.nNode = *pCNd; in _RestoreCntntIdx() 1654 pMark->SetMarkPos(aNewPos); in _RestoreCntntIdx() 1661 aNewPos.nNode = *pCNd; in _RestoreCntntIdx() 1819 aNewPos.nNode = rNd; in _RestoreCntntIdx() [all …]
|
/aoo4110/main/sd/source/ui/view/ |
H A D | drviewsh.cxx | 125 Point aNewPos(aVisArea.TopLeft()); in MakeVisible() local 132 aNewPos.X() -= aVisAreaSize.Width() / 2; in MakeVisible() 138 aNewPos.X() += aVisAreaSize.Width() / 2; in MakeVisible() 147 aNewPos.X() += nFreeSpaceX; in MakeVisible() 149 while(rRect.Left() < aNewPos.X()) in MakeVisible() 150 aNewPos.X() -= nFreeSpaceX; in MakeVisible() 173 aNewPos.Y() += nFreeSpaceY; in MakeVisible() 175 while(rRect.Top() < aNewPos.Y()) in MakeVisible() 176 aNewPos.Y() -= nFreeSpaceY; in MakeVisible() 180 if(aNewPos != aVisArea.TopLeft()) in MakeVisible() [all …]
|
/aoo4110/main/vcl/source/window/ |
H A D | split.cxx | 323 ImplSplitMousePos( aNewPos ); in Tracking() 324 Splitting( aNewPos ); in Tracking() 325 ImplSplitMousePos( aNewPos ); in Tracking() 340 maDragPos = aNewPos; in Tracking() 358 maDragPos = aNewPos; in Tracking() 400 Point aNewPos; in ImplKbdTracking() local 434 aNewPos.X()-=delta; in ImplKbdTracking() 437 aNewPos.X()+=delta; in ImplKbdTracking() 440 aNewPos.Y()-=delta; in ImplKbdTracking() 450 Splitting( aNewPos ); in ImplKbdTracking() [all …]
|
/aoo4110/main/uui/source/ |
H A D | secmacrowarnings.cxx | 226 aNewPos.Y() -= nDelta; in InitControls() 227 (*pCurrent)->SetPosPixel( aNewPos ); in InitControls() 251 aNewPos.X() -= nDelta; in InitControls() 252 maViewSignsBtn.SetPosPixel( aNewPos ); in InitControls() 279 aNewPos.X() -= (2*nDelta); in InitControls() 280 maEnableBtn.SetPosPixel( aNewPos ); in InitControls() 281 aNewPos = maDisableBtn.GetPosPixel(); in InitControls() 282 aNewPos.X() -= nDelta; in InitControls() 283 maDisableBtn.SetPosPixel( aNewPos ); in InitControls() 324 aNewPos.Y() -= nDelta; in FitControls() [all …]
|
H A D | masterpasscrtdlg.cxx | 131 Point aNewPos =(*pControls[i]).GetPosPixel(); in MasterPasswordCreateDialog() local 132 aNewPos.Y() += nDelta; in MasterPasswordCreateDialog() 133 pControls[i]->SetPosSizePixel( aNewPos, pControls[i]->GetSizePixel() ); in MasterPasswordCreateDialog() 154 Point aNewPos = (*pWindow)->GetPosPixel(); in CalculateTextHeight() local 155 aNewPos.Y() -= nDelta; in CalculateTextHeight() 156 (*pWindow)->SetPosPixel( aNewPos ); in CalculateTextHeight() 173 Point aNewPos = (*pWindow)->GetPosPixel(); in CalculateTextHeight() local 174 aNewPos.Y() -= nTemp; in CalculateTextHeight() 175 (*pWindow)->SetPosPixel( aNewPos ); in CalculateTextHeight()
|
H A D | newerverwarn.cxx | 182 Point aNewPos = m_aUpdateBtn.GetPosPixel(); in InitButtonWidth() local 183 aNewPos.X() -= 2*nDelta; in InitButtonWidth() 186 m_aUpdateBtn.SetPosSizePixel( aNewPos, aNewSize ); in InitButtonWidth() 187 aNewPos = m_aLaterBtn.GetPosPixel(); in InitButtonWidth() 188 aNewPos.X() -= nDelta; in InitButtonWidth() 189 m_aLaterBtn.SetPosSizePixel( aNewPos, aNewSize ); in InitButtonWidth()
|
/aoo4110/main/reportdesign/source/ui/report/ |
H A D | ViewsWindow.cxx | 1044 Point aNewPos(0,0); in BegDragObj_createInvisibleObjectAtPosition() local 1075 aNewPos.Y() -= nSectionHeight; in BegDragObj_createInvisibleObjectAtPosition() 1169 Point aNewPos = aAbsolutePnt; in BegDragObj() local 1211 OSL_TRACE("BegDragObj X:%d Y:%d on View#%d\n", aNewPos.X(), aNewPos.Y(), nViewCount++ ); in BegDragObj() 1215 aNewPos.Y() -= nSectionHeight; in BegDragObj() 1230 Point aNewPos = _aPnt; in BegMarkObj() local 1241 aNewPos = _aPnt; // 2,2 in BegMarkObj() 1326 Point aNewPos = _aPnt; in EndDragObj() local 1338 aNewPos -= m_aDragDelta; in EndDragObj() 1368 if ( aNewPos.Y() < 0 ) in EndDragObj() [all …]
|
/aoo4110/main/chart2/source/view/diagram/ |
H A D | VDiagram.cxx | 744 awt::Point aNewPos( aMaxPos ); in reduceToMimimumSize() local 745 aNewPos.X += nNewWidth; in reduceToMimimumSize() 746 aNewPos.Y += nNewHeight; in reduceToMimimumSize() 773 aNewPos.X -= nDiffLeft; in adjustInnerSize() 777 aNewPos.X += abs(nDiffLeft); in adjustInnerSize() 779 aNewPos.X += nDiffRight; in adjustInnerSize() 781 aNewPos.X += abs(nDeltaWidth); in adjustInnerSize() 787 aNewPos.Y -= nDiffUp; in adjustInnerSize() 791 aNewPos.Y += abs(nDiffUp); in adjustInnerSize() 793 aNewPos.Y += nDiffDown; in adjustInnerSize() [all …]
|
/aoo4110/main/basctl/source/dlged/ |
H A D | managelang.cxx | 168 Point aNewPos = m_aInfoFT.GetPosPixel(); in CalcInfoSize() local 169 aNewPos.Y() -= nDelta; in CalcInfoSize() 170 m_aInfoFT.SetPosPixel( aNewPos ); in CalcInfoSize() 171 aNewPos = m_aMakeDefPB.GetPosPixel(); in CalcInfoSize() 172 aNewPos.Y() -= nDelta; in CalcInfoSize() 173 m_aMakeDefPB.SetPosPixel( aNewPos ); in CalcInfoSize() 391 Point aNewPos = m_aInfoFT.GetPosPixel(); in CalcInfoSize() local 392 aNewPos.Y() -= nDelta; in CalcInfoSize() 393 m_aInfoFT.SetPosPixel( aNewPos ); in CalcInfoSize()
|
/aoo4110/main/sw/source/core/draw/ |
H A D | dflyobj.cxx | 691 const Point aNewPos( aOutRect.TopLeft() ); in NbcMove() local 705 ((SwFlyAtCntFrm*)GetFlyFrm())->SetAbsPos( aNewPos ); in NbcMove() 711 long lXDiff = aNewPos.X() - aOldPos.X(); in NbcMove() 720 long lYDiff = aNewPos.Y() - aOldPos.Y(); in NbcMove() 848 const Point aNewPos( ( bVertX && !bVertL2RX ) || bRTL ? in NbcResize() local 916 if ( aNewPos != aOldPos ) in NbcResize() 921 if( aOutRect.TopRight() != aNewPos ) in NbcResize() 926 nDeltaX = aNewPos.X() - aOutRect.Left(); in NbcResize() 928 nDeltaX = aNewPos.X() - aOutRect.Right(); in NbcResize() 933 else if ( aOutRect.TopLeft() != aNewPos ) in NbcResize() [all …]
|
/aoo4110/main/vcl/source/glyphs/ |
H A D | gcach_layout.cxx | 101 Point aNewPos( 0, 0 ); in operator ()() local 138 aNewPos.X() += nGlyphWidth; in operator ()() 145 aPrevItem = GlyphItem( nCharPos, aGlyphId, aNewPos, nGlyphFlags, nGlyphWidth ); in operator ()() 416 Point aNewPos( 0, 0 ); in operator ()() local 460 bRightToLeft, aNewPos.X(), aNewPos.Y(), rcIcu ); in operator ()() 540 aNewPos = Point( (int)(pPos->fX+0.5), (int)(pPos->fY+0.5) ); in operator ()() 630 GlyphItem aGI( nCharPos, nGlyphIndex, aNewPos, nGlyphFlags, nGlyphWidth ); in operator ()() 637 aNewPos = Point( (int)(pPos->fX+0.5), (int)(pPos->fY+0.5) ); in operator ()()
|
/aoo4110/main/svx/source/dialog/ |
H A D | connctrl.cxx | 154 Point aNewPos; in Construct() local 183 aNewPos.X() = ( nWidth - aNewSize.Width() ) >> 1; in Construct() 184 aNewPos.Y() = ( nHeight - aNewSize.Height() ) >> 1; in Construct() 186 aDisplayMap.SetOrigin( LogicToLogic( aNewPos, aMapMode, aDisplayMap ) ); in Construct() 190 aNewPos = aDisplayMap.GetOrigin(); in Construct() 191 aNewPos -= Point( aRect.TopLeft().X(), aRect.TopLeft().Y() ); in Construct() 192 aDisplayMap.SetOrigin( aNewPos ); in Construct()
|
H A D | srchdlg.cxx | 866 aNewPos.Y() -= nH; in CalculateDelta_Impl() 867 aSimilarityBox.SetPosPixel( aNewPos ); in CalculateDelta_Impl() 868 aNewPos = aSimilarityBtn.GetPosPixel(); in CalculateDelta_Impl() 869 aNewPos.Y() -= nH; in CalculateDelta_Impl() 870 aSimilarityBtn.SetPosPixel( aNewPos ); in CalculateDelta_Impl() 876 aNewPos.Y() -= nH; in CalculateDelta_Impl() 882 aNewPos.Y() -= nH; in CalculateDelta_Impl() 885 aNewPos.Y() -= nH; in CalculateDelta_Impl() 910 Point aNewPos = (*pCurrent)->GetPosPixel(); in CalculateDelta_Impl() local 911 aNewPos.Y() -= nH; in CalculateDelta_Impl() [all …]
|
/aoo4110/main/cui/source/options/ |
H A D | optinet2.cxx | 598 Point aNewPos = aProxyModeLB.GetPosPixel(); in ArrangeControls_Impl() local 599 aNewPos.X() += nDelta; in ArrangeControls_Impl() 601 aProxyModeLB.SetPosPixel( aNewPos ); in ArrangeControls_Impl() 606 aNewPos.Y() = aHttpProxyED.GetPosPixel().Y(); in ArrangeControls_Impl() 608 aNewPos.Y() = aHttpsProxyED.GetPosPixel().Y(); in ArrangeControls_Impl() 610 aNewPos.Y() = aFtpProxyED.GetPosPixel().Y(); in ArrangeControls_Impl() 612 aNewPos.Y() = aNoProxyForED.GetPosPixel().Y(); in ArrangeControls_Impl() 896 Point aNewPos = (*pEdit)->GetPosPixel(); in InitControls_Impl() local 897 aNewPos.X() -= nDelta; in InitControls_Impl() 1388 Point aNewPos = (*pButton)->GetPosPixel(); in InitControls() local [all …]
|
H A D | optimprove.cxx | 96 Point aNewPos = m_aYesRB.GetPosPixel(); in SvxImprovementPage() local 97 aNewPos.Y() += nHDelta; in SvxImprovementPage() 98 m_aYesRB.SetPosSizePixel( aNewPos, aNewSize ); in SvxImprovementPage() 101 aNewPos = m_aNoRB.GetPosPixel(); in SvxImprovementPage() 102 aNewPos.Y() += nHDelta; in SvxImprovementPage() 103 m_aNoRB.SetPosSizePixel( aNewPos, aNewSize ); in SvxImprovementPage()
|
/aoo4110/main/filter/source/pdf/ |
H A D | impdialog.cxx | 465 Point aNewPos = maCbAddStream.GetPosPixel(); in ImpPDFTabGeneralPage() local 466 aNewPos.Y() -= nDelta; in ImpPDFTabGeneralPage() 467 maCbAddStream.SetPosPixel( aNewPos ); in ImpPDFTabGeneralPage() 469 aNewPos.Y() -= nDelta; in ImpPDFTabGeneralPage() 1084 aNewPos.Y() -= nDelta; in ImpPDFTabSecurityPage() 1085 (*pCurrent++)->SetPosPixel( aNewPos ); in ImpPDFTabSecurityPage() 1304 aNewPos.Y() -= nDelta; in ImpPDFTabLinksPage() 1305 maCbOOoToPDFTargets.SetPosPixel( aNewPos ); in ImpPDFTabLinksPage() 1316 aNewPos.Y() -= nDelta; in ImpPDFTabLinksPage() 1337 aNewPos.Y() -= nDelta; in ImpPDFTabLinksPage() [all …]
|
/aoo4110/main/cui/source/dialogs/ |
H A D | multipat.cxx | 351 Point aNewPos = aAddBtn.GetPosPixel(); in EnableRadioButtonMode() local 352 long nDelta = aNewPos.Y() - aRadioLB.GetPosPixel().Y(); in EnableRadioButtonMode() 353 aNewPos.Y() -= nDelta; in EnableRadioButtonMode() 354 aAddBtn.SetPosPixel( aNewPos ); in EnableRadioButtonMode() 355 aNewPos = aDelBtn.GetPosPixel(); in EnableRadioButtonMode() 356 aNewPos.Y() -= nDelta; in EnableRadioButtonMode() 357 aDelBtn.SetPosPixel( aNewPos ); in EnableRadioButtonMode()
|
/aoo4110/main/xmlsecurity/source/dialogs/ |
H A D | certificateviewer.cxx | 178 Point aNewPos = maIssuedToFI.GetPosPixel(); in CertificateViewerGeneralTP() local 179 aNewPos.X() = nNewX; in CertificateViewerGeneralTP() 180 maIssuedToFI.SetPosPixel( aNewPos ); in CertificateViewerGeneralTP() 181 aNewPos = maIssuedByFI.GetPosPixel(); in CertificateViewerGeneralTP() 182 aNewPos.X() = nNewX; in CertificateViewerGeneralTP() 183 maIssuedByFI.SetPosPixel( aNewPos ); in CertificateViewerGeneralTP() 446 Point aNewPos = maViewCertPB.GetPosPixel(); in CertificateViewerCertPathTP() local 447 aNewPos.X() -= nDelta; in CertificateViewerCertPathTP() 448 maViewCertPB.SetPosPixel( aNewPos ); in CertificateViewerCertPathTP()
|
/aoo4110/main/desktop/source/deployment/gui/ |
H A D | dp_gui_updatedialog.cxx | 1016 Point aNewPos = m_PublisherLink.GetPosPixel(); in initDescription() local 1017 aNewPos.X() = aNewPos.X() + nDelta; in initDescription() 1044 Point aNewPos = m_ReleaseNotesLabel.GetPosPixel(); in clearDescription() local 1045 aNewPos.Y() += m_nOneLineMissing; in clearDescription() 1046 m_ReleaseNotesLabel.SetPosPixel( aNewPos ); in clearDescription() 1047 aNewPos = m_ReleaseNotesLink.GetPosPixel(); in clearDescription() 1048 aNewPos.Y() += m_nOneLineMissing; in clearDescription() 1049 m_ReleaseNotesLink.SetPosPixel( aNewPos ); in clearDescription() 1114 Point aNewPos = m_aFirstLinePos; in showDescription() local 1115 aNewPos.Y() += m_nFirstLineDelta; in showDescription() [all …]
|
/aoo4110/main/chart2/source/tools/ |
H A D | DiagramHelper.cxx | 1646 RelativePosition aNewPos; in setDiagramPositioning() local 1647 aNewPos.Anchor = drawing::Alignment_TOP_LEFT; in setDiagramPositioning() 1655 lcl_ensureRange0to1( aNewPos.Primary ); in setDiagramPositioning() 1656 lcl_ensureRange0to1( aNewPos.Secondary ); in setDiagramPositioning() 1659 if( (aNewPos.Primary + aNewSize.Primary) > 1.0 ) in setDiagramPositioning() 1660 aNewPos.Primary = 1.0 - aNewSize.Primary; in setDiagramPositioning() 1661 if( (aNewPos.Secondary + aNewSize.Secondary) > 1.0 ) in setDiagramPositioning() 1662 aNewPos.Secondary = 1.0 - aNewSize.Secondary; in setDiagramPositioning() 1667 bChanged = (aOldPos.Anchor!=aNewPos.Anchor) || in setDiagramPositioning() 1668 (aOldPos.Primary!=aNewPos.Primary) || in setDiagramPositioning() [all …]
|
/aoo4110/main/chart2/qa/ |
H A D | TestCaseOldAPI.java | 188 Point aNewPos = xTitleShape.getPosition(); in testTitle() local 189 assure( "Title Position X", approxEqual( aNewPos.X, aSetPos.X, 1 )); in testTitle() 190 assure( "Title Position Y", approxEqual( aNewPos.Y, aSetPos.Y, 1 )); in testTitle() 323 Point aNewPos = xDiagramShape.getPosition(); in testDiagram() local 326 assure( "Diagram Position X", approxEqual( aNewPos.X, aSetPos.X, 1 )); in testDiagram() 327 assure( "Diagram Position Y", approxEqual( aNewPos.Y, aSetPos.Y, 1 )); in testDiagram() 489 Point aNewPos = xLegend.getPosition(); in testLegend() local 490 assure( "Legend Position X", approxEqual( aNewPos.X, aSetPos.X, 1 )); in testLegend() 491 assure( "Legend Position Y", approxEqual( aNewPos.Y, aSetPos.Y, 1 )); in testLegend()
|
/aoo4110/main/sc/source/ui/docshell/ |
H A D | docsh6.cxx | 101 Point aNewPos( 0, Max( aArea.Top(), (long) 0 ) ); in SetVisAreaOrSize() local 104 aNewPos.X() = Min( aArea.Right(), (long) 0 ); in SetVisAreaOrSize() 105 lcl_SetTopRight( aArea, aNewPos ); in SetVisAreaOrSize() 109 aNewPos.X() = Max( aArea.Left(), (long) 0 ); in SetVisAreaOrSize() 110 aArea.SetPos( aNewPos ); in SetVisAreaOrSize()
|
/aoo4110/main/svx/source/svdraw/ |
H A D | svdotxdr.cxx | 174 Point aNewPos(aNewRect.TopLeft()); in applySpecialDrag() local 177 ShearPoint(aNewPos,aRect.TopLeft(),aGeo.nTan); in applySpecialDrag() 180 RotatePoint(aNewPos,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in applySpecialDrag() 182 aNewRect.SetPos(aNewPos); in applySpecialDrag()
|