Hyperlink appears but does not work.

Aug 16, 2012 at 10:05 PM

Hi, first off thank you for the class it is great!

I am having an issue putting a hyperlink inside of a table cell. In the powerpoint presentation it appears to have worked (blue underlined text) but when the link is clicked nothing happens. There also doesn't seem to be a tooltip.

Here is my code:

$linktext=$cell->createTextRun("");
$linktext->getHyperlink()->setUrl("www.google.com");
$linktext->getHyperlink()->setTooltip("Link");

I'm not sure if I should be using TextRuns or some other object for the hyperlink and would opening the presentation in PowerPoint 2010 disable the links (it says some content may have been disabled).

Thanks for any help!