Hi,
Thank you! Step by step I go ahead... to cells 7.
These questions are still open:
https://forum.aspose.com/t/122578
https://forum.aspose.com/t/122578
1) we don't have now class: com.aspose.cells.AsposeLicenseException ( Can I remove it ? )
so now, these code : will not throw such exception ?
com.aspose.cells.License license = new com.aspose.cells.License();
license.setLicense( inputStream );
2) How it is possible to call:
chart.getCategoryAxis().getArea() ?? now?
3) Previously I have used: FileFormatType.EXCEL2007, but now seems like: EXCEL_2007_XLSX, but it is deprecated, why ???
what I should use insted of this deprecated constant ?
4) I have used before this constant:
ChartType.COLUMN_CLUSTERED
but now what is it ? this one : COLUMN_3_D_CLUSTERED??
5) I have understood correctly, that it is the same behavior (before and now), yes ???
before:
InputStream workbookInputStream = createSimpleChartWorkbook();
Workbook workbook = new Workbook();
workbook.open( workbookInputStream );
now:
InputStream workbookInputStream = createSimpleChartWorkbook();
Workbook workbook = null;
try
{
workbook = new Workbook( workbookInputStream );
}
catch( Exception e )
{
//exception
}
6) this is correct re-writing?
before:
Worksheet chartSheet = worksheets.addSheet( SheetType.CHART );
chartSheet.setName( "ChartSheet" );
now:
Worksheet chartSheet = worksheets.add ( "ChartSheet" );
chartSheet.setType( SheetType.CHART );