Java byteArray[] to docx
问题 doc file in byte[] type. Is it possible to convert it from byte[] into .docx file. tried just change file extension programilly but it does not work. any suggestions? I generate report using BiRT eclipse code of saving doc: options = new RenderOptionBase(); ByteArrayOutputStream bos = new ByteArrayOutputStream(); options.setOutputStream(bos); options.setOutputFormat("doc"); if(parameters != null){ task.setParameterValues(parameters); } task.setRenderOption(options); task.run(); return bos