xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mehdi Houshmand <med1...@gmail.com>
Subject Re: post 1.1 config changes
Date Thu, 08 Nov 2012 09:44:30 GMT
Hi Jason,

The backwards incompatibility of this API has been discussed quite a lot,
and I'm sorry you're having these issues. If you're looking for examples
for how to configure the new FopFactory, I'd say look in the source [1],
there are plenty of examples on how to do it, there's also quite a bit of
information on the wiki [2].

Sorry for the inconvenience,

Mehdi

[1]
http://svn.eu.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/
[2] http://wiki.apache.org/xmlgraphics-fop/FopFactoryConfiguration


On 8 November 2012 01:54, Jason Harrop <jharrop@gmail.com> wrote:

> I maintain the docx4j project
>
> I reported https://issues.apache.org/bugzilla/show_bug.cgi?id=54094 which
> was apparently fixed in July, but didn't make it into FOP 1.1 (just
> released).
>
> So, I thought I'd test a FOP nightly (20121107) to verify it has been
> fixed.
>
> But config seems to have changed extensively post 1.1
>
> Post 1.1, I can see FopFactoryBuilder, mentioned at
> http://wiki.apache.org/xmlgraphics-fop/FopFactoryConfiguration which
> contains
>
>     public FopFactoryBuilder setConfiguration(Configuration cfg) {
>         fopFactoryConfigBuilder.setConfiguration(cfg);
>         return this;
>     }
>
> but that class didn't make it into 1.1 (it has FopFactoryConfigurator)
>
> So, Is it feasible/sensible to try to be interchangeable between FOP 1.1
> and whatever is to come?  Has someone written code which facilitates this?
>
> Please excuse if there are posts on this topic already.
>
> thanks .. Jason
>
>
>

Mime
View raw message