code: @Override
  public synchronized void  close(Reporter reporter) throws IOException {
  
  	try {
  			this.officeWriter.close();
  		}  finally {
  			if (this.currentReader!=null) {
  				this.currentReader.close();
  			}
  		}
   }
docs: *
  
  This method closes the document and writes it into the OutputStream