You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (Jira)" <ji...@apache.org> on 2023/02/06 16:41:00 UTC

[jira] [Commented] (PDFBOX-5565) RFE: Comb flag warning

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

Maruan Sahyoun commented on PDFBOX-5565:
----------------------------------------

note that setNeedAppearances to true signals that there hasn't been an appearence generated and/or it's oudated ... and the rendering application should generate one on the fly. 

> RFE: Comb flag warning
> ----------------------
>
>                 Key: PDFBOX-5565
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5565
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: Jurgen Doll
>            Priority: Minor
>
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org