code: public NamedOdsFileWriter createWriter(final File file) throws IOException {
          final NamedOdsDocument document = this.createNamedDocument();
          final NamedOdsFileWriter writer = OdsFileDirectWriter.builder(this.logger, document)
                  .openResult(this.openFile(file)).build();
          document.addObserver(writer);
          document.prepareFlush();
          return writer;
      }
docs: Create a new ODS file writer from a document. Be careful: this method opens immediatly a
  stream.
  
  @param file the destination file
  @return the ods writer
  @throws IOException if an I/O error occurs