Changeset 1606 for trunk/docx4j/src/main
- Timestamp:
- 07/10/11 03:30:18 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/main/java/org/docx4j/jaxb/NamespacePrefixMappings.java
r1519 r1606 246 246 247 247 // Pre-defined prefixes 248 if (prefix.equals("w")) 248 if (prefix.equals("w")) 249 249 return Namespaces.NS_WORD12; 250 elseif (prefix.equals("r"))250 if (prefix.equals("r")) 251 251 return Namespaces.RELATIONSHIPS_OFFICEDOC; 252 elseif (prefix.equals("pkg"))252 if (prefix.equals("pkg")) 253 253 return Namespaces.PKG_XML; 254 255 if (prefix.equals("p")) 256 return "http://schemas.openxmlformats.org/presentationml/2006/main"; 257 258 if (prefix.equals("prop")) 259 return "http://schemas.openxmlformats.org/officeDocument/2006/custom-properties"; 260 261 if (prefix.equals("properties")) 262 return "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"; 263 264 if (prefix.equals("cp")) 265 return "http://schemas.openxmlformats.org/package/2006/metadata/core-properties"; 266 267 if (prefix.equals("vt")) 268 return "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"; 269 270 if (prefix.equals("rel")) 271 return "http://schemas.openxmlformats.org/package/2006/relationships"; 272 273 // DrawingML 274 if (prefix.equals("wp")) 275 return "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"; 276 277 if (prefix.equals("c")) 278 return "http://schemas.openxmlformats.org/drawingml/2006/chart"; 279 280 if (prefix.equals("a")) 281 return "http://schemas.openxmlformats.org/drawingml/2006/main"; 282 283 if (prefix.equals("pic")) 284 return "http://schemas.openxmlformats.org/drawingml/2006/picture"; 285 286 if (prefix.equals("dgm")) 287 return "http://schemas.openxmlformats.org/drawingml/2006/diagram"; 288 289 if (prefix.equals("dsp")) 290 return "http://schemas.microsoft.com/office/drawing/2008/diagram"; 291 292 if (prefix.equals("o")) 293 return "urn:schemas-microsoft-com:office:office"; 294 295 if (prefix.equals("v")) 296 return "urn:schemas-microsoft-com:vml"; 297 298 if (prefix.equals("WX")) 299 return "http://schemas.microsoft.com/office/word/2003/auxHint"; 300 301 if (prefix.equals("aml")) 302 return "http://schemas.microsoft.com/aml/2001/core"; 303 304 if (prefix.equals("w10")) 305 return "urn:schemas-microsoft-com:office:word"; 306 307 if (prefix.equals("m")) 308 return "http://schemas.openxmlformats.org/officeDocument/2006/math"; 309 310 if (prefix.equals("xsi")) 311 return "http://www.w3.org/2001/XMLSchema-instance"; 312 313 if (prefix.equals("dc")) 314 return "http://purl.org/dc/elements/1.1/"; 315 316 if (prefix.equals("dcterms")) 317 return "http://purl.org/dc/terms/"; 318 319 if (prefix.equals("xml")) 320 return "http://www.w3.org/XML/1998/namespace"; 321 322 if (prefix.equals("ds")) 323 return "http://schemas.openxmlformats.org/officeDocument/2006/customXml"; 324 325 // OpenDoPE 326 if (prefix.equals("odx")) 327 return "http://opendope.org/xpaths"; 328 if (prefix.equals("odc")) 329 return "http://opendope.org/conditions"; 330 if (prefix.equals("odi")) 331 return "http://opendope.org/components"; 332 if (prefix.equals("odq")) 333 return "http://opendope.org/questions"; 334 if (prefix.equals("odgm")) 335 return "http://opendope.org/SmartArt/DataHierarchy"; 336 254 337 255 338 // Registered prefixes
Note: See TracChangeset
for help on using the changeset viewer.
