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

Wrap long words for multiline text fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.21, 3.0.0 PDFBox
    • AcroForm
    • None

    Description

      PDDocument doc = PDDocument.load(new File(input));
      PDAcroForm acroform = doc.getDocumentCatalog().getAcroForm();
      if (acroform != null)

      { acroform.setNeedAppearances(false); acroform.refreshAppearances(); }

      doc.save(output);
      doc.close();

      Text is not broken into multiple lines

      Attachments

        1. PDFBOX-3835-input-acrobat-wrap.pdf
          10 kB
          Maruan Sahyoun
        2. input.pdf
          6 kB
          Simon Steiner

        Activity

          People

            msahyoun Maruan Sahyoun
            ssteiner Simon Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: