code: public boolean handleCloseGroup() {
  		this.onCloseGroup(); // event handler
  
  		if (this.rtfParser.isImport()) {
  			if (this.buffer.length() > 0) {
  				writeBuffer();
  			}
  			if (dataOS != null) {
  				addImage();
  				dataOS = null;
  			}
  			this.writeText("}");
  			return true;
  		}
  		if (this.rtfParser.isConvert()) {
  			if (dataOS != null) {
  				addImage();
  				dataOS = null;
  			}
  		}
  		return true;
  	}
docs: /* (non-Javadoc)
  @see com.lowagie.text.rtf.direct.RtfDestination#handleGroupEnd()