Hi,
Yes, sure we already tested, it works fine, here is the sample program (OS Win7, JDK1.5 Aspose.Cells for Java v7.1.1):
Sample code:
import java.io.*;
import com.aspose.cells.*;
import java.util.*;
public class Test {
public static void main(String[] args) throws IOException, Exception {
//This also works fine
//com.aspose.cells.Workbook template = new com.aspose.cells.Workbook ("QpaReportTemplate.xlsx");
com.aspose.cells.Workbook template = new Workbook(Test.class.getResourceAsStream("QpaReportTemplate.xlsx"));
template.save("outQpaReportTemplate.xlsx");
}
}
I have also attached the output file here.
Thank you.
Amjad Sahi
Support Developer,
Aspose Sialkot Team
Contact Us