Suggestion: Export AcroJS to PDF

Writing a book, Automating Document Production - Discuss your special needs here
Post Reply
clemente
Posts: 4
Joined: Thu Nov 13, 2008 10:23 pm

Suggestion: Export AcroJS to PDF

Post by clemente »

Currently you can create advanced forms inside OpenOffice.org Writer, with check boxes, buttons, etc. You can even export them to PDF and they work in enabled viewers (for instance Acrobat Reader or some versions of Evince).
In addition you can assign scripts in any language to form events so that when you click on a button, some code is executed. This works inside OpenOffice and can be useful to create and modify text content.

Incidentally, some PDFs have JavaScript code that does validations and autocalculations. It works for instance inside Acrobat Reader. The language is sometimes called AcroJS and you can find its reference here: http://www.adobe.com/devnet/acrobat/pdfs/AcroJS.pdf

My question is: what about exporting the JavaScript code created with OpenOffice so that it can stay in the PDF and then be executed in viewers? In this way, very powerful forms could be created just with OpenOffice. OO already allows to assign code to events; so I think that just the PDF-exporting mechanism is missing.
OOo 2.4.X on Debian
User avatar
r4zoli
Volunteer
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: Suggestion: Export AcroJS to PDF

Post by r4zoli »

It is a forum where users help users, no developers here.
Submit an enhancement in issue tracker, or develop code for this feature if you feel this is a major issue for you, and you can do it.
OOo Form and (XForm) export is limited, not export all controls available in OOo, only part of them, or in reduced functions.
OOo is not a PDF editor it can export documents to PDF.
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
clemente
Posts: 4
Joined: Thu Nov 13, 2008 10:23 pm

Re: Suggestion: Export AcroJS to PDF

Post by clemente »

Just for consistence: a related commercial offer was made in this post:
http://user.services.openoffice.org/en/ ... 53&t=14899
OOo 2.4.X on Debian
Post Reply