コード例 #1
0
ファイル: Numbering.cs プロジェクト: BeiMeng/GitApplication
 public static CT_LsdException Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_LsdException ctObj = new CT_LsdException();
     ctObj.name = XmlHelper.ReadString(node.Attributes["w:name"]);
     if (node.Attributes["w:locked"] != null)
         ctObj.locked = (ST_OnOff)Enum.Parse(typeof(ST_OnOff), node.Attributes["w:locked"].Value);
     ctObj.uiPriority = XmlHelper.ReadString(node.Attributes["w:uiPriority"]);
     if (node.Attributes["w:semiHidden"] != null)
         ctObj.semiHidden = (ST_OnOff)Enum.Parse(typeof(ST_OnOff), node.Attributes["w:semiHidden"].Value);
     if (node.Attributes["w:unhideWhenUsed"] != null)
         ctObj.unhideWhenUsed = (ST_OnOff)Enum.Parse(typeof(ST_OnOff), node.Attributes["w:unhideWhenUsed"].Value);
     if (node.Attributes["w:qFormat"] != null)
         ctObj.qFormat = (ST_OnOff)Enum.Parse(typeof(ST_OnOff), node.Attributes["w:qFormat"].Value);
     return ctObj;
 }
コード例 #2
0
ファイル: Styles.cs プロジェクト: kahinke/npoi
 public CT_LsdException AddNewLsdException()
 {
     CT_LsdException lsd = new CT_LsdException();
     if (this.lsdExceptionField == null)
         this.lsdExceptionField = new List<CT_LsdException>();
     this.lsdExceptionField.Add(lsd);
     return lsd;
 }
コード例 #3
0
ファイル: Styles.cs プロジェクト: WPG/npoi
 public CT_LsdException AddNewLsdException()
 {
     CT_LsdException lsd = new CT_LsdException();
     this.lsdExceptionField.Add(lsd);
     return lsd;
 }