[
https://issues.apache.org/jira/browse/FOP-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865801#comment-15865801
]
simon steiner commented on FOP-2526:
------------------------------------
In fop.xconf use, instead of that using those classes:
<renderer mime="image/tiff">
<color-mode>bi-level</color-mode>
<compression>PackBits</compression>
> TIFFDocumentHandler: change constructor visibility to protected
> ---------------------------------------------------------------
>
> Key: FOP-2526
> URL: https://issues.apache.org/jira/browse/FOP-2526
> Project: FOP
> Issue Type: Bug
> Components: renderer/tiff
> Affects Versions: 2.0
> Reporter: Johannes Katelaan
> Labels: patch
> Attachments: FopTiffTest.java, screenshot-1.png
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)