Hi,
I have annotated a whole document and would like to summarize all added links & other comments
in a separate document.
The Comments pane allow exporting all comments but added links appears not to be listed.
Is there a way to do that? would it be a resonnable enhancement?
Regards
Bernard
View > Comments pane : manually added link not listed?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators
-
bernard meunier
- User
- Posts: 122
- Joined: Tue May 06, 2014 7:52 pm
-
Stefan - PDF-XChange
- Site Admin
- Posts: 19919
- Joined: Mon Jan 12, 2009 8:07 am
Re: View > Comments pane : manually added link not listed?
Hello Bernard Meunier,
The Links are a special type of annotation, and they are not "summarized" as the links are invisible and have no content (they might be on top of some content - but themselves only have information for their placement and what actions to be done when you click them). So summarizing them is unlikely to happen, but using some JS you can get information for existing links.
The below code for example will list the number of links on each page, and the total for the whole document:
You will need to open the PDF XChange Editor, load the file you need, press Ctrl-J to open the JS console and then copy paste the above, then click the "Run" button.
I tested the above script with a file and the result looked like:
Stefan
The Links are a special type of annotation, and they are not "summarized" as the links are invisible and have no content (they might be on top of some content - but themselves only have information for their placement and what actions to be done when you click them). So summarizing them is unlikely to happen, but using some JS you can get information for existing links.
The below code for example will list the number of links on each page, and the total for the whole document:
Code: Select all
var numLinks=0;
for ( var p = 0; p < this.numPages; p++)
{
var b = this.getPageBox("Crop", p);
var l = this.getLinks(p, b);
console.println("Number of Links on page " + p +" is " + l.length);
numLinks += l.length;
}
console.println("Number of Links in Document is " + numLinks);You will need to open the PDF XChange Editor, load the file you need, press Ctrl-J to open the JS console and then copy paste the above, then click the "Run" button.
I tested the above script with a file and the result looked like:
Regards,Number of Links on page 0 is 0
Number of Links on page 1 is 0
Number of Links on page 2 is 44
...
Number of Links on page 767 is 37
Number of Links on page 768 is 50
Number of Links in Document is 4663
Stefan
-
bernard meunier
- User
- Posts: 122
- Joined: Tue May 06, 2014 7:52 pm
Re: View > Comments pane : manually added link not listed?
Hi,
Thank you, I will investigate a bit an see what I can do.
regards
Bernard
Thank you, I will investigate a bit an see what I can do.
regards
Bernard
-
Stefan - PDF-XChange
- Site Admin
- Posts: 19919
- Joined: Mon Jan 12, 2009 8:07 am
Re: View > Comments pane : manually added link not listed?
Glad to help Bernard!
Regards,
Stefan
Regards,
Stefan