Hi Vincent,
Sorry for not send the mail to the dev list. I just reply the mail.
On Sun, Aug 24, 2008 at 6:13 PM, Vincent Massol <vincent(a)massol.net>
wrote:
On Aug 24, 2008, at 10:15 AM, Vincent Massol wrote:
On Aug 24, 2008, at 6:40 AM, Wang Ning wrote:
Hi,
Yes, I think it's necessary, if the client want to control the
output
directory.
Ok I've thought a bit about this and here's what I propose:
1) Introduce a new ConverterOutput interface with the following
methods:
- saveImage(String imageName, InputStream imageData);
- saveDocument(InputStream documentData);
Actually just realized that in some cases you'll have more than 1
output
file so instead you should have:
saveDocument(String documentName, InpuStream documentData);
Also is there a notion of main file? When there are several files
how do the
user know which one is the start/main file?
If the use give the target File to output to, like then the main
result file is just it. We can get the main output file in the
DefaultOfficeConverter as I change the inputstream to File and create
a temp file for the main target output file.