Example #1
0
 public void FixOptionCollection()
 {
     _options.Clear();
     SuppressOptionEvents();
     foreach (XElement nodeChild in Node.Elements())
     {
         if (nodeChild.Name == Ns.Form + "option" && nodeChild.Parent == Node)
         {
             ODFOption sp = new ODFOption(_document, nodeChild);
             _options.Add(sp);
         }
     }
     RestoreOptionEvents();
 }