Esempio n. 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.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);
 }
Esempio n. 2
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.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);
 }