protected ODFFormControl(ODFForm parentForm, XElement node) { _document = parentForm.Document; ParentForm = parentForm; Node = node; _contentCollection = null; _controlRef = null; Properties = new FormPropertyCollection(); Properties.Inserted += PropertyCollection_Inserted; Properties.Removed += PropertyCollection_Removed; }
protected ODFFormControl(ODFForm ParentForm, XmlNode node) { _document = ParentForm.Document; _parentForm = ParentForm; Node = node; _contentCollection = null; _controlRef = null; _properties = new FormPropertyCollection(); _properties.Inserted += PropertyCollection_Inserted; _properties.Removed += PropertyCollection_Removed; }
protected ODFFormControl(ODFForm ParentForm, ContentCollection contentCollection, string id, string x, string y, string width, string height) //: base (document, ContentCollection, id, x, y, width, height) { _document = ParentForm.Document; _parentForm = ParentForm; Node = ParentForm.Node; _contentCollection = contentCollection; CreateBasicNode(); ID = id; _controlRef = new ODFControlRef(_document, id, x, y, width, height); _properties = new FormPropertyCollection(); _properties.Inserted += PropertyCollection_Inserted; _properties.Removed += PropertyCollection_Removed; }
protected ODFFormControl(ODFForm parentForm, ContentCollection contentCollection, string id) { _document = parentForm.Document; ParentForm = parentForm; Node = parentForm.Node; _contentCollection = contentCollection; CreateBasicNode(); Id = id; ControlImplementation = "ooo:com.sun.star.form.component.TextField"; _controlRef = new ODFControlRef(_document, id); Properties = new FormPropertyCollection(); Properties.Inserted += PropertyCollection_Inserted; Properties.Removed += PropertyCollection_Removed; }
public ODFForm(XmlNode node, IDocument document) { Document = document; this.Node = node; _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; }
public ODFForm(XElement node, IDocument document) { Document = document; Node = node; 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; }
/// <summary> /// Creates an ODFForm /// </summary> /// <param name="document">Parent document</param> /// <param name="name">Form name</param> 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; }
public ODFForm(XmlNode node, IDocument document) { Document = document; this.Node = node; _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; }
protected ODFFormControl(ODFForm ParentForm, ContentCollection contentCollection, string id) { _document = ParentForm.Document; _parentForm = ParentForm; Node = ParentForm.Node; _contentCollection = contentCollection; CreateBasicNode(); ID = id; this.ControlImplementation = "ooo:com.sun.star.form.component.TextField"; _controlRef = new ODFControlRef(_document, id); _properties = new FormPropertyCollection(); _properties.Inserted += PropertyCollection_Inserted; _properties.Removed += PropertyCollection_Removed; }