Missing links for words with hyphens and line breaks...

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Marisa_11
User
Posts: 11
Joined: Tue Jan 05, 2021 10:41 pm

Missing links for words with hyphens and line breaks...

Post by Marisa_11 »

Hello and happy new year everyone!

Here is my problem:
After creating links from bookmarks, I was surprised to find that words located at the end of a line (line break) with a hyphen do not contain links... :oops:
As you can see in the screenshot below, the words "objectivity" and "language" don't have links. I have tried all the options available ("match only full words", etc) but nothing helps!

Here is a screenshot:
vrai.PNG

Is this a bug ..?
How to solve this problem ? :)

Thanks for your help!

NB: this is all the more strange because when you perform a search under the same conditions (word with a hyphen and located at the end of a line), the word is recognized! (see screenshot above with the word "objectivity").
You do not have the required permissions to view the files attached to this post.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11586
Joined: Wed Jan 03, 2018 6:52 pm

Re: Missing links for words with hyphens and line breaks...

Post by Daniel - PDF-XChange »

Hi, Marisa_11

Could I ask you to please send us a copy of the file and screenshots of the setting you have in place for the tool when this happens?
If the file contains sensitive information ill suited to a public forum, please Email us with a link to this forum topic, our email is support@pdf-xchange.com

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Marisa_11
User
Posts: 11
Joined: Tue Jan 05, 2021 10:41 pm

Re: Missing links for words with hyphens and line breaks...

Post by Marisa_11 »

Hi Daniel,

Here is the PDF file you requested...:
file.pdf

In the options box ("Detect Interactive Text Link"), I tried several settings but still have the same problem :oops:

screen01.PNG

Many thanks for your help! :)
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Missing links for words with hyphens and line breaks...

Post by Stefan - PDF-XChange »

Hello Marisa_11,

I've managed to reproduce your issue, and discussed it with a colleague who works on that Bookmarks functionality.
We've already created a ticket in our system (for internal use only):
#5416: Bookmarks Plug-in: Creating links from bookmarks does not work over hyphenated words.
And will let you know as soon as there is any further news in that ticket.

Kind regards,
Stefan
Marisa_11
User
Posts: 11
Joined: Tue Jan 05, 2021 10:41 pm

Re: Missing links for words with hyphens and line breaks...

Post by Marisa_11 »

Hi Stefan,

Great! Hope this will be fixed soon :D

May I suggest a feature...?

As for bookmarks with the "Get Style from Selected Text" function, it would be very convenient to have the same functionality when creating links!
We would avoid mistakes (choose the wrong font for instance...) and save a lot of time!

Thank you all! :)
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11586
Joined: Wed Jan 03, 2018 6:52 pm

Re: Missing links for words with hyphens and line breaks...

Post by Daniel - PDF-XChange »

Hi, Marisa_11

When creating bookmarks, we are able to copy the existing format into a newly created bookmark because they do not physically exist on the page, This is not the case with Links. Links are actually just a transparent rectangle that is automatically placed to overlap the text in question, there is no actual relation to the text itself, and if you use one of the editing tool to move the text, the link will not move with it.

By extension, we cannot modify the existing text properties for that reason and a few others. Modifying the text properties can, and often does, cause numerous issues especially when it comes to text wrapping. PDF does not actually have a "text wrapping" function built in, it is not a flow based format like MS Word, but is instead coordinate based. Making any changes to the font type/size, etc could cause new linebreaks, changes in the flow, and even lead to overlap or page runoff.

As such, for the moment we will not be able to go forward with this request, but perhaps in the future that may change.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Marisa_11
User
Posts: 11
Joined: Tue Jan 05, 2021 10:41 pm

Re: Missing links for words with hyphens and line breaks...

Post by Marisa_11 »

Hi Daniel,

Thanks for this explanation, I found this feature so useful and obvious, I now understand why it was not implemented.
Otherwise I stumbled upon a problem with the bookmarks and links, I'll post a message about it as soon as possible.

A small request: what is the version of the Regex engine used by PDF-XChange?

I would like to customize bookmark titles (apart from the classic layouts, ie "Title Case" etc.) and I cannot find the appropriate command. Usually with a Perl Regex, we use the sign ">" for upper case and "<" for lower case.

Ditto for these two functions which (strangely) are not recognized by the software :
\p{L} : matches any kind of letter from any language (very useful when working with diacritic letters!)
\p{P} : matches any kind of punctuation character.

Thank you in advance for your details and your help! :)
Marisa
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11586
Joined: Wed Jan 03, 2018 6:52 pm

Re: Missing links for words with hyphens and line breaks...

Post by Daniel - PDF-XChange »

Hi, Marisa_11

i do not believe that we use Pearl regex, but being entirely honest I am not very familiar with the internal systems on this feature, so I could be wrong. The most I could tell you is what is offered in this page, and the Wikipedia article linked therein: https://help.pdf-xchange.com/pdfxe ... xt_ed.html

For general use however, the "match case" checkbox should apply to BOTH the find and replace fields, with no need to use special signs. If that option is enabled, and you wrote "LoREm iPSuM Dolor", It would specifically look for that string matching the used case for each character.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Marisa_11
User
Posts: 11
Joined: Tue Jan 05, 2021 10:41 pm

Re: Missing links for words with hyphens and line breaks...

Post by Marisa_11 »

Hi Daniel,

Ok and thanks for the tip! :D

By the way, do you know when the fix (missing links for hyphenated words) will be available?

Thanks in advance for your help :wink:
Marisa
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11586
Joined: Wed Jan 03, 2018 6:52 pm

Re: Missing links for words with hyphens and line breaks...

Post by Daniel - PDF-XChange »

Hi, Marisa_11

I am sorry to say that there have been no new updates on the ticket in a fair while. It does have a developer assigned, so the request is in progress, but I cannot offer a timeline at the moment.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com