Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5565

RFE: Comb flag warning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.27
    • 2.0.28, 3.0.0 PDFBox
    • AcroForm
    • None

    Description

      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.

      Attachments

        Activity

          People

            msahyoun Maruan Sahyoun
            jurgen Jurgen Doll
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: