Hi,
I have two XLS files here:
Blank1.xls: An empty spreadsheet
Blank2.xls: An empty spreadsheet with a print area set
When I run the following:
var workbook = new Workbook();
workbook.Open("C:\\Blank1.xls", FileFormatType.Default);
workbook.Save("C:\\Blank1.xml", FileFormatType.SpreadsheetML);
workbook.Open("C:\\Blank2.xls", FileFormatType.Default);
workbook.Save("C:\\Blank2.xml", FileFormatType.SpreadsheetML);
I can open up Blank1.xml with OWC (Office Web Component) without any problem. But when I open up Blank2.xml, an error pops up stating that the named range "PRINT_TITLES" already exists.
Opening the Blank2.xml, I've noticed a problem at line 246:
The named range "PRINT_TITLES" was defined twice in the XML created by Aspose.
Can this be fixed so that we can convert spreadsheets with print areas to spreadsheetML?
Thanks,
-Steve