Highlighted

Hyperlink

Community Beginner ,
Sep 16, 2020

Copy link to clipboard

Copied

hyperlink.pngIn Indesign we get all info about all hyperlinks from Windows -> Interactive -> Hyperlinks (above screenshot shows this).

While reading using indesign sdk functions , Can we get Informartion about all hyperlinks(source(index,length) , destination(type))  (in table format or in list) present in indesign file using indesign sdk

If yes,then how? I am working in c language.

Correct answer by Madhuri1 | Community Beginner

I was try this also in this following way 

InterfacePtr<IHyperlinkTable> docHyperlinkTable(iDataBase, iDataBase->GetRootUID(), IID_IHYPERLINKTABLE);

for (UniqueKeyToUIDMap::const_iterator iter = docHyperlinkTable->GetDestinationKeyToUIDMapBeginIter();

                             iter != docHyperlinkTable->GetDestinationKeyToUIDMapEndIter(); ++iter){}.

 

but from this I only got destination and it's type But I want also source information (name ,its index ,page number).

TOPICS
How to, SDK

Views

62

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Hyperlink

Community Beginner ,
Sep 16, 2020

Copy link to clipboard

Copied

hyperlink.pngIn Indesign we get all info about all hyperlinks from Windows -> Interactive -> Hyperlinks (above screenshot shows this).

While reading using indesign sdk functions , Can we get Informartion about all hyperlinks(source(index,length) , destination(type))  (in table format or in list) present in indesign file using indesign sdk

If yes,then how? I am working in c language.

Correct answer by Madhuri1 | Community Beginner

I was try this also in this following way 

InterfacePtr<IHyperlinkTable> docHyperlinkTable(iDataBase, iDataBase->GetRootUID(), IID_IHYPERLINKTABLE);

for (UniqueKeyToUIDMap::const_iterator iter = docHyperlinkTable->GetDestinationKeyToUIDMapBeginIter();

                             iter != docHyperlinkTable->GetDestinationKeyToUIDMapEndIter(); ++iter){}.

 

but from this I only got destination and it's type But I want also source information (name ,its index ,page number).

TOPICS
How to, SDK

Views

63

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 16, 2020 0
Advisor ,
Sep 17, 2020

Copy link to clipboard

Copied

kDocBoss has IID_IHYPERLINKTABLE

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 17, 2020 0
Community Beginner ,
Sep 17, 2020

Copy link to clipboard

Copied

I was try this also in this following way 

InterfacePtr<IHyperlinkTable> docHyperlinkTable(iDataBase, iDataBase->GetRootUID(), IID_IHYPERLINKTABLE);

for (UniqueKeyToUIDMap::const_iterator iter = docHyperlinkTable->GetDestinationKeyToUIDMapBeginIter();

                             iter != docHyperlinkTable->GetDestinationKeyToUIDMapEndIter(); ++iter){}.

 

but from this I only got destination and it's type But I want also source information (name ,its index ,page number).

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 17, 2020 0