Page 1 of 1
stream and byte array for WordprocessingMLPackage
Posted:
Fri Dec 17, 2010 8:34 am
by fix
It would be nice if the WordprocessingMLPackage.load() supported stream and byte array.
The same for saving....
Re: stream and byte array for WordprocessingMLPackage
Posted:
Fri Dec 17, 2010 9:00 am
by jason
Please see my reply in earlier thread
viewtopic.php?f=6&t=420cheers .. Jason
Re: stream and byte array for WordprocessingMLPackage
Posted:
Fri Dec 17, 2010 11:27 pm
by fix
and the saving part....for direct output to e.g. servlet?
Re: stream and byte array for WordprocessingMLPackage
Posted:
Mon Dec 20, 2010 4:11 pm
by jason
- Code: Select all
res.setContentType("application/vnd.openxmlformats-officedocument.wordprocessingml.document");
SaveToZipFile saver = new SaveToZipFile(wordMLPackage);
saver.save(res.getOutputStream());
where res is HttpServletResponse
Re: stream and byte array for WordprocessingMLPackage
Posted:
Tue Dec 21, 2010 2:38 am
by fix
thnx alot Jason, that will work for me!