XML definition for link ok PPT file?

Hi,

We have a project where we create PPT file from a XML file. I have a link on XML file and I want to make also a link in PPT file.

I have my link as following in XML file.

<a href='http://www.mydomain.com'
target='_blank'>www.mydomain.com</a>


But it shows all as


www.mydomain.com

instead of having a link.


How can I add a link which is also a link in PPT file?

Any tip?



MS PowerPoint doesn’t understand html tags.
To insert link you should insert text and links separately.
After inserting text you can define link:

TextFrame tf = …
tf.Links.Clear();
Link lnk = tf.Links.AddLink();
lnk.SetExternalHyperlink(“http://www.mydomain.com”);
lnk.Begin = 0;
lnk.End = tf.Text.Length;