BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hyperlinks in Word and PowerPoint

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Al White
Guest





PostPosted: Thu Sep 16, 2004 6:43 pm    Post subject: Hyperlinks in Word and PowerPoint Reply with quote



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





PostPosted: Thu Sep 16, 2004 7:27 pm    Post subject: Re: Hyperlinks in Word and PowerPoint Reply with quote



< And I have no clue where I'll find them in Word... Smile
Quote:


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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.