Changeset 1681
- Timestamp:
- 10/07/11 05:32:00 (8 months ago)
- Location:
- trunk/docx4j/src
- Files:
-
- 3 added
- 3 edited
-
main/java/org/docx4j/openpackaging/contenttype/ContentTypes.java (modified) (1 diff)
-
main/java/org/docx4j/openpackaging/parts/relationships/Namespaces.java (modified) (3 diffs)
-
xlsx4j/java/org/docx4j/openpackaging/parts/SpreadsheetML/ConnectionsPart.java (added)
-
xlsx4j/java/org/docx4j/openpackaging/parts/SpreadsheetML/JaxbSmlPart.java (modified) (1 diff)
-
xlsx4j/java/org/docx4j/openpackaging/parts/SpreadsheetML/QueryTablePart.java (added)
-
xlsx4j/java/org/docx4j/openpackaging/parts/SpreadsheetML/TablePart.java (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/main/java/org/docx4j/openpackaging/contenttype/ContentTypes.java
r1556 r1681 272 272 "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml"; 273 273 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 274 282 // /xl/comments1.xml 275 283 public final static String SPREADSHEETML_COMMENTS = 276 284 "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"; 277 285 286 // /xl/connections.xml 287 public final static String SPREADSHEETML_CONNECTIONS = 288 "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml"; 278 289 279 290 // /xl/charts/chart1.xml -
trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/relationships/Namespaces.java
r1630 r1681 235 235 ///xl/drawings/drawing1.xml 236 236 public final static String SPREADSHEETML_DRAWING = 237 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";237 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"; 238 238 239 239 ///xl/charts/chart1.xml … … 241 241 // since it is also used in PresentationML 242 242 public final static String SPREADSHEETML_CHART = 243 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart";243 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"; 244 244 245 245 // /xl/comments1.xml … … 249 249 ///xl/pivotTables/pivotTable1.xml 250 250 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"; 252 264 253 265 ///xl/pivotCache/pivotCacheDefinition1.xml 254 266 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"; 256 268 257 269 ///xl/pivotCache/pivotCacheRecords1.xml 258 270 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"; 260 272 261 273 // 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 45 45 } else if (contentType.equals(ContentTypes.SPREADSHEETML_COMMENTS)) { 46 46 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)); 47 53 } else { 48 54 throw new PartUnrecognisedException("No subclass found for "
Note: See TracChangeset
for help on using the changeset viewer.
