Hello.
Conversion from office document formats to PDF takes a lot of time for preview functionality.
Our current implementation is based on the sample below:
InputStream pptPresentationStream = ClassLoader.class.getResourceAsStream("/presentation.ppt");
Presentation pres = new Presentation(pptPresentationStream);
pres.save(“converted.pdf”, SaveFormat.Pdf);
The issue is that the first page is displayed only when the whole pdf doc is saved.
The questions are:
1. Is it possible to limit conversion to first n pages? (How?)
2. Is it possible to get the first converted output stream data immediately and not after whole doc conversion? (How?)
Regards
Martin