Example #1
0
        public static CT_LongHexNumber Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_LongHexNumber ctObj = new CT_LongHexNumber();

            ctObj.val = XmlHelper.ReadBytes(node.Attributes["w:val"]);
            return(ctObj);
        }
Example #2
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;
 }
Example #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);
 }
Example #4
0
 public CT_Style()
 {
     this.tblStylePrField = new List<CT_TblStylePr>();
     this.tcPrField = new CT_TcPr();
     this.trPrField = new CT_TrPr();
     this.tblPrField = new CT_TblPrBase();
     this.rPrField = new CT_RPr();
     this.pPrField = new CT_PPr();
     this.rsidField = new CT_LongHexNumber();
     this.personalReplyField = new CT_OnOff();
     this.personalComposeField = new CT_OnOff();
     this.personalField = new CT_OnOff();
     this.lockedField = new CT_OnOff();
     this.qFormatField = new CT_OnOff();
     this.unhideWhenUsedField = new CT_OnOff();
     this.semiHiddenField = new CT_OnOff();
     this.uiPriorityField = new CT_DecimalNumber();
     this.hiddenField = new CT_OnOff();
     this.autoRedefineField = new CT_OnOff();
     this.linkField = new CT_String();
     this.nextField = new CT_String();
     this.basedOnField = new CT_String();
     this.aliasesField = new CT_String();
     this.nameField = new CT_String();
 }
Example #5
0
 public CT_DocRsids()
 {
     this.rsidField = new List<CT_LongHexNumber>();
     this.rsidRootField = new CT_LongHexNumber();
 }
Example #6
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);
 }
Example #7
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;
 }
Example #8
0
 public static CT_LongHexNumber Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_LongHexNumber ctObj = new CT_LongHexNumber();
     ctObj.val = XmlHelper.ReadBytes(node.Attributes["w:val"]);
     return ctObj;
 }