Hi,
Our requirement is like we have some documents like Ms-word and MS-Excel ,this document need to converted into PDF and need to be printed.our's is an web application.
my code for printing is below
com.itextpdf.text.Document document = new com.itextpdf.text.Document();
com.itextpdf.text.pdf.PdfWriter writer = com.itextpdf.text.pdf.PdfWriter.getInstance(document,resourceResponse.getPortletOutputStream());
document.open();
//printing is possible with below method.
writer.addJavaScript("this.print(false);", false);
//below we are adding the pdf file using add method
document.add();
document.close();
now can Aspose parse excel sheets/ms-word and provide it to document.add() method.So that it would be easy to integrate it with our Application.Or is there any other way to merge Excel sheet/MS-Word docs in PDF and Printing be possible.
Thanks
Docufind User