epp.setContentType(new ContentType(contentType));
return epp;
} else if (rel!=null && rel.getType().equals(Namespaces.OLE_OBJECT) ) {
OleObjectBinaryPart olePart = new OleObjectBinaryPart(new PartName(partName));
olePart.setContentType(new ContentType(contentType));
return olePart;
} else if (contentType.equals(ContentTypes.WORDPROCESSINGML_DOCUMENT)) {
return CreateMainDocumentPartObject(partName);
// how is the main document distinguished from the glossary document?