You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by renji <je...@gmail.com> on 2013/02/20 11:23:28 UTC
Re: Create Header XWPF
I followed the instructions in this topic - it works great, but i have
another problem.
I tried to add a picture to header paragraph but it doesnt work (red cross)
- it works fine if i add it to the body paragraph:
XWPFRun runHeaderImage = paragraphHeader.createRun();
runHeaderImage.addPicture(fis, XWPFDocument.PICTURE_TYPE_JPEG, "1.jpg",
imageWidth,imageHeight);
Has anybody tried to add an image to the header?
please help,
best regards,
renji
--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Create-Header-XWPF-tp5711976p5712140.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org