code: public void writeContent(final OutputStream result) throws IOException
      {
          try {
              // This is so that all color, font and similar information is processed once, before
              // the header section is written.
              writeSectionDefinition(new RtfNilOutputStream());
              
              this.codePage.writeDefinition(result);
              this.fontList.writeDefinition(result);
              this.colorList.writeDefinition(result);
              this.stylesheetList.writeDefinition(result);
              this.listTable.writeDefinition(result);
              this.generator.writeContent(result);
              this.infoGroup.writeContent(result);
              this.protectionSetting.writeDefinition(result);
              this.pageSetting.writeDefinition(result);
              
              writeSectionDefinition(result);
          } catch(IOException ioe) {
              ioe.printStackTrace();
          }
      }
docs: Writes the contents of the document header area.