I want to know how to create variable length comment box using NPOI.
Code that we are using to insert comment is this:-
Comment c = drawing.createCellComment (new HSSFClientAnchor(0, 0, 0, 0, 0, 0, 6, 5));
in this case it will span the number of columns and rows mentioned in the constructor.
However if the string length inside comment box can vary for each cell and Comments should be inserted dynamically for each cell then we do not know before hand how many columns or rows the comment box should span.
Any help in this would be greatly appreciated.
Thanks
Ashwinee
Code that we are using to insert comment is this:-
Comment c = drawing.createCellComment (new HSSFClientAnchor(0, 0, 0, 0, 0, 0, 6, 5));
in this case it will span the number of columns and rows mentioned in the constructor.
However if the string length inside comment box can vary for each cell and Comments should be inserted dynamically for each cell then we do not know before hand how many columns or rows the comment box should span.
Any help in this would be greatly appreciated.
Thanks
Ashwinee