Lines Matching refs:i
111 for(sal_uInt16 i = 0; i < rColItem.Count(); ++i) { in Debug_Impl() local
113 aTmp += String(ToMM(pWin, rColItem[i].nStart)); in Debug_Impl()
115 aTmp += String(ToMM(pWin, rColItem[i].nEnd)); in Debug_Impl()
145 for(sal_uInt16 i = 0; i < rTabs.Count(); ++i) in DebugTabStops_Impl() local
147 aTmp += String(rTabs[i].GetTabPos() / 56); in DebugTabStops_Impl()
376 sal_uInt16 i = 0; in SvxRuler() local
379 pCtrlItem[i++] = new SvxRulerItem(SID_RULER_LR_MIN_MAX, *this, rBindings); in SvxRuler()
383 pCtrlItem[i++] = new SvxRulerItem(SID_ATTR_LONG_ULSPACE, *this, rBindings); in SvxRuler()
388 pCtrlItem[i++] = new SvxRulerItem(SID_ATTR_LONG_LRSPACE, *this, rBindings); in SvxRuler()
392 pCtrlItem[i++] = new SvxRulerItem(SID_RULER_PAGE_POS, *this, rBindings); in SvxRuler()
397 pCtrlItem[i++] = new SvxRulerItem(nTabStopId, *this, rBindings); in SvxRuler()
405 pCtrlItem[i++] = new SvxRulerItem(SID_ATTR_PARA_LRSPACE, *this, rBindings); in SvxRuler()
407 pCtrlItem[i++] = new SvxRulerItem(SID_ATTR_PARA_LRSPACE_VERTICAL, *this, rBindings); in SvxRuler()
423 …pCtrlItem[i++] = new SvxRulerItem(bHorz ? SID_RULER_BORDERS : SID_RULER_BORDERS_VERTICAL, *this, r… in SvxRuler()
424 …pCtrlItem[i++] = new SvxRulerItem(bHorz ? SID_RULER_ROWS : SID_RULER_ROWS_VERTICAL, *this, rBindin… in SvxRuler()
427 pCtrlItem[i++] = new SvxRulerItem(SID_RULER_TEXT_RIGHT_TO_LEFT, *this, rBindings); in SvxRuler()
431 pCtrlItem[i++] = new SvxRulerItem(SID_RULER_OBJECT, *this, rBindings ); in SvxRuler()
443 pCtrlItem[i++] = new SvxRulerItem( SID_RULER_PROTECT, *this, rBindings ); in SvxRuler()
444 pCtrlItem[i++] = new SvxRulerItem(SID_RULER_BORDER_DISTANCE, *this, rBindings); in SvxRuler()
445 pRuler_Imp->nControlerItems=i; in SvxRuler()
471 for(sal_uInt16 i = 0; i < CTRL_ITEM_COUNT && pCtrlItem[i]; ++i) in ~SvxRuler() local
472 delete pCtrlItem[i]; in ~SvxRuler()
861 for(sal_uInt16 i = 0; i < nBorders; ++i) in UpdateColumns() local
863 pBorders[i].nStyle = _nFlags; in UpdateColumns()
864 if(!(*pColumnItem)[i].bVisible) in UpdateColumns()
865 pBorders[i].nStyle |= RULER_STYLE_INVISIBLE; in UpdateColumns()
866 pBorders[i].nPos = in UpdateColumns()
867 ConvertPosPixel((*pColumnItem)[i].nEnd + lAppNullOffset); in UpdateColumns()
868 if(pColumnItem->Count() == i + 1) in UpdateColumns()
872 pBorders[i].nWidth = 0; in UpdateColumns()
876 pBorders[i].nWidth = in UpdateColumns()
877 ConvertSizePixel((*pColumnItem)[i+1].nStart - in UpdateColumns()
878 (*pColumnItem)[i].nEnd); in UpdateColumns()
880 pBorders[i].nMinPos = in UpdateColumns()
881 ConvertPosPixel((*pColumnItem)[i].nEndMin + lAppNullOffset); in UpdateColumns()
882 pBorders[i].nMaxPos = in UpdateColumns()
883 ConvertPosPixel((*pColumnItem)[i].nEndMax + lAppNullOffset); in UpdateColumns()
1655 for(sal_uInt16 i = 0; i < nCount; ++i) pTabs[i].nPos += lDiff; in ModifyTabs_Impl() local
1710 for(sal_uInt16 i = 0; i < pColumnItem->Count()-1; ++i) in AdjustMargin1() local
1711 pBorders[i].nPos -= _lDiff; in AdjustMargin1()
1759 for(sal_uInt16 i = 0; i < pColumnItem->Count()-1; ++i) in AdjustMargin1() local
1760 pBorders[i].nPos += _lDiff; in AdjustMargin1()
1931 for(sal_uInt16 i = nIdx; i < nTabCount; ++i) in DragTabs() local
1933 pTabs[i].nPos += nDiff; in DragTabs()
1935 if(pTabs[i].nPos > GetMargin2()) in DragTabs()
1945 for(sal_uInt16 i = nIdx+1; i < nTabCount; ++i) in DragTabs() local
1947 if(pTabs[i].nStyle & RULER_TAB_DEFAULT) in DragTabs()
1950 long nDelta = pRuler_Imp->nTotalDist * pRuler_Imp->pPercBuf[i]; 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()
2001 for(sal_uInt16 i=0;i<pRuler_Imp->nControlerItems;i++) in SetActive() local
2002 pCtrlItem[i]->ReBind(); in SetActive()
2040 for(sal_uInt16 i = 0; i < nTabCount+TAB_GAP;++i) in UpdateParaContents_Impl() local
2041 pTabs[i].nPos += l; in UpdateParaContents_Impl()
2093 for(int i = nBorderCount-2; i >= nIdx; --i) in DragBorders() local
2095 long l = pBorders[i].nPos; in DragBorders()
2096 pBorders[i].nPos += lDiff; in DragBorders()
2097 pBorders[i].nPos = Min(pBorders[i].nPos, nRight - pBorders[i].nWidth); in DragBorders()
2098 nRight = pBorders[i].nPos - lMinFrame; in DragBorders()
2100 if(i == GetActRightColumn()) in DragBorders()
2102 UpdateParaContents_Impl(pBorders[i].nPos - l, MOVE_RIGHT); in DragBorders()
2106 else if(i == GetActLeftColumn()) in DragBorders()
2108 UpdateParaContents_Impl(pBorders[i].nPos - l, MOVE_LEFT); in DragBorders()
2161 for(int i = nStartLimit; i >= nLimit; --i) in DragBorders() local
2164 long l = pBorders[i].nPos; in DragBorders()
2165 pBorders[i].nPos=lLeft+ in DragBorders()
2166 (pRuler_Imp->nTotalDist*pRuler_Imp->pPercBuf[i])/1000+ in DragBorders()
2167 pRuler_Imp->pBlockBuf[i]; in DragBorders()
2172 if(i == GetActRightColumn()) in DragBorders()
2174 UpdateParaContents_Impl(pBorders[i].nPos - l, MOVE_RIGHT); in DragBorders()
2178 else if(i == GetActLeftColumn()) in DragBorders()
2180 UpdateParaContents_Impl(pBorders[i].nPos - l, MOVE_LEFT); in DragBorders()
2190 for(int i = 0; i < nIdx; ++i) in DragBorders() local
2191 pBorders[i].nPos += lDiff; in DragBorders()
2197 for(int i = pColumnItem->Count() - 1; i > nIdx; --i) in DragBorders() local
2198 pBorders[i].nPos += lDiff; in DragBorders()
2224 for(int i = 0; i < nIdx; ++i) in DragBorders() local
2226 pBorders[i].nPos += lDiff; in DragBorders()
2233 for(int i = nBorderCount-2; i >= nLimit; --i) in DragBorders() local
2235 pBorders[i].nPos += lDiff; in DragBorders()
2490 for ( sal_uInt16 i = 0; i < pItem->Count(); ) in ApplyTabs() local
2492 if ( SVX_TAB_ADJUST_DEFAULT == (*pItem)[i].GetAdjustment() ) in ApplyTabs()
2494 pItem->Remove(i); in ApplyTabs()
2497 ++i; in ApplyTabs()
2583 for(sal_uInt16 i = 0; i < pColumnItem->Count()-1; ++i) in ApplyBorders() local
2585 long& nEnd = (*pColumnItem)[i].nEnd; in ApplyBorders()
2587 ConvertPosLogic(pBorders[i].nPos), in ApplyBorders()
2588 (*pColumnItem)[i].nEnd); in ApplyBorders()
2589 long& nStart = (*pColumnItem)[i+1].nStart; in ApplyBorders()
2591 ConvertSizeLogic(pBorders[i].nPos + in ApplyBorders()
2592 pBorders[i].nWidth) - in ApplyBorders()
2594 (*pColumnItem)[i+1].nStart); in ApplyBorders()
2714 for(sal_uInt16 i = nStartBorder; i < nEndBorder; ++i) in PrepareProportional_Impl() local
2718 lActWidth += pBorders[i].nPos - lPos; in PrepareProportional_Impl()
2719 lPos = pBorders[i].nPos + pBorders[i].nWidth; in PrepareProportional_Impl()
2722 lActWidth = pBorders[i].nPos; in PrepareProportional_Impl()
2723 pRuler_Imp->pPercBuf[i] = (sal_uInt16)((lActWidth * 1000) in PrepareProportional_Impl()
2725 pRuler_Imp->pBlockBuf[i] = (sal_uInt16)lActBorderSum; in PrepareProportional_Impl()
2726 lActBorderSum += pBorders[i].nWidth; in PrepareProportional_Impl()
2742 for(sal_uInt16 i = nStart; i < pColumnItem->Count() - 1; ++i) in PrepareProportional_Impl() local
2744 lActWidth += pBorders[i].nPos - lPos; in PrepareProportional_Impl()
2745 lPos = pBorders[i].nPos + pBorders[i].nWidth; in PrepareProportional_Impl()
2746 pRuler_Imp->pPercBuf[i] = (sal_uInt16)((lActWidth * 1000) in PrepareProportional_Impl()
2748 pRuler_Imp->pBlockBuf[i] = (sal_uInt16)lActBorderSum; in PrepareProportional_Impl()
2749 lActBorderSum += pBorders[i].nWidth; in PrepareProportional_Impl()
2760 for(sal_uInt16 i = nIdx+1; i < nTabCount; ++i) in PrepareProportional_Impl() local
2762 const long nDelta = pTabs[i].nPos - pTabs[nIdx].nPos; in PrepareProportional_Impl()
2763 pRuler_Imp->pPercBuf[i] = (sal_uInt16)((nDelta * 1000) / pRuler_Imp->nTotalDist); in PrepareProportional_Impl()
3634 for(sal_uInt16 i=0;i<pRuler_Imp->nControlerItems;i++) in EndDrag() local
3636 pCtrlItem[i]->ClearCache(); in EndDrag()
3637 pCtrlItem[i]->GetBindings().Invalidate(pCtrlItem[i]->GetId()); in EndDrag()
3758 for ( sal_uInt16 i = RULER_TAB_LEFT; i < RULER_TAB_DEFAULT; ++i ) in Command() local
3760 sal_uInt16 nStyle = bRTL ? i|RULER_TAB_RTL : i; in Command()
3763 aMenu.InsertItem(i+1, in Command()
3764 String(ResId(RID_SVXSTR_RULER_START+i, DIALOG_MGR())), in Command()
3766 aMenu.CheckItem(i+1, i == pTabs[pRuler_Imp->nIdx+TAB_GAP].nStyle); in Command()
3779 for ( sal_uInt16 i = nCount; i; --i ) in Command() local
3781 const sal_uInt16 nId = aMenu.GetItemId(i - 1); in Command()
3788 aMenu.RemoveItem(i - 1); in Command()
3883 for(sal_uInt16 i = nStart; i < nBorderCount-1; ++i) in CalcPropMaxRight() local
3885 long lWidth=pBorders[i].nPos-lOldPos; in CalcPropMaxRight()
3889 lOldPos=pBorders[i].nPos+pBorders[i].nWidth; in CalcPropMaxRight()
3890 lFences+=pBorders[i].nWidth; in CalcPropMaxRight()
3946 for(sal_uInt16 i=GetActRightColumn(sal_False, nCol);i<nBorderCount;) in CalcPropMaxRight() local
3948 if((*pColumnItem)[i].bVisible) in CalcPropMaxRight()
3950 i=GetActRightColumn(sal_False, i); in CalcPropMaxRight()
3957 for(sal_uInt16 i=nCol;i<nBorderCount-1;i++) in CalcPropMaxRight() local
3959 lWidth+=lMinFrame+pBorders[i].nWidth; in CalcPropMaxRight()