Home
last modified time | relevance | path

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

12

/AOO41X/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 …]
/AOO41X/main/sw/source/ui/wrtsh/
H A Dselect.cxx85 sal_Bool SwWrtShell::SelWrd(const Point *pPt, sal_Bool ) in SelWrd() argument
91 bRet = SwCrsrShell::SelectWord( pPt ); in SelWrd()
97 if(pPt) in SelWrd()
98 aStart = *pPt; in SelWrd()
103 void SwWrtShell::SelSentence(const Point *pPt, sal_Bool ) in SelSentence() argument
113 if(pPt) in SelSentence()
114 aStart = *pPt; in SelSentence()
119 void SwWrtShell::SelPara(const Point *pPt, sal_Bool ) in SelPara() argument
129 if(pPt) in SelPara()
130 aStart = *pPt; in SelPara()
[all …]
/AOO41X/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 …]
/AOO41X/main/sw/source/ui/uiview/
H A Dviewport.cxx101 long Point:: *pPt = bHori ? &Point::nA : &Point::nB; in lcl_GetPos() local
104 long lDelta = lPos - rSh.VisArea().Pos().*pPt; in lcl_GetPos()
115 rPos.*pPt += lDelta; in lcl_GetPos()
116 if ( bBorder && rPos.*pPt < DOCUMENTBORDER ) in lcl_GetPos()
117 rPos.*pPt = DOCUMENTBORDER; in lcl_GetPos() local
379 void SwView::CalcPt( Point *pPt, const Rectangle &rRect, in CalcPt() argument
391 pPt->Y() = rRect.Top(); in CalcPt()
392 pPt->Y() = Max( lMin, pPt->Y() ); in CalcPt()
396 pPt->Y() = rRect.Top() - (nRangeY != USHRT_MAX ? nRangeY : nYScroll); in CalcPt()
397 pPt->Y() = Max( lMin, pPt->Y() ); in CalcPt()
[all …]
H A Dviewtab.cxx1041 const Point* pPt = IsTabColFromDoc() || IsTabRowFromDoc() ? &aTabColFromDocPos : 0; in StateTabWin() local
1044 : rSh.GetFrmType( pPt, sal_True ); in StateTabWin()
1049 const SwRect& rPageRect = rSh.GetAnyCurRect( RECT_PAGE, pPt ); in StateTabWin()
1050 const SwRect& rPagePrtRect = rSh.GetAnyCurRect( RECT_PAGE_PRT, pPt ); in StateTabWin()
1145 SwRect aRect( rSh.GetAnyCurRect( RECT_HEADERFOOTER, pPt)); in StateTabWin()
1146 aRect.Pos() -= rSh.GetAnyCurRect( RECT_PAGE, pPt ).Pos(); in StateTabWin()
1158 aRect = rSh.GetAnyCurRect(RECT_SECTION_PRT, pPt); in StateTabWin()
1159 const SwRect aTmpRect = rSh.GetAnyCurRect(RECT_SECTION, pPt); in StateTabWin()
1164 aRect = rSh.GetAnyCurRect(RECT_FLY_EMBEDDED, pPt); in StateTabWin()
1212 const SwRect &rRect = rSh.GetAnyCurRect(RECT_FLY_EMBEDDED, pPt); in StateTabWin()
[all …]
/AOO41X/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.hxx289 sal_uInt16 GetFrmType( const Point *pPt, sal_Bool bStopAtFly ) const;
322 long BeginDrag( const Point *pPt, sal_Bool bProp );
323 long Drag ( const Point *pPt, sal_Bool bProp );
324 long EndDrag ( const Point *pPt, sal_Bool bProp );
538 void Paste( SvStream& rStm, sal_uInt16 nAction, const Point* pPt = 0 );
596 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;
768 sal_Bool SelectWord( const Point* pPt = 0 );
867 sal_Bool IsInVerticalText( const Point* pPt = 0 ) const;
869 sal_Bool IsInRightToLeftText( const Point* pPt = 0 ) const;
H A Deditsh.hxx747 GetCorrection( const Point* pPt, SwRect& rSelectRect );
754 const Point* pPt, SwRect& rSelectRect );
812 const SwSection* GetAnySection( sal_Bool bOutOfTab = sal_False, const Point* pPt = 0 ) const;
/AOO41X/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 …]
/AOO41X/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 );
/AOO41X/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 …]
/AOO41X/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.cxx629 long SwFEShell::BeginDrag( const Point* pPt, sal_Bool ) in BeginDrag() argument
635 SdrHdl* pHdl = pView->PickHandle( *pPt ); in BeginDrag()
636 pView->BegDragObj( *pPt, 0 /*GetWin()*/, pHdl ); in BeginDrag()
648 long SwFEShell::Drag( const Point *pPt, sal_Bool ) in Drag() argument
653 ScrollTo( *pPt ); in Drag()
654 Imp()->GetDrawView()->MovDragObj( *pPt ); in Drag()
/AOO41X/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()
/AOO41X/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()
/AOO41X/main/sw/source/core/crsr/
H A Dcrstrvl1.cxx92 sal_Bool SwCrsrShell::SelectWord( const Point* pPt ) in SelectWord() argument
94 return pCurCrsr->SelectWord( this, pPt ); in SelectWord()
H A Dswcrsr.cxx1218 sal_Bool SwCursor::SelectWord( ViewShell* pViewShell, const Point* pPt ) in SelectWord() argument
1220 return SelectWordWT( pViewShell, WordType::ANYWORD_IGNOREWHITESPACES, pPt ); in SelectWord()
1396 sal_Bool SwCursor::SelectWordWT( ViewShell* pViewShell, sal_Int16 nWordType, const Point* pPt ) in SelectWordWT() argument
1404 if( pPt && 0 != pLayout ) in SelectWordWT()
1407 Point aPt( *pPt ); in SelectWordWT()
1804 Point* pPt, long nUpDownX ) in UpDown() argument
1821 if( pPt ) in UpDown()
1822 aPt = *pPt; in UpDown()
1829 if( !pPt ) in UpDown()
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.cxx3106 short SwCrsrShell::GetTextDirection( const Point* pPt ) const in GetTextDirection()
3109 Point aPt( pPt ? *pPt : pCurCrsr->GetPtPos() ); in GetTextDirection()
3110 if( pPt ) in GetTextDirection()
3121 sal_Bool SwCrsrShell::IsInVerticalText( const Point* pPt ) const in IsInVerticalText()
3123 const short nDir = GetTextDirection( pPt ); in IsInVerticalText()
3127 sal_Bool SwCrsrShell::IsInRightToLeftText( const Point* pPt ) const in IsInRightToLeftText()
3129 const short nDir = GetTextDirection( pPt ); in IsInRightToLeftText()
/AOO41X/main/sw/source/core/doc/
H A Ddoclay.cxx2299 const Point* pPt ) const in GetTextDirection()
2308 nRet = pNd->GetTextDirection( rPos, pPt ); in GetTextDirection()
2353 sal_Bool SwDoc::IsInVerticalText( const SwPosition& rPos, const Point* pPt ) const in IsInVerticalText()
2355 const short nDir = GetTextDirection( rPos, pPt ); in IsInVerticalText()

12