Summary: | HFFSPicture.getPrefferedSize() doesn't work very well | ||
---|---|---|---|
Product: | POI | Reporter: | damiano biagioli <damiano_biagioli> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 3.0-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | other |
Description
damiano biagioli
2007-10-26 01:40:02 UTC
HFFSPicture.getPreferredSize() calculates anchor for the default grid. If you insert an image, add cells below it and some of the cells are large then the image gets resized. It's a natural behavior, there is nothing to enhance. Can you post a code snippet? BTW, there is silly typo in the method signature. it should be HFFSPicture.getPreferredSize (), not HFFSPicture.getPrefferedSize(). I'm going to change it. Yegor |