Ignore:
Timestamp:
01/06/08 02:50:35 (4 years ago)
Author:
jharrop
Message:

Set ContentType? and RelationshipType? to appropriate values in constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/openpackaging/packages/WordprocessingMLPackage.java

    r67 r69  
    245245                ((org.docx4j.openpackaging.parts.WordprocessingML.MainDocumentPart)corePart).setJaxbElement(wmlDocumentEl); 
    246246                 
    247                 corePart.setContentType(new  org.docx4j.openpackaging.contenttype.ContentType( org.docx4j.openpackaging.contenttype.ContentTypes.WORDPROCESSINGML_DOCUMENT)); 
    248                 corePart.setRelationshipType(Namespaces.DOCUMENT); 
     247//              corePart.setContentType(new  org.docx4j.openpackaging.contenttype.ContentType( org.docx4j.openpackaging.contenttype.ContentTypes.WORDPROCESSINGML_DOCUMENT)); 
     248//              corePart.setRelationshipType(Namespaces.DOCUMENT); 
    249249                 
    250250                // Make getMainDocumentPart() work 
     
    261261                                 
    262262                // Add the main document part to the package relationships 
     263                // and to [Content_Types].xml 
    263264                rp.addPart(corePart, p.getContentTypeManager()); 
    264265                 
Note: See TracChangeset for help on using the changeset viewer.