index.js 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731
  1. const RenderingStates = {
  2. INITIAL: 0,
  3. RUNNING: 1,
  4. PAUSED: 2,
  5. FINISHED: 3
  6. }
  7. const ALIGN = {
  8. 0: 'left',
  9. 1: 'center',
  10. 2: 'right'
  11. }
  12. const ALIGNMAP = {
  13. LEFT: 0,
  14. CENTER: 1,
  15. CENTERED: 1,
  16. RIGHT: 2
  17. }
  18. const MARGIN_DISTANCE = 10
  19. const IDENTITY_MATRIX = [1, 0, 0, 1, 0, 0];
  20. const FONT_IDENTITY_MATRIX = [0.001, 0, 0, 0.001, 0, 0];
  21. // Represent the percentage of the height of a single-line field over
  22. // the font size. Acrobat seems to use this value.
  23. const LINE_FACTOR = 1.35;
  24. const LINE_DESCENT_FACTOR = 0.35;
  25. const MARKUP = ['highlight', 'underline', 'squiggly', 'strikeout']
  26. /**
  27. * Refer to the `WorkerTransport.getRenderingIntent`-method in the API, to see
  28. * how these flags are being used:
  29. * - ANY, DISPLAY, and PRINT are the normal rendering intents, note the
  30. * `PDFPageProxy.{render, getOperatorList, getAnnotations}`-methods.
  31. * - ANNOTATIONS_FORMS, ANNOTATIONS_STORAGE, ANNOTATIONS_DISABLE control which
  32. * annotations are rendered onto the canvas (i.e. by being included in the
  33. * operatorList), note the `PDFPageProxy.{render, getOperatorList}`-methods
  34. * and their `annotationMode`-option.
  35. * - OPLIST is used with the `PDFPageProxy.getOperatorList`-method, note the
  36. * `OperatorList`-constructor (on the worker-thread).
  37. */
  38. const RenderingIntentFlag = {
  39. ANY: 0x01,
  40. DISPLAY: 0x02,
  41. PRINT: 0x04,
  42. ANNOTATIONS_FORMS: 0x10,
  43. ANNOTATIONS_STORAGE: 0x20,
  44. ANNOTATIONS_DISABLE: 0x40,
  45. OPLIST: 0x100,
  46. };
  47. const AnnotationEditorPrefix = "pdfjs_internal_editor_";
  48. const AnnotationEditorType = {
  49. DISABLE: -1,
  50. NONE: 0,
  51. FREETEXT: 3,
  52. INK: 15,
  53. };
  54. const AnnotationEditorParamsType = {
  55. FREETEXT_SIZE: 1,
  56. FREETEXT_COLOR: 2,
  57. FREETEXT_OPACITY: 3,
  58. INK_COLOR: 11,
  59. INK_THICKNESS: 12,
  60. INK_OPACITY: 13,
  61. };
  62. // Permission flags from Table 22, Section 7.6.3.2 of the PDF specification.
  63. const PermissionFlag = {
  64. PRINT: 0x04,
  65. MODIFY_CONTENTS: 0x08,
  66. COPY: 0x10,
  67. MODIFY_ANNOTATIONS: 0x20,
  68. FILL_INTERACTIVE_FORMS: 0x100,
  69. COPY_FOR_ACCESSIBILITY: 0x200,
  70. ASSEMBLE: 0x400,
  71. PRINT_HIGH_QUALITY: 0x800,
  72. };
  73. const TextRenderingMode = {
  74. FILL: 0,
  75. STROKE: 1,
  76. FILL_STROKE: 2,
  77. INVISIBLE: 3,
  78. FILL_ADD_TO_PATH: 4,
  79. STROKE_ADD_TO_PATH: 5,
  80. FILL_STROKE_ADD_TO_PATH: 6,
  81. ADD_TO_PATH: 7,
  82. FILL_STROKE_MASK: 3,
  83. ADD_TO_PATH_FLAG: 4,
  84. };
  85. const ImageKind = {
  86. GRAYSCALE_1BPP: 1,
  87. RGB_24BPP: 2,
  88. RGBA_32BPP: 3,
  89. };
  90. const AnnotationType = {
  91. TEXT: 1,
  92. LINK: 2,
  93. FREETEXT: 3,
  94. LINE: 4,
  95. SQUARE: 5,
  96. CIRCLE: 6,
  97. POLYGON: 7,
  98. POLYLINE: 8,
  99. HIGHLIGHT: 9,
  100. UNDERLINE: 10,
  101. SQUIGGLY: 11,
  102. STRIKEOUT: 12,
  103. STAMP: 13,
  104. CARET: 14,
  105. INK: 15,
  106. POPUP: 16,
  107. FILEATTACHMENT: 17,
  108. SOUND: 18,
  109. MOVIE: 19,
  110. WIDGET: 20,
  111. SCREEN: 21,
  112. PRINTERMARK: 22,
  113. TRAPNET: 23,
  114. WATERMARK: 24,
  115. THREED: 25,
  116. RICHMEDIA: 26,
  117. REDACT: 27,
  118. INTERCHANGE: 28,
  119. };
  120. const AnnotationTypeString = {
  121. 1: 'text',
  122. 2: 'link',
  123. 3: 'freetext',
  124. 4: 'line',
  125. 5: 'square',
  126. 6: 'circle',
  127. 7: 'polygon',
  128. 8: 'polyline',
  129. 9: 'highlight',
  130. 10: 'underline',
  131. 11: 'squiggly',
  132. 12: 'strikeout',
  133. 13: 'stamp',
  134. 14: 'caret',
  135. 15: 'ink',
  136. 16: 'popup',
  137. 17: 'fileattachment',
  138. 18: 'sound',
  139. 19: 'movie',
  140. 20: 'widget',
  141. 21: 'screen',
  142. 22: 'printermark',
  143. 23: 'trapnet',
  144. 24: 'watermark',
  145. 25: 'threed',
  146. 26: 'richmedia',
  147. 27: 'redact',
  148. 28: 'interchange',
  149. };
  150. const WidgetType = {
  151. PUSHBUTTON: 0,
  152. CHECKBOX: 1,
  153. RADIOBUTTON: 2,
  154. TEXTFIELD: 3,
  155. COMBOBOX: 4,
  156. LISTBOX: 5,
  157. SIGNATUREFIELDS: 6,
  158. UNKNOWN: 0XFF
  159. }
  160. const WidgetTypeString = {
  161. 0: 'pushbutton',
  162. 1: 'checkbox',
  163. 2: 'radiobutton',
  164. 3: 'textfield',
  165. 4: 'combobox',
  166. 5: 'listbox',
  167. 6: 'signatureFields',
  168. 0xff: 'unknown',
  169. }
  170. const TextFiledSpecial = {
  171. normal: 0,
  172. date: 1
  173. }
  174. const TextFiledSpecialString = {
  175. 0: 'normal',
  176. 1: 'date'
  177. }
  178. const AnnotationFlags = {
  179. AnnotationFlagInvisible: 1, // 1
  180. AnnotationFlagHidden: 1 << 1, // 10 2
  181. AnnotationFlagPrint: 1 << 2, // 100 4
  182. AnnotationFlagNoZoom: 1 << 3, // 1000 8
  183. AnnotationFlagNoRotate: 1 << 4, // 10000 16
  184. AnnotationFlagNoView: 1 << 5, // 100000 32
  185. AnnotationFlagReadOnly: 1 << 6, // 1000000 64
  186. AnnotationFlagLocked: 1 << 7, // 10000000 128
  187. AnnotationFlagToggleNoView: 1 << 8, // 100000000 256
  188. AnnotationFlagLockedContents: 1 << 9, // 1000000000 512
  189. };
  190. const LineType = {
  191. UNKNOWN: -1,
  192. NONE: 0,
  193. OPENARROW: 1,
  194. CLOSEDARROW: 2,
  195. SQUARE: 3,
  196. CIRCLE: 4,
  197. DIAMOND: 5,
  198. BUTT: 6,
  199. ROPENARROW: 7,
  200. RCLOSEDARROW: 8,
  201. SLASH: 9,
  202. }
  203. const LineTypeString = {
  204. '-1': 'Unknown',
  205. 0: 'None',
  206. 1: 'OpenArrow',
  207. 2: 'closedarrow',
  208. 3: 'square',
  209. 4: 'circle',
  210. 5: 'diamond',
  211. 6: 'butt',
  212. 7: 'ropenarrow',
  213. 8: 'rclosedarrow',
  214. 9: 'slash',
  215. }
  216. const CheckStyle = {
  217. none: -1,
  218. check: 0,
  219. circle: 1,
  220. cross: 2,
  221. diamond: 3,
  222. square: 4,
  223. star: 5,
  224. }
  225. const CheckStyleString = {
  226. 1: 'none',
  227. 0: 'check',
  228. 1: 'circle',
  229. 2: 'cross',
  230. 3: 'diamond',
  231. 4: 'square',
  232. 5: 'star',
  233. }
  234. const StampType = {
  235. UNKNOWN: 0,
  236. STANDARD: 1,
  237. IMAGE: 2,
  238. TEXT: 3,
  239. DIGITAL: 4,
  240. }
  241. const StampTypeString = {
  242. 0: 'unknown',
  243. 1: 'standard',
  244. 2: 'image',
  245. 3: 'text',
  246. 4: 'digital',
  247. }
  248. const TextStampColor = {
  249. white: 0,
  250. red: 1,
  251. green: 2,
  252. blu: 3,
  253. }
  254. const TextStampColorString = {
  255. 0: 'white',
  256. 1: 'red',
  257. 2: 'green',
  258. 3: 'blu',
  259. }
  260. const ActionType = {
  261. Unknown: 0,
  262. GoTo: 1,
  263. GoToR: 2,
  264. GoToE: 3,
  265. Launch: 4,
  266. Thread: 5,
  267. URI: 6,
  268. Sound: 7,
  269. Movie: 8,
  270. Hide: 9,
  271. Named: 10,
  272. SubmitForm: 11,
  273. ResetForm: 12,
  274. ImportData: 13,
  275. JavaScript: 14,
  276. SetOCGState: 15,
  277. Rendition: 16,
  278. Trans: 17,
  279. GoTo3DView: 18,
  280. UOP: 19, //unlock uop
  281. Error: 0xff
  282. }
  283. const ActionTypeString = {
  284. 0: 'unknown',
  285. 1: 'goto',
  286. 2: 'gotor',
  287. 3: 'gotoe',
  288. 4: 'launch',
  289. 5: 'thread',
  290. 6: 'uri',
  291. 7: 'sound',
  292. 8: 'movie',
  293. 9: 'hide',
  294. 10: 'named',
  295. 11: 'submitform',
  296. 12: 'resetform',
  297. 13: 'importdata',
  298. 14: 'javascript',
  299. 15: 'setocgstate',
  300. 16: 'rendition',
  301. 17: 'trans',
  302. 18: 'goto3dview',
  303. 19: 'uop',
  304. 0xff: 'error',
  305. }
  306. const BorderStyleInt = {
  307. solid: 0,
  308. dashded: 1,
  309. beveled: 2,
  310. inset: 3,
  311. underline: 4,
  312. }
  313. const BorderStyleString = {
  314. 0: 'solid',
  315. 1: 'dashded',
  316. 2: 'beveled',
  317. 3: 'inset',
  318. 4: 'underline',
  319. }
  320. const TextStampShape = {
  321. rect: 0,
  322. leftTriangle: 1,
  323. rightTriangle: 2,
  324. none: 3,
  325. }
  326. const TextStampShapeString = {
  327. 0: 'rect',
  328. 1: 'leftTriangle',
  329. 2: 'rightTriangle',
  330. 3: 'none',
  331. }
  332. const AnnotationStateModelType = {
  333. MARKED: "Marked",
  334. REVIEW: "Review",
  335. };
  336. const AnnotationMarkedState = {
  337. MARKED: "Marked",
  338. UNMARKED: "Unmarked",
  339. };
  340. const AnnotationReviewState = {
  341. ACCEPTED: "Accepted",
  342. REJECTED: "Rejected",
  343. CANCELLED: "Cancelled",
  344. COMPLETED: "Completed",
  345. NONE: "None",
  346. };
  347. const AnnotationReplyType = {
  348. GROUP: "Group",
  349. REPLY: "R",
  350. };
  351. const AnnotationFlag = {
  352. INVISIBLE: 0x01,
  353. HIDDEN: 0x02,
  354. PRINT: 0x04,
  355. NOZOOM: 0x08,
  356. NOROTATE: 0x10,
  357. NOVIEW: 0x20,
  358. READONLY: 0x40,
  359. LOCKED: 0x80,
  360. TOGGLENOVIEW: 0x100,
  361. LOCKEDCONTENTS: 0x200,
  362. };
  363. const AnnotationFieldFlag = {
  364. READONLY: 0x0000001,
  365. REQUIRED: 0x0000002,
  366. NOEXPORT: 0x0000004,
  367. MULTILINE: 0x0001000,
  368. PASSWORD: 0x0002000,
  369. NOTOGGLETOOFF: 0x0004000,
  370. RADIO: 0x0008000,
  371. PUSHBUTTON: 0x0010000,
  372. COMBO: 0x0020000,
  373. EDIT: 0x0040000,
  374. SORT: 0x0080000,
  375. FILESELECT: 0x0100000,
  376. MULTISELECT: 0x0200000,
  377. DONOTSPELLCHECK: 0x0400000,
  378. DONOTSCROLL: 0x0800000,
  379. COMB: 0x1000000,
  380. RICHTEXT: 0x2000000,
  381. RADIOSINUNISON: 0x2000000,
  382. COMMITONSELCHANGE: 0x4000000,
  383. };
  384. const AnnotationBorderStyleType = {
  385. SOLID: 1,
  386. DASHED: 2,
  387. BEVELED: 3,
  388. INSET: 4,
  389. UNDERLINE: 5,
  390. };
  391. const AnnotationActionEventType = {
  392. E: "Mouse Enter",
  393. X: "Mouse Exit",
  394. D: "Mouse Down",
  395. U: "Mouse Up",
  396. Fo: "Focus",
  397. Bl: "Blur",
  398. PO: "PageOpen",
  399. PC: "PageClose",
  400. PV: "PageVisible",
  401. PI: "PageInvisible",
  402. K: "Keystroke",
  403. F: "Format",
  404. V: "Validate",
  405. C: "Calculate",
  406. };
  407. const DocumentActionEventType = {
  408. WC: "WillClose",
  409. WS: "WillSave",
  410. DS: "DidSave",
  411. WP: "WillPrint",
  412. DP: "DidPrint",
  413. };
  414. const PageActionEventType = {
  415. O: "PageOpen",
  416. C: "PageClose",
  417. };
  418. const StreamType = {
  419. UNKNOWN: "UNKNOWN",
  420. FLATE: "FLATE",
  421. LZW: "LZW",
  422. DCT: "DCT",
  423. JPX: "JPX",
  424. JBIG: "JBIG",
  425. A85: "A85",
  426. AHX: "AHX",
  427. CCF: "CCF",
  428. RLX: "RLX", // PDF short name is 'RL', but telemetry requires three chars.
  429. };
  430. const FontType = {
  431. UNKNOWN: "UNKNOWN",
  432. TYPE1: "TYPE1",
  433. TYPE1STANDARD: "TYPE1STANDARD",
  434. TYPE1C: "TYPE1C",
  435. CIDFONTTYPE0: "CIDFONTTYPE0",
  436. CIDFONTTYPE0C: "CIDFONTTYPE0C",
  437. TRUETYPE: "TRUETYPE",
  438. CIDFONTTYPE2: "CIDFONTTYPE2",
  439. TYPE3: "TYPE3",
  440. OPENTYPE: "OPENTYPE",
  441. TYPE0: "TYPE0",
  442. MMTYPE1: "MMTYPE1",
  443. };
  444. const VerbosityLevel = {
  445. ERRORS: 0,
  446. WARNINGS: 1,
  447. INFOS: 5,
  448. };
  449. const CMapCompressionType = {
  450. NONE: 0,
  451. BINARY: 1,
  452. };
  453. // All the possible operations for an operator list.
  454. const OPS = {
  455. // Intentionally start from 1 so it is easy to spot bad operators that will be
  456. // 0's.
  457. // PLEASE NOTE: We purposely keep any removed operators commented out, since
  458. // re-numbering the list would risk breaking third-party users.
  459. dependency: 1,
  460. setLineWidth: 2,
  461. setLineCap: 3,
  462. setLineJoin: 4,
  463. setMiterLimit: 5,
  464. setDash: 6,
  465. setRenderingIntent: 7,
  466. setFlatness: 8,
  467. setGState: 9,
  468. save: 10,
  469. restore: 11,
  470. transform: 12,
  471. moveTo: 13,
  472. lineTo: 14,
  473. curveTo: 15,
  474. curveTo2: 16,
  475. curveTo3: 17,
  476. closePath: 18,
  477. rectangle: 19,
  478. stroke: 20,
  479. closeStroke: 21,
  480. fill: 22,
  481. eoFill: 23,
  482. fillStroke: 24,
  483. eoFillStroke: 25,
  484. closeFillStroke: 26,
  485. closeEOFillStroke: 27,
  486. endPath: 28,
  487. clip: 29,
  488. eoClip: 30,
  489. beginText: 31,
  490. endText: 32,
  491. setCharSpacing: 33,
  492. setWordSpacing: 34,
  493. setHScale: 35,
  494. setLeading: 36,
  495. setFont: 37,
  496. setTextRenderingMode: 38,
  497. setTextRise: 39,
  498. moveText: 40,
  499. setLeadingMoveText: 41,
  500. setTextMatrix: 42,
  501. nextLine: 43,
  502. showText: 44,
  503. showSpacedText: 45,
  504. nextLineShowText: 46,
  505. nextLineSetSpacingShowText: 47,
  506. setCharWidth: 48,
  507. setCharWidthAndBounds: 49,
  508. setStrokeColorSpace: 50,
  509. setFillColorSpace: 51,
  510. setStrokeColor: 52,
  511. setStrokeColorN: 53,
  512. setFillColor: 54,
  513. setFillColorN: 55,
  514. setStrokeGray: 56,
  515. setFillGray: 57,
  516. setStrokeRGBColor: 58,
  517. setFillRGBColor: 59,
  518. setStrokeCMYKColor: 60,
  519. setFillCMYKColor: 61,
  520. shadingFill: 62,
  521. beginInlineImage: 63,
  522. beginImageData: 64,
  523. endInlineImage: 65,
  524. paintXObject: 66,
  525. markPoint: 67,
  526. markPointProps: 68,
  527. beginMarkedContent: 69,
  528. beginMarkedContentProps: 70,
  529. endMarkedContent: 71,
  530. beginCompat: 72,
  531. endCompat: 73,
  532. paintFormXObjectBegin: 74,
  533. paintFormXObjectEnd: 75,
  534. beginGroup: 76,
  535. endGroup: 77,
  536. // beginAnnotations: 78,
  537. // endAnnotations: 79,
  538. beginAnnotation: 80,
  539. endAnnotation: 81,
  540. // paintJpegXObject: 82,
  541. paintImageMaskXObject: 83,
  542. paintImageMaskXObjectGroup: 84,
  543. paintImageXObject: 85,
  544. paintInlineImageXObject: 86,
  545. paintInlineImageXObjectGroup: 87,
  546. paintImageXObjectRepeat: 88,
  547. paintImageMaskXObjectRepeat: 89,
  548. paintSolidColorImageMask: 90,
  549. constructPath: 91,
  550. };
  551. const UNSUPPORTED_FEATURES = {
  552. forms: "forms",
  553. javaScript: "javaScript",
  554. signatures: "signatures",
  555. smask: "smask",
  556. shadingPattern: "shadingPattern",
  557. errorTilingPattern: "errorTilingPattern",
  558. errorExtGState: "errorExtGState",
  559. errorXObject: "errorXObject",
  560. errorFontLoadType3: "errorFontLoadType3",
  561. errorFontState: "errorFontState",
  562. errorFontMissing: "errorFontMissing",
  563. errorFontTranslate: "errorFontTranslate",
  564. errorColorSpace: "errorColorSpace",
  565. errorOperatorList: "errorOperatorList",
  566. errorFontToUnicode: "errorFontToUnicode",
  567. errorFontLoadNative: "errorFontLoadNative",
  568. errorFontBuildPath: "errorFontBuildPath",
  569. errorFontGetPath: "errorFontGetPath",
  570. errorMarkedContent: "errorMarkedContent",
  571. errorContentSubStream: "errorContentSubStream",
  572. };
  573. const PasswordResponses = {
  574. NEED_PASSWORD: 1,
  575. INCORRECT_PASSWORD: 2,
  576. };
  577. class PixelsPerInch {
  578. static CSS = 96.0;
  579. static PDF = 72.0;
  580. static PDF_TO_CSS_UNITS = 1;
  581. }
  582. const ANNOTATION_TYPE = {
  583. ink: 'Ink',
  584. freetext: 'freetext',
  585. text: 'Text',
  586. square: 'Square',
  587. circle: 'Circle',
  588. line: 'Line',
  589. arrow: 'Line',
  590. image: 'Image',
  591. };
  592. const AnnotationState = {
  593. MARKED: 0,
  594. UNMARKED: 1,
  595. ACCEPTED: 2,
  596. REJECTED: 3,
  597. CANCELLED: 4,
  598. COMPLETED: 5,
  599. NONE: 6,
  600. ERROR: 7,
  601. };
  602. const AnnotationStateString = {
  603. 0: 'MARKED',
  604. 1: 'UNMARKED',
  605. 2: 'ACCEPTED',
  606. 3: 'REJECTED',
  607. 4: 'CANCELLED',
  608. 5: 'COMPLETED',
  609. 6: 'NONE',
  610. 7: 'ERROR',
  611. };
  612. export {
  613. RenderingStates,
  614. MARGIN_DISTANCE,
  615. IDENTITY_MATRIX,
  616. FONT_IDENTITY_MATRIX,
  617. LINE_FACTOR,
  618. MARKUP,
  619. LINE_DESCENT_FACTOR,
  620. RenderingIntentFlag,
  621. AnnotationEditorPrefix,
  622. AnnotationEditorType,
  623. AnnotationEditorParamsType,
  624. PermissionFlag,
  625. TextRenderingMode,
  626. ImageKind,
  627. AnnotationType,
  628. AnnotationTypeString,
  629. WidgetType,
  630. WidgetTypeString,
  631. AnnotationFlags,
  632. TextFiledSpecial,
  633. TextFiledSpecialString,
  634. LineType,
  635. LineTypeString,
  636. CheckStyle,
  637. CheckStyleString,
  638. StampType,
  639. StampTypeString,
  640. TextStampColor,
  641. TextStampColorString,
  642. ActionType,
  643. ActionTypeString,
  644. BorderStyleInt,
  645. BorderStyleString,
  646. TextStampShape,
  647. TextStampShapeString,
  648. AnnotationStateModelType,
  649. AnnotationMarkedState,
  650. AnnotationReviewState,
  651. AnnotationReplyType,
  652. AnnotationFlag,
  653. AnnotationFieldFlag,
  654. AnnotationBorderStyleType,
  655. AnnotationActionEventType,
  656. DocumentActionEventType,
  657. PageActionEventType,
  658. StreamType,
  659. FontType,
  660. VerbosityLevel,
  661. CMapCompressionType,
  662. OPS,
  663. PixelsPerInch,
  664. UNSUPPORTED_FEATURES,
  665. PasswordResponses,
  666. ANNOTATION_TYPE,
  667. ALIGN,
  668. ALIGNMAP,
  669. AnnotationState,
  670. AnnotationStateString
  671. }