开发者

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

开发者 https://www.devze.com 2023-03-18 10:10 出处:网络
Here is the sample code to create tool tip for the cell org.apache.poi.ss.usermodel.Comment comment = drawing.createCellComment(anchor);

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

精彩评论

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

关注公众号