[poppler] [PATCHes] bits of JavaScript support

Pino Toscano pino at kde.org
Thu Mar 20 07:12:34 PDT 2008


Hi,

I know, this would be post-0.8 material, but I'm posting it now to review it.

The following two patches start adding bits for make poppler able to read the 
JavaScript stuff in PDFs.

- poppler-jsnametree.diff
This patch adds the support in Catalog for reading the JS name tree, as 
defined in section 3.6.3 (table 3.28) of the PDF 1.7 specs.

- poppler-linkjavascript.diff
This patch adds the LinkJavaScript link type and make it built, as defined in 
section 6.8.4 of the PDF 1.7 specs.

- poppler-qt4-js.diff
This patch applies both the improvements of the former two patches to the Qt4 
frontend. (Can be splitted, if needed.)

These patches do not complete the support for JavaScript (reading) in the 
core, but they should cover a good percentage of the use cases (especially 
the Link one).

Comments? Doubts? Ideas?

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poppler-jsnametree.diff
Type: text/x-diff
Size: 2427 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080320/cbbdcc4b/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poppler-linkjavascript.diff
Type: text/x-diff
Size: 2471 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080320/cbbdcc4b/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poppler-qt4-js.diff
Type: text/x-diff
Size: 4518 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080320/cbbdcc4b/attachment-0002.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080320/cbbdcc4b/attachment.pgp 


More information about the poppler mailing list