Ejemplo n.º 1
0
 public void Set(CT_AbstractNum cT_AbstractNum)
 {
     this.abstractNumIdField  = cT_AbstractNum.abstractNumIdField;
     this.lvlField            = new List <CT_Lvl>(cT_AbstractNum.lvlField);
     this.multiLevelTypeField = cT_AbstractNum.multiLevelTypeField;
     this.nameField           = cT_AbstractNum.nameField;
     this.nsidField           = cT_AbstractNum.nsidField;
     this.numStyleLinkField   = cT_AbstractNum.numStyleLinkField;
     this.styleLinkField      = cT_AbstractNum.styleLinkField;
     this.tmplField           = cT_AbstractNum.tmplField;
 }
Ejemplo n.º 2
0
 public CT_AbstractNum()
 {
     this.lvlField = new List <CT_Lvl>();
     //this.numStyleLinkField = new CT_String();
     //this.styleLinkField = new CT_String();
     //this.nameField = new CT_String();
     //this.tmplField = new CT_LongHexNumber();
     this.multiLevelTypeField = new CT_MultiLevelType();
     this.nsidField           = new CT_LongHexNumber();
     this.nsidField.val       = new byte[4];
     Array.Copy(BitConverter.GetBytes(DateTime.Now.Ticks), 4, this.nsidField.val, 0, 4);
 }
Ejemplo n.º 3
0
 public CT_AbstractNum()
 {
     //this.lvlField = new List<CT_Lvl>();
     //this.numStyleLinkField = new CT_String();
     //this.styleLinkField = new CT_String();
     //this.nameField = new CT_String();
     //this.tmplField = new CT_LongHexNumber();
     this.multiLevelTypeField = new CT_MultiLevelType();
     this.nsidField = new CT_LongHexNumber();
     this.nsidField.val = new byte[4];
     Array.Copy(BitConverter.GetBytes(DateTime.Now.Ticks), 4, this.nsidField.val, 0, 4);
 }
Ejemplo n.º 4
0
 public static CT_MultiLevelType Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_MultiLevelType ctObj = new CT_MultiLevelType();
     if (node.Attributes["w:val"] != null)
         ctObj.val = (ST_MultiLevelType)Enum.Parse(typeof(ST_MultiLevelType), node.Attributes["w:val"].Value);
     return ctObj;
 }
Ejemplo n.º 5
0
 public void Set(CT_AbstractNum cT_AbstractNum)
 {
     this.abstractNumIdField = cT_AbstractNum.abstractNumIdField;
     this.lvlField = new List<CT_Lvl>(cT_AbstractNum.lvlField);
     this.multiLevelTypeField = cT_AbstractNum.multiLevelTypeField;
     this.nameField = cT_AbstractNum.nameField;
     this.nsidField = cT_AbstractNum.nsidField;
     this.numStyleLinkField = cT_AbstractNum.numStyleLinkField;
     this.styleLinkField = cT_AbstractNum.styleLinkField;
     this.tmplField = cT_AbstractNum.tmplField;
 }