Changeset 1681


Ignore:
Timestamp:
10/07/11 05:32:00 (8 months ago)
Author:
jharrop
Message:

Additional xlsx parts

Location:
trunk/docx4j/src
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/openpackaging/contenttype/ContentTypes.java

    r1556 r1681  
    272272                "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml"; 
    273273 
     274        // /xl/queryTables/queryTable1.xml 
     275        public final static String SPREADSHEETML_QUERY_TABLE = 
     276                "application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml"; 
     277         
     278        // /xl/tables/table1.xml 
     279        public final static String SPREADSHEETML_TABLE = 
     280                "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"; 
     281         
    274282        // /xl/comments1.xml 
    275283        public final static String SPREADSHEETML_COMMENTS = 
    276284                "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"; 
    277285         
     286        // /xl/connections.xml 
     287        public final static String SPREADSHEETML_CONNECTIONS = 
     288                "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml";   
    278289         
    279290        // /xl/charts/chart1.xml 
  • trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/relationships/Namespaces.java

    r1630 r1681  
    235235        ///xl/drawings/drawing1.xml 
    236236        public final static String SPREADSHEETML_DRAWING = 
    237         "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"; 
     237                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"; 
    238238         
    239239        ///xl/charts/chart1.xml 
     
    241241        // since it is also used in PresentationML 
    242242        public final static String SPREADSHEETML_CHART = 
    243         "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"; 
     243                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"; 
    244244 
    245245        // /xl/comments1.xml  
     
    249249        ///xl/pivotTables/pivotTable1.xml 
    250250        public final static String SPREADSHEETML_PIVOT_TABLE = 
    251         "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable"; 
     251                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable"; 
     252 
     253        // /xl/queryTables/queryTable1.xml 
     254        public final static String SPREADSHEETML_QUERY_TABLE = 
     255                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/queryTable"; 
     256         
     257        // /xl/tables/table1.xml 
     258        public final static String SPREADSHEETML_TABLE = 
     259                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"; 
     260         
     261        // /xl/connections.xml 
     262        public final static String SPREADSHEETML_CONNECTIONS = 
     263                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections";       
    252264         
    253265        ///xl/pivotCache/pivotCacheDefinition1.xml 
    254266        public final static String SPREADSHEETML_PIVOT_CACHE_DEFINITION = 
    255         "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition"; 
     267                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition"; 
    256268         
    257269        ///xl/pivotCache/pivotCacheRecords1.xml 
    258270        public final static String SPREADSHEETML_PIVOT_CACHE_RECORDS = 
    259         "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords"; 
     271                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords"; 
    260272             
    261273//      public final static String NS_OFFICE = "urn:schemas-microsoft-com:office:office"; 
  • trunk/docx4j/src/xlsx4j/java/org/docx4j/openpackaging/parts/SpreadsheetML/JaxbSmlPart.java

    r1494 r1681  
    4545                } else if (contentType.equals(ContentTypes.SPREADSHEETML_COMMENTS)) { 
    4646                        return new CommentsPart(new PartName(partName)); 
     47                } else if (contentType.equals(ContentTypes.SPREADSHEETML_CONNECTIONS)) { 
     48                        return new ConnectionsPart(new PartName(partName)); 
     49                } else if (contentType.equals(ContentTypes.SPREADSHEETML_TABLE)) { 
     50                        return new TablePart(new PartName(partName)); 
     51                } else if (contentType.equals(ContentTypes.SPREADSHEETML_QUERY_TABLE)) { 
     52                        return new QueryTablePart(new PartName(partName)); 
    4753                } else { 
    4854                        throw new PartUnrecognisedException("No subclass found for " 
Note: See TracChangeset for help on using the changeset viewer.