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

Cannot set documentMergeMode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.14
    • 2.0.15, 3.0.0 PDFBox
    • Utilities
    • None

    Description

      PDFMergerUtility.java

      (2.0.14)

      The documentMergeMode is default set to PDFBOX_LEGACY_MODE

      99 private DocumentMergeMode documentMergeMode = DocumentMergeMode.PDFBOX_LEGACY_MODE

      but there is no setter to change it.

       

      (trunk)

      In the trunk there is a getter for it.
      BUT there are two setter called the same, doing different things.

      162 public void setAcroFormMergeMode(DocumentMergeMode theDocumentMergeMode)
      163 {
      164     this.documentMergeMode = theDocumentMergeMode;
      165 }

      1258 public void setAcroFormMergeMode(AcroFormMergeMode theAcroFormMergeMode)
      1259 {
      1260     this.acroFormMergeMode = theAcroFormMergeMode;
      1261 }
       
      hopefully the problem is clear

      Attachments

        Activity

          People

            msahyoun Maruan Sahyoun
            ManiB Manuel Buchner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: