CommonNames.h 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. /*
  2. * Copyright (c) 2021-2022, Matthew Olsson <mattco@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/DeprecatedFlyString.h>
  8. #define ENUMERATE_COMMON_NAMES(X) \
  9. X(A) \
  10. X(AIS) \
  11. X(Alternate) \
  12. X(ASCII85Decode) \
  13. X(ASCIIHexDecode) \
  14. X(Author) \
  15. X(BG) \
  16. X(BG2) \
  17. X(BM) \
  18. X(BaseEncoding) \
  19. X(BaseFont) \
  20. X(BitsPerComponent) \
  21. X(BlackPoint) \
  22. X(C) \
  23. X(C0) \
  24. X(C1) \
  25. X(CA) \
  26. X(CCITTFaxDecode) \
  27. X(CF) \
  28. X(CFM) \
  29. X(CalGray) \
  30. X(CalRGB) \
  31. X(CIDFontType0) \
  32. X(CIDFontType2) \
  33. X(CIDSystemInfo) \
  34. X(CIDToGIDMap) \
  35. X(Colors) \
  36. X(ColorSpace) \
  37. X(Columns) \
  38. X(Contents) \
  39. X(Count) \
  40. X(CreationDate) \
  41. X(Creator) \
  42. X(CropBox) \
  43. X(Crypt) \
  44. X(D) \
  45. X(DW) \
  46. X(DCTDecode) \
  47. X(DecodeParms) \
  48. X(Decode) \
  49. X(DescendantFonts) \
  50. X(Dest) \
  51. X(Dests) \
  52. X(DeviceCMYK) \
  53. X(DeviceGray) \
  54. X(DeviceN) \
  55. X(DeviceRGB) \
  56. X(Differences) \
  57. X(Domain) \
  58. X(E) \
  59. X(Encoding) \
  60. X(Encrypt) \
  61. X(EncryptMetadata) \
  62. X(ExtGState) \
  63. X(F) \
  64. X(FL) \
  65. X(Filter) \
  66. X(First) \
  67. X(FirstChar) \
  68. X(Fit) \
  69. X(FitB) \
  70. X(FitBH) \
  71. X(FitBV) \
  72. X(FitH) \
  73. X(FitR) \
  74. X(FitV) \
  75. X(FlateDecode) \
  76. X(Font) \
  77. X(FontDescriptor) \
  78. X(FontFamily) \
  79. X(FontFile) \
  80. X(FontFile2) \
  81. X(FontFile3) \
  82. X(FunctionType) \
  83. X(Gamma) \
  84. X(H) \
  85. X(Height) \
  86. X(HT) \
  87. X(HTO) \
  88. X(ICCBased) \
  89. X(ID) \
  90. X(Image) \
  91. X(ImageMask) \
  92. X(Index) \
  93. X(Indexed) \
  94. X(Info) \
  95. X(Intent) \
  96. X(JBIG2Decode) \
  97. X(JPXDecode) \
  98. X(Keywords) \
  99. X(Kids) \
  100. X(L) \
  101. X(LC) \
  102. X(LJ) \
  103. X(LW) \
  104. X(LZWDecode) \
  105. X(Lab) \
  106. X(Last) \
  107. X(LastChar) \
  108. X(Length) \
  109. X(Length1) \
  110. X(Length2) \
  111. X(Length3) \
  112. X(Limits) \
  113. X(Linearized) \
  114. X(ML) \
  115. X(Matrix) \
  116. X(MediaBox) \
  117. X(MissingWidth) \
  118. X(ModDate) \
  119. X(N) \
  120. X(Names) \
  121. X(Next) \
  122. X(O) \
  123. X(OE) \
  124. X(OP) \
  125. X(OPM) \
  126. X(Ordering) \
  127. X(Outlines) \
  128. X(P) \
  129. X(Pages) \
  130. X(Parent) \
  131. X(Pattern) \
  132. X(Perms) \
  133. X(Predictor) \
  134. X(Prev) \
  135. X(Producer) \
  136. X(R) \
  137. X(RI) \
  138. X(Range) \
  139. X(Registry) \
  140. X(Resources) \
  141. X(Root) \
  142. X(Rotate) \
  143. X(RunLengthDecode) \
  144. X(S) \
  145. X(SA) \
  146. X(SM) \
  147. X(SMask) \
  148. X(Separation) \
  149. X(StmF) \
  150. X(StrF) \
  151. X(Subject) \
  152. X(Subtype) \
  153. X(Supplement) \
  154. X(T) \
  155. X(TK) \
  156. X(TR) \
  157. X(TR2) \
  158. X(Title) \
  159. X(ToUnicode) \
  160. X(Type) \
  161. X(Type1C) \
  162. X(U) \
  163. X(UE) \
  164. X(UCR) \
  165. X(UseBlackPTComp) \
  166. X(UserUnit) \
  167. X(V) \
  168. X(W) \
  169. X(WhitePoint) \
  170. X(Width) \
  171. X(Widths) \
  172. X(XObject) \
  173. X(XYZ) \
  174. X(ca) \
  175. X(op)
  176. namespace PDF {
  177. class CommonNames {
  178. public:
  179. #define ENUMERATE(name) static DeprecatedFlyString name;
  180. ENUMERATE_COMMON_NAMES(ENUMERATE)
  181. #undef ENUMERATE
  182. static DeprecatedFlyString IdentityH;
  183. };
  184. }