Page 1 of 1

DocumentPart.java change required

PostPosted: Fri Jan 08, 2010 8:04 am
by shyam.ramesh
I have been using doc4j for both html->docx4j and for docx4j-> html conversions.

It will be helpful if you include the following change in you next release or else we need to maintain modifications separately.

CHANGE 1
DocumentPart.java : setPartShortcut : Please add the below else if

public boolean setPartShortcut(Part part, String relationshipType) {


}else if (relationshipType.equals(Namespaces.SETTINGS)) {
documentSettingsPart = (DocumentSettingsPart)part;
return true;
} else

{
return false;
}
}

regards,
krithi

Re: DocumentPart.java change required

PostPosted: Tue Jan 12, 2010 3:07 am
by jason
Hi Krithi, that change was made in r944 of 26 October 2009. cheers .. Jason