You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Triplet.java 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. /* $Id$ */
  18. package org.apache.fop.afp.modca.triplets;
  19. import org.apache.fop.afp.Streamable;
  20. import org.apache.fop.afp.StructuredData;
  21. /**
  22. * Triplet interface.
  23. */
  24. public interface Triplet extends Streamable, StructuredData {
  25. /** maximum length */
  26. int MAX_LENGTH = 254;
  27. /** CODED_GRAPHIC_CHARACTER_SET_GLOBAL_IDENTIFIER identifier */
  28. byte CODED_GRAPHIC_CHARACTER_SET_GLOBAL_IDENTIFIER = 0x01;
  29. /** FULLY_QUALIFIED_NAME triplet identifier */
  30. byte FULLY_QUALIFIED_NAME = 0x02;
  31. /** MAPPING_OPTION triplet identifier */
  32. byte MAPPING_OPTION = 0x04;
  33. /** OBJECT_CLASSIFICATION triplet identifier */
  34. byte OBJECT_CLASSIFICATION = 0x10;
  35. /** MODCA_INTERCHANGE_SET triplet identifier */
  36. byte MODCA_INTERCHANGE_SET = 0x18;
  37. /** FONT_DESCRIPTOR_SPECIFICATION triplet identifier */
  38. byte FONT_DESCRIPTOR_SPECIFICATION = 0x1F;
  39. /** OBJECT_FUNCTION_SET_SPECIFICATION triplet identifier */
  40. byte OBJECT_FUNCTION_SET_SPECIFICATION = 0x21;
  41. /** EXTENDED_RESOURCE_LOCAL_IDENTIFIER triplet identifier */
  42. byte EXTENDED_RESOURCE_LOCAL_IDENTIFIER = 0x22;
  43. /** RESOURCE_LOCAL_IDENTIFIER triplet identifier */
  44. byte RESOURCE_LOCAL_IDENTIFIER = 0x24;
  45. /** RESOURCE_SECTION_NUMBER triplet identifier */
  46. byte RESOURCE_SECTION_NUMBER = 0x25;
  47. /** CHARACTER_ROTATION triplet identifier */
  48. byte CHARACTER_ROTATION = 0x26;
  49. /** OBJECT_BYTE_OFFSET triplet identifier */
  50. byte OBJECT_BYTE_OFFSET = 0x2D;
  51. /** ATTRIBUTE_VALUE triplet identifier */
  52. byte ATTRIBUTE_VALUE = 0x36;
  53. /** DESCRIPTOR_POSITION triplet identifier */
  54. byte DESCRIPTOR_POSITION = 0x43;
  55. /** MEDIA_EJECT_CONTROL triplet identifier */
  56. byte MEDIA_EJECT_CONTROL = 0x45;
  57. /** PAGE_OVERLAY_CONDITIONAL_PROCESSING triplet identifier */
  58. byte PAGE_OVERLAY_CONDITIONAL_PROCESSING = 0x46;
  59. /** RESOURCE_USAGE_ATTRIBUTE triplet identifier */
  60. byte RESOURCE_USAGE_ATTRIBUTE = 0x47;
  61. /** MEASUREMENT_UNITS triplet identifier */
  62. byte MEASUREMENT_UNITS = 0x4B;
  63. /** OBJECT_AREA_SIZE triplet identifier */
  64. byte OBJECT_AREA_SIZE = 0x4C;
  65. /** AREA_DEFINITION triplet identifier */
  66. byte AREA_DEFINITION = 0x4D;
  67. /** COLOR_SPECIFICATION triplet identifier */
  68. byte COLOR_SPECIFICATION = 0x4E;
  69. /** ENCODING_SCHEME_ID triplet identifier */
  70. byte ENCODING_SCHEME_ID = 0x50;
  71. /** MEDIUM_MAP_PAGE_NUMBER triplet identifier */
  72. byte MEDIUM_MAP_PAGE_NUMBER = 0x56;
  73. /** OBJECT_BYTE_EXTENT triplet identifier */
  74. byte OBJECT_BYTE_EXTENT = 0x57;
  75. /** OBJECT_STRUCTURED_FIELD_OFFSET triplet identifier */
  76. byte OBJECT_STRUCTURED_FIELD_OFFSET = 0x58;
  77. /** OBJECT_STRUCTURED_FIELD_EXTENT triplet identifier */
  78. byte OBJECT_STRUCTURED_FIELD_EXTENT = 0x59;
  79. /** OBJECT_OFFSET triplet identifier */
  80. byte OBJECT_OFFSET = 0x5A;
  81. /** FONT_HORIZONTAL_SCALE_FACTOR triplet identifier */
  82. byte FONT_HORIZONTAL_SCALE_FACTOR = 0x5D;
  83. /** OBJECT_COUNT triplet identifier */
  84. byte OBJECT_COUNT = 0x5E;
  85. /** OBJECT_DATE_AND_TIMESTAMP triplet identifier */
  86. byte OBJECT_DATE_AND_TIMESTAMP = 0x62;
  87. /** COMMENT triplet identifier */
  88. byte COMMENT = 0x65;
  89. /** MEDIUM_ORIENTATION triplet identifier */
  90. byte MEDIUM_ORIENTATION = 0x68;
  91. /** RESOURCE_OBJECT_INCLUDE triplet identifier */
  92. byte RESOURCE_OBJECT_INCLUDE = 0x6C;
  93. /** PRESENTATION_SPACE_RESET_MIXING triplet identifier */
  94. byte PRESENTATION_SPACE_RESET_MIXING = 0x70;
  95. /** PRESENTATION_SPACE_MIXING_RULE triplet identifier */
  96. byte PRESENTATION_SPACE_MIXING_RULE = 0x71;
  97. /** UNIVERSAL_DATE_AND_TIMESTAMP triplet identifier */
  98. byte UNIVERSAL_DATE_AND_TIMESTAMP = 0x72;
  99. /** TONER_SAVER triplet identifier */
  100. byte TONER_SAVER = 0x74;
  101. /** COLOR_FIDELITY triplet identifier */
  102. byte COLOR_FIDELITY = 0x75;
  103. /** FONT_FIDELITY triplet identifier */
  104. byte FONT_FIDELITY = 0x78;
  105. /** ATTRIBUTE_QUALIFIER triplet identifier */
  106. byte ATTRIBUTE_QUALIFIER = (byte)0x80;
  107. /** PAGE_POSITION_INFORMATION triplet identifier */
  108. byte PAGE_POSITION_INFORMATION = (byte)0x81;
  109. /** PARAMETER_VALUE triplet identifier */
  110. byte PARAMETER_VALUE = (byte)0x82;
  111. /** PRESENTATION_CONTROL triplet identifier */
  112. byte PRESENTATION_CONTROL = (byte)0x83;
  113. /** FONT_RESOLUTION_AND_METRIC_TECHNOLOGY triplet identifier */
  114. byte FONT_RESOLUTION_AND_METRIC_TECHNOLOGY = (byte)0x84;
  115. /** FINISHING_OPERATION triplet identifier */
  116. byte FINISHING_OPERATION = (byte)0x85;
  117. /** TEXT_FIDELITY triplet identifier */
  118. byte TEXT_FIDELITY = (byte)0x86;
  119. /** MEDIA_FIDELITY triplet identifier */
  120. byte MEDIA_FIDELITY = (byte)0x87;
  121. /** FINISHING_FIDELITY triplet identifier */
  122. byte FINISHING_FIDELITY = (byte)0x88;
  123. /** DATA_OBJECT_FONT_DESCRIPTOR triplet identifier */
  124. byte DATA_OBJECT_FONT_DESCRIPTOR = (byte)0x8B;
  125. /** LOCALE_SELECTOR triplet identifier */
  126. byte LOCALE_SELECTOR = (byte)0x8C;
  127. /** UP3I_FINISHING_OPERATION triplet identifier */
  128. byte UP3I_FINISHING_OPERATION = (byte)0x8E;
  129. /** COLOR_MANAGEMENT_RESOURCE_DESCRIPTOR triplet identifier */
  130. byte COLOR_MANAGEMENT_RESOURCE_DESCRIPTOR = (byte)0x91;
  131. /** RENDERING_INTENT triplet identifier */
  132. byte RENDERING_INTENT = (byte)0x95;
  133. /** CMR_TAG_FIDELITY triplet identifier */
  134. byte CMR_TAG_FIDELITY = (byte)0x96;
  135. /** DEVICE_APPEARANCE triplet identifier */
  136. byte DEVICE_APPEARANCE = (byte)0x97;
  137. }