public static CT_FFCheckBox Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_FFCheckBox ctObj = new CT_FFCheckBox(); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "checked") { ctObj.checkedField = CT_OnOff.Parse(childNode, namespaceManager); } else if (childNode.LocalName == "default") { ctObj.defaultField = CT_OnOff.Parse(childNode, namespaceManager); } else if (childNode.LocalName == "size") { ctObj.itemField = CT_HpsMeasure.Parse(childNode, namespaceManager); } else if (childNode.LocalName == "sizeAuto") { ctObj.itemField = CT_OnOff.Parse(childNode, namespaceManager); } } return(ctObj); }
public CT_RubyPr() { this.dirtyField = new CT_OnOff(); this.lidField = new CT_Lang(); this.hpsBaseTextField = new CT_HpsMeasure(); this.hpsRaiseField = new CT_HpsMeasure(); this.hpsField = new CT_HpsMeasure(); this.rubyAlignField = new CT_RubyAlign(); }
public static CT_HpsMeasure Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_HpsMeasure ctObj = new CT_HpsMeasure(); ctObj.val = XmlHelper.ReadULong(node.Attributes["w:val"]); return(ctObj); }
public static CT_HpsMeasure Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_HpsMeasure ctObj = new CT_HpsMeasure(); ctObj.val = XmlHelper.ReadULong(node.Attributes["w:val"]); return ctObj; }