JavaScript action implementation is not too large, but powerful feature.
However, I think, it should be added with other PDF forms related
actions (submit-form/reset-form/import-data) which, in turn, should be
added after PDF forms support.
Other choice is to define and confirm Zend_Pdf forms support and forms
actions API using corresponding ZF 2.0 proposal and implement and
"backport" JavaScript action feature into 1.x
That should guarantee a consistency and completeness of PDF forms
support API for the future and could give an ability to add JavaScript
action support right now (include into the next mini-release).
Best regards,
Alexander Veremyev.
On 10.03.2011 19:27, Matthew Weier O'Phinney wrote:
-- Guillaume ORIOL<[email protected]> wrote
(on Thursday, 10 March 2011, 04:36 PM +0100):
Zend_Pdf lacks implementation of some interactive features. I was
specifically looking for the *JavaScript action* of those features.
My need was related to the ability to open the print dialog box
automatically when the document is opened (displayed on the client
browser).
I wrote an implementation of the empty class
Zend_Pdf_Action_JavaScript that I would like to contribute to this
community.
Therefore, I just sent a signed CLA for it and I would like to know the next
step.
This would be considered a new feature, and as such needs a formal
proposal. Also, new features at this point should generally be targetted
at ZF 2.0.
For proposal information:
* http://framework.zend.com/wiki/display/ZFPROP/Proposal+Process