示例#1
0
文件: Styles.cs 项目: kahinke/npoi
 public static CT_DocDefaults Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_DocDefaults ctObj = new CT_DocDefaults();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "rPrDefault")
             ctObj.rPrDefault = CT_RPrDefault.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "pPrDefault")
             ctObj.pPrDefault = CT_PPrDefault.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }
示例#2
0
文件: Styles.cs 项目: xoposhiy/npoi
 public CT_Styles()
 {
     this.styleField = new List<CT_Style>();
     this.latentStylesField = new CT_LatentStyles();
     this.docDefaultsField = new CT_DocDefaults();
 }
示例#3
0
文件: Styles.cs 项目: kahinke/npoi
 public CT_DocDefaults AddNewDocDefaults()
 {
     this.docDefaultsField = new CT_DocDefaults();
     return this.docDefaultsField;
 }