Ejemplo n.º 1
0
 public CT_StrRef AddNewStrRef()
 {
     this.strRefField = new CT_StrRef();
     return this.strRefField;
 }
Ejemplo n.º 2
0
        //private object itemField;

        //[XmlElement("multiLvlStrRef", typeof(CT_MultiLvlStrRef), Order = 0)]
        //[XmlElement("numLit", typeof(CT_NumData), Order = 0)]
        //[XmlElement("numRef", typeof(CT_NumRef), Order = 0)]
        //[XmlElement("strLit", typeof(CT_StrData), Order = 0)]
        //[XmlElement("strRef", typeof(CT_StrRef), Order = 0)]
        //public object Item
        //{
        //    get
        //    {
        //        return this.itemField;
        //    }
        //    set
        //    {
        //        this.itemField = value;
        //    }
        //}



         public CT_StrRef AddNewStrRef()
         {
             strRef = new CT_StrRef();
             return strRef;
         }
Ejemplo n.º 3
0
 public static CT_StrRef Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_StrRef ctObj = new CT_StrRef();
     ctObj.extLst = new List<CT_Extension>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "f")
             ctObj.f = childNode.InnerText;
         else if (childNode.LocalName == "strCache")
             ctObj.strCache = CT_StrData.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "extLst")
             ctObj.extLst.Add(CT_Extension.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }