https://bz.apache.org/bugzilla/show_bug.cgi?id=57973
Dominik Stadler <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Depends on| |56835 Resolution|--- |INVALID --- Comment #1 from Dominik Stadler <[email protected]> --- This check was added on-purpose as otherwise you could create invalid Excel workbooks, see bug 56835 for more details. The anchor that you specify for comments has setCol/setRow methods which specify where the comment resides in the spreadsheet. When you add multiple comments you need to pass different anchors which specify the actual location of the comment, e.g. by adding the following between the calls to createComment() your code-sample is running fine: anchor = factory.createClientAnchor(); anchor.setCol1(2); anchor.setCol2(3); anchor.setRow1(1); anchor.setRow2(2); See also http://poi.apache.org/spreadsheet/quick-guide.html#CellComments -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
