public Head(ICalcChart enclosingInstance, object catValue, object catCell, object seriesValue, object seriesCell) { this.InitBlock(enclosingInstance); this.leftHead = null; this.topHead = null; if (catValue is CSVar) { CellExt ext = (CellExt)catCell; int extensible = ((CSVar)catValue).getCell().Extensible; if (PropertyDefine.CEX_VERTICAL.Equals(extensible)) { this.leftHead = ext; } else if (PropertyDefine.CEX_HORIZONTAL.Equals(extensible)) { this.topHead = ext; } else { this.leftHead = ext.getLeftHead(); this.topHead = ext.getTopHead(); } } if (seriesValue is CSVar) { CellExt ext2 = (CellExt)seriesCell; int num2 = ((CSVar)seriesValue).getCell().Extensible; if (PropertyDefine.CEX_VERTICAL.Equals(num2)) { this.leftHead = (CellExt)seriesCell; } else if (PropertyDefine.CEX_HORIZONTAL.Equals(num2)) { this.topHead = (CellExt)seriesCell; } else { this.leftHead = ext2.getLeftHead(); this.topHead = ext2.getTopHead(); } } }
private void InitBlock(ICalcChart enclosingInstance) { this.enclosingInstance = enclosingInstance; }
public Head(ICalcChart enclosingInstance) { this.InitBlock(enclosingInstance); this.leftHead = null; this.topHead = null; }
public ChartParam(ICalcChart enclosingInstance, UnitSet prop) { this.InitBlock(enclosingInstance); this.props = prop; }