DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43700>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43700 Summary: HFFSPicture.getPrefferedSize() doesn't work very well Product: POI Version: 3.0-dev Platform: All OS/Version: other Status: NEW Severity: enhancement Priority: P3 Component: HSSF AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] hello . I was using the apache poi hssf library (the 3.0.2), in order to include an image in an externally generetad image . my code is omething like : HSSFPicture picture = patriarch.createPicture(new HSSFClientAnchor(), loadPictureFromFilesystem(picturePath, wb )); HSSFClientAnchor prefferedSize = picture.getPrefferedSize(); picture.setAnchor(prefferedSize); the problem is , under the image there is a table with some very large cells . So, the assumption made in http://svn.apache.org/repos/asf/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPicture.java that is , int cellwidth = 64; int rowheight = 17; is no more true . as a result, the image is distorted -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
