Page 1 of 1

One typo found in ImageGifPart.java

PostPosted: Wed Mar 31, 2010 1:02 am
by rockym
Hi Jason,

There is one typo error found in ImageGifPart.java. The highlighted part should be IMAGE_GIF.

public void init() {
// Used if this Part is added to [Content_Types].xml
setContentType(new org.docx4j.openpackaging.contenttype.ContentType(
org.docx4j.openpackaging.contenttype.ContentTypes.IMAGE_PNG));

// Used when this Part is added to a rels
setRelationshipType(Namespaces.IMAGE);
}

Thanks,
Rocky

Re: One typo found in ImageGifPart.java

PostPosted: Wed Mar 31, 2010 8:31 pm
by jason
Thanks for this Rocky, now fixed in svn.