Stanislav,

true but easily fixed - define a RENDER_RTF constant at the top of the 
file and add the appropriate case to the switch statement in 
setRenderer()

        case RENDER_RTF:
            _fop = new Fop(Fop.RENDER_RTF);
            break;

Of course you still have to tell your application to use the new 
RENDER_RTF constant when invoking the Driver.

Manuel

On Thu, 11 Aug 2005 05:40 pm, Stanislav wrote:
> Hi,
>
> I need fop trunk code only because it's support rtf conversion and i
> think that this Driver.java does not suppport RTF conversion (i
> didn't find RTF render). Is this correct?
>
> Stanislav
>
> > Stanislav,
> >
> > in ASF BugZilla
> > (http://issues.apache.org/bugzilla/show_bug.cgi?id=35939) you'll
> > find a backwards compatible Driver.java class for the trunk code.
> > That should (theoretically) allow you to replace the 0.20.5 fop.jar
> > with the trunk fop.jar without changes to the calling application.
> > That may help you to put the new code into the stxx environment
> > without having to modify it.
> >
> > Manuel
> >
> > On Thu, 11 Aug 2005 05:17 pm, Stanislav wrote:
> > > :-))))
> > >
> > > I realised that after i visit some web pages and, of course, fop
> > > mailing list archive :-)
> > >
> > > Stanislav
> > >
> > > > I've just looked up this message. The problem is that this
> > > > person doesn't seem to know that FOP 0.20.5 doesn't support RTF
> > > > output (and the CachedFOPTransformer doesn't, either) and the
> > > > API has changed quite radically between 0.20.5 and the current
> > > > trunk code. So I am right, and he is wrong. :-)
> > > >
> > > > Jeremias Maerki
> > > >
> > > > On 11.08.2005 10:56:43 Stanislav wrote:
> > > > > Hi!
> > > > >
> > > > > I was also thinking about that, but "people" from struts-xsl
> > > > > (stxx) mailing list told me something else :-) I will try to
> > > > > download stxx source, make changes, compile, run and let you
> > > > > know
> > > > >
> > > > > :-)
> > > > >
> > > > > Tnx,
> > > > >
> > > > > Stanislav
> > > > >
> > > > > > I may just have seen one of these problems. Looks like stxx
> > > > > > is a user of FOP. If you used a stxx Transformer until now,
> > > > > > you will probably have to make a copy of the
> > > > > > CachedFOPTransformer, adjust it to the new FOP API and add
> > > > > > support for RTF output. Looking at the source code of stxx,
> > > > > > this should be very easy.
> > > > > >
> > > > > > On 11.08.2005 09:31:19 Stanislav wrote:
> > > > > > > Hi!
> > > > > > >
> > > > > > > I manage to download and build latest fop. After that i
> > > > > > > create RTF from fo file from command line. That was all
> > > > > > > very good and i was very happy :-) Because i use fop
> > > > > > > inside stxx and struts i tried to integrate latest fop
> > > > > > > into struts and generate rtf and i failed :-(
> > > > > > >
> > > > > > > Does anyone use stxx and fop together? I can describe
> > > > > > > what i do in code and put parts od
> > > >
> > > > code...
> > >
> > > -----------------------------------------------------------------
> > >---- To unsubscribe, e-mail:
> > > [EMAIL PROTECTED] For additional
> > > commands, e-mail:
> > > [EMAIL PROTECTED]
> >
> > -------------------------------------------------------------------
> >-- To unsubscribe, e-mail:
> > [EMAIL PROTECTED] For additional
> > commands, e-mail: [EMAIL PROTECTED]
>
> </blockquote>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to