code: public void writeContent(final OutputStream result) throws IOException
      {
          if(this.document.getLastElementWritten() != null && !(this.document.getLastElementWritten() instanceof RtfChapter)) {
              result.write(DocWriter.getISOBytes("\\page"));
          }
          result.write(DocWriter.getISOBytes("\\sectd"));
          document.getDocumentHeader().writeSectionDefinition(result);
          if(this.title != null) {
              this.title.writeContent(result);
          }
          for(int i = 0; i < items.size(); i++) {
          	RtfBasicElement rbe = (RtfBasicElement)items.get(i);
          	rbe.writeContent(result);
          }
          result.write(DocWriter.getISOBytes("\\sect"));
      }
docs: Writes the RtfChapter and its contents