Esempio n. 1
0
        public static CT_TextSpacingPoint Parse(XElement node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_TextSpacingPoint ctObj = new CT_TextSpacingPoint();

            ctObj.val = XmlHelper.ReadInt(node.Attribute("val"));
            return(ctObj);
        }
Esempio n. 2
0
        public static CT_TextSpacing Parse(XElement node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_TextSpacing ctObj = new CT_TextSpacing();

            foreach (XElement childNode in node.ChildElements())
            {
                if (childNode.Name.LocalName == "spcPct")
                {
                    ctObj.spcPct = CT_TextSpacingPercent.Parse(childNode, namespaceManager);
                }
                else if (childNode.Name.LocalName == "spcPts")
                {
                    ctObj.spcPts = CT_TextSpacingPoint.Parse(childNode, namespaceManager);
                }
            }
            return(ctObj);
        }
Esempio n. 3
0
 public CT_TextSpacingPoint AddNewSpcPts()
 {
     this.spcPtsField = new CT_TextSpacingPoint();
     return(this.spcPtsField);
 }