public HSpanColumn FindLeftUpperColumn() { VerticalGroup ownerGroup = OwnerVerticalGroup; return(ownerGroup.IsFirstGroup ? null : ownerGroup.GetUpperGroup().BottomSideFindFirstTouchColumnFromLeft(this.YTop, this.XLeftTop, this.XRightTop)); }
public HSpanColumn FindRightLowerColumn() { VerticalGroup ownerGroup = OwnerVerticalGroup; return(ownerGroup.IsLastGroup ? null : ownerGroup.GetLowerGroup().TopSideFindFirstTouchColumnFromRight(this.YBottom, this.XLeftBottom, this.XRightBottom)); }
void FlushCollectedColumns(HSpan[] hspans, int start, int colCount) { if (_currentVertGroup == null || _currentVertGroup.ColumnCount != colCount) { //start new group //create new _verticalGroupList.Append( _currentVertGroup = new VerticalGroup(_verticalGroupList, _verticalGroupList.Count, hspans, start, colCount)); return; } if (_currentVertGroup.AddHSpans(hspans, start, colCount)) { //pass return; } //create and add to a new vertical group _verticalGroupList.Append( _currentVertGroup = new VerticalGroup(_verticalGroupList, _verticalGroupList.Count, hspans, start, colCount)); }
public void Append(VerticalGroup vertGtoup) { _verticalGroupList.Add(vertGtoup); }
public VerticalGroupSeparator(VerticalGroupList verticalGroupList) { _lastestLine = -1; _currentVertGroup = null; _verticalGroupList = verticalGroupList; }
public HSpanColumn(VerticalGroup owner, int colNumber) { ColNumber = colNumber; OwnerVerticalGroup = owner; }