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

Maruan Sahyoun commented on PDFBOX-2580:
----------------------------------------

I don't know yet how big the package will be, I don't know yet which 
dependencies it might need. All I know is what we do have to support if we want 
to have full interactive forms filling. Some of it is base CSS support for rich 
text, a formatting capability, XFA if we want to support XFA based AcroForms, 
default styles for fields and some more. CSS and XFA not being part of core PDF 
and styling being unspecified.
What I do know is all that is added now is only needed for interact forms 
filling. It's not needed for rendering (apart from XFA), it's not needed for 
merging. That's why I wanted to put in into an extra 'layer' sitting above and 
using the PD model.
Now if some comes by and asks for a smaller PDFBox we can ask a simple question 
'Do you need to fill in forms'. Dependent on his answer he can include or 
exclude the package from his custom build.
IMHO if we think about modularization we shall also think about layering 
PDFBox. We shall also think about package interdependencies.

It's good that we agree that interactive forms support needs to be enhanced. We 
have different opinions on where that should go mostly being irrelevant to the 
majority of our users. Let's keep that topic open for another two days and see 
if there is additional input for one or the other approach giving Andreas, 
Tilman and others a little time to add if they want to.

If there is no support for .service I'll move everything into o.a.p.pdmodel 
later this week.

WDYT?

> Decouple implementation specific forms handling from interactive.form PD Model
> ------------------------------------------------------------------------------
>
>                 Key: PDFBOX-2580
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2580
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: AcroForm
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>             Fix For: 2.0.0
>
>         Attachments: sonar.png
>
>
> The interactive.form PD model currently holds classes reflecting the various 
> fields intermixed with appearance generation and layout handling.
> In order to separate the PD model from the service of forms filling and 
> appearance generation this functionality shall be moved into a new package.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to