Exemple #1
0
 public static CT_AxPos Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_AxPos ctObj = new CT_AxPos();
     if (node.Attributes["val"] != null)
         ctObj.val = (ST_AxPos)Enum.Parse(typeof(ST_AxPos), node.Attributes["val"].Value);
     return ctObj;
 }
Exemple #2
0
 public CT_AxPos AddNewAxPos()
 {
    this.axPosField=new CT_AxPos();
    return this.axPosField;
 }
Exemple #3
0
 private static AxisPosition toAxisPosition(CT_AxPos ctAxPos)
 {
     switch (ctAxPos.val)
     {
         case ST_AxPos.b: return AxisPosition.Bottom;
         case ST_AxPos.l: return AxisPosition.Left;
         case ST_AxPos.r: return AxisPosition.Right;
         case ST_AxPos.t: return AxisPosition.Top;
         default: return AxisPosition.Bottom;
     }
 }
Exemple #4
0
 private static AxisPosition toAxisPosition(CT_AxPos ctAxPos)
 {
     switch (ctAxPos.val)
     {
         case ST_AxPos.b: return AxisPosition.BOTTOM;
         case ST_AxPos.l: return AxisPosition.LEFT;
         case ST_AxPos.r: return AxisPosition.RIGHT;
         case ST_AxPos.t: return AxisPosition.TOP;
         default: return AxisPosition.BOTTOM;
     }
 }
Exemple #5
0
 public CT_ValAx()
 {
     this.extLstField = new List<CT_Extension>();
     this.dispUnitsField = new CT_DispUnits();
     this.minorUnitField = new CT_AxisUnit();
     this.majorUnitField = new CT_AxisUnit();
     this.crossBetweenField = new CT_CrossBetween();
     this.crossAxField = new CT_UnsignedInt();
     this.tickLblPosField = new CT_TickLblPos();
     this.minorTickMarkField = new CT_TickMark();
     this.majorTickMarkField = new CT_TickMark();
     this.numFmtField = new CT_NumFmt();
     this.titleField = new CT_Title();
     this.minorGridlinesField = new CT_ChartLines();
     this.majorGridlinesField = new CT_ChartLines();
     this.axPosField = new CT_AxPos();
     this.deleteField = new CT_Boolean();
     this.scalingField = new CT_Scaling();
     this.axIdField = new CT_UnsignedInt();
 }
Exemple #6
0
 public CT_CatAx()
 {
     this.extLstField = new List<CT_Extension>();
     this.noMultiLvlLblField = new CT_Boolean();
     this.tickMarkSkipField = new CT_Skip();
     this.tickLblSkipField = new CT_Skip();
     this.lblOffsetField = new CT_LblOffset();
     this.lblAlgnField = new CT_LblAlgn();
     this.autoField = new CT_Boolean();
     this.crossAxField = new CT_UnsignedInt();
     this.tickLblPosField = new CT_TickLblPos();
     this.minorTickMarkField = new CT_TickMark();
     this.majorTickMarkField = new CT_TickMark();
     this.numFmtField = new CT_NumFmt();
     this.titleField = new CT_Title();
     this.minorGridlinesField = new CT_ChartLines();
     this.majorGridlinesField = new CT_ChartLines();
     this.axPosField = new CT_AxPos();
     this.deleteField = new CT_Boolean();
     this.scalingField = new CT_Scaling();
     this.axIdField = new CT_UnsignedInt();
 }
Exemple #7
0
 public CT_DateAx()
 {
     this.extLstField = new List<CT_Extension>();
     this.minorTimeUnitField = new CT_TimeUnit();
     this.minorUnitField = new CT_AxisUnit();
     this.majorTimeUnitField = new CT_TimeUnit();
     this.majorUnitField = new CT_AxisUnit();
     this.baseTimeUnitField = new CT_TimeUnit();
     this.lblOffsetField = new CT_LblOffset();
     this.autoField = new CT_Boolean();
     this.crossAxField = new CT_UnsignedInt();
     this.tickLblPosField = new CT_TickLblPos();
     this.minorTickMarkField = new CT_TickMark();
     this.majorTickMarkField = new CT_TickMark();
     this.numFmtField = new CT_NumFmt();
     this.titleField = new CT_Title();
     this.minorGridlinesField = new CT_ChartLines();
     this.majorGridlinesField = new CT_ChartLines();
     this.axPosField = new CT_AxPos();
     this.deleteField = new CT_Boolean();
     this.scalingField = new CT_Scaling();
     this.axIdField = new CT_UnsignedInt();
 }