Skip to main content
Inspiring
Nov 2, 2022 6:22 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

5 replies

Bernd Alheit
Community Expert
Community Expert
Nov 2, 2022 4:43 PM UTC

Is the whole text selectable?

Translate
Inspiring
Nov 3, 2022 4:55 AM UTC

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.

Translate
Bernd Alheit
Community Expert
Community Expert
Nov 3, 2022 11:57 AM UTC

Debug your code. Check the coordinates of all words.

Translate
try67
Community Expert
Community Expert
Nov 2, 2022 9:27 AM UTC

[Question moved to relevant forum]

Translate
Bernd Alheit
Community Expert
Community Expert
Nov 2, 2022 7:14 AM UTC

Try the forum for Acrobat SDK.

Translate