You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error
Railo 3.3.1.000 Error (expression)
Message No matching Method/Function for org.apache.poi.hssf.usermodel.HSSFWorkbook.addPicture(struct, numeric) found
Stacktrace The Error Occurred in
C:\DataSites\pfizer\WEB-INF\railo\components\org\cfpoi\spreadsheet\Spreadsheet.cfc: line 437
SpreadsheetAddImage is not handling things properly when you pass in an image object, rather than a file path. A temporary work around is to pass in the bytes of the image object instead.
Error
Railo 3.3.1.000 Error (expression)
Message No matching Method/Function for org.apache.poi.hssf.usermodel.HSSFWorkbook.addPicture(struct, numeric) found
Stacktrace The Error Occurred in
C:\DataSites\pfizer\WEB-INF\railo\components\org\cfpoi\spreadsheet\Spreadsheet.cfc: line 437
called fromC:\DataSites\pfizer\WEB-INF\railo\library\function\SpreadsheetAddImage.cfm: line 24
called fromC:\DataSites\pfizer\front\templates\export_xls.cfm: line 305
when using this code
All except the line <cfset SpreadsheetAddImage(s, myBgImage, "jpg", "0,0,26,26,#i#,#j#,#i+1#,#j+1#")> works fine
Thanks for your help
Didier Giet
The text was updated successfully, but these errors were encountered: