ENH: SpreadSheetAddImage does not support xlsx files
Opened this issue · 0 comments
Leigh- commented
Using SpreadSheetAddImage() on xlsx files generates an error
Code:
<cfset sheet = SpreadSheetNew("Sheet1", false) />
<cfset imgPath = ExpandPath("files/smallSourceImage.png") />
<cfset SpreadSheetAddImage(sheet, imgPath, "1,1,5,5") />
Error:
Message org.apache.poi.hssf.usermodel.HSSFClintAnchor cannot be cast to org.apache.poi.xssf.usermodel.XSSFClientAnchor