예제 #1
0
 public static CT_TextSpacingPercent Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_TextSpacingPercent ctObj = new CT_TextSpacingPercent();
     ctObj.val = XmlHelper.ReadInt(node.Attributes["val"]);
     return ctObj;
 }
예제 #2
0
        public static CT_TextSpacingPercent Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_TextSpacingPercent ctObj = new CT_TextSpacingPercent();

            ctObj.val = XmlHelper.ReadInt(node.Attributes["val"]);
            return(ctObj);
        }
예제 #3
0
        public static CT_TextSpacing Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_TextSpacing ctObj = new CT_TextSpacing();

            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "spcPct")
                {
                    ctObj.spcPct = CT_TextSpacingPercent.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "spcPts")
                {
                    ctObj.spcPts = CT_TextSpacingPoint.Parse(childNode, namespaceManager);
                }
            }
            return(ctObj);
        }
예제 #4
0
 public CT_TextSpacingPercent AddNewSpcPct()
 {
     this.spcPctField = new CT_TextSpacingPercent();
     return this.spcPctField;
 }
예제 #5
0
 public CT_TextSpacingPercent AddNewSpcPct()
 {
     this.spcPctField = new CT_TextSpacingPercent();
     return(this.spcPctField);
 }