예제 #1
0
 public void ClearStyle()
 {
     style_ = null;
     try
     {
         if (!HasChildren())
         {
             return;
         }
         NodesList list = GetChildrenNodes();
         for (Node node = list.Next(); node != null; node = list.Next())
         {
             try
             {
                 if (node.type_.type != ElementType.Entity)
                 {
                     node.ClearStyle();
                 }
             }
             catch
             {
             }
         }
     }
     catch
     {
     }
 }