开发者

Cell comment does not get displayed on MS office though it comes on open office

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜