Exemple #1
0
 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();
         }
     }
 }
Exemple #2
0
 private void InitBlock(ICalcChart enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
Exemple #3
0
 public Head(ICalcChart enclosingInstance)
 {
     this.InitBlock(enclosingInstance);
     this.leftHead = null;
     this.topHead  = null;
 }
Exemple #4
0
 public ChartParam(ICalcChart enclosingInstance, UnitSet prop)
 {
     this.InitBlock(enclosingInstance);
     this.props = prop;
 }