XSSF header image

2016-10-18 Thread Daniel Küppers
Hello everyone, i want to place an image in the background header and footer in a XSSFSheet. I read the documentation which states that the parameter *&G* is to be used, but not actually how. The apache poi bug tracker also refers to this user list to ask a question about this. I searched throu

Re: Invocation Target exception on XSSFWorkbook

2016-10-24 Thread Daniel Küppers
hi, see comments inline. Am 25.10.2016 um 06:46 schrieb ashokkumarg: When I read a value from excel I get the following exception trace. org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.

Add hyperlink to picture since 3.14-Beta1

2017-03-01 Thread Daniel Küppers
Hi, before apache poi 3.14-Beta1 i used to connect a picture with a hyperlink over the XSSFDrawing.addRelation() method. Example: XSSFDrawing drawing = row.getSheet().createDrawingPatriarch(); PackageRelationship rel = drawing.getPackagePart().addRelationship( new URI(myWebsiteTarget), TargetM

Re: Add hyperlink to picture since 3.14-Beta1

2017-03-06 Thread Daniel Küppers
RLINK, so it seems you can use something like: drawing.addRelation(rel.getId(), XSLFRelation.HYPERLINK, new POIXMLDocumentPart()); Dominik. On Wed, Mar 1, 2017 at 3:49 PM, Daniel Küppers wrote: Hi, before apache poi 3.14-Beta1 i used to connect a picture with a hyperlink ove