示例#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;
 }
示例#2
0
 public CT_TextBlipBullet()
 {
     this.blipField = new CT_Blip();
 }
示例#3
0
 public CT_Blip AddNewBlip()
 {
     this.blipField = new CT_Blip();
     return blipField;
 }