Would it be possible to add a method like Shapes.removeComment(int row, int col)?
Today I cannot find any way of deleting a single comment for a specific cell.
Thanks and best regards,
We will check if we could add your proposed method soon.
We have added support for removing individual shapes including comments for your need. Please try the attached version (Aspose.Cells for Java 220.127.116.11).
In this fix, some new methods for Shapes class are added:
- removeComment(int row,int column), removeComment(String cellName) for removing Comment of specific cell
- removeShape(int index), removeShape(Shape shape) for removing common Shape, including Comment.
Workbook workbook = new Workbook();
Worksheets worksheets = workbook.getWorksheets();
Worksheet sheet = worksheets.getSheet(0);
Shapes shapes = sheet.getShapes();
Thanks for your quick help!!!