Lines Matching refs:pHitTest
1616 sal_Bool Ruler::ImplHitTest( const Point& rPos, ImplRulerHitTest* pHitTest, in ImplHitTest() argument
1645 pHitTest->nAryPos = 0; in ImplHitTest()
1646 pHitTest->mnDragSize = 0; in ImplHitTest()
1647 pHitTest->bSize = sal_False; in ImplHitTest()
1648 pHitTest->bSizeBar = sal_False; in ImplHitTest()
1664 pHitTest->nPos = 0; in ImplHitTest()
1665 pHitTest->eType = RULER_TYPE_OUTSIDE; in ImplHitTest()
1670 pHitTest->nPos = nX; in ImplHitTest()
1671 pHitTest->eType = RULER_TYPE_DONTKNOW; in ImplHitTest()
1710 pHitTest->eType = RULER_TYPE_TAB; in ImplHitTest()
1711 pHitTest->nAryPos = i-1; in ImplHitTest()
1751 pHitTest->eType = RULER_TYPE_INDENT; in ImplHitTest()
1752 pHitTest->nAryPos = i-1; in ImplHitTest()
1762 pHitTest->nPos = 0; in ImplHitTest()
1763 pHitTest->eType = RULER_TYPE_OUTSIDE; in ImplHitTest()
1769 if(pHitTest->bExpandTest) in ImplHitTest()
1792 pHitTest->eType = RULER_TYPE_BORDER; in ImplHitTest()
1793 pHitTest->nAryPos = i-1; in ImplHitTest()
1799 pHitTest->bSizeBar = sal_True; in ImplHitTest()
1800 pHitTest->mnDragSize = RULER_DRAGSIZE_MOVE; in ImplHitTest()
1819 pHitTest->bSize = sal_True; in ImplHitTest()
1820 pHitTest->mnDragSize = RULER_DRAGSIZE_1; in ImplHitTest()
1824 pHitTest->bSize = sal_True; in ImplHitTest()
1825 pHitTest->mnDragSize = RULER_DRAGSIZE_2; in ImplHitTest()
1831 pHitTest->bSizeBar = sal_True; in ImplHitTest()
1832 pHitTest->mnDragSize = RULER_DRAGSIZE_MOVE; in ImplHitTest()
1843 int nMarginTolerance = pHitTest->bExpandTest ? nBorderTolerance : RULER_MOUSE_MARGINWIDTH; in ImplHitTest()
1850 pHitTest->eType = RULER_TYPE_MARGIN1; in ImplHitTest()
1851 pHitTest->bSize = sal_True; in ImplHitTest()
1860 pHitTest->eType = RULER_TYPE_MARGIN2; in ImplHitTest()
1861 pHitTest->bSize = sal_True; in ImplHitTest()
1905 pHitTest->eType = RULER_TYPE_TAB; in ImplHitTest()
1906 pHitTest->nAryPos = i-1; in ImplHitTest()
1920 ImplRulerHitTest* pHitTest ) const in ImplDocHitTest()
1945 if ( ImplHitTest( aPos, pHitTest, bRequiredStyle, nRequiredStyle ) ) in ImplDocHitTest()
1947 if ( (pHitTest->eType == eDragType) || (eDragType == RULER_TYPE_DONTKNOW) ) in ImplDocHitTest()
1961 if ( ImplHitTest( aPos, pHitTest, bRequiredStyle, nRequiredStyle ) ) in ImplDocHitTest()
1963 if ( (pHitTest->eType == eDragType) || (eDragType == RULER_TYPE_DONTKNOW) ) in ImplDocHitTest()
1977 if ( ImplHitTest( aPos, pHitTest ) ) in ImplDocHitTest()
1979 if ( (pHitTest->eType == eDragType) || (eDragType == RULER_TYPE_DONTKNOW) ) in ImplDocHitTest()
1985 pHitTest->eType = RULER_TYPE_DONTKNOW; in ImplDocHitTest()
1992 sal_Bool Ruler::ImplStartDrag( ImplRulerHitTest* pHitTest, sal_uInt16 nModifier ) in ImplStartDrag() argument
1996 if ( (pHitTest->eType == RULER_TYPE_BORDER) && in ImplStartDrag()
1997 !pHitTest->bSize && !pHitTest->bSizeBar ) in ImplStartDrag()
2001 meDragType = pHitTest->eType; in ImplStartDrag()
2002 mnDragPos = pHitTest->nPos; in ImplStartDrag()
2003 mnDragAryPos = pHitTest->nAryPos; in ImplStartDrag()
2004 mnDragSize = pHitTest->mnDragSize; in ImplStartDrag()