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.

Constants.java 32KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073
  1. /*
  2. * Copyright 1999-2005 The Apache Software Foundation.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /* $Id$ */
  17. package org.apache.fop.fo;
  18. /**
  19. * Definition of constants used throughout FOP.
  20. * There are sets of constants describing:
  21. * <ul>
  22. * <li>Input and output formats</li>
  23. * <li>Formatting objects</li>
  24. * <li>Formatting properties</li>
  25. * <li>Enumerated values used in formatting properties</li>
  26. * </ul>
  27. */
  28. public interface Constants {
  29. /** not set */
  30. int NOT_SET = 0;
  31. // element constants
  32. /** FObj base class */
  33. int FO_UNKNOWN_NODE = 0;
  34. /** FO element constant */
  35. int FO_BASIC_LINK = 1;
  36. /** FO element constant */
  37. int FO_BIDI_OVERRIDE = 2;
  38. /** FO element constant */
  39. int FO_BLOCK = 3;
  40. /** FO element constant */
  41. int FO_BLOCK_CONTAINER = 4;
  42. /** FO element constant */
  43. int FO_CHARACTER = 5;
  44. /** FO element constant */
  45. int FO_COLOR_PROFILE = 6;
  46. /** FO element constant */
  47. int FO_CONDITIONAL_PAGE_MASTER_REFERENCE = 7;
  48. /** FO element constant */
  49. int FO_DECLARATIONS = 8;
  50. /** FO element constant */
  51. int FO_EXTERNAL_GRAPHIC = 9;
  52. /** FO element constant */
  53. int FO_FLOAT = 10;
  54. /** FO element constant */
  55. int FO_FLOW = 11;
  56. /** FO element constant */
  57. int FO_FOOTNOTE = 12;
  58. /** FO element constant */
  59. int FO_FOOTNOTE_BODY = 13;
  60. /** FO element constant */
  61. int FO_INITIAL_PROPERTY_SET = 14;
  62. /** FO element constant */
  63. int FO_INLINE = 15;
  64. /** FO element constant */
  65. int FO_INLINE_CONTAINER = 16;
  66. /** FO element constant */
  67. int FO_INSTREAM_FOREIGN_OBJECT = 17;
  68. /** FO element constant */
  69. int FO_LAYOUT_MASTER_SET = 18;
  70. /** FO element constant */
  71. int FO_LEADER = 19;
  72. /** FO element constant */
  73. int FO_LIST_BLOCK = 20;
  74. /** FO element constant */
  75. int FO_LIST_ITEM = 21;
  76. /** FO element constant */
  77. int FO_LIST_ITEM_BODY = 22;
  78. /** FO element constant */
  79. int FO_LIST_ITEM_LABEL = 23;
  80. /** FO element constant */
  81. int FO_MARKER = 24;
  82. /** FO element constant */
  83. int FO_MULTI_CASE = 25;
  84. /** FO element constant */
  85. int FO_MULTI_PROPERTIES = 26;
  86. /** FO element constant */
  87. int FO_MULTI_PROPERTY_SET = 27;
  88. /** FO element constant */
  89. int FO_MULTI_SWITCH = 28;
  90. /** FO element constant */
  91. int FO_MULTI_TOGGLE = 29;
  92. /** FO element constant */
  93. int FO_PAGE_NUMBER = 30;
  94. /** FO element constant */
  95. int FO_PAGE_NUMBER_CITATION = 31;
  96. /** FO element constant */
  97. int FO_PAGE_SEQUENCE = 32;
  98. /** FO element constant */
  99. int FO_PAGE_SEQUENCE_MASTER = 33;
  100. /** FO element constant */
  101. int FO_REGION_AFTER = 34;
  102. /** FO element constant */
  103. int FO_REGION_BEFORE = 35;
  104. /** FO element constant */
  105. int FO_REGION_BODY = 36;
  106. /** FO element constant */
  107. int FO_REGION_END = 37;
  108. /** FO element constant */
  109. int FO_REGION_START = 38;
  110. /** FO element constant */
  111. int FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES = 39;
  112. /** FO element constant */
  113. int FO_REPEATABLE_PAGE_MASTER_REFERENCE = 40;
  114. /** FO element constant */
  115. int FO_RETRIEVE_MARKER = 41;
  116. /** FO element constant */
  117. int FO_ROOT = 42;
  118. /** FO element constant */
  119. int FO_SIMPLE_PAGE_MASTER = 43;
  120. /** FO element constant */
  121. int FO_SINGLE_PAGE_MASTER_REFERENCE = 44;
  122. /** FO element constant */
  123. int FO_STATIC_CONTENT = 45;
  124. /** FO element constant */
  125. int FO_TABLE = 46;
  126. /** FO element constant */
  127. int FO_TABLE_AND_CAPTION = 47;
  128. /** FO element constant */
  129. int FO_TABLE_BODY = 48;
  130. /** FO element constant */
  131. int FO_TABLE_CAPTION = 49;
  132. /** FO element constant */
  133. int FO_TABLE_CELL = 50;
  134. /** FO element constant */
  135. int FO_TABLE_COLUMN = 51;
  136. /** FO element constant */
  137. int FO_TABLE_FOOTER = 52;
  138. /** FO element constant */
  139. int FO_TABLE_HEADER = 53;
  140. /** FO element constant */
  141. int FO_TABLE_ROW = 54;
  142. /** FO element constant */
  143. int FO_TITLE = 55;
  144. /** FO element constant */
  145. int FO_WRAPPER = 56;
  146. /** FO element constant - XSL 1.1 */
  147. int FO_BOOKMARK_TREE = 57;
  148. /** FO element constant - XSL 1.1 */
  149. int FO_BOOKMARK = 58;
  150. /** FO element constant - XSL 1.1 */
  151. int FO_BOOKMARK_TITLE = 59;
  152. /** FO element constant - XSL 1.1 */
  153. int FO_PAGE_SEQUENCE_WRAPPER = 60;
  154. /** Number of FO element constants defined */
  155. int FRM_OBJ_COUNT = 60;
  156. // Masks
  157. /**
  158. * For compound properties the property constant value is shifted by this amount.
  159. * The low order bits hold the constant for the component property.
  160. */
  161. int COMPOUND_SHIFT = 9;
  162. /**
  163. * Mask that when applied to a compound property returns the constant of
  164. * the component property.
  165. */
  166. int PROPERTY_MASK = (1 << COMPOUND_SHIFT) - 1;
  167. /**
  168. * Mask that when applied to a compound property returns the constant of
  169. * the compound property.
  170. */
  171. int COMPOUND_MASK = ~PROPERTY_MASK;
  172. /** Number of compund properties defined */
  173. int COMPOUND_COUNT = 11;
  174. // property constants
  175. /** Property constant */
  176. int PR_ABSOLUTE_POSITION = 1;
  177. /** Property constant */
  178. int PR_ACTIVE_STATE = 2;
  179. /** Property constant */
  180. int PR_ALIGNMENT_ADJUST = 3;
  181. /** Property constant */
  182. int PR_ALIGNMENT_BASELINE = 4;
  183. /** Property constant */
  184. int PR_AUTO_RESTORE = 5;
  185. /** Property constant */
  186. int PR_AZIMUTH = 6;
  187. /** Property constant */
  188. int PR_BACKGROUND = 7;
  189. /** Property constant */
  190. int PR_BACKGROUND_ATTACHMENT = 8;
  191. /** Property constant */
  192. int PR_BACKGROUND_COLOR = 9;
  193. /** Property constant */
  194. int PR_BACKGROUND_IMAGE = 10;
  195. /** Property constant */
  196. int PR_BACKGROUND_POSITION = 11;
  197. /** Property constant */
  198. int PR_BACKGROUND_POSITION_HORIZONTAL = 12;
  199. /** Property constant */
  200. int PR_BACKGROUND_POSITION_VERTICAL = 13;
  201. /** Property constant */
  202. int PR_BACKGROUND_REPEAT = 14;
  203. /** Property constant */
  204. int PR_BASELINE_SHIFT = 15;
  205. /** Property constant */
  206. int PR_BLANK_OR_NOT_BLANK = 16;
  207. /** Property constant */
  208. int PR_BLOCK_PROGRESSION_DIMENSION = 17;
  209. /** Property constant */
  210. int PR_BORDER = 18;
  211. /** Property constant */
  212. int PR_BORDER_AFTER_COLOR = 19;
  213. /** Property constant */
  214. int PR_BORDER_AFTER_PRECEDENCE = 20;
  215. /** Property constant */
  216. int PR_BORDER_AFTER_STYLE = 21;
  217. /** Property constant */
  218. int PR_BORDER_AFTER_WIDTH = 22;
  219. /** Property constant */
  220. int PR_BORDER_BEFORE_COLOR = 23;
  221. /** Property constant */
  222. int PR_BORDER_BEFORE_PRECEDENCE = 24;
  223. /** Property constant */
  224. int PR_BORDER_BEFORE_STYLE = 25;
  225. /** Property constant */
  226. int PR_BORDER_BEFORE_WIDTH = 26;
  227. /** Property constant */
  228. int PR_BORDER_BOTTOM = 27;
  229. /** Property constant */
  230. int PR_BORDER_BOTTOM_COLOR = 28;
  231. /** Property constant */
  232. int PR_BORDER_BOTTOM_STYLE = 29;
  233. /** Property constant */
  234. int PR_BORDER_BOTTOM_WIDTH = 30;
  235. /** Property constant */
  236. int PR_BORDER_COLLAPSE = 31;
  237. /** Property constant */
  238. int PR_BORDER_COLOR = 32;
  239. /** Property constant */
  240. int PR_BORDER_END_COLOR = 33;
  241. /** Property constant */
  242. int PR_BORDER_END_PRECEDENCE = 34;
  243. /** Property constant */
  244. int PR_BORDER_END_STYLE = 35;
  245. /** Property constant */
  246. int PR_BORDER_END_WIDTH = 36;
  247. /** Property constant */
  248. int PR_BORDER_LEFT = 37;
  249. /** Property constant */
  250. int PR_BORDER_LEFT_COLOR = 38;
  251. /** Property constant */
  252. int PR_BORDER_LEFT_STYLE = 39;
  253. /** Property constant */
  254. int PR_BORDER_LEFT_WIDTH = 40;
  255. /** Property constant */
  256. int PR_BORDER_RIGHT = 41;
  257. /** Property constant */
  258. int PR_BORDER_RIGHT_COLOR = 42;
  259. /** Property constant */
  260. int PR_BORDER_RIGHT_STYLE = 43;
  261. /** Property constant */
  262. int PR_BORDER_RIGHT_WIDTH = 44;
  263. /** Property constant */
  264. int PR_BORDER_SEPARATION = 45;
  265. /** Property constant */
  266. int PR_BORDER_SPACING = 46;
  267. /** Property constant */
  268. int PR_BORDER_START_COLOR = 47;
  269. /** Property constant */
  270. int PR_BORDER_START_PRECEDENCE = 48;
  271. /** Property constant */
  272. int PR_BORDER_START_STYLE = 49;
  273. /** Property constant */
  274. int PR_BORDER_START_WIDTH = 50;
  275. /** Property constant */
  276. int PR_BORDER_STYLE = 51;
  277. /** Property constant */
  278. int PR_BORDER_TOP = 52;
  279. /** Property constant */
  280. int PR_BORDER_TOP_COLOR = 53;
  281. /** Property constant */
  282. int PR_BORDER_TOP_STYLE = 54;
  283. /** Property constant */
  284. int PR_BORDER_TOP_WIDTH = 55;
  285. /** Property constant */
  286. int PR_BORDER_WIDTH = 56;
  287. /** Property constant */
  288. int PR_BOTTOM = 57;
  289. /** Property constant */
  290. int PR_BREAK_AFTER = 58;
  291. /** Property constant */
  292. int PR_BREAK_BEFORE = 59;
  293. /** Property constant */
  294. int PR_CAPTION_SIDE = 60;
  295. /** Property constant */
  296. int PR_CASE_NAME = 61;
  297. /** Property constant */
  298. int PR_CASE_TITLE = 62;
  299. /** Property constant */
  300. int PR_CHARACTER = 63;
  301. /** Property constant */
  302. int PR_CLEAR = 64;
  303. /** Property constant */
  304. int PR_CLIP = 65;
  305. /** Property constant */
  306. int PR_COLOR = 66;
  307. /** Property constant */
  308. int PR_COLOR_PROFILE_NAME = 67;
  309. /** Property constant */
  310. int PR_COLUMN_COUNT = 68;
  311. /** Property constant */
  312. int PR_COLUMN_GAP = 69;
  313. /** Property constant */
  314. int PR_COLUMN_NUMBER = 70;
  315. /** Property constant */
  316. int PR_COLUMN_WIDTH = 71;
  317. /** Property constant */
  318. int PR_CONTENT_HEIGHT = 72;
  319. /** Property constant */
  320. int PR_CONTENT_TYPE = 73;
  321. /** Property constant */
  322. int PR_CONTENT_WIDTH = 74;
  323. /** Property constant */
  324. int PR_COUNTRY = 75;
  325. /** Property constant */
  326. int PR_CUE = 76;
  327. /** Property constant */
  328. int PR_CUE_AFTER = 77;
  329. /** Property constant */
  330. int PR_CUE_BEFORE = 78;
  331. /** Property constant */
  332. int PR_DESTINATION_PLACEMENT_OFFSET = 79;
  333. /** Property constant */
  334. int PR_DIRECTION = 80;
  335. /** Property constant */
  336. int PR_DISPLAY_ALIGN = 81;
  337. /** Property constant */
  338. int PR_DOMINANT_BASELINE = 82;
  339. /** Property constant */
  340. int PR_ELEVATION = 83;
  341. /** Property constant */
  342. int PR_EMPTY_CELLS = 84;
  343. /** Property constant */
  344. int PR_END_INDENT = 85;
  345. /** Property constant */
  346. int PR_ENDS_ROW = 86;
  347. /** Property constant */
  348. int PR_EXTENT = 87;
  349. /** Property constant */
  350. int PR_EXTERNAL_DESTINATION = 88;
  351. /** Property constant */
  352. int PR_FLOAT = 89;
  353. /** Property constant */
  354. int PR_FLOW_NAME = 90;
  355. /** Property constant */
  356. int PR_FONT = 91;
  357. /** Property constant */
  358. int PR_FONT_FAMILY = 92;
  359. /** Property constant */
  360. int PR_FONT_SELECTION_STRATEGY = 93;
  361. /** Property constant */
  362. int PR_FONT_SIZE = 94;
  363. /** Property constant */
  364. int PR_FONT_SIZE_ADJUST = 95;
  365. /** Property constant */
  366. int PR_FONT_STRETCH = 96;
  367. /** Property constant */
  368. int PR_FONT_STYLE = 97;
  369. /** Property constant */
  370. int PR_FONT_VARIANT = 98;
  371. /** Property constant */
  372. int PR_FONT_WEIGHT = 99;
  373. /** Property constant */
  374. int PR_FORCE_PAGE_COUNT = 100;
  375. /** Property constant */
  376. int PR_FORMAT = 101;
  377. /** Property constant */
  378. int PR_GLYPH_ORIENTATION_HORIZONTAL = 102;
  379. /** Property constant */
  380. int PR_GLYPH_ORIENTATION_VERTICAL = 103;
  381. /** Property constant */
  382. int PR_GROUPING_SEPARATOR = 104;
  383. /** Property constant */
  384. int PR_GROUPING_SIZE = 105;
  385. /** Property constant */
  386. int PR_HEIGHT = 106;
  387. /** Property constant */
  388. int PR_HYPHENATE = 107;
  389. /** Property constant */
  390. int PR_HYPHENATION_CHARACTER = 108;
  391. /** Property constant */
  392. int PR_HYPHENATION_KEEP = 109;
  393. /** Property constant */
  394. int PR_HYPHENATION_LADDER_COUNT = 110;
  395. /** Property constant */
  396. int PR_HYPHENATION_PUSH_CHARACTER_COUNT = 111;
  397. /** Property constant */
  398. int PR_HYPHENATION_REMAIN_CHARACTER_COUNT = 112;
  399. /** Property constant */
  400. int PR_ID = 113;
  401. /** Property constant */
  402. int PR_INDICATE_DESTINATION = 114;
  403. /** Property constant */
  404. int PR_INITIAL_PAGE_NUMBER = 115;
  405. /** Property constant */
  406. int PR_INLINE_PROGRESSION_DIMENSION = 116;
  407. /** Property constant */
  408. int PR_INTERNAL_DESTINATION = 117;
  409. /** Property constant */
  410. int PR_KEEP_TOGETHER = 118;
  411. /** Property constant */
  412. int PR_KEEP_WITH_NEXT = 119;
  413. /** Property constant */
  414. int PR_KEEP_WITH_PREVIOUS = 120;
  415. /** Property constant */
  416. int PR_LANGUAGE = 121;
  417. /** Property constant */
  418. int PR_LAST_LINE_END_INDENT = 122;
  419. /** Property constant */
  420. int PR_LEADER_ALIGNMENT = 123;
  421. /** Property constant */
  422. int PR_LEADER_LENGTH = 124;
  423. /** Property constant */
  424. int PR_LEADER_PATTERN = 125;
  425. /** Property constant */
  426. int PR_LEADER_PATTERN_WIDTH = 126;
  427. /** Property constant */
  428. int PR_LEFT = 127;
  429. /** Property constant */
  430. int PR_LETTER_SPACING = 128;
  431. /** Property constant */
  432. int PR_LETTER_VALUE = 129;
  433. /** Property constant */
  434. int PR_LINEFEED_TREATMENT = 130;
  435. /** Property constant */
  436. int PR_LINE_HEIGHT = 131;
  437. /** Property constant */
  438. int PR_LINE_HEIGHT_SHIFT_ADJUSTMENT = 132;
  439. /** Property constant */
  440. int PR_LINE_STACKING_STRATEGY = 133;
  441. /** Property constant */
  442. int PR_MARGIN = 134;
  443. /** Property constant */
  444. int PR_MARGIN_BOTTOM = 135;
  445. /** Property constant */
  446. int PR_MARGIN_LEFT = 136;
  447. /** Property constant */
  448. int PR_MARGIN_RIGHT = 137;
  449. /** Property constant */
  450. int PR_MARGIN_TOP = 138;
  451. /** Property constant */
  452. int PR_MARKER_CLASS_NAME = 139;
  453. /** Property constant */
  454. int PR_MASTER_NAME = 140;
  455. /** Property constant */
  456. int PR_MASTER_REFERENCE = 141;
  457. /** Property constant */
  458. int PR_MAX_HEIGHT = 142;
  459. /** Property constant */
  460. int PR_MAXIMUM_REPEATS = 143;
  461. /** Property constant */
  462. int PR_MAX_WIDTH = 144;
  463. /** Property constant */
  464. int PR_MEDIA_USAGE = 145;
  465. /** Property constant */
  466. int PR_MIN_HEIGHT = 146;
  467. /** Property constant */
  468. int PR_MIN_WIDTH = 147;
  469. /** Property constant */
  470. int PR_NUMBER_COLUMNS_REPEATED = 148;
  471. /** Property constant */
  472. int PR_NUMBER_COLUMNS_SPANNED = 149;
  473. /** Property constant */
  474. int PR_NUMBER_ROWS_SPANNED = 150;
  475. /** Property constant */
  476. int PR_ODD_OR_EVEN = 151;
  477. /** Property constant */
  478. int PR_ORPHANS = 152;
  479. /** Property constant */
  480. int PR_OVERFLOW = 153;
  481. /** Property constant */
  482. int PR_PADDING = 154;
  483. /** Property constant */
  484. int PR_PADDING_AFTER = 155;
  485. /** Property constant */
  486. int PR_PADDING_BEFORE = 156;
  487. /** Property constant */
  488. int PR_PADDING_BOTTOM = 157;
  489. /** Property constant */
  490. int PR_PADDING_END = 158;
  491. /** Property constant */
  492. int PR_PADDING_LEFT = 159;
  493. /** Property constant */
  494. int PR_PADDING_RIGHT = 160;
  495. /** Property constant */
  496. int PR_PADDING_START = 161;
  497. /** Property constant */
  498. int PR_PADDING_TOP = 162;
  499. /** Property constant */
  500. int PR_PAGE_BREAK_AFTER = 163;
  501. /** Property constant */
  502. int PR_PAGE_BREAK_BEFORE = 164;
  503. /** Property constant */
  504. int PR_PAGE_BREAK_INSIDE = 165;
  505. /** Property constant */
  506. int PR_PAGE_HEIGHT = 166;
  507. /** Property constant */
  508. int PR_PAGE_POSITION = 167;
  509. /** Property constant */
  510. int PR_PAGE_WIDTH = 168;
  511. /** Property constant */
  512. int PR_PAUSE = 169;
  513. /** Property constant */
  514. int PR_PAUSE_AFTER = 170;
  515. /** Property constant */
  516. int PR_PAUSE_BEFORE = 171;
  517. /** Property constant */
  518. int PR_PITCH = 172;
  519. /** Property constant */
  520. int PR_PITCH_RANGE = 173;
  521. /** Property constant */
  522. int PR_PLAY_DURING = 174;
  523. /** Property constant */
  524. int PR_POSITION = 175;
  525. /** Property constant */
  526. int PR_PRECEDENCE = 176;
  527. /** Property constant */
  528. int PR_PROVISIONAL_DISTANCE_BETWEEN_STARTS = 177;
  529. /** Property constant */
  530. int PR_PROVISIONAL_LABEL_SEPARATION = 178;
  531. /** Property constant */
  532. int PR_REFERENCE_ORIENTATION = 179;
  533. /** Property constant */
  534. int PR_REF_ID = 180;
  535. /** Property constant */
  536. int PR_REGION_NAME = 181;
  537. /** Property constant */
  538. int PR_RELATIVE_ALIGN = 182;
  539. /** Property constant */
  540. int PR_RELATIVE_POSITION = 183;
  541. /** Property constant */
  542. int PR_RENDERING_INTENT = 184;
  543. /** Property constant */
  544. int PR_RETRIEVE_BOUNDARY = 185;
  545. /** Property constant */
  546. int PR_RETRIEVE_CLASS_NAME = 186;
  547. /** Property constant */
  548. int PR_RETRIEVE_POSITION = 187;
  549. /** Property constant */
  550. int PR_RICHNESS = 188;
  551. /** Property constant */
  552. int PR_RIGHT = 189;
  553. /** Property constant */
  554. int PR_ROLE = 190;
  555. /** Property constant */
  556. int PR_RULE_STYLE = 191;
  557. /** Property constant */
  558. int PR_RULE_THICKNESS = 192;
  559. /** Property constant */
  560. int PR_SCALING = 193;
  561. /** Property constant */
  562. int PR_SCALING_METHOD = 194;
  563. /** Property constant */
  564. int PR_SCORE_SPACES = 195;
  565. /** Property constant */
  566. int PR_SCRIPT = 196;
  567. /** Property constant */
  568. int PR_SHOW_DESTINATION = 197;
  569. /** Property constant */
  570. int PR_SIZE = 198;
  571. /** Property constant */
  572. int PR_SOURCE_DOCUMENT = 199;
  573. /** Property constant */
  574. int PR_SPACE_AFTER = 200;
  575. /** Property constant */
  576. int PR_SPACE_BEFORE = 201;
  577. /** Property constant */
  578. int PR_SPACE_END = 202;
  579. /** Property constant */
  580. int PR_SPACE_START = 203;
  581. /** Property constant */
  582. int PR_SPAN = 204;
  583. /** Property constant */
  584. int PR_SPEAK = 205;
  585. /** Property constant */
  586. int PR_SPEAK_HEADER = 206;
  587. /** Property constant */
  588. int PR_SPEAK_NUMERAL = 207;
  589. /** Property constant */
  590. int PR_SPEAK_PUNCTUATION = 208;
  591. /** Property constant */
  592. int PR_SPEECH_RATE = 209;
  593. /** Property constant */
  594. int PR_SRC = 210;
  595. /** Property constant */
  596. int PR_START_INDENT = 211;
  597. /** Property constant */
  598. int PR_STARTING_STATE = 212;
  599. /** Property constant */
  600. int PR_STARTS_ROW = 213;
  601. /** Property constant */
  602. int PR_STRESS = 214;
  603. /** Property constant */
  604. int PR_SUPPRESS_AT_LINE_BREAK = 215;
  605. /** Property constant */
  606. int PR_SWITCH_TO = 216;
  607. /** Property constant */
  608. int PR_TABLE_LAYOUT = 217;
  609. /** Property constant */
  610. int PR_TABLE_OMIT_FOOTER_AT_BREAK = 218;
  611. /** Property constant */
  612. int PR_TABLE_OMIT_HEADER_AT_BREAK = 219;
  613. /** Property constant */
  614. int PR_TARGET_PRESENTATION_CONTEXT = 220;
  615. /** Property constant */
  616. int PR_TARGET_PROCESSING_CONTEXT = 221;
  617. /** Property constant */
  618. int PR_TARGET_STYLESHEET = 222;
  619. /** Property constant */
  620. int PR_TEXT_ALIGN = 223;
  621. /** Property constant */
  622. int PR_TEXT_ALIGN_LAST = 224;
  623. /** Property constant */
  624. int PR_TEXT_ALTITUDE = 225;
  625. /** Property constant */
  626. int PR_TEXT_DECORATION = 226;
  627. /** Property constant */
  628. int PR_TEXT_DEPTH = 227;
  629. /** Property constant */
  630. int PR_TEXT_INDENT = 228;
  631. /** Property constant */
  632. int PR_TEXT_SHADOW = 229;
  633. /** Property constant */
  634. int PR_TEXT_TRANSFORM = 230;
  635. /** Property constant */
  636. int PR_TOP = 231;
  637. /** Property constant */
  638. int PR_TREAT_AS_WORD_SPACE = 232;
  639. /** Property constant */
  640. int PR_UNICODE_BIDI = 233;
  641. /** Property constant */
  642. int PR_VERTICAL_ALIGN = 234;
  643. /** Property constant */
  644. int PR_VISIBILITY = 235;
  645. /** Property constant */
  646. int PR_VOICE_FAMILY = 236;
  647. /** Property constant */
  648. int PR_VOLUME = 237;
  649. /** Property constant */
  650. int PR_WHITE_SPACE = 238;
  651. /** Property constant */
  652. int PR_WHITE_SPACE_COLLAPSE = 239;
  653. /** Property constant */
  654. int PR_WHITE_SPACE_TREATMENT = 240;
  655. /** Property constant */
  656. int PR_WIDOWS = 241;
  657. /** Property constant */
  658. int PR_WIDTH = 242;
  659. /** Property constant */
  660. int PR_WORD_SPACING = 243;
  661. /** Property constant */
  662. int PR_WRAP_OPTION = 244;
  663. /** Property constant */
  664. int PR_WRITING_MODE = 245;
  665. /** Property constant */
  666. int PR_XML_LANG = 246;
  667. /** Property constant */
  668. int PR_Z_INDEX = 247;
  669. /** Property constant */
  670. int PR_INTRUSION_DISPLACE = 248;
  671. /** Property constant - XSL 1.1 */
  672. int PR_INDEX_CLASS = 249;
  673. /** Property constant - XSL 1.1 */
  674. int PR_INDEX_KEY = 250;
  675. /** Property constant - Custom extension */
  676. int PR_X_BLOCK_PROGRESSION_UNIT = 251;
  677. /** Number of property constants defined */
  678. int PROPERTY_COUNT = 251;
  679. // compound property constants
  680. /** Property constant for compund property */
  681. int CP_BLOCK_PROGRESSION_DIRECTION = 1 << COMPOUND_SHIFT;
  682. /** Property constant for compund property */
  683. int CP_CONDITIONALITY = 2 << COMPOUND_SHIFT;
  684. /** Property constant for compund property */
  685. int CP_INLINE_PROGRESSION_DIRECTION = 3 << COMPOUND_SHIFT;
  686. /** Property constant for compund property */
  687. int CP_LENGTH = 4 << COMPOUND_SHIFT;
  688. /** Property constant for compund property */
  689. int CP_MAXIMUM = 5 << COMPOUND_SHIFT;
  690. /** Property constant for compund property */
  691. int CP_MINIMUM = 6 << COMPOUND_SHIFT;
  692. /** Property constant for compund property */
  693. int CP_OPTIMUM = 7 << COMPOUND_SHIFT;
  694. /** Property constant for compund property */
  695. int CP_PRECEDENCE = 8 << COMPOUND_SHIFT;
  696. /** Property constant for compund property */
  697. int CP_WITHIN_COLUMN = 9 << COMPOUND_SHIFT;
  698. /** Property constant for compund property */
  699. int CP_WITHIN_LINE = 10 << COMPOUND_SHIFT;
  700. /** Property constant for compund property */
  701. int CP_WITHIN_PAGE = 11 << COMPOUND_SHIFT;
  702. // Enumeration constants
  703. /** Enumeration constant */
  704. int EN_ABSOLUTE = 1;
  705. /** Enumeration constant */
  706. int EN_ABSOLUTE_COLORMETRIC = 2;
  707. /** Enumeration constant */
  708. int EN_AFTER = 3;
  709. /** Enumeration constant */
  710. int EN_AFTER_EDGE = 4;
  711. /** Enumeration constant */
  712. int EN_ALL = 5;
  713. /** Enumeration constant */
  714. int EN_ALPHABETIC = 6;
  715. /** Enumeration constant */
  716. int EN_ALWAYS = 7;
  717. /** Enumeration constant */
  718. int EN_ANY = 8;
  719. /** Enumeration constant */
  720. int EN_AUTO = 9;
  721. /** Enumeration constant */
  722. int EN_AUTO_EVEN = 10;
  723. /** Enumeration constant */
  724. int EN_AUTO_ODD = 11;
  725. /** Enumeration constant */
  726. int EN_BASELINE = 12;
  727. /** Enumeration constant */
  728. int EN_BEFORE = 13;
  729. /** Enumeration constant */
  730. int EN_BEFORE_EDGE = 14;
  731. /** Enumeration constant */
  732. int EN_BIDI_OVERRIDE = 15;
  733. /** Enumeration constant */
  734. int EN_BLANK = 16;
  735. /** Enumeration constant */
  736. int EN_BLINK = 17;
  737. /** Enumeration constant */
  738. int EN_BLOCK = 18;
  739. /** Enumeration constant */
  740. int EN_BOTH = 19;
  741. /** Enumeration constant */
  742. int EN_BOTTOM = 20;
  743. /** Enumeration constant */
  744. int EN_BOUNDED_IN_ONE_DIMENSION = 21;
  745. /** Enumeration constant */
  746. int EN_CAPITALIZE = 22;
  747. /** Enumeration constant */
  748. int EN_CENTER = 23;
  749. /** Enumeration constant */
  750. int EN_CENTRAL = 24;
  751. /** Enumeration constant */
  752. int EN_CHARACTER_BY_CHARACTER = 25;
  753. /** Enumeration constant */
  754. int EN_COLLAPSE = 26;
  755. /** Enumeration constant */
  756. int EN_COLLAPSE_WITH_PRECEDENCE = 27;
  757. /** Enumeration constant */
  758. int EN_COLUMN = 28;
  759. /** Enumeration constant */
  760. int EN_CONDENSED = 29;
  761. /** Enumeration constant */
  762. int EN_CONSIDER_SHIFTS = 30;
  763. /** Enumeration constant */
  764. int EN_DASHED = 31;
  765. /** Enumeration constant */
  766. int EN_DISCARD = 32;
  767. /** Enumeration constant */
  768. int EN_DISREGARD_SHIFTS = 33;
  769. /** Enumeration constant */
  770. int EN_DOCUMENT = 34;
  771. /** Enumeration constant */
  772. int EN_DOTS = 35;
  773. /** Enumeration constant */
  774. int EN_DOTTED = 36;
  775. /** Enumeration constant */
  776. int EN_DOUBLE = 37;
  777. /** Enumeration constant */
  778. int EN_EMBED = 38;
  779. /** Enumeration constant */
  780. int EN_END = 39;
  781. /** Enumeration constant */
  782. int EN_END_ON_EVEN = 40;
  783. /** Enumeration constant */
  784. int EN_END_ON_ODD = 41;
  785. /** Enumeration constant */
  786. int EN_ERROR_IF_OVERFLOW = 42;
  787. /** Enumeration constant */
  788. int EN_EVEN = 43;
  789. /** Enumeration constant */
  790. int EN_EVEN_PAGE = 44;
  791. /** Enumeration constant */
  792. int EN_EXPANDED = 45;
  793. /** Enumeration constant */
  794. int EN_EXTRA_CONDENSED = 46;
  795. /** Enumeration constant */
  796. int EN_EXTRA_EXPANDED = 47;
  797. /** Enumeration constant */
  798. int EN_FALSE = 48;
  799. /** Enumeration constant */
  800. int EN_FIC = 49;
  801. /** Enumeration constant */
  802. int EN_FIRST = 50;
  803. /** Enumeration constant */
  804. int EN_FIXED = 51;
  805. /** Enumeration constant */
  806. int EN_FONT_HEIGHT = 52;
  807. /** Enumeration constant */
  808. int EN_FORCE = 53;
  809. /** Enumeration constant */
  810. int EN_FSWP = 54;
  811. /** Enumeration constant */
  812. int EN_GROOVE = 55;
  813. /** Enumeration constant */
  814. int EN_HANGING = 56;
  815. /** Enumeration constant */
  816. int EN_HIDDEN = 57;
  817. /** Enumeration constant */
  818. int EN_HIDE = 58;
  819. /** Enumeration constant */
  820. int EN_IDEOGRAPHIC = 59;
  821. /** Enumeration constant */
  822. int EN_IGNORE = 60;
  823. /** Enumeration constant */
  824. int EN_IGNORE_IF_AFTER_LINEFEED = 61;
  825. /** Enumeration constant */
  826. int EN_IGNORE_IF_BEFORE_LINEFEED = 62;
  827. /** Enumeration constant */
  828. int EN_IGNORE_IF_SURROUNDING_LINEFEED = 63;
  829. /** Enumeration constant */
  830. int EN_INDEFINITE = 64;
  831. /** Enumeration constant */
  832. int EN_INDENT = 65;
  833. /** Enumeration constant */
  834. int EN_INHERIT = 66;
  835. /** Enumeration constant */
  836. int EN_INSET = 67;
  837. /** Enumeration constant */
  838. int EN_INSIDE = 68;
  839. /** Enumeration constant */
  840. int EN_INTEGER_PIXELS = 69;
  841. /** Enumeration constant */
  842. int EN_JUSTIFY = 70;
  843. /** Enumeration constant */
  844. int EN_LARGER = 71;
  845. /** Enumeration constant */
  846. int EN_LAST = 72;
  847. /** Enumeration constant */
  848. int EN_LEFT = 73;
  849. /** Enumeration constant */
  850. int EN_LEWP = 74;
  851. /** Enumeration constant */
  852. int EN_LINE = 75;
  853. /** Enumeration constant */
  854. int EN_LINE_HEIGHT = 76;
  855. /** Enumeration constant */
  856. int EN_LINE_THROUGH = 77;
  857. /** Enumeration constant */
  858. int EN_LOWERCASE = 78;
  859. /** Enumeration constant */
  860. int EN_LR_TB = 79;
  861. /** Enumeration constant */
  862. int EN_LTR = 80;
  863. /** Enumeration constant */
  864. int EN_LSWP = 81;
  865. /** Enumeration constant */
  866. int EN_MATHEMATICAL = 82;
  867. /** Enumeration constant */
  868. int EN_MAX_HEIGHT = 83;
  869. /** Enumeration constant */
  870. int EN_MIDDLE = 84;
  871. /** Enumeration constant */
  872. int EN_NARROWER = 85;
  873. /** Enumeration constant */
  874. int EN_NO_BLINK = 86;
  875. /** Enumeration constant */
  876. int EN_NO_CHANGE = 87;
  877. /** Enumeration constant */
  878. int EN_NO_FORCE = 88;
  879. /** Enumeration constant */
  880. int EN_NO_LIMIT = 89;
  881. /** Enumeration constant */
  882. int EN_NO_LINE_THROUGH = 90;
  883. /** Enumeration constant */
  884. int EN_NO_OVERLINE = 91;
  885. /** Enumeration constant */
  886. int EN_NO_UNDERLINE = 92;
  887. /** Enumeration constant */
  888. int EN_NO_WRAP = 93;
  889. /** Enumeration constant */
  890. int EN_NON_UNIFORM = 94;
  891. /** Enumeration constant */
  892. int EN_NONE = 95;
  893. /** Enumeration constant */
  894. int EN_NOREPEAT = 96;
  895. /** Enumeration constant */
  896. int EN_NORMAL = 97;
  897. /** Enumeration constant */
  898. int EN_NOT_BLANK = 98;
  899. /** Enumeration constant */
  900. int EN_ODD = 99;
  901. /** Enumeration constant */
  902. int EN_ODD_PAGE = 100;
  903. /** Enumeration constant */
  904. int EN_OUTSET = 101;
  905. /** Enumeration constant */
  906. int EN_OUTSIDE = 102;
  907. /** Enumeration constant */
  908. int EN_OVERLINE = 103;
  909. /** Enumeration constant */
  910. int EN_PAGE = 104;
  911. /** Enumeration constant */
  912. int EN_PAGE_SEQUENCE = 105;
  913. /** Enumeration constant */
  914. int EN_PAGINATE = 106;
  915. /** Enumeration constant */
  916. int EN_PERCEPTUAL = 107;
  917. /** Enumeration constant */
  918. int EN_PRESERVE = 108;
  919. /** Enumeration constant */
  920. int EN_REFERENCE_AREA = 109;
  921. /** Enumeration constant */
  922. int EN_RELATIVE = 110;
  923. /** Enumeration constant */
  924. int EN_RELATIVE_COLOMETRIC = 111;
  925. /** Enumeration constant */
  926. int EN_REPEAT = 112;
  927. /** Enumeration constant */
  928. int EN_REPEATX = 113;
  929. /** Enumeration constant */
  930. int EN_REPEATY = 114;
  931. /** Enumeration constant */
  932. int EN_RESAMPLE_ANY_METHOD = 115;
  933. /** Enumeration constant */
  934. int EN_RESET_SIZE = 116;
  935. /** Enumeration constant */
  936. int EN_REST = 117;
  937. /** Enumeration constant */
  938. int EN_RETAIN = 118;
  939. /** Enumeration constant */
  940. int EN_RIDGE = 119;
  941. /** Enumeration constant */
  942. int EN_RIGHT = 120;
  943. /** Enumeration constant */
  944. int EN_RL_TB = 121;
  945. /** Enumeration constant */
  946. int EN_RTL = 122;
  947. /** Enumeration constant */
  948. int EN_RULE = 123;
  949. /** Enumeration constant */
  950. int EN_SATURATION = 124;
  951. /** Enumeration constant */
  952. int EN_SCALE_TO_FIT = 125;
  953. /** Enumeration constant */
  954. int EN_SCROLL = 126;
  955. /** Enumeration constant */
  956. int EN_SEMI_CONDENSED = 127;
  957. /** Enumeration constant */
  958. int EN_SEMI_EXPANDED = 128;
  959. /** Enumeration constant */
  960. int EN_SEPARATE = 129;
  961. /** Enumeration constant */
  962. int EN_SHOW = 130;
  963. /** Enumeration constant */
  964. int EN_SMALL_CAPS = 131;
  965. /** Enumeration constant */
  966. int EN_SMALLER = 132;
  967. /** Enumeration constant */
  968. int EN_SOLID = 133;
  969. /** Enumeration constant */
  970. int EN_SPACE = 134;
  971. /** Enumeration constant */
  972. int EN_START = 135;
  973. /** Enumeration constant */
  974. int EN_STATIC = 136;
  975. /** Enumeration constant */
  976. int EN_SUB = 137;
  977. /** Enumeration constant */
  978. int EN_SUPER = 138;
  979. /** Enumeration constant */
  980. int EN_SUPPRESS = 139;
  981. /** Enumeration constant */
  982. int EN_TB_RL = 140;
  983. /** Enumeration constant */
  984. int EN_TEXT_AFTER_EDGE = 141;
  985. /** Enumeration constant */
  986. int EN_TEXT_BEFORE_EDGE = 142;
  987. /** Enumeration constant */
  988. int EN_TEXT_BOTTOM = 143;
  989. /** Enumeration constant */
  990. int EN_TEXT_TOP = 144;
  991. /** Enumeration constant */
  992. int EN_TOP = 145;
  993. /** Enumeration constant */
  994. int EN_TRADITIONAL = 146;
  995. /** Enumeration constant */
  996. int EN_TREAT_AS_SPACE = 147;
  997. /** Enumeration constant */
  998. int EN_TREAT_AS_ZERO_WIDTH_SPACE = 148;
  999. /** Enumeration constant */
  1000. int EN_TRUE = 149;
  1001. /** Enumeration constant */
  1002. int EN_ULTRA_CONDENSED = 150;
  1003. /** Enumeration constant */
  1004. int EN_ULTRA_EXPANDED = 151;
  1005. /** Enumeration constant */
  1006. int EN_UNBOUNDED = 152;
  1007. /** Enumeration constant */
  1008. int EN_UNDERLINE = 153;
  1009. /** Enumeration constant */
  1010. int EN_UNIFORM = 154;
  1011. /** Enumeration constant */
  1012. int EN_UPPERCASE = 155;
  1013. /** Enumeration constant */
  1014. int EN_USE_FONT_METRICS = 156;
  1015. /** Enumeration constant */
  1016. int EN_USE_SCRIPT = 157;
  1017. /** Enumeration constant */
  1018. int EN_USECONTENT = 158;
  1019. /** Enumeration constant */
  1020. int EN_VISIBLE = 159;
  1021. /** Enumeration constant */
  1022. int EN_WIDER = 160;
  1023. /** Enumeration constant */
  1024. int EN_WRAP = 161;
  1025. /** Enumeration constant - non-standard for display-align */
  1026. int EN_X_FILL = 162;
  1027. /** Enumeration constant - non-standard for display-align */
  1028. int EN_X_DISTRIBUTE = 163;
  1029. /** Enumeration constant */
  1030. int EN_ITALIC = 164;
  1031. /** Enumeration constant */
  1032. int EN_OBLIQUE = 165;
  1033. /** Enumeration constant */
  1034. int EN_BACKSLANT = 166;
  1035. /** Enumeration constant */
  1036. int EN_BOLDER = 167;
  1037. /** Enumeration constant */
  1038. int EN_LIGHTER = 168;
  1039. /** Enumeration constant */
  1040. int EN_100 = 168;
  1041. /** Enumeration constant */
  1042. int EN_200 = 169;
  1043. /** Enumeration constant */
  1044. int EN_300 = 170;
  1045. /** Enumeration constant */
  1046. int EN_400 = 171;
  1047. /** Enumeration constant */
  1048. int EN_500 = 172;
  1049. /** Enumeration constant */
  1050. int EN_600 = 173;
  1051. /** Enumeration constant */
  1052. int EN_700 = 174;
  1053. /** Enumeration constant */
  1054. int EN_800 = 175;
  1055. /** Enumeration constant */
  1056. int EN_900 = 176;
  1057. /** Enumeration constant -- page-break-shorthand */
  1058. int EN_AVOID = 177;
  1059. /** Enumeration constant -- white-space shorthand */
  1060. int EN_PRE = 178;
  1061. /** Number of enumeration constants defined */
  1062. int ENUM_COUNT = 178;
  1063. }