Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

PackageRelationshipTypes.java 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. /* ====================================================================
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. ==================================================================== */
  15. package org.apache.poi.openxml4j.opc;
  16. /**
  17. * Relationship types.
  18. */
  19. public interface PackageRelationshipTypes {
  20. /**
  21. * Core properties relationship type.
  22. *
  23. * <p>
  24. * The standard specifies a source relations ship for the Core File Properties part as follows:
  25. * <code>http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core-properties.</code>
  26. * </p>
  27. * <p>
  28. * Office uses the following source relationship for the Core File Properties part:
  29. * <code>http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties.</code>
  30. * </p>
  31. * See 2.1.33 Part 1 Section 15.2.11.1, Core File Properties Part in [MS-OE376].pdf
  32. */
  33. String CORE_PROPERTIES = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";
  34. /**
  35. * Core properties relationship type as defiend in ECMA 376.
  36. */
  37. String CORE_PROPERTIES_ECMA376 = "http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core-properties";
  38. /**
  39. * Namespace of Core properties relationship type as defiend in ECMA 376
  40. */
  41. String CORE_PROPERTIES_ECMA376_NS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
  42. /**
  43. * Digital signature relationship type.
  44. */
  45. String DIGITAL_SIGNATURE = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/signature";
  46. /**
  47. * Digital signature certificate relationship type.
  48. */
  49. String DIGITAL_SIGNATURE_CERTIFICATE = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/certificate";
  50. /**
  51. * Digital signature origin relationship type.
  52. */
  53. String DIGITAL_SIGNATURE_ORIGIN = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/origin";
  54. /**
  55. * Thumbnail relationship type.
  56. */
  57. String THUMBNAIL = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/thumbnail";
  58. /**
  59. * Extended properties relationship type.
  60. */
  61. String EXTENDED_PROPERTIES = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";
  62. /**
  63. * Extended properties relationship type for strict ooxml.
  64. */
  65. String STRICT_EXTENDED_PROPERTIES = "http://purl.oclc.org/ooxml/officeDocument/relationships/extendedProperties";
  66. /**
  67. * Custom properties relationship type.
  68. */
  69. String CUSTOM_PROPERTIES = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";
  70. /**
  71. * Core document relationship type.
  72. */
  73. String CORE_DOCUMENT = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument";
  74. /**
  75. * Core document relationship type for strict ooxml.
  76. */
  77. String STRICT_CORE_DOCUMENT = "http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument";
  78. /**
  79. * Custom XML relationship type.
  80. */
  81. String CUSTOM_XML = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml";
  82. /**
  83. * Image type.
  84. */
  85. String IMAGE_PART = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image";
  86. /**
  87. * Hyperlink type.
  88. */
  89. String HYPERLINK_PART = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink";
  90. /**
  91. * Style type.
  92. */
  93. String STYLE_PART = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";
  94. /**
  95. * External Link to another Document
  96. */
  97. String EXTERNAL_LINK_PATH = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath";
  98. /**
  99. * Visio 2010 VSDX equivalent of package {@link #CORE_DOCUMENT}
  100. */
  101. String VISIO_CORE_DOCUMENT = "http://schemas.microsoft.com/visio/2010/relationships/document";
  102. }