code: public void writeContent(final OutputStream result) throws IOException
      {    	
          result.write(TEXT_HIDDEN_ON);
          result.write(OPEN_GROUP);
          if(this.showPageNumber) {
              result.write(TOC_ENTRY_PAGE_NUMBER);
          } else {
              result.write(TOC_ENTRY_NO_PAGE_NUMBER);
          }
          result.write(DELIMITER);
          this.document.filterSpecialChar(result, this.entry, true, false);
          result.write(CLOSE_GROUP);
          result.write(TEXT_HIDDEN_OFF);
      }
docs: Writes the content of the <code>RtfTOCEntry</code>.
  
  @param result The <code>OutputStream</code> to write to.
  @throws IOException on i/o errors.