Example #1
0
 /// <summary>
 /// Initialises the RtfDocumentHeader.
 /// </summary>
 protected internal void Init()
 {
     _codePage          = new RtfCodePage(Document);
     _colorList         = new RtfColorList(Document);
     _fontList          = new RtfFontList(Document);
     _listTable         = new RtfListTable(Document);
     _stylesheetList    = new RtfStylesheetList(Document);
     _infoGroup         = new RtfInfoGroup(Document);
     _protectionSetting = new RtfProtectionSetting(Document);
     _pageSetting       = new RtfPageSetting(Document);
     _header            = new RtfHeaderFooterGroup(Document, RtfHeaderFooter.TYPE_HEADER);
     _footer            = new RtfHeaderFooterGroup(Document, RtfHeaderFooter.TYPE_FOOTER);
     _generator         = new RtfGenerator(Document);
 }
 /**
  * Initialises the RtfDocumentHeader.
  */
 protected internal void Init()
 {
     this.codePage          = new RtfCodePage(this.document);
     this.colorList         = new RtfColorList(this.document);
     this.fontList          = new RtfFontList(this.document);
     this.listTable         = new RtfListTable(this.document);
     this.stylesheetList    = new RtfStylesheetList(this.document);
     this.infoGroup         = new RtfInfoGroup(this.document);
     this.protectionSetting = new RtfProtectionSetting(this.document);
     this.pageSetting       = new RtfPageSetting(this.document);
     this.header            = new RtfHeaderFooterGroup(this.document, HF.RtfHeaderFooter.TYPE_HEADER);
     this.footer            = new RtfHeaderFooterGroup(this.document, HF.RtfHeaderFooter.TYPE_FOOTER);
     this.generator         = new RtfGenerator(this.document);
 }
 /**
 * Initialises the RtfDocumentHeader.
 */
 protected internal void Init() {
     this.codePage = new RtfCodePage(this.document);
     this.colorList = new RtfColorList(this.document);
     this.fontList = new RtfFontList(this.document);
     this.listTable = new RtfListTable(this.document);
     this.stylesheetList = new RtfStylesheetList(this.document);
     this.infoGroup = new RtfInfoGroup(this.document);
     this.protectionSetting = new RtfProtectionSetting(this.document);
     this.pageSetting = new RtfPageSetting(this.document);
     this.header = new RtfHeaderFooterGroup(this.document, HF.RtfHeaderFooter.TYPE_HEADER);
     this.footer = new RtfHeaderFooterGroup(this.document, HF.RtfHeaderFooter.TYPE_FOOTER);
     this.generator = new RtfGenerator(this.document);
 }