|Summary:||Method to autosize cell comments|
|Product:||POI||Reporter:||Ralf Rublack <info>|
|Component:||XSSF||Assignee:||POI Developers List <dev>|
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  and ClientAnchor  don't have an autosize method. What are you doing right now to determine the ideal size of your Comment?  https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Comment.html#getClientAnchor%28%29  https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/ClientAnchor.html