/** * Create a new POIXMLDocumentPart using the supplied descriptor. This method is used when Adding new parts * to a document, for example, when Adding a sheet to a workbook, slide to a presentation, etc. * * @param descriptor describes the object to create * @return A new instance of a POIXMLDocumentPart. */ public abstract POIXMLDocumentPart CreateDocumentPart(POIXMLRelation descriptor);
public POIXMLDocumentPart CreateRelationship(POIXMLRelation descriptor, POIXMLFactory factory, int idx) { return(CreateRelationship(descriptor, factory, idx, false)); }