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

ASF subversion and git services commented on PDFBOX-5565:
---------------------------------------------------------

Commit 1908587 from Maruan Sahyoun in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1908587 ]

PDFBOX-5565: check MaxLength entry when deciding for Comb field

> RFE: Comb flag warning
> ----------------------
>
>                 Key: PDFBOX-5565
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5565
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: AcroForm
>    Affects Versions: 2.0.27
>            Reporter: Jurgen Doll
>            Assignee: Maruan Sahyoun
>            Priority: Minor
>             Fix For: 2.0.28, 3.0.0 PDFBox
>
>
> Currently if a PDF form text field has it's Comb flag set true but the max 
> length hasn't been set then PDFBox silently ignores the field and doesn't 
> render it.
> It would be helpful for PDFBox to at least issue a warning that the field 
> cannot be rendered as a Comb due to this.
> It may be worth noting that if pdForm.setNeedAppearances is set true, and 
> after setting fields pdForm.refreshAppearances() is invoked that Comb fields 
> without max length specified do display in Acrobat and Edge. However without 
> both of these conditions they also don't display, just like PDFBox currently.
> Perhaps worth considering aligning PDFBox to behave in a similar fashion 
> then, and to still issue the warning.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to