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

Handle new line characters in single line text fields

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.7, 3.0.0 PDFBox
    • Fix Version/s: 2.0.8, 3.0.0 PDFBox
    • Component/s: AcroForm
    • Labels:

      Description

      As discussed on the users mailing list Adobe will generate an appearance stream for text containing new line characters in singe line fields. There are two ways this is currently done

      • for manual data entry new line characters are ignored
      • when setting the data via an API and enforcing Adobe Reader to generate the appearance stream multiline output will be achieved

      We'd need to decide which mode we'd like to replicate

        Attachments

          Activity

            People

            • Assignee:
              msahyoun Maruan Sahyoun
              Reporter:
              msahyoun Maruan Sahyoun
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: