コード例 #1
0
ファイル: PageSetup.cs プロジェクト: ornoand/npoi
        public static CT_PaperSource Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_PaperSource ctObj = new CT_PaperSource();

            ctObj.first = XmlHelper.ReadString(node.Attributes["w:first"]);
            ctObj.other = XmlHelper.ReadString(node.Attributes["w:other"]);
            return(ctObj);
        }
コード例 #2
0
ファイル: PageSetup.cs プロジェクト: hjlfmy/npoi
 public static CT_PaperSource Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_PaperSource ctObj = new CT_PaperSource();
     ctObj.first = XmlHelper.ReadString(node.Attributes["w:first"]);
     ctObj.other = XmlHelper.ReadString(node.Attributes["w:other"]);
     return ctObj;
 }