Lines Matching refs:rDescriptor
52 const ColumnDescriptor& rDescriptor) const;
370 ColumnDescriptor& rDescriptor (maColumnDescriptors[nColumnIndex]); in LayoutColumn() local
371 const sal_Int32 nLeft (nX + rDescriptor.GetLeftPadding()); in LayoutColumn()
372 …const sal_Int32 nWidth (rDescriptor.GetWidth() - rDescriptor.GetLeftPadding() - rDescriptor.GetRig… in LayoutColumn()
433 ColumnDescriptor& rDescriptor (maColumnDescriptors[nColumn]); in DistributeWidth() local
436 const sal_Int32 nWidth (GetMinimumColumnWidth(rColumn, rDescriptor)); in DistributeWidth()
438 rDescriptor.SetWidth(nWidth); in DistributeWidth()
440 if (rDescriptor.GetWeight() <= 0) in DistributeWidth()
443 nTotalColumnWeight += rDescriptor.GetWeight(); in DistributeWidth()
456 ColumnDescriptor& rDescriptor (maColumnDescriptors[nColumn]); in DistributeWidth() local
458 if (rDescriptor.GetWeight() > 0) in DistributeWidth()
460 sal_Int32 nWidth (nDistributableWidth * rDescriptor.GetWeight() / nTotalColumnWeight); in DistributeWidth()
463 if (nWidth < rDescriptor.GetWidth()) in DistributeWidth()
464 nWidth = rDescriptor.GetWidth(); in DistributeWidth()
465 if (rDescriptor.GetMaximumWidth()>0) in DistributeWidth()
466 if (nWidth > rDescriptor.GetTotalMaximumWidth()) in DistributeWidth()
467 nWidth = rDescriptor.GetTotalMaximumWidth(); in DistributeWidth()
469 rDescriptor.SetWidth(nWidth); in DistributeWidth()
479 ColumnDescriptor& rDescriptor (maColumnDescriptors[nColumn]); in DistributeWidth() local
480 if (rDescriptor.GetWeight() > 0) in DistributeWidth()
482 rDescriptor.SetWidth(rDescriptor.GetWidth() + nRemainingWidth); in DistributeWidth()
493 const ColumnDescriptor& rDescriptor) const in GetMinimumColumnWidth()
496 sal_Int32 nMinimumWidth (rDescriptor.GetMinimumWidth()); in GetMinimumColumnWidth()
511 if (nMinimumWidth > rDescriptor.GetMaximumWidth() && rDescriptor.GetMaximumWidth()>0) in GetMinimumColumnWidth()
512 nMinimumWidth = rDescriptor.GetMaximumWidth(); in GetMinimumColumnWidth()
516 + rDescriptor.GetLeftPadding() in GetMinimumColumnWidth()
517 + rDescriptor.GetRightPadding(); in GetMinimumColumnWidth()