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_EPS)); // Used when this Part is added to a rels setRelationshipType(Namespaces.IMAGE); }
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_EPS)); // Used when this Part is added to a rels setRelationshipType(Namespaces.IMAGE); }