poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Beeker <kiwiwi...@apache.org>
Subject Re: Set comment width in pixels
Date Wed, 08 Jun 2016 07:40:39 GMT
Hi Bengt,

I guess comments are similar to pictures, but I haven't tested it out yet.

> Question then is how do you determine the width of a column in pixels?
This is how you do it for pictures: org.apache.poi.ss.util.ImageUtils.setPreferredSize(...)

I only had a quickview through the ecma schemas, but when it comes to exact positioning,
it looks like there's no such thing as anchors (only refs) for comments, otherwise a
OneCellAnchor (http://stackoverflow.com/questions/19291948) might be another solution ...
(If this would work and is interesting to you, we can change the visibility of the methods,
to get rid of the reflections ...)

Andi




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message