Bug 53518 - Method to autosize cell comments
Summary: Method to autosize cell comments
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.7-FINAL
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2012-07-07 12:21 UTC by Ralf Rublack
Modified: 2015-11-23 06:10 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Rublack 2012-07-07 12:21:52 UTC
Please add some functionality to auto-size cell comment on comment length.

Because comments size depends on column and row size, sometimes comments are not 
readable. Especial if Clientanchor is not given position and size, it's set to row 0 and column 0 with the size of it.
Comment 1 Javen O'Neal 2015-11-23 06:10:58 UTC
I'm having a difficult time understanding what you want POI to do here. Could you include some code to demonstrate the problem you're experiencing?

As you pointed out, Comment [1] and ClientAnchor [2] don't have an autosize method. What are you doing right now to determine the ideal size of your Comment?

[1] https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Comment.html#getClientAnchor%28%29
[2] https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/ClientAnchor.html