public TextDocument()
{
this._fields = new FieldsCollection();
this.Content = new ContentCollection();
this.Styles = new StyleCollection();
this.m_styleFactory = new StyleFactory(this);
this.CommonStyles = new StyleCollection();
this.FontList = new ArrayList();
this._graphics = new ArrayList();
this._formCollection = new ODFFormCollection();
this._formCollection.Clearing += FormsCollection_Clear;
this._formCollection.Removed += FormsCollection_Removed;
this.VariableDeclarations = new VariableDeclCollection();
}