Hi,
i am try to use aspose.pdf but it is not working. and i am trying to convert pdf to xls file.
out is being created but not data exist in excel file. my pdf have some pages and some data in table or without table format.
i am using jar - aspose-pdf-9.7.1-jdk14.jar
my code is -
public class PdfToExcel {
public static void main(String[] args) {
// Load PDF document
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document("RHY1.pdf");
// Instantiate ExcelSave Option object
com.aspose.pdf.ExcelSaveOptions excelsave = new com.aspose.pdf.ExcelSaveOptions();
// Save the output to XLS format
pdfDocument.save("RHY1.xls", excelsave);
System.out.println("Done");
}
}
i am try to use aspose.pdf but it is not working. and i am trying to convert pdf to xls file.
out is being created but not data exist in excel file. my pdf have some pages and some data in table or without table format.
i am using jar - aspose-pdf-9.7.1-jdk14.jar
my code is -
public class PdfToExcel {
public static void main(String[] args) {
// Load PDF document
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document("RHY1.pdf");
// Instantiate ExcelSave Option object
com.aspose.pdf.ExcelSaveOptions excelsave = new com.aspose.pdf.ExcelSaveOptions();
// Save the output to XLS format
pdfDocument.save("RHY1.xls", excelsave);
System.out.println("Done");
}
}