Exemplo n.º 1
0
 public static CT_Blip Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_Blip ctObj = new CT_Blip();
     ctObj.embed = XmlHelper.ReadString(node.Attributes["embed"]);
     ctObj.link = XmlHelper.ReadString(node.Attributes["link"]);
     if (node.Attributes["cstate"] != null)
         ctObj.cstate = (ST_BlipCompression)Enum.Parse(typeof(ST_BlipCompression), node.Attributes["cstate"].Value);
     ctObj.Items = new List<Object>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "extLst")
             ctObj.extLst = CT_OfficeArtExtensionList.Parse(childNode, namespaceManager);
         //else if (childNode.LocalName == "Items")
         //    ctObj.Items.Add(Object.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
Exemplo n.º 2
0
 public CT_TextBlipBullet()
 {
     this.blipField = new CT_Blip();
 }
Exemplo n.º 3
0
 public CT_Blip AddNewBlip()
 {
     this.blipField = new CT_Blip();
     return blipField;
 }