I know how to create bookmarks from bold and/or italic text using the "From Page Text" button. That works because (as I understand it) bold and italic are separate fonts.
However, I frequently encounter pdf's in witch sub headers are underlined plain text and underlined text is not a separate font. So selecting the underlined text as source for "From Page Text" results in all text copied into the bookmarks.
Is there a way to just get the underlined text into the bookmarks (i.e. other than manually)?
Any tips are welcome.
Create bookmark from underlined text
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 81
- Joined: Mon May 26, 2008 8:52 am
- Location: Amsterdam, The Netherlands
Create bookmark from underlined text
Ed van den Bogaard
Happy PDF-XChange PRO user since 2008 (version 4)
Happy PDF-XChange PRO user since 2008 (version 4)
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Create bookmark from underlined text
Hi, evdbogaard
I guess it depends what those underlines really are. Can we see a sample?
please and thanks.
Kind regards,
Paul - Tracker Supp
I guess it depends what those underlines really are. Can we see a sample?
please and thanks.
Kind regards,
Paul - Tracker Supp
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
-
- User
- Posts: 81
- Joined: Mon May 26, 2008 8:52 am
- Location: Amsterdam, The Netherlands
Re: Create bookmark from underlined text
This is an example of such a pdf (it's in Dutch. but I guess that's not relevant for the question how to bookmark the underlined parts).
It can also be downloaded from https://uitspraken.rechtspraak.nl/#!/details?id=ECLI:NL:RBAMS6807 (button 'Uitspraak delen').
Regards,
Ed
It can also be downloaded from https://uitspraken.rechtspraak.nl/#!/details?id=ECLI:NL:RBAMS6807 (button 'Uitspraak delen').
Regards,
Ed
Ed van den Bogaard
Happy PDF-XChange PRO user since 2008 (version 4)
Happy PDF-XChange PRO user since 2008 (version 4)
-
- User
- Posts: 2394
- Joined: Wed Jan 18, 2006 12:10 pm
Re: Create bookmark from underlined text
Hi,
It seems like the underlines in the pdf are shapes and even if it were real underscores I doubt if it would be possible to automatically generate bookmarks from it.
But, what I see in the pdf is that the underscored titles do contain a question mark at the end.
In case there are no immediate other sentences with question marks, you could use this opportunity to generate bookmarks from sentences containing a question mark.
Does that help?
Kind regards.
Willy
> >
It seems like the underlines in the pdf are shapes and even if it were real underscores I doubt if it would be possible to automatically generate bookmarks from it.
But, what I see in the pdf is that the underscored titles do contain a question mark at the end.
In case there are no immediate other sentences with question marks, you could use this opportunity to generate bookmarks from sentences containing a question mark.
Does that help?
Kind regards.
Willy
> >
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Create bookmark from underlined text
Hi, guys
thanks for the suggestion Willy. You are correct that the underlines in this PDF is a shape object and cannot be used in the manner desired.
The question mark observation is a good one and should work.
Kind regards,
Paul - Tracker Supp
thanks for the suggestion Willy. You are correct that the underlines in this PDF is a shape object and cannot be used in the manner desired.
The question mark observation is a good one and should work.
Kind regards,
Paul - Tracker Supp
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
-
- User
- Posts: 81
- Joined: Mon May 26, 2008 8:52 am
- Location: Amsterdam, The Netherlands
Re: Create bookmark from underlined text
That’s a brilliant idea Willy, thanks!
I definitely should learn a bit more on regular expressions.
Cheers,
Ed
I definitely should learn a bit more on regular expressions.
Cheers,
Ed
Ed van den Bogaard
Happy PDF-XChange PRO user since 2008 (version 4)
Happy PDF-XChange PRO user since 2008 (version 4)
-
- User
- Posts: 2394
- Joined: Wed Jan 18, 2006 12:10 pm
Re: Create bookmark from underlined text
Thanks for your reply @Ed.
Additional information in the PDF-XChange Editor V9 online manual:
- https://help.pdf-xchange.com/pdfxe ... xt_ed.html
with an external link to:
- http://www.cplusplus.com/reference/regex/ECMAScript
Kind regards.
Willy
Additional information in the PDF-XChange Editor V9 online manual:
- https://help.pdf-xchange.com/pdfxe ... xt_ed.html
with an external link to:
- http://www.cplusplus.com/reference/regex/ECMAScript
Kind regards.
Willy
- Tracker Supp-Stefan
- Site Admin
- Posts: 17944
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact: