Are you creating these reports from scratch or are you updating an existing Excel workbook with data? Are there any other images or pictures to be inserted into the file?
The reason I ask is that it should be possible to use Excel to create a template file and use it to insert the image into the header. Then you use POI to open the template file and populate it with data. By the way, do not create an xslt as the template, create a xlsx. This approach will not work if you are updating existing files as you will have to open each one with Excel and insert the image. Also, I know that there could be a problem with HSSF if you were inserting new images into a workbook that already contained images: put simply, inserting the new image removed all of the existing ones. I do not know if this limitation still exists with XSSF but it might. -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Bug-53309-New-Adding-image-to-header-tp5709959p5709975.html Sent from the POI - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
