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-core Show documentation
Show all versions of docx4j-core 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.
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));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy