Doc.info in scripting API being currently implemented is not spec-compliant
See original GitHub issueDon’t get me wrong, it’s great that @calixteman wanted to implement that — JS should definitely be supported! I don’t want to come off as rude or attacking.
For starters, JS reference specified in the commit comment is outdated. It’s version 8.1 from 2007… We’re more than decade past that now. We should be implementing Acrobat DC SDK (here in a nice HTML version).
Other than that, the Doc object now is only implemented with info
property with standard fields (Title
, Author
, Subject
, Keywords
, Creator
, Producer
, CreationDate
, ModDate
and Trapped
, case insensitive). But according to the spec (even in that old version), this object can contain other, non-standard properties, that can be set both in Acrobat interface and in JS (which are case-sensitive then).
Acrobat 9.0 introduced another field to that property, Authors
, containing semicolon-delimited list of authors.
There are probably other problems with that code due to the outdated spec @calixteman was apparently working on.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
It isn’t available for now in Firefox: we’re still waiting for a review.
The
master
branch is synced periodically with Firefox upstream (every week or so), so it should already be in a Firefox Nightly release, albeit disabled by default with a preference.