org.docx4j.openpackaging.packages.DefaultPackage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j Show documentation
Show all versions of docx4j Show documentation
docx4j is a library which helps you to work with the Office Open
XML file format as used in docx
documents, pptx presentations, and xlsx spreadsheets.
The newest version!
package org.docx4j.openpackaging.packages;
import org.docx4j.openpackaging.contenttype.ContentTypeManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class DefaultPackage extends OpcPackage {
protected static Logger log = LoggerFactory.getLogger(DefaultPackage.class);
/**
* Constructor. Also creates a new content type manager
*
*/
public DefaultPackage() {
super();
//setContentType(new ContentType(ContentTypes.PRESENTATIONML_MAIN));
}
/**
* Constructor.
*
* @param contentTypeManager
* The content type manager to use
*/
public DefaultPackage(ContentTypeManager contentTypeManager) {
super(contentTypeManager);
//setContentType(new ContentType(ContentTypes.PRESENTATIONML_MAIN));
}
}