Skip to main content
Inspiring
November 2, 2022
Question

In TOC page links are not creating properly, Acrobat dc using c++

  • November 2, 2022
  • 3 replies
  • 836 views

Hi,

I'm working TOC page in acrobat pdf, I'm using PDWordfinder from getting words using wordenumerator only.

 

Actually I need to create links, I'm able to create links but some documents not creating in between lines.

 

i used:

pConfig.ignoreCharGaps = true;//false
pConfig.ignoreLineGaps = false;//true

 

I'm attaching screen shots, Please refer created and  not created screen shoots.

This topic has been closed for replies.

3 replies

Bernd Alheit
Community Expert
Community Expert
November 2, 2022

Is the whole text selectable?

Inspiring
November 3, 2022

Yes, I'm selecting whole Toc Page. Actually I'm doing logic every Toc line breaking through compare bottom values, other then how can i compare get the line by line.

Bernd Alheit
Community Expert
Community Expert
November 3, 2022

Debug your code. Check the coordinates of all words.

try67
Community Expert
Community Expert
November 2, 2022

[Question moved to relevant forum]

Bernd Alheit
Community Expert
Community Expert
November 2, 2022

Try the forum for Acrobat SDK.