Lines Matching refs:pTabs
350 pTabs(0), in SvxRuler()
487 delete[] pTabs; in ~SvxRuler()
1256 delete[] pTabs; in UpdateTabs()
1259 pTabs = new RulerTab[nTabBufSize]; in UpdateTabs()
1270 pTabs[nTabCount+TAB_GAP].nPos = in UpdateTabs()
1275 … pTabs[nTabCount+TAB_GAP].nPos = lParaIndentPix + lRightPixMargin - pTabs[nTabCount+TAB_GAP].nPos; in UpdateTabs()
1277 pTabs[nTabCount+TAB_GAP].nStyle = ToSvTab_Impl(pTab->GetAdjustment()); in UpdateTabs()
1281 pTabs[0].nPos = bRTL ? lRightPixMargin : lParaIndentPix; in UpdateTabs()
1288 pTabs[nTabCount + TAB_GAP].nPos = in UpdateTabs()
1289 pTabs[nTabCount].nPos - nDefTabDist; in UpdateTabs()
1292 pTabs[nTabCount + TAB_GAP].nPos -= in UpdateTabs()
1293 ((pTabs[nTabCount + TAB_GAP].nPos - lRightPixMargin) in UpdateTabs()
1295 if(pTabs[nTabCount+TAB_GAP].nPos <= lParaIndentPix) in UpdateTabs()
1297 pTabs[nTabCount + TAB_GAP].nStyle = RULER_TAB_DEFAULT; in UpdateTabs()
1310 pTabs[nTabCount + TAB_GAP].nPos = in UpdateTabs()
1311 (pTabs[nTabCount].nPos + nDefTabDist); in UpdateTabs()
1312 pTabs[nTabCount + TAB_GAP].nPos -= in UpdateTabs()
1313 ((pTabs[nTabCount + TAB_GAP].nPos - lParaIndentPix) in UpdateTabs()
1318 if( pTabs[nTabCount].nPos < 0 ) in UpdateTabs()
1320 … pTabs[nTabCount + TAB_GAP].nPos = ( pTabs[nTabCount].nPos / nDefTabDist ) * nDefTabDist; in UpdateTabs()
1324 … pTabs[nTabCount + TAB_GAP].nPos = ( pTabs[nTabCount].nPos / nDefTabDist + 1 ) * nDefTabDist; in UpdateTabs()
1332 pTabs[nTabCount + TAB_GAP].nPos = in UpdateTabs()
1333 pTabs[nTabCount].nPos + nDefTabDist; in UpdateTabs()
1336 if(pTabs[nTabCount+TAB_GAP].nPos >= lRightIndent) in UpdateTabs()
1338 pTabs[nTabCount + TAB_GAP].nStyle = RULER_TAB_DEFAULT; in UpdateTabs()
1342 SetTabs(nTabCount, pTabs+TAB_GAP); in UpdateTabs()
1643 RulerTab *pTabs, // Tab-Puffer in ModifyTabs_Impl() argument
1654 if( pTabs ) in ModifyTabs_Impl()
1655 for(sal_uInt16 i = 0; i < nCount; ++i) pTabs[i].nPos += lDiff; in ModifyTabs_Impl()
1735 ModifyTabs_Impl(nTabCount+TAB_GAP, pTabs, -_lDiff); in AdjustMargin1()
1736 SetTabs(nTabCount, pTabs+TAB_GAP); in AdjustMargin1()
1785 ModifyTabs_Impl(nTabCount+TAB_GAP, pTabs, _lDiff); in AdjustMargin1()
1786 SetTabs(nTabCount, pTabs+TAB_GAP); in AdjustMargin1()
1926 long nDiff = lDragPos - pTabs[nIdx].nPos; in DragTabs()
1933 pTabs[i].nPos += nDiff; in DragTabs()
1935 if(pTabs[i].nPos > GetMargin2()) in DragTabs()
1936 pTabs[nIdx].nStyle |= RULER_STYLE_INVISIBLE; in DragTabs()
1938 pTabs[nIdx].nStyle &= ~RULER_STYLE_INVISIBLE; in DragTabs()
1944 pTabs[nIdx].nPos = lDragPos; in DragTabs()
1947 if(pTabs[i].nStyle & RULER_TAB_DEFAULT) in DragTabs()
1952 pTabs[i].nPos = pTabs[nIdx].nPos + nDelta; in DragTabs()
1953 if(pTabs[i].nPos+GetNullOffset() > nMaxRight) in DragTabs()
1954 pTabs[i].nStyle |= RULER_STYLE_INVISIBLE; in DragTabs()
1956 pTabs[i].nStyle &= ~RULER_STYLE_INVISIBLE; in DragTabs()
1960 pTabs[nIdx].nPos = lDragPos; in DragTabs()
1963 pTabs[nIdx].nStyle |= RULER_STYLE_INVISIBLE; in DragTabs()
1965 pTabs[nIdx].nStyle &= ~RULER_STYLE_INVISIBLE; in DragTabs()
1966 SetTabs(nTabCount, pTabs+TAB_GAP); in DragTabs()
2038 if ( pTabs ) in UpdateParaContents_Impl()
2041 pTabs[i].nPos += l; in UpdateParaContents_Impl()
2042 SetTabs(nTabCount, pTabs+TAB_GAP); in UpdateParaContents_Impl()
2509 ConvertHPosLogic(pTabs[j+TAB_GAP].nPos - in ApplyTabs()
2524 pTabs[nCoreIdx+TAB_GAP].nPos+Ruler::GetNullOffset()==nMaxRight) in ApplyTabs()
2536 … ConvertHPosLogic( nTmpLeftIndent - pTabs[nCoreIdx+TAB_GAP].nPos) - lAppNullOffset, in ApplyTabs()
2547 … ConvertHPosLogic( pTabs[nCoreIdx+TAB_GAP].nPos - nTmpLeftIndent ) - lAppNullOffset, in ApplyTabs()
2757 pRuler_Imp->nTotalDist -= pTabs[nIdx].nPos; in PrepareProportional_Impl()
2762 const long nDelta = pTabs[i].nPos - pTabs[nIdx].nPos; in PrepareProportional_Impl()
3516 pTabs[0] = pTabs[GetDragAryPos()+1]; in StartDrag()
3517 pTabs[0].nStyle |= RULER_STYLE_DONTKNOW; in StartDrag()
3625 pTabs[GetDragAryPos()].nStyle &= ~RULER_STYLE_INVISIBLE; in EndDrag()
3626 SetTabs(nTabCount, pTabs+TAB_GAP); in EndDrag()
3745 if ( pTabs && in Command()
3748 pTabs[pRuler_Imp->nIdx+TAB_GAP].nStyle < RULER_TAB_DEFAULT ) in Command()
3766 aMenu.CheckItem(i+1, i == pTabs[pRuler_Imp->nIdx+TAB_GAP].nStyle); in Command()