code: public void writeContent(final OutputStream result) throws IOException
      {
      	result.write(OPEN_GROUP);
  		result.write(INFO_GROUP);
  		for(int i = 0; i < infoElements.size(); i++) {
  			RtfInfoElement infoElement = (RtfInfoElement) infoElements.get(i);
  			infoElement.writeContent(result);
  		}
  		
  		// handle document protection
      	if(document.getDocumentSettings().isDocumentProtected()) {
  	    	result.write(OPEN_GROUP);
  			result.write(INFO_PASSWORD);
  			result.write(DELIMITER);
  			result.write(document.getDocumentSettings().getProtectionHashBytes());
  			result.write(CLOSE_GROUP);
      	}
  
  		result.write(CLOSE_GROUP);
  		this.document.outputDebugLinebreak(result);
      }
docs: Writes the RTF information group and its elements.