开发者

PDF Open Parameters: comment=commentID doesn't work

开发者 https://www.devze.com 2023-02-18 00:12 出处:网络
According to Adobe\'s Manual on PDF Open Parameters PDF files can be opened with certain parameters from command line or from a link in HTML.

According to Adobe's Manual on PDF Open Parameters PDF files can be opened with certain parameters from command line or from a link in HTML. These open Parameters include page=pagenum, zoom=scale, comment=commentID and others (the first parameter should be preceded with a # and the next should be preceded with a &

The official PDF Open Parameters from adobe gives this example:

#page=1&comment=452fde0e-fd22-457c-84aa-2cf5bed5a349

but the comment part doesn't work for me!

page=pagenum and zoom=scale work for me well. But comment=commentID does not work. I tried on Adobe reader 6.0.0 and Adobe Pro Extended 9.0.0: I can't get to the specified comment.

Also, I get the comment ID by exporting the comments in XFDF format and in the resulting file, there is a name attribute for every comment that I hope corresponds to the ID (well, the appearance looks like the example in the manual).

I thought maybe there is a setting that I should first enable (or maybe disable in adobe) or maybe I am getti开发者_JS百科ng the comment IDs wrong, or maybe something else?!

Any help would be extremely appreciated


According to the docs, you must include a page=X along with your comment=foo. Your copied sample has it, but it's copied from the docs, not something you did yourself.

Are you missing a page= when setting comment?


BASTARDS!

From the last page of the manual you linked:

URL Limitations
●Only one digit following a decimal point is retained for float values.
●Individual parameters, together with their values (separated by & or #), can be no greater then 32 characters in length.

Emphasis added.

The comment ID is a 16-byte value expressed as hex, with four hyphens thrown in to break up the monotony. That's 36 characters right there... starting with "comment=" adds another 8 characters. 44 characters total.

According to that, a comment ID can NEVER WORK, including the samples they show in their docs.

Are you just trying it on the command line, or have you tried via a web browser too? I wonder if that makes a difference. If not, we're looking at a feature that CANNOT WORK. EVER... and probably never has.

0

精彩评论

暂无评论...
验证码 换一张
取 消