0

In my java application i am trying to create a Workbook from a template. Here is a code snippet to do that,

InputStream inStream=new FileInputStream(file);        
Workbook workbook = new Workbook(inStream);

When the template is blank or contains plain text, it is converted to Workbook but when template contains png or other charts exception occurs as:

com.aspose.cells.CellsException: Invalid sectionId of Header Footer image

Please Help!

Shahid
  • 2,288
  • 1
  • 14
  • 24
Prabin Upreti
  • 498
  • 5
  • 16

1 Answers1

0

We need your template file to evaluate your issue properly. Please post your issue with template Excel file in the Aspose.Cells forum there, we will check it soon.

I am working as Support developer/ Evangelist at Aspose.

Amjad Sahi
  • 1,813
  • 1
  • 10
  • 15
  • My template contains, some pngs at the header and footer section, I got the solution by upgrading the aspose.cells version to 9.0.0 – Prabin Upreti Sep 19 '16 at 03:50