 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Al White Guest
|
Posted: Thu Sep 16, 2004 6:43 pm Post subject: Hyperlinks in Word and PowerPoint |
|
|
In Delphi, I need to validate a bunch of hyperlinks from Word docs and PowerPoint presentations.
In Excel, the hyperlink is attached to the cell. Those I can follow and open the presentations and documents that the Excel links
point to. (they are all links to files, not to web addresses...)
In Word and in PowerPoint, what component is the hyperlink attached to? I would have thought that PPT's would attach hyperlinks to
the shape object, but it seems to be attached to the Slide.
And I have no clue where I'll find them in Word... :-)
Thanks!
Al
--
Al White
|
|
| Back to top |
|
 |
Deborah Pate (TeamB) Guest
|
Posted: Thu Sep 16, 2004 7:27 pm Post subject: Re: Hyperlinks in Word and PowerPoint |
|
|
<
And I have no clue where I'll find them in Word...
The Document object has a Hyperlinks collection, so you
could do something like
for Idx := 1 to Documents.Hyperlinks.Count do
Address := Document.Hyperlinks.Item(Idx).Address;
...
That's pseudocode, sorry, as I can't check it now - but it
should be about right. :)
--
Deborah Pate (TeamB) http://delphi-jedi.org
TeamB don't see posts sent via Google or ISPs
Use the real Borland server: newsgroups.borland.com
http://www.borland.com/newsgroups/genl_faqs.html
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|