Forum


Replies: 5   Views: 1729
How do i get an array of links?
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by bkidd  · 02-05-2020 - 22:42

I've tried using the Indexer class whch returns an array of links for different document parts but the links array is always empty - even though there are links in the template.

Any suggestions?

Posted by admin  · 03-05-2020 - 09:04

Hello,

The current version of Indexer extract links from w:instrText tags, the current dev branch includes support for w:hyperlink tags in rels contents too.

This new feature is ready to be used. What package are you using? Classic or namespaces package? the dev team will send you the new class to your e-mail.

Regards.

Posted by bkidd  · 03-05-2020 - 09:35

I just purchased the premium version on April 30.  Yes, please send to me.  Thank you.

Posted by admin  · 03-05-2020 - 09:52

Hello,

Which package are you using? Classic or namespaces package? On MY PHPDOCX, Advanced and Premium licenses have two packages available: classic and namespaces, we need to know which one are you using to send the correct class.

Regards.

Posted by bkidd  · 03-05-2020 - 09:59

Sorry, I'm using the namespaced premium version in a Laravel application.  Thanks.

Posted by admin  · 03-05-2020 - 10:13

Hello,

Please check your e-mail address.

Regards.