My requirement is to write data to excel Header & Footer section which is
accomplished using the following code.
HSSFHeader header=this.sheet.getHeader();
header.setCenter("XXX");
header.setLeft("YYY");
header.setRight(HSSFHeader.page());
HSSFFooter footer=this.sheet.getFooter();
footer.setCenter("XXX");
footer.setLeft("YYY");
footer.setRight("ZZZ");
My question is how can I write an image (for eg:a logo)to the header/footer?
setCenter()
setLeft()
setRight()
alll expects String
Please help me to resolve the issue.
Regards
Nikkie
--
View this message in context:
http://old.nabble.com/Writing-image-to-HSSFHeader--or-HSSFFooter-tp26790805p26790805.html
Sent from the POI - Dev mailing list archive at Nabble.com.