Leaked source code of windows server 2003
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.

408 lines
8.1 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. pclxle.h
  5. Abstract:
  6. PCL XL attribute ID enum
  7. Environment:
  8. Windows Whistler
  9. Revision History:
  10. 03/23/00
  11. Created it.
  12. --*/
  13. #ifndef _PCLXLE_H_
  14. #define _PCLXLE_H_
  15. //
  16. // Attribute ID Nuber to Attribute Name Table
  17. //
  18. typedef enum
  19. {
  20. eCMYColor = 1,
  21. ePaletteDepth = 2,
  22. eColorSpace = 3,
  23. eDDColorSpace = eColorSpace,
  24. eNullBrush = 4,
  25. eNullPen = 5,
  26. ePaletteData = 6,
  27. ePaletteIndex = 7,
  28. ePatternSelectID = 8,
  29. eGrayLevel = 9,
  30. eSRGBColor = 10,
  31. eRGBColor = 11,
  32. ePatternOrigin = 12,
  33. eNewDestinationSize= 13,
  34. ePrimaryArray = 14,
  35. ePrimaryDepth = 15,
  36. eColorimetricColorSpace= 17,
  37. eXYChromaticities = 18,
  38. eWhitePointReference = 19,
  39. eCRGBMinMax = 20,
  40. eGammaGain = 21,
  41. eCIELabColorSpace = 22,
  42. eMinimumL = 23,
  43. eMaximumL = 24,
  44. eMinimumA = 25,
  45. eMaximumA = 26,
  46. eMinimumB = 27,
  47. eMaximumB = 28,
  48. eDeviceMatrix = 33,
  49. eDitherMatrixDataType = 34,
  50. eDitherOrigin = 35,
  51. eMediaDest = 36,
  52. eMediaSize = 37,
  53. eMediaSource = 38,
  54. eMediaType = 39,
  55. eOrientation = 40,
  56. ePageAngle = 41,
  57. ePageOrigin = 42,
  58. ePageScale = 43,
  59. eROP3 = 44,
  60. eTxMode = 45,
  61. eCustomMediaSize = 47,
  62. eCustomMediaSizeUnits = 48,
  63. ePageCopies = 49,
  64. eDitherMatrixSize = 50,
  65. eDitherMatrixDepth= 51,
  66. eSimplexPageMode = 52,
  67. eDuplexPageMode = 53,
  68. eDuplexPageSide = 54,
  69. eArcDirection = 65,
  70. eBoundingBox = 66,
  71. eDashOffset = 67,
  72. eEllipseDimension = 68,
  73. eEndPoint = 69,
  74. eFillMode = 70,
  75. eLineCapStyle = 71,
  76. eLineJoinStyle = 72,
  77. eMiterLength = 73,
  78. eLineDashStyle = 74,
  79. ePenWidth = 75,
  80. ePoint = 76,
  81. eNumberOfPoints = 77,
  82. eSolidLine = 78,
  83. eStartPoint = 79,
  84. ePointType = 80,
  85. eControlPoint1 = 81,
  86. eControlPoint2 = 82,
  87. eClipRegion = 83,
  88. eClipMode = 84,
  89. eColorDepthArray = 97,
  90. eColorDepth = 98,
  91. ePixelDepth = eColorDepth,
  92. eBlockHeight = 99,
  93. eColorMapping = 100,
  94. ePixelEncoding = eColorMapping,
  95. eCompressMode = 101,
  96. eDestinationBox = 102,
  97. eDestinationSize = 103,
  98. ePatternPersistence= 104,
  99. ePatternDefineID = 105,
  100. eSourceHeight = 107,
  101. eSourceWidth = 108,
  102. eStartLine = 109,
  103. ePadBytesMultiple = 110,
  104. eBlockByteLength = 111,
  105. eYStart = 112,
  106. eXStart = 113,
  107. eXEnd = 114,
  108. eNumberOfScanLines= 115,
  109. eCommentData = 129,
  110. eDataOrg = 130,
  111. eMeasure = 134,
  112. eSourceType = 136,
  113. eUnitsPerMeasure = 137,
  114. eQueryKey = 138,
  115. eStreamName = 139,
  116. eStreamDataLength = 140,
  117. eErrorReport = 143,
  118. eIOReadTimeOut = 144,
  119. eVUExtension = 145,
  120. eVUDataLength = 146,
  121. eVUAttr1 = 147,
  122. eVUAttr2 = 148,
  123. eVUAttr3 = 149,
  124. eVUAttr4 = 150,
  125. eVUAttr5 = 151,
  126. eVUAttr6 = 152,
  127. eVUAttr7 = 153,
  128. eVUAttr8 = 154,
  129. eVUAttr9 = 155,
  130. eVUAttr10 = 156,
  131. eVUAttr11 = 157,
  132. eVUAttr12 = 158,
  133. eVUTableSize = 146,
  134. eVUMediaFinish = eVUAttr1,
  135. eVUMediaSource = 147,
  136. eVUMediaType = 148,
  137. eVUColorTableID = 147,
  138. eVUTypeOfTable = 148,
  139. eVUDeviceMatrix = 147,
  140. eVUDeviceMatrixByID = 148,
  141. eVUColorTreatment = 147,
  142. eVUColorTreatmentByID= 148,
  143. ePassThroughCommand= 158,
  144. ePassThroughArray = 159,
  145. eDiagnostics = 160,
  146. eCharAngle = 161,
  147. eCharCode = 162,
  148. eCharDataSize = 163,
  149. eCharScale = 164,
  150. eCharShear = 165,
  151. eCharSize = 166,
  152. eFontHeaderLength = 167,
  153. eFontName = 168,
  154. eFontFormat = 169,
  155. eSymbolSet = 170,
  156. eTextData = 171,
  157. eCharSubModeArray = 172,
  158. eWritingMode = 173,
  159. eBitmapCharScale = 174,
  160. eXSpacingData = 175,
  161. eYSpacingData = 176,
  162. eCharBoldValue = 177
  163. } Attribute;
  164. //
  165. // Atttribute enum
  166. //
  167. typedef enum
  168. {
  169. eClockWise = 0,
  170. eCounterClockWise = 1
  171. } ArcDirection;
  172. typedef enum
  173. {
  174. eNoSubstitution = 0,
  175. eVerticalSubstitution = 1
  176. } CharSubModeArray;
  177. typedef enum
  178. {
  179. eClipNonZeroWinding = 0,
  180. eClipEvenOdd = 1
  181. } ClipMode;
  182. typedef enum
  183. {
  184. eInterior = 0,
  185. eExterior = 1
  186. } ClipRegion;
  187. typedef enum
  188. {
  189. e1Bit = 0,
  190. e4Bit = 1,
  191. e8Bit = 2,
  192. e24Bit = 3
  193. } ColorDepth;
  194. typedef enum
  195. {
  196. eCRGB = 5
  197. } ColorimetricColorSpace;
  198. typedef enum
  199. {
  200. eDirectPixel = 0,
  201. eIndexedPixel = 1
  202. } ColorMapping;
  203. typedef enum
  204. {
  205. eGray = 1,
  206. eRGB = 2,
  207. eSRGB = 6
  208. } ColorSpace;
  209. typedef enum
  210. {
  211. eNoCompression = 0,
  212. eRLECompression = 1,
  213. eJPEGCompression = 2,
  214. eDeltaRowCompression = 3,
  215. eInvalidValue = 0xff
  216. } CompressMode;
  217. typedef enum
  218. {
  219. eBinaryHighByteFirst = 0,
  220. eBinaryLowByteFirst = 1
  221. } DataOrg;
  222. typedef enum
  223. {
  224. eDefault = 0
  225. } DataSource;
  226. typedef enum
  227. {
  228. eUByte = 0,
  229. eSByte = 1,
  230. eUint16 = 2,
  231. eSint16 = 3
  232. } DataType;
  233. typedef enum
  234. {
  235. eDeviceBest = 0
  236. } DitherMatrix;
  237. typedef enum
  238. {
  239. eDuplexHorizontalBinding = 0,
  240. eDuplexVerticalBinding = 1
  241. } DuplexPageMode;
  242. typedef enum
  243. {
  244. eFrontMediaSide = 0,
  245. eBackMediaSide = 1
  246. } DuplexPageSide;
  247. typedef enum
  248. {
  249. eBackChannel = 1,
  250. eErrorPage = 2,
  251. eBackChAndErrPage = 3,
  252. eNWBackChannel = 4,
  253. eNWErrorPage = 5,
  254. eNWBackChAndErrPage = 6
  255. } ErrorReport;
  256. typedef enum
  257. {
  258. eFillNonZeroWinding = 0,
  259. eFillEvenOdd = 1
  260. } FillMode;
  261. typedef enum
  262. {
  263. eButtCap = 0,
  264. eRoundCap = 1,
  265. eSquareCap = 2,
  266. eTriangleCap = 3
  267. } LineCap;
  268. typedef enum
  269. {
  270. eMiterJoin = 0,
  271. eRoundJoin = 1,
  272. eBevelJoin = 2,
  273. eNoJoin = 3
  274. } LineJoin;
  275. typedef enum
  276. {
  277. eInch = 0,
  278. eMillimeter = 1,
  279. eTenthsOfAMillimeter = 2
  280. } Measure;
  281. typedef enum
  282. {
  283. eLetterPaper = 0,
  284. eLegalPaper = 1,
  285. eA4Paper = 2,
  286. eExecPaper = 3,
  287. eLedgerPaper = 4,
  288. eA3Paper = 5,
  289. eCOM10Envelope = 6,
  290. eMonarchEnvelope = 7,
  291. eC5Envelope = 8,
  292. eDLEnvelope = 9,
  293. eJB4Paper = 10,
  294. eJB5Paper = 11,
  295. eB5Envelope = 12,
  296. eJPostcard = 13,
  297. eJDoublePostcard = 14,
  298. eA5Paper = 15,
  299. eA6Paper = 16,
  300. eJB6Paper = 17
  301. } MediaSize;
  302. typedef enum
  303. {
  304. eDefaultSource = 0,
  305. eAutoSelect = 1,
  306. eManualFeed = 2,
  307. eMultiPurposeTray = 3,
  308. eUpperCassette = 4,
  309. eLowerCassette = 5,
  310. eEnvelopeTray = 6,
  311. eThirdCassette = 7
  312. } MediaSource;
  313. // typedef enum External Trays
  314. typedef enum
  315. {
  316. eDefaultDestination = 0,
  317. eFaceDownBin = 1,
  318. eFaceUpBin = 2,
  319. eJobOffsetBin = 3
  320. } MediaDestination;
  321. // typedef enum External Bins 1-251 5-255
  322. typedef enum
  323. {
  324. ePortraitOrientation = 0,
  325. eLandscapeOrientation = 1,
  326. eReversePortrait = 2,
  327. eReverseLandscape = 3
  328. } Orientation;
  329. typedef enum
  330. {
  331. eTempPattern = 0,
  332. ePagePattern = 1,
  333. eSessionPattern = 2
  334. } PatternPersistence;
  335. // BUGBUG!! symbol set enum.
  336. //typedef enum SymbolSet
  337. //{
  338. //};
  339. typedef enum
  340. {
  341. eSimplexFrontSide = 0
  342. } SimplexPageMode;
  343. typedef enum
  344. {
  345. eOpaque = 0,
  346. eTransparent = 1,
  347. eNotSet = 2
  348. } TxMode;
  349. typedef enum
  350. {
  351. eHorizontal = 0,
  352. eVertical = 1
  353. } WritingMode;
  354. #endif // _PCLXLE_H_