Home
last modified time | relevance | path

Searched refs:pPt (Results 1 – 25 of 30) sorted by relevance

12

/AOO42X/main/sw/source/core/view/
H A Dvprint.cxx118 SwQueuedPaint *pPt; in Add() local
119 if ( 0 != (pPt = pQueue) ) in Add()
121 while ( pPt->pSh != pNew && pPt->pNext ) in Add()
122 pPt = pPt->pNext; in Add()
123 if ( pPt->pSh == pNew ) in Add()
125 pPt->aRect.Union( rNew ); in Add()
130 if ( pPt ) in Add()
131 pPt->pNext = pNQ; in Add()
142 SwQueuedPaint *pPt = pQueue; in Repaint() local
144 { ViewShell *pSh = pPt->pSh; in Repaint()
[all …]
/AOO42X/main/sw/source/ui/wrtsh/
H A Dselect.cxx81 sal_Bool SwWrtShell::SelWrd(const Point *pPt, sal_Bool ) in SelWrd() argument
87 bRet = SwCrsrShell::SelectWord( pPt ); in SelWrd()
93 if(pPt) in SelWrd()
94 aStart = *pPt; in SelWrd()
99 void SwWrtShell::SelSentence(const Point *pPt, sal_Bool ) in SelSentence() argument
109 if(pPt) in SelSentence()
110 aStart = *pPt; in SelSentence()
115 void SwWrtShell::SelPara(const Point *pPt, sal_Bool ) in SelPara() argument
125 if(pPt) in SelPara()
126 aStart = *pPt; in SelPara()
[all …]
/AOO42X/main/sw/source/ui/dochdl/
H A Dswdtflvr.cxx1163 const Point* pPt, sal_Int8 nDropAction, in PasteData() argument
1173 if( pPt ) in PasteData()
1189 SwTransferable::SetSelInShell( rSh, sal_True, pPt ); in PasteData()
1196 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in PasteData()
1239 …bool bPrivateDrop(pPt && (bPasteSelection ? 0 != (pTrans = pMod->pXSelection) : 0 != (pTrans = pMo… in PasteData()
1249 if(bPrivateDrop && pPt && DND_ACTION_MOVE == nDropAction) in PasteData()
1253 const SwFrmFmt* pSwFrmFmt = rSh.GetFmtFromObj(*pPt); in PasteData()
1265 nRet = pTrans->PrivateDrop( rSh, *pPt, DND_ACTION_MOVE == nDropAction, in PasteData()
1268 else if( !pPt && pTunneledTrans && in PasteData()
1283 sal_Bool bMsg = 0 == pPt; in PasteData()
[all …]
/AOO42X/main/sw/source/ui/uiview/
H A Dviewport.cxx98 long Point:: *pPt = bHori ? &Point::nA : &Point::nB; in lcl_GetPos() local
101 long lDelta = lPos - rSh.VisArea().Pos().*pPt; in lcl_GetPos()
112 rPos.*pPt += lDelta; in lcl_GetPos()
113 if ( bBorder && rPos.*pPt < DOCUMENTBORDER ) in lcl_GetPos()
114 rPos.*pPt = DOCUMENTBORDER; in lcl_GetPos() local
376 void SwView::CalcPt( Point *pPt, const Rectangle &rRect, in CalcPt() argument
388 pPt->Y() = rRect.Top(); in CalcPt()
389 pPt->Y() = Max( lMin, pPt->Y() ); in CalcPt()
393 pPt->Y() = rRect.Top() - (nRangeY != USHRT_MAX ? nRangeY : nYScroll); in CalcPt()
394 pPt->Y() = Max( lMin, pPt->Y() ); in CalcPt()
[all …]
H A Dviewtab.cxx1031 const Point* pPt = IsTabColFromDoc() || IsTabRowFromDoc() ? &aTabColFromDocPos : 0; in StateTabWin() local
1034 : rSh.GetFrmType( pPt, sal_True ); in StateTabWin()
1039 const SwRect& rPageRect = rSh.GetAnyCurRect( RECT_PAGE, pPt ); in StateTabWin()
1040 const SwRect& rPagePrtRect = rSh.GetAnyCurRect( RECT_PAGE_PRT, pPt ); in StateTabWin()
1135 SwRect aRect( rSh.GetAnyCurRect( RECT_HEADERFOOTER, pPt)); in StateTabWin()
1136 aRect.Pos() -= rSh.GetAnyCurRect( RECT_PAGE, pPt ).Pos(); in StateTabWin()
1148 aRect = rSh.GetAnyCurRect(RECT_SECTION_PRT, pPt); in StateTabWin()
1149 const SwRect aTmpRect = rSh.GetAnyCurRect(RECT_SECTION, pPt); in StateTabWin()
1154 aRect = rSh.GetAnyCurRect(RECT_FLY_EMBEDDED, pPt); in StateTabWin()
1202 const SwRect &rRect = rSh.GetAnyCurRect(RECT_FLY_EMBEDDED, pPt); in StateTabWin()
[all …]
/AOO42X/main/sw/inc/
H A Dviscrs.hxx138 const SwPosition* pPt; // fuer Zuordung vom GetPoint() zum aPtPt member in SwShellCrsr
155 const Point& GetPtPos() const { return( SwPaM::GetPoint() == pPt ? aPtPt : aMkPt ); } in GetPtPos()
156 Point& GetPtPos() { return( SwPaM::GetPoint() == pPt ? aPtPt : aMkPt ); } in GetPtPos()
157 const Point& GetMkPos() const { return( SwPaM::GetMark() == pPt ? aPtPt : aMkPt ); } in GetMkPos()
158 Point& GetMkPos() { return( SwPaM::GetMark() == pPt ? aPtPt : aMkPt ); } in GetMkPos()
159 const Point& GetSttPos() const { return( SwPaM::Start() == pPt ? aPtPt : aMkPt ); } in GetSttPos()
160 Point& GetSttPos() { return( SwPaM::Start() == pPt ? aPtPt : aMkPt ); } in GetSttPos()
161 const Point& GetEndPos() const { return( SwPaM::End() == pPt ? aPtPt : aMkPt ); } in GetEndPos()
162 Point& GetEndPos() { return( SwPaM::End() == pPt ? aPtPt : aMkPt ); } in GetEndPos()
H A Dfesh.hxx287 sal_uInt16 GetFrmType( const Point *pPt, sal_Bool bStopAtFly ) const;
320 long BeginDrag( const Point *pPt, sal_Bool bProp );
321 long Drag ( const Point *pPt, sal_Bool bProp );
322 long EndDrag ( const Point *pPt, sal_Bool bProp );
536 void Paste( SvStream& rStm, sal_uInt16 nAction, const Point* pPt = 0 );
594 const Point* pPt = 0,
H A Dswcrsr.hxx134 sal_Bool SelectWord( ViewShell* pViewShell, const Point* pPt = 0 );
145 sal_Bool SelectWordWT( ViewShell* pViewShell, sal_Int16 nWordType, const Point* pPt = 0 );
163 sal_Bool UpDown( sal_Bool bUp, sal_uInt16 nCnt, Point* pPt, long nUpDownX );
H A Dcrsrsh.hxx279 SW_DLLPRIVATE short GetTextDirection( const Point* pPt = 0 ) const;
773 sal_Bool SelectWord( const Point* pPt = 0 );
872 sal_Bool IsInVerticalText( const Point* pPt = 0 ) const;
874 sal_Bool IsInRightToLeftText( const Point* pPt = 0 ) const;
H A Deditsh.hxx735 GetCorrection( const Point* pPt, SwRect& rSelectRect );
742 const Point* pPt, SwRect& rSelectRect );
800 const SwSection* GetAnySection( sal_Bool bOutOfTab = sal_False, const Point* pPt = 0 ) const;
/AOO42X/main/tools/source/generic/
H A Dpoly.cxx514 Point* pPt; in Polygon() local
526 pPt = &(mpImplPolygon->mpPointAry[i]); in Polygon()
527 pPt->X() = nX + rCenter.X(); in Polygon()
528 pPt->Y() = nY + rCenter.Y(); in Polygon()
529 pPt = &(mpImplPolygon->mpPointAry[nPoints2-i-1]); in Polygon()
530 pPt->X() = -nX + rCenter.X(); in Polygon()
531 pPt->Y() = nY + rCenter.Y(); in Polygon()
532 pPt = &(mpImplPolygon->mpPointAry[i+nPoints2]); in Polygon()
533 pPt->X() = -nX + rCenter.X(); in Polygon()
534 pPt->Y() = -nY + rCenter.Y(); in Polygon()
[all …]
H A Dpoly2.cxx645 const Point* pPt = &pAry[ i ]; in GetBoundRect() local
649 nXMin = nXMax = pPt->X(); in GetBoundRect()
650 nYMin = nYMax = pPt->Y(); in GetBoundRect()
655 if ( pPt->X() < nXMin ) in GetBoundRect()
656 nXMin = pPt->X(); in GetBoundRect()
657 if ( pPt->X() > nXMax ) in GetBoundRect()
658 nXMax = pPt->X(); in GetBoundRect()
659 if ( pPt->Y() < nYMin ) in GetBoundRect()
660 nYMin = pPt->Y(); in GetBoundRect()
661 if ( pPt->Y() > nYMax ) in GetBoundRect()
[all …]
/AOO42X/main/sw/source/ui/inc/
H A Dswdtflvr.hxx102 sal_uInt16 nAction, const Point* pPt, sal_Bool bInsertGRF );
109 … const Point* pPt, sal_uInt8 nActionFlags, bool bNeedToSelectBeforePaste);
112 sal_uLong nFmt, sal_uInt16 nAction, const Point* pPt,
123 const Point* pPt, sal_uInt8 nActionFlags, sal_Bool bMsg );
131 const Point* pPt, sal_Bool bMsg );
/AOO42X/main/vcl/source/gdi/
H A Doutmap.cxx698 const Point* pPt = &(pPointAry[i]); in ImplLogicToDevicePixel() local
700 aPt.X() = ImplLogicToPixel( pPt->X()+maMapRes.mnMapOfsX, mnDPIX, in ImplLogicToDevicePixel()
703 aPt.Y() = ImplLogicToPixel( pPt->Y()+maMapRes.mnMapOfsY, mnDPIY, in ImplLogicToDevicePixel()
1215 const Point* pPt = &(pPointAry[i]); in LogicToPixel() local
1217 aPt.X() = ImplLogicToPixel( pPt->X() + maMapRes.mnMapOfsX, mnDPIX, in LogicToPixel()
1220 aPt.Y() = ImplLogicToPixel( pPt->Y() + maMapRes.mnMapOfsY, mnDPIY, in LogicToPixel()
1423 const Point* pPt = &(pPointAry[i]); in LogicToPixel() local
1425 aPt.X() = ImplLogicToPixel( pPt->X() + aMapRes.mnMapOfsX, mnDPIX, in LogicToPixel()
1428 aPt.Y() = ImplLogicToPixel( pPt->Y() + aMapRes.mnMapOfsY, mnDPIY, in LogicToPixel()
1610 const Point* pPt = &(pPointAry[i]); in PixelToLogic() local
[all …]
/AOO42X/main/sw/source/core/frmedt/
H A Dfews.cxx107 const SwRect& SwFEShell::GetAnyCurRect( CurRectType eType, const Point* pPt, in GetAnyCurRect() argument
117 if( pPt ) in GetAnyCurRect()
120 Point aPt( *pPt ); in GetAnyCurRect()
123 pFrm = pNd->getLayoutFrm( GetLayout(), pPt ); in GetAnyCurRect()
260 sal_uInt16 SwFEShell::GetFrmType( const Point *pPt, sal_Bool bStopAtFly ) const in GetFrmType() argument
264 if ( pPt ) in GetFrmType()
267 Point aPt( *pPt ); in GetFrmType()
270 pFrm = pNd->getLayoutFrm( GetLayout(), pPt ); in GetFrmType()
H A Dfetab.cxx127 const SwPosition * pPt = pTmpCrsr->GetPoint(), in ParkCursorInTab() local
130 if (*pPt < aStartPos) in ParkCursorInTab()
131 aStartPos = *pPt; in ParkCursorInTab()
133 if (*pPt > aEndPos) in ParkCursorInTab()
134 aEndPos = *pPt; in ParkCursorInTab()
H A Dfeshview.cxx626 long SwFEShell::BeginDrag( const Point* pPt, sal_Bool ) in BeginDrag() argument
632 SdrHdl* pHdl = pView->PickHandle( *pPt ); in BeginDrag()
633 pView->BegDragObj( *pPt, 0 /*GetWin()*/, pHdl ); in BeginDrag()
645 long SwFEShell::Drag( const Point *pPt, sal_Bool ) in Drag() argument
650 ScrollTo( *pPt ); in Drag()
651 Imp()->GetDrawView()->MovDragObj( *pPt ); in Drag()
/AOO42X/main/sw/source/core/edit/
H A Dedsect.cxx93 const SwSection* SwEditShell::GetAnySection( sal_Bool bOutOfTab, const Point* pPt ) const in GetAnySection()
96 if ( pPt ) in GetAnySection()
99 Point aPt( *pPt ); in GetAnySection()
102 pFrm = pNd->getLayoutFrm( GetLayout(), pPt ); in GetAnySection()
H A Dedlingu.cxx1003 SwEditShell::GetCorrection( const Point* pPt, SwRect& rSelectRect ) in GetCorrection() argument
1011 Point aPt( *pPt ); in GetCorrection()
1094 …SwCntntFrm *pCntntFrame = pCntntNode->getLayoutFrm( GetLayout(), pPt, pCrsr->GetPoint(), sal_False… in GetCorrection()
1117 const Point *pPt, SwRect &rSelectRect ) in GetGrammarCorrection() argument
1126 Point aPt( *pPt ); in GetGrammarCorrection()
1238 …SwCntntFrm *pCntntFrame = pCntntNode->getLayoutFrm( GetLayout(), pPt, pCrsr->GetPoint(), sal_False… in GetGrammarCorrection()
/AOO42X/main/svx/source/xoutdev/
H A D_xpoly.cxx671 Point* pPt = &(pImpXPolygon->pPointAry[i]); in Move() local
672 pPt->X() += nHorzMove; in Move()
673 pPt->Y() += nVertMove; in Move()
1234 Point *pPt = &(pImpXPolygon->pPointAry[i]); in Rotate() local
1235 nX = pPt->X()-nCenterX; in Rotate()
1236 nY = pPt->Y()-nCenterY; in Rotate()
1239 pPt->X() = nNewX + nCenterX; in Rotate()
1240 pPt->Y() = nNewY + nCenterY; in Rotate()
/AOO42X/main/sw/source/core/crsr/
H A Dswcrsr.cxx1230 sal_Bool SwCursor::SelectWord( ViewShell* pViewShell, const Point* pPt ) in SelectWord() argument
1232 return SelectWordWT( pViewShell, WordType::ANYWORD_IGNOREWHITESPACES, pPt ); in SelectWord()
1408 sal_Bool SwCursor::SelectWordWT( ViewShell* pViewShell, sal_Int16 nWordType, const Point* pPt ) in SelectWordWT() argument
1416 if( pPt && 0 != pLayout ) in SelectWordWT()
1419 Point aPt( *pPt ); in SelectWordWT()
1816 Point* pPt, long nUpDownX ) in UpDown() argument
1833 if( pPt ) in UpDown()
1834 aPt = *pPt; in UpDown()
1841 if( !pPt ) in UpDown()
H A Dcrstrvl1.cxx92 sal_Bool SwCrsrShell::SelectWord( const Point* pPt ) in SelectWord() argument
94 return pCurCrsr->SelectWord( this, pPt ); in SelectWord()
H A Dviscrs.cxx772 , pPt(SwPaM::GetPoint()) in SwShellCrsr()
785 , pPt(SwPaM::GetPoint()) in SwShellCrsr()
794 , pPt(SwPaM::GetPoint()) in SwShellCrsr()
808 if( SwPaM::GetPoint() == pPt ) in SetMark()
H A Dcrsrsh.cxx3114 short SwCrsrShell::GetTextDirection( const Point* pPt ) const in GetTextDirection()
3117 Point aPt( pPt ? *pPt : pCurCrsr->GetPtPos() ); in GetTextDirection()
3118 if( pPt ) in GetTextDirection()
3129 sal_Bool SwCrsrShell::IsInVerticalText( const Point* pPt ) const in IsInVerticalText()
3131 const short nDir = GetTextDirection( pPt ); in IsInVerticalText()
3135 sal_Bool SwCrsrShell::IsInRightToLeftText( const Point* pPt ) const in IsInRightToLeftText()
3137 const short nDir = GetTextDirection( pPt ); in IsInRightToLeftText()
/AOO42X/main/sw/source/core/doc/
H A Ddoclay.cxx2291 const Point* pPt ) const in GetTextDirection()
2300 nRet = pNd->GetTextDirection( rPos, pPt ); in GetTextDirection()
2345 sal_Bool SwDoc::IsInVerticalText( const SwPosition& rPos, const Point* pPt ) const in IsInVerticalText()
2347 const short nDir = GetTextDirection( rPos, pPt ); in IsInVerticalText()

12