Export Bookmarks
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
-
BarryH
- User
- Posts: 123
- Joined: Tue Jan 25, 2005 9:23 am
Export Bookmarks
Hi
Is it possible to export bookmarks?
I have a fairly large 500-odd page manual, I can extract a chapter easily enough but all the bookmarks for that chapter get left behind.
Is there any way to either export the bookmarks or extract them along with the original pages?
Is it possible to export bookmarks?
I have a fairly large 500-odd page manual, I can extract a chapter easily enough but all the bookmarks for that chapter get left behind.
Is there any way to either export the bookmarks or extract them along with the original pages?
Best regards
Barry
Barry
-
Stefan - PDF-XChange
- Site Admin
- Posts: 19930
- Joined: Mon Jan 12, 2009 8:07 am
Re: Export Bookmarks
Hey Barry,
For this moment it is not possible with the viewer.
The functionality to export pages/split PDF file was initially only available in PDF-Tools, we are slowly incorporating some of those tools into the viewer, however not all are functional yet. The missing bookmarks when exporting pages being one of those.
I can not give you an exact date when this will be implemented, but it likely wont be the next build. It will probably be achieved concurrent with another similar request we have recently had - to export the bookmarks together with the page when "dragging and dropping" between opened documents.
Regards,
Stefan
For this moment it is not possible with the viewer.
The functionality to export pages/split PDF file was initially only available in PDF-Tools, we are slowly incorporating some of those tools into the viewer, however not all are functional yet. The missing bookmarks when exporting pages being one of those.
I can not give you an exact date when this will be implemented, but it likely wont be the next build. It will probably be achieved concurrent with another similar request we have recently had - to export the bookmarks together with the page when "dragging and dropping" between opened documents.
Regards,
Stefan
-
Lzcat - Tracker Supp
- Site Admin
- Posts: 677
- Joined: Thu Jun 28, 2007 8:42 am
Re: Export Bookmarks
You could delete all pages except is needed, maybe edit bookmarks, and then save result to another document.
Victor
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
aslansroar
- User
- Posts: 6
- Joined: Tue Jul 05, 2011 7:48 pm
Re: Export Bookmarks
This would be a very useful feature for the following reasons.
1) Most PDFs are created from fairly simplistic generators (windows printers, Word, OpenOffice...)
2) If bookmarks are generated by these programs, they cannot be nested and have limited naming abilities (letters and/or numbers only; no hyphens, ampersands...)
3) Simply editing the PDF is fine if you never make a revision to the source (esp. Word)
4) However, when revisions are made, they most often will be in the source file (.doc, .odt ...)
5) Creating a PDF from this new revision wipes out (so to speak) any nesting, "complex" naming, etc. of the bookmarks
So, being able to export the bookmarks to a file (a simple text file would work) and reimport them would save an enormous amount of time for people who produce lots of text (like me!).
I've noticed that jPDFbookmarks has done this in a very simple but effective way, so I know it can be done without too much difficulty.
Since xChange Viewer is far superior in almost every respect, you may want to keep the edge in this category.
I'm guessing that it's probably much less that 16 hours of code, but I don't know your internals.
m
1) Most PDFs are created from fairly simplistic generators (windows printers, Word, OpenOffice...)
2) If bookmarks are generated by these programs, they cannot be nested and have limited naming abilities (letters and/or numbers only; no hyphens, ampersands...)
3) Simply editing the PDF is fine if you never make a revision to the source (esp. Word)
4) However, when revisions are made, they most often will be in the source file (.doc, .odt ...)
5) Creating a PDF from this new revision wipes out (so to speak) any nesting, "complex" naming, etc. of the bookmarks
So, being able to export the bookmarks to a file (a simple text file would work) and reimport them would save an enormous amount of time for people who produce lots of text (like me!).
I've noticed that jPDFbookmarks has done this in a very simple but effective way, so I know it can be done without too much difficulty.
Since xChange Viewer is far superior in almost every respect, you may want to keep the edge in this category.
I'm guessing that it's probably much less that 16 hours of code, but I don't know your internals.
m
-
Paul - PDF-XChange
- Site Admin
- Posts: 7443
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Export Bookmarks
Hi aslansroar,
export Bookmarks to file is on the list for V3 of the Viewer currently expected later this summer: https://forum.pdf-xchange.com/ ... 521#p50521
hth
export Bookmarks to file is on the list for V3 of the Viewer currently expected later this summer: https://forum.pdf-xchange.com/ ... 521#p50521
hth
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
collermann
- User
- Posts: 3
- Joined: Thu Mar 31, 2011 10:55 am
Re: Export Bookmarks
Extract highlighted text
When I read a book, I always highlight important text. If one could extract only this highlighted text in the the form
page number / text
page number / text
one would have a kind of abstact of the book. The page numbers are usefull for citations.
When I read a book, I always highlight important text. If one could extract only this highlighted text in the the form
page number / text
page number / text
one would have a kind of abstact of the book. The page numbers are usefull for citations.
-
Paul - PDF-XChange
- Site Admin
- Posts: 7443
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Export Bookmarks
Hi collermann
we do have the feature to export comments coming in V3+ (may be a build after the initial V3 release). I have asked our development team specifically if this will include exporting highlighted text in the manner you suggest and will post here what they tell me, probably tomorrow.
hth
we do have the feature to export comments coming in V3+ (may be a build after the initial V3 release). I have asked our development team specifically if this will include exporting highlighted text in the manner you suggest and will post here what they tell me, probably tomorrow.
hth
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
Katya - Tracker Supp
- User
- Posts: 39
- Joined: Tue Apr 20, 2010 10:48 pm
Re: Export Bookmarks
Hi collermann
Right now you can do it by Summarize Comments option [Menu/Comments].
But it works only when highlighted text is shown in pop-ups.
So, before making the text hightlighting,
please, be sure that you check the box 'Copy selected text into Highlight, Cross-Out, and Underline comment pop-ups' in [Menu/Edit/Preferences/Commenting]
Regards,
Katya
Right now you can do it by Summarize Comments option [Menu/Comments].
But it works only when highlighted text is shown in pop-ups.
So, before making the text hightlighting,
please, be sure that you check the box 'Copy selected text into Highlight, Cross-Out, and Underline comment pop-ups' in [Menu/Edit/Preferences/Commenting]
Regards,
Katya
-
collermann
- User
- Posts: 3
- Joined: Thu Mar 31, 2011 10:55 am
Re: Export Bookmarks
Hi Katya, thank you for answering so fast.
I extracted the highlighted texts as xfdf, and cleared it up with the following quick and dirty Perl script. It does what I wanted, but the page numbers may not always be correct.
May be, someone is interested in the script (or may improve it). It generates text files from all xfdf files in a directory. To all: use it on your own risk
I extracted the highlighted texts as xfdf, and cleared it up with the following quick and dirty Perl script. It does what I wanted, but the page numbers may not always be correct.
May be, someone is interested in the script (or may improve it). It generates text files from all xfdf files in a directory. To all: use it on your own risk
Code: Select all
#!/usr/bin/perl -w
use strict;
my @files = <*.xfdf>;
my @in;
my $in;
foreach (@files)
{
open IN,"$_";@in = <IN>;close IN;chomp @in;
$in = join('###',@in);
$in =~ s/-###//g;
$in =~ s/###/ /g;
$in =~ s/<highli.+?page\=\"([0-9]+).*?>/$1+1/eg;
$in =~ s/<conten.*?>/:\t/g;
$in =~ s/<\/highli.*?>/\n/g;
$in =~ s/\ / /g;
$in =~ s/<.+?>//g;
$in =~ s/ +/ /g;
$in =~ s/^ +//g;
$_ =~ s/xfdf$/txt/;
open OUT,">$_";print OUT "$in";close OUT
}-
Jamie - Tracker Supp
- User
- Posts: 191
- Joined: Thu Jun 02, 2011 3:23 pm
Re: Export Bookmarks
Hey Collermann,
Thanks for the contribution!

Thanks for the contribution!