예제 #1
0
 /**
  * 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.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);
 }
예제 #2
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);
 }