/** * Write the content of this RtfHeaderFooterGroup. */ public virtual void WriteContent(Stream result) { if (this.mode == MODE_SINGLE) { headerAll.WriteContent(result); } else if (this.mode == MODE_MULTIPLE) { if (headerFirst != null) { headerFirst.WriteContent(result); } if (headerLeft != null) { headerLeft.WriteContent(result); } if (headerRight != null) { headerRight.WriteContent(result); } if (headerAll != null) { headerAll.WriteContent(result); } } }
/// <summary> /// Write the content of this RtfHeaderFooterGroup. /// </summary> public virtual void WriteContent(Stream result) { if (_mode == ModeSingle) { _headerAll.WriteContent(result); } else if (_mode == ModeMultiple) { if (_headerFirst != null) { _headerFirst.WriteContent(result); } if (_headerLeft != null) { _headerLeft.WriteContent(result); } if (_headerRight != null) { _headerRight.WriteContent(result); } if (_headerAll != null) { _headerAll.WriteContent(result); } } }