Page 1 of 1

Looking for 2.6.0 version with applyBindings(JaxbXmlPart)

PostPosted: Tue Apr 26, 2011 11:53 pm
by verrnum
Hi all,

Is exists a way to have the applyBindings(JaxbXmlPart part) (BindingHandler.java) with the 2.6.0 ?

if yes , where can i found it please ???

It's very important.

Best regards

Re: Looking for 2.6.0 version with applyBindings(JaxbXmlPart

PostPosted: Wed Apr 27, 2011 12:04 am
by jason
That was introduced in r1389 of 13 Jan 2011 (ie after the release of 2.6.0).

The current nightly build contains it though - try http://dev.plutext.org/docx4j/docx4j-ni ... 110426.jar

As you may be aware, the old method in 2.6.0 works with the main document part, but not headers/footers:

Code: Select all
public static void applyBindings(DocumentPart documentPart)

Re: Looking for 2.6.0 version with applyBindings(JaxbXmlPart

PostPosted: Wed Apr 27, 2011 12:08 am
by verrnum
jason wrote:That was introduced in r1389 of 13 Jan 2011 (ie after the release of 2.6.0).

The current nightly build contains it though - try http://dev.plutext.org/docx4j/docx4j-ni ... 110426.jar

As you may be aware, the old method in 2.6.0 works with the main document part, but not headers/footers:

Code: Select all
public static void applyBindings(DocumentPart documentPart)


Hi Jason,

Thanks for your replies.

I saw that nightly build was containing the change but it is so different of my current version :

- most of my source code is deprecated
- creation of ContentAccessor

It exists no other choice that migrate to the nightly built ??

Thanks a lot !

Re: Looking for 2.6.0 version with applyBindings(JaxbXmlPart

PostPosted: Wed Apr 27, 2011 12:36 am
by jason
Its actually very similar; its just that the ContentAccessor interface is available (which you only need to use where you are getting the content of an sdt (content control)).

You should have no real trouble using it.

If you don't want to migrate, then you can always check out r1389 and build that, or backport that change to 2.6.0.

Re: Looking for 2.6.0 version with applyBindings(JaxbXmlPart

PostPosted: Wed Apr 27, 2011 1:50 am
by verrnum
jason wrote:Its actually very similar; its just that the ContentAccessor interface is available (which you only need to use where you are getting the content of an sdt (content control)).

You should have no real trouble using it.

If you don't want to migrate, then you can always check out r1389 and build that, or backport that change to 2.6.0.


Hi,

Thanks;

I migrate successfuly to nightly build.

Best Regards