This line:
drawingPatriarch.getPackagePart().addExternalRelationship(
"http://milos.malovic.net/slika.jpg", XSLFRelation.IMAGES.getRelation() );
solves problem of generation *drawing1.xml.rels* file and generation of
unique id for every image relation which is added. drawingPatriarch is
object of XSSFDrawing class.
--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Load-remote-image-inside-excel-sheet-tp5709821p5709888.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
|