You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rick Tessner <ri...@dingle.myra.com> on 2001/01/05 07:48:16 UTC

Re: XSLFO questions [patch for FOP 0.16]

On Fri, 05 Jan 2001 09:22:44 +1100, Joshua.Kuswadi@BTFinancialgroup.com wrote:

>Jeremy wrote:
>>Now version 0.16 is out, it would be nice to work out what is stopping
>>Cocoon from compiling with it .... I think there nay have been some changes
>>in the API?
>
>One of the new features of FOP 0.16 is "changed output format to OutputStream 
>". As Cocoon's org.apache.cocoon.formatter.FO2PDFFormatter is still expecting 
>a Writer not an OutputStream, it doesn't compile. That's one thing I've notice
>d that is different between FOP 0.15 and FOP 0.16 that is causing me grief als
>o.
>
>If anyone has already found a fix for this, please share it.

Here's a patch that'll have C2 working with FOP 0.16 (with the OutputStream
rather than PrintWriter) but break it for FOP 0.15 ...