CommonNames.h 6.9 KB

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