https://bz.apache.org/bugzilla/show_bug.cgi?id=65530

--- Comment #3 from PJ Fanning <fannin...@yahoo.com> ---
var rel = slide.getPackagePart()
    .addRelationship(uri, TargetMode.EXTERNAL,
XSLFRelation.HYPERLINK.getRelation());

the uri in this call is not for adding mailto addresses - this is for accessing
files with the pptx zip file.

Using the CTPicture class like that is not a directly supported part of POI.
Those classes are generated from the Microsoft XML schemas. Many people can
work out how to do custom code using them but it is basically the wild west.
People generally start by producing a pptx in Powerpoint and then unzipping it
to look at the XML they need to produce.

XLSFHyperlink is the supported POI class. I am not sure if it can be used to
associate a hyperlink to a picture.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to