/** * Constructor. * * @param contentTypeManager * The content type manager to use */ public WordprocessingMLTemplatePackage(ContentTypeManager contentTypeManager) { super(contentTypeManager); setContentType(new ContentType(ContentTypes.WORDPROCESSINGML_TEMPLATE)); }
public String getContentType() { if (contentType!=null ) { return contentType.toString(); } else { log.warn("WARNING: content type was null. " + "You should set this before adding the part."); return null; } }
/** * Constructor. Also creates a new content type manager * */ public WordprocessingMLPackage() { super(); setContentType(new ContentType(ContentTypes.WORDPROCESSINGML_DOCUMENT)); } /**
/** * Constructor. * * @param contentTypeManager * The content type manager to use */ public WordprocessingMLPackage(ContentTypeManager contentTypeManager) { super(contentTypeManager); setContentType(new ContentType(ContentTypes.WORDPROCESSINGML_DOCUMENT)); }
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.OFFICEDOCUMENT_FONT)); // Used when this Part is added to a rels // TODO //setRelationshipType(Namespaces.); }
/** * Constructor. Also creates a new content type manager * */ public SpreadsheetMLPackage() { super(); setContentType(new ContentType(ContentTypes.PRESENTATIONML_MAIN)); } /**
/** * Constructor. * * @param contentTypeManager * The content type manager to use */ public SpreadsheetMLPackage(ContentTypeManager contentTypeManager) { super(contentTypeManager); setContentType(new ContentType(ContentTypes.PRESENTATIONML_MAIN)); }
/** * Constructor. Also creates a new content type manager * */ public WordprocessingMLTemplatePackage() { super(); setContentType(new ContentType(ContentTypes.WORDPROCESSINGML_TEMPLATE)); } /**
/** * Constructor. * * @param contentTypeManager * The content type manager to use */ public PresentationMLPackage(ContentTypeManager contentTypeManager) { super(contentTypeManager); setContentType(new ContentType(ContentTypes.PRESENTATIONML_MAIN)); }
/** * Constructor. Also creates a new content type manager * */ public PresentationMLPackage() { super(); setContentType(new ContentType(ContentTypes.PRESENTATIONML_MAIN)); } /**
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.PRESENTATIONML_PRES_PROPS)); // Used when this Part is added to a rels setRelationshipType(Namespaces.PRESENTATIONML_PRES_PROPS); }
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.OFFICEDOCUMENT_VBA_PROJECT)); // Used when this Part is added to a rels setRelationshipType(Namespaces.VBA_PROJECT); }
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.SPREADSHEETML_WORKBOOK)); // Used when this Part is added to a rels setRelationshipType(Namespaces.SPREADSHEETML_WORKBOOK); }
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.DRAWINGML_DIAGRAM_LAYOUT_HEADER)); // Used when this Part is added to a rels setRelationshipType(Namespaces.DRAWINGML_DIAGRAM_LAYOUT_HEADER); }
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.SPREADSHEETML_TABLE)); // Used when this Part is added to a rels setRelationshipType(Namespaces.SPREADSHEETML_TABLE); }
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.PRESENTATIONML_HANDOUT_MASTER)); // Used when this Part is added to a rels setRelationshipType(Namespaces.PRESENTATIONML_HANDOUT_MASTER); }
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.WORDPROCESSINGML_SETTINGS)); // Used when this Part is added to a rels setRelationshipType(Namespaces.SETTINGS); }
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.PRESENTATIONML_NOTES_MASTER)); // Used when this Part is added to a rels setRelationshipType(Namespaces.PRESENTATIONML_NOTES_MASTER); }
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.WORDPROCESSINGML_WEBSETTINGS)); // Used when this Part is added to a rels setRelationshipType(Namespaces.WEB_SETTINGS); }
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.OFFICEDOCUMENT_CUSTOMXML_DATASTORAGE)); // Used when this Part is added to a rels setRelationshipType(Namespaces.CUSTOM_XML_DATA_STORAGE); }