/// <summary> /// Initializes a new instance of the PageBreak class with the specified parent. /// </summary> internal PageBreak(DocumentObject parent) : base(parent) { }
/// <summary> /// Initializes a new instance of the Styles class with the specified parent. /// </summary> internal Styles(DocumentObject parent) : base(parent) { SetupStyles(); }
/// <summary> /// Initializes a new instance of the DocumentObject class with the specified parent. /// </summary> internal DocumentObject(DocumentObject parent) { Debug.Assert(parent != null, "Parent must not be null."); this.parent = parent; }
/// <summary> /// Initializes a new instance of the Section class with the specified parent. /// </summary> internal Section(DocumentObject parent) : base(parent) { }
/// <summary> /// Initializes a new instance of the Footnote class with the specified parent. /// </summary> internal Footnote(DocumentObject parent) : base(parent) { }
/// <summary> /// Initializes a new instance of the Border class with the specified parent. /// </summary> internal Border(DocumentObject parent) : base(parent) { }
/// <summary> /// Initializes a new instance of the Font class with the specified parent. /// </summary> internal Font(DocumentObject parent) : base(parent) { }
/// <summary> /// Initializes a new instance of the DocumentInfo class with the specified parent. /// </summary> internal DocumentInfo(DocumentObject parent) : base(parent) { }
/// <summary> /// Initializes a new instance of the Shading class with the specified parent. /// </summary> internal Shading(DocumentObject parent) : base(parent) { }
/// <summary> /// Initializes a new instance of the DocumentObjectCollection class with the specified parent. /// </summary> internal DocumentObjectCollection(DocumentObject parent) : base(parent) { this.elements = new ArrayList(); }
/// <summary> /// Inserts the object into the collection and sets it's parent. /// </summary> public virtual void Add(DocumentObject value) { SetParent(value); this.elements.Add(value); }
/// <summary> /// Determines the index of a specific item in the collection. /// </summary> public int IndexOf(DocumentObject val) { return(((IList)this).IndexOf(val)); }
/// <summary> /// Initializes a new instance of the FormattedText class with the specified parent. /// </summary> internal FormattedText(DocumentObject parent) : base(parent) { }