Hello, I’m writing you because I was a little confused by results of my tests for aspose-cells.8.5.0 The deal is that I upload document with table and then perform:
ListObjectCollection tables = sheet.getListObjects(); if (tables != null) { for (int j = 0; j < tables.getCount(); j++) { if (tables.get(j) != null) { ListColumnCollection columns = tables.get(j).getListColumns(); ListColumn listC = columns.get(0);//I can see columns.get(0).getName() here listC .getRange();//here is null … } } }
Of cause I always could get result of tables.get(j).getDataRange() //not null But what is wrong with ListColumn.getRange() ? Could you please say if I made mistake? Thank you in advance
Please also provide us some excel document containing your table/list object so that we could test your code and investigate this issue at our end further. We will look into it and update you asap.
We have evaluated the presented scenario while using the latest version of Aspose.Cells for Java 8.5.0.4, and we are able to notice the problem. The ListColumn.getRange function always returns null. We have logged an investigative ticket (CELLSJAVA-41412) in our database to look further into this matter. Please allow us some time for proper analysis. In the meanwhile, we will keep you posted with updates in this regard.
We have fixed
this issue now. We will provide you a fix in couple of days after
incorporating other enhancements and fixes and conducting some extensive
testing. Once, it is available for you, we will let you know asap by
posting in this thread.
Thank you for the confirmation on previously reported problem. Regarding the recent concerns, we appreciate if you can create a new thread providing the supporting document(s) for our testing because the current thread’s title does seem to be irrelevant to the recently shared concerns. Moreover, it is advised to create a new a new thread for every distinct problem for the ease of tracking your request.
By the way, we need your complete code so we have some idea about which cell is being referenced along with the sample spreadsheet used for testing on your side.