Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2526

TIFFDocumentHandler: change constructor visibility to protected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.0
    • None
    • renderer/tiff
    • Patch, Important

    Description

      The attached demo program consumes fo input an renders tif from that.

      This code is the result of migrating formerly working code from FOP 1.1 to FOP 2.0.

      The class MyTiffDocumentHandler extends TIFFDocumentHandler. The call of the super constructor in line 106 fails, because the constructor is not visible to the derived class.

      Therefore the visibility of the constructor of TIFFDocumentHandler has to be changed to protected to support this kind of usage.

      Attachments

        1. FopTiffTest.java
          5 kB
          Johannes Katelaan
        2. screenshot-1.png
          45 kB
          Johannes Katelaan

        Activity

          People

            Unassigned Unassigned
            iaojk Johannes Katelaan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: