[ 
https://issues.apache.org/jira/browse/PDFBOX-4835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108369#comment-17108369
 ] 

Michael Klink commented on PDFBOX-4835:
---------------------------------------

First of all, the {{Splitter}} does _*not*_ properly create an *AcroForm* 
structure for the form fields on the page at hand. This might be considered a 
bug or missing feature.

Furthermore, though, your button uses JavaScript actions. Such JavaScript code 
may be broken after splitting for a multitude of reasons, in particular if it 
references entities (fields, pages, ...) not in the partial document at hands 
or if the code (at least partially) is not stored in the form field action 
dictionary but instead in the document-level JavaScript name tree and only 
called from the form field action.

Thus, don't expect such forms with JavaScript actions to continue functioning 
after splitting (or a similar, page extracting operation)!


> PDFsplit breaks button
> ----------------------
>
>                 Key: PDFBOX-4835
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4835
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>            Reporter: Simon Steiner
>            Priority: Major
>         Attachments: simple_unc.pdf
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar PDFSplit 
> simple_unc.pdf
>  
> Yes button should still work on first split page



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to