code: public void writeSectionDefinition(final OutputStream result) 
      {
          try {
              RtfHeaderFooterGroup header = convertHeaderFooter(this.header, RtfHeaderFooter.TYPE_HEADER);
              RtfHeaderFooterGroup footer = convertHeaderFooter(this.footer, RtfHeaderFooter.TYPE_FOOTER);
              if(header.hasTitlePage() || footer.hasTitlePage()) {
                  result.write(TITLE_PAGE);
                  header.setHasTitlePage();
                  footer.setHasTitlePage();
              }
              if(header.hasFacingPages() || footer.hasFacingPages()) {
                  result.write(FACING_PAGES);
                  header.setHasFacingPages();
                  footer.setHasFacingPages();
              }
              footer.writeContent(result);
              header.writeContent(result);
              pageSetting.writeSectionDefinition(result);
          } catch(IOException ioe) {
              ioe.printStackTrace();
          }    	
      }
docs: Writes the section definition data
  @param result