Lines Matching refs:pColumnItem
333 pColumnItem(0), in SvxRuler()
482 delete pColumnItem; in ~SvxRuler()
614 lLogicNullOffset = pColumnItem? in UpdateFrame()
615 pColumnItem->GetLeft(): pLRSpaceItem->GetLeft(); in UpdateFrame()
628 if(pColumnItem && pColumnItem->IsTable()) in UpdateFrame()
629 lRight = pColumnItem->GetRight(); in UpdateFrame()
643 lLogicNullOffset = pColumnItem? in UpdateFrame()
644 pColumnItem->GetLeft(): pULSpaceItem->GetUpper(); in UpdateFrame()
655 long lLower = pColumnItem ? in UpdateFrame()
656 pColumnItem->GetRight() : pULSpaceItem->GetLower(); in UpdateFrame()
668 if(pColumnItem) in UpdateFrame()
670 pRuler_Imp->nColLeftPix = (sal_uInt16) ConvertSizePixel(pColumnItem->GetLeft()); in UpdateFrame()
671 pRuler_Imp->nColRightPix = (sal_uInt16) ConvertSizePixel(pColumnItem->GetRight()); in UpdateFrame()
808 delete pColumnItem; pColumnItem = 0; in Update()
810 pColumnItem = new SvxColumnItem(*pItem); in Update()
812 pColumnItem->SetWhich(SID_RULER_BORDERS_VERTICAL); in Update()
814 else if(pColumnItem && pColumnItem->Which() == nSID) in Update()
822 delete pColumnItem; pColumnItem = 0; in Update()
838 if(pColumnItem && pColumnItem->Count() > 1) in UpdateColumns()
840 if( nBorderCount < pColumnItem->Count()) in UpdateColumns()
843 nBorderCount = pColumnItem->Count(); in UpdateColumns()
852 if( pColumnItem->IsTable() ) in UpdateColumns()
858 sal_uInt16 nBorders = pColumnItem->Count(); in UpdateColumns()
864 if(!(*pColumnItem)[i].bVisible) in UpdateColumns()
867 ConvertPosPixel((*pColumnItem)[i].nEnd + lAppNullOffset); in UpdateColumns()
868 if(pColumnItem->Count() == i + 1) in UpdateColumns()
877 ConvertSizePixel((*pColumnItem)[i+1].nStart - in UpdateColumns()
878 (*pColumnItem)[i].nEnd); in UpdateColumns()
881 ConvertPosPixel((*pColumnItem)[i].nEndMin + lAppNullOffset); in UpdateColumns()
883 ConvertPosPixel((*pColumnItem)[i].nEndMax + lAppNullOffset); in UpdateColumns()
885 SetBorders(pColumnItem->Count()-1, pBorders); in UpdateColumns()
1543 DBG_ASSERT(!pColumnItem || pColumnItem->GetActColumn() < pColumnItem->Count(), in GetLeftFrameMargin()
1546 pColumnItem && pColumnItem->Count() && pColumnItem->GetActColumn() < pColumnItem->Count() ? in GetLeftFrameMargin()
1547 (*pColumnItem)[pColumnItem->GetActColumn()].nStart : 0; in GetLeftFrameMargin()
1548 if(pParaBorderItem && (!pColumnItem || pColumnItem->IsTable())) in GetLeftFrameMargin()
1580 if(pColumnItem) in GetRightFrameMargin()
1584 long nRet = (*pColumnItem)[GetActRightColumn( sal_True )].nEnd; in GetRightFrameMargin()
1585 if(pColumnItem->IsTable() && pParaBorderItem) in GetRightFrameMargin()
1594 if(pColumnItem && pColumnItem->IsTable()) in GetRightFrameMargin()
1595 l += pColumnItem->GetRight(); in GetRightFrameMargin()
1602 (!pColumnItem || pColumnItem->IsTable()||IsActLastColumn( sal_True ))) in GetRightFrameMargin()
1614 #define TAB_FLAG ( pColumnItem && pColumnItem->IsTable() )
1671 if(pColumnItem&& in DragMargin1()
1692 if(!pColumnItem||!(nDragType & DRAG_OBJECT_SIZE_LINEAR)) in AdjustMargin1()
1696 if(!pColumnItem && !pObjectItem && pParaItem) in AdjustMargin1()
1708 if(pColumnItem) in AdjustMargin1()
1710 for(sal_uInt16 i = 0; i < pColumnItem->Count()-1; ++i) in AdjustMargin1()
1712 SetBorders(pColumnItem->Count()-1, pBorders); in AdjustMargin1()
1713 if(pColumnItem->IsFirstAct()) in AdjustMargin1()
1746 if(!pColumnItem||!(nDragType & (DRAG_OBJECT_SIZE_LINEAR | in AdjustMargin1()
1749 if(!pColumnItem && !pObjectItem && pParaItem) in AdjustMargin1()
1757 if(pColumnItem) in AdjustMargin1()
1759 for(sal_uInt16 i = 0; i < pColumnItem->Count()-1; ++i) in AdjustMargin1()
1761 SetBorders(pColumnItem->Count()-1, pBorders); in AdjustMargin1()
1762 if(pColumnItem->IsFirstAct()) in AdjustMargin1()
1805 if(pRuler_Imp->bIsTableRows && !bHorz && pColumnItem&& in DragMargin2()
1818 if((!pColumnItem || IsActLastColumn()) && pParaItem) in DragMargin2()
2197 for(int i = pColumnItem->Count() - 1; i > nIdx; --i) in DragBorders()
2272 SetBorders(pColumnItem->Count()-1, pBorders); in DragBorders()
2371 if(pColumnItem&&!IsActFirstColumn( sal_True )) in ApplyIndents()
2426 if(pColumnItem && ((!bRTL && !IsActLastColumn( sal_True ))|| (bRTL && !IsActFirstColumn()))) in ApplyIndents()
2568 if(pColumnItem->IsTable()) in ApplyBorders()
2572 pColumnItem->SetLeft( PixelHAdjust( in ApplyBorders()
2573 ConvertHPosLogic(l) - lAppNullOffset, pColumnItem->GetLeft())); in ApplyBorders()
2578 pColumnItem->SetRight( PixelHAdjust( nWidthOrHeight - in ApplyBorders()
2579 pColumnItem->GetLeft() - ConvertHPosLogic(l) - in ApplyBorders()
2580 lAppNullOffset, pColumnItem->GetRight() ) ); in ApplyBorders()
2583 for(sal_uInt16 i = 0; i < pColumnItem->Count()-1; ++i) in ApplyBorders()
2585 long& nEnd = (*pColumnItem)[i].nEnd; in ApplyBorders()
2588 (*pColumnItem)[i].nEnd); in ApplyBorders()
2589 long& nStart = (*pColumnItem)[i+1].nStart; in ApplyBorders()
2594 (*pColumnItem)[i+1].nStart); in ApplyBorders()
2601 Debug_Impl(pEditWin,*pColumnItem); in ApplyBorders()
2607 pBindings->GetDispatcher()->Execute( nColId, SFX_CALLMODE_RECORD, pColumnItem, &aFlag, 0L ); in ApplyBorders()
2656 DBG_ASSERT(pColumnItem, "kein ColumnItem"); in PrepareProportional_Impl()
2658 pRuler_Imp->SetPercSize(pColumnItem->Count()); in PrepareProportional_Impl()
2700 nEndBorder = pColumnItem->Count() - 1; in PrepareProportional_Impl()
2732 for(sal_uInt16 ii = nStart; ii < pColumnItem->Count() - 1; ++ii) in PrepareProportional_Impl()
2742 for(sal_uInt16 i = nStart; i < pColumnItem->Count() - 1; ++i) in PrepareProportional_Impl()
2803 pColumnItem ) ) in EvalModifier()
2918 if(!pColumnItem || pColumnItem->Count() == 1 ) in CalcMinMax()
2942 (pColumnItem->Count() - 1 ) * lMinFrame; in CalcMinMax()
2960 (pColumnItem->IsTable() && pLRSpaceItem) in CalcMinMax()
2967 if(pColumnItem->IsFirstAct()) in CalcMinMax()
2982 else if( pColumnItem->Count() > 1 ) in CalcMinMax()
2988 if(pLRSpaceItem&&pColumnItem->IsTable()) in CalcMinMax()
3006 if(!pColumnItem) in CalcMinMax()
3027 nMaxLeft = nMaxRight = pBorders[pColumnItem->Count() - 1].nMaxPos + lNullPix; in CalcMinMax()
3033 nMaxLeft = (pColumnItem->Count()) * lMinFrame + lNullPix; in CalcMinMax()
3037 if(pColumnItem->Count() > 1) in CalcMinMax()
3038 nMaxLeft = pBorders[pColumnItem->Count() - 2].nPos + lMinFrame + lNullPix; in CalcMinMax()
3042 if(pColumnItem->Count() > 1) in CalcMinMax()
3043 nMaxRight = pBorders[pColumnItem->Count() - 2].nMaxPos + lNullPix; in CalcMinMax()
3051 if(IsActLastColumn() || pColumnItem->Count() < 2 ) //Falls letzte Spalte aktiv in CalcMinMax()
3066 if( pColumnItem->Count() >= 2 ) in CalcMinMax()
3070 pBorders[pColumnItem->Count()-2].nPos + in CalcMinMax()
3071 pBorders[pColumnItem->Count()-2].nWidth; in CalcMinMax()
3093 if(nIdx == pColumnItem->GetActColumn()) in CalcMinMax()
3117 if(pColumnItem) in CalcMinMax()
3128 if(pColumnItem->IsTable()) in CalcMinMax()
3161 (pColumnItem->Count() - nIdx - 1) * lMinFrame; in CalcMinMax()
3299 if(nIdx == pColumnItem->Count()-2) { // letzte Spalte in CalcMinMax()
3301 if(pColumnItem->IsLastAct()) { in CalcMinMax()
3312 if(pColumnItem->GetActColumn()-1 == nIdx) { in CalcMinMax()
3339 if(pColumnItem && !pColumnItem->IsFirstAct()) in CalcMinMax()
3340 nMaxLeft += pBorders[pColumnItem->GetActColumn()-1].nPos + in CalcMinMax()
3341 pBorders[pColumnItem->GetActColumn()-1].nWidth; in CalcMinMax()
3359 if(pColumnItem && !pColumnItem->IsFirstAct()) in CalcMinMax()
3360 nMaxLeft += pBorders[pColumnItem->GetActColumn()-1].nPos + in CalcMinMax()
3361 pBorders[pColumnItem->GetActColumn()-1].nWidth; in CalcMinMax()
3383 if(pColumnItem) in CalcMinMax()
3400 if(pColumnItem) in CalcMinMax()
3479 if(pColumnItem) in StartDrag()
3488 if(pColumnItem) in StartDrag()
3490 nDragOffset = pColumnItem->IsTable()? 0 : in StartDrag()
3557 if(pColumnItem) in Drag()
3593 if(!pColumnItem || !pColumnItem->IsTable()) in EndDrag()
3596 if(pColumnItem && in EndDrag()
3597 (pColumnItem->IsTable() || in EndDrag()
3607 if(pColumnItem) in EndDrag()
3802 nAct = pColumnItem->GetActColumn(); in GetActRightColumn()
3808 while( nAct < pColumnItem->Count() - 1 ) in GetActRightColumn()
3810 if( (*pColumnItem)[nAct].bVisible || bConsiderHidden ) in GetActRightColumn()
3824 nAct=pColumnItem->GetActColumn(); in GetActLeftColumn()
3833 if( (*pColumnItem)[ nAct - nLOffs ].bVisible || bConsiderHidden ) in GetActLeftColumn()
3869 if(!pColumnItem->IsTable()) in CalcPropMaxRight()
3917 while(!(*pColumnItem)[nRight].bVisible) in CalcPropMaxRight()
3943 if(pColumnItem->IsTable()) in CalcPropMaxRight()
3948 if((*pColumnItem)[i].bVisible) in CalcPropMaxRight()