public ODFForm(IDocument document, string name)
{
Document = document;
CreateBasicNode();
this.ControlImplementation = "ooo:com.sun.star.form.component.Form";
this.ApplyFilter = XmlBoolean.True;
this.CommandType = CommandType.Table;
this.Name = name;
_controls = new ODFControlsCollection();
_controls.Inserted += ControlsCollection_Inserted;
_controls.Removed += ControlsCollection_Removed;
_controls.Clearing += ControlsCollection_Clearing;
_properties = new FormPropertyCollection();
_properties.Inserted += PropertyCollection_Inserted;
_properties.Removed += PropertyCollection_Removed;
_formCollection = new ODFFormCollection();
_formCollection.Inserted += FormCollection_Inserted;
_formCollection.Removed += FormCollection_Removed;
}