Here is the sample code to create tool tip for the cell
org.apache.poi.ss.usermodel.Comment comment = drawing.createCellComment(anchor);
RichTex开发者_StackOverflowtString strCmt = factory.createRichTextString("Tool tipssssssssssss");
comment.setString(strCmt);
comment.setAuthor("Rinkalkumar");
This part of code sets tool tip to cell
Problem is it gets displayed on open office not on MS office
Any solutions to overcome this problem?
I am using poi-3.6.
As noted in the comments, the trick to solve this problem is to upgrade to a newer copy of POI (3.7 at a minimum, ideally 3.8 only out, or one of it's betas for now)
精彩评论