0001: /*
0002: * Licensed to the Apache Software Foundation (ASF) under one or more
0003: * contributor license agreements. See the NOTICE file distributed with
0004: * this work for additional information regarding copyright ownership.
0005: * The ASF licenses this file to You under the Apache License, Version 2.0
0006: * (the "License"); you may not use this file except in compliance with
0007: * the License. You may obtain a copy of the License at
0008: *
0009: * http://www.apache.org/licenses/LICENSE-2.0
0010: *
0011: * Unless required by applicable law or agreed to in writing, software
0012: * distributed under the License is distributed on an "AS IS" BASIS,
0013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0014: * See the License for the specific language governing permissions and
0015: * limitations under the License.
0016: */
0017:
0018: /* $Id: Constants.java 553612 2007-07-05 19:01:14Z adelmelle $ */
0019:
0020: package org.apache.fop.fo;
0021:
0022: /**
0023: * Definition of constants used throughout FOP.
0024: * There are sets of constants describing:
0025: * <ul>
0026: * <li>Input and output formats</li>
0027: * <li>Formatting objects</li>
0028: * <li>Formatting properties</li>
0029: * <li>Enumerated values used in formatting properties</li>
0030: * </ul>
0031: */
0032: public interface Constants {
0033:
0034: /** not set */
0035: int NOT_SET = 0;
0036:
0037: // element constants
0038: /** FObj base class */
0039: int FO_UNKNOWN_NODE = 0;
0040: /** FO element constant */
0041: int FO_BASIC_LINK = 1;
0042: /** FO element constant */
0043: int FO_BIDI_OVERRIDE = 2;
0044: /** FO element constant */
0045: int FO_BLOCK = 3;
0046: /** FO element constant */
0047: int FO_BLOCK_CONTAINER = 4;
0048: /** FO element constant */
0049: int FO_CHARACTER = 5;
0050: /** FO element constant */
0051: int FO_COLOR_PROFILE = 6;
0052: /** FO element constant */
0053: int FO_CONDITIONAL_PAGE_MASTER_REFERENCE = 7;
0054: /** FO element constant */
0055: int FO_DECLARATIONS = 8;
0056: /** FO element constant */
0057: int FO_EXTERNAL_GRAPHIC = 9;
0058: /** FO element constant */
0059: int FO_FLOAT = 10;
0060: /** FO element constant */
0061: int FO_FLOW = 11;
0062: /** FO element constant */
0063: int FO_FOOTNOTE = 12;
0064: /** FO element constant */
0065: int FO_FOOTNOTE_BODY = 13;
0066: /** FO element constant */
0067: int FO_INITIAL_PROPERTY_SET = 14;
0068: /** FO element constant */
0069: int FO_INLINE = 15;
0070: /** FO element constant */
0071: int FO_INLINE_CONTAINER = 16;
0072: /** FO element constant */
0073: int FO_INSTREAM_FOREIGN_OBJECT = 17;
0074: /** FO element constant */
0075: int FO_LAYOUT_MASTER_SET = 18;
0076: /** FO element constant */
0077: int FO_LEADER = 19;
0078: /** FO element constant */
0079: int FO_LIST_BLOCK = 20;
0080: /** FO element constant */
0081: int FO_LIST_ITEM = 21;
0082: /** FO element constant */
0083: int FO_LIST_ITEM_BODY = 22;
0084: /** FO element constant */
0085: int FO_LIST_ITEM_LABEL = 23;
0086: /** FO element constant */
0087: int FO_MARKER = 24;
0088: /** FO element constant */
0089: int FO_MULTI_CASE = 25;
0090: /** FO element constant */
0091: int FO_MULTI_PROPERTIES = 26;
0092: /** FO element constant */
0093: int FO_MULTI_PROPERTY_SET = 27;
0094: /** FO element constant */
0095: int FO_MULTI_SWITCH = 28;
0096: /** FO element constant */
0097: int FO_MULTI_TOGGLE = 29;
0098: /** FO element constant */
0099: int FO_PAGE_NUMBER = 30;
0100: /** FO element constant */
0101: int FO_PAGE_NUMBER_CITATION = 31;
0102: /** FO element constant */
0103: int FO_PAGE_SEQUENCE = 32;
0104: /** FO element constant */
0105: int FO_PAGE_SEQUENCE_MASTER = 33;
0106: /** FO element constant */
0107: int FO_REGION_AFTER = 34;
0108: /** FO element constant */
0109: int FO_REGION_BEFORE = 35;
0110: /** FO element constant */
0111: int FO_REGION_BODY = 36;
0112: /** FO element constant */
0113: int FO_REGION_END = 37;
0114: /** FO element constant */
0115: int FO_REGION_START = 38;
0116: /** FO element constant */
0117: int FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES = 39;
0118: /** FO element constant */
0119: int FO_REPEATABLE_PAGE_MASTER_REFERENCE = 40;
0120: /** FO element constant */
0121: int FO_RETRIEVE_MARKER = 41;
0122: /** FO element constant */
0123: int FO_ROOT = 42;
0124: /** FO element constant */
0125: int FO_SIMPLE_PAGE_MASTER = 43;
0126: /** FO element constant */
0127: int FO_SINGLE_PAGE_MASTER_REFERENCE = 44;
0128: /** FO element constant */
0129: int FO_STATIC_CONTENT = 45;
0130: /** FO element constant */
0131: int FO_TABLE = 46;
0132: /** FO element constant */
0133: int FO_TABLE_AND_CAPTION = 47;
0134: /** FO element constant */
0135: int FO_TABLE_BODY = 48;
0136: /** FO element constant */
0137: int FO_TABLE_CAPTION = 49;
0138: /** FO element constant */
0139: int FO_TABLE_CELL = 50;
0140: /** FO element constant */
0141: int FO_TABLE_COLUMN = 51;
0142: /** FO element constant */
0143: int FO_TABLE_FOOTER = 52;
0144: /** FO element constant */
0145: int FO_TABLE_HEADER = 53;
0146: /** FO element constant */
0147: int FO_TABLE_ROW = 54;
0148: /** FO element constant */
0149: int FO_TITLE = 55;
0150: /** FO element constant */
0151: int FO_WRAPPER = 56;
0152: /** FO element constant - XSL 1.1 */
0153: int FO_BOOKMARK_TREE = 57;
0154: /** FO element constant - XSL 1.1 */
0155: int FO_BOOKMARK = 58;
0156: /** FO element constant - XSL 1.1 */
0157: int FO_BOOKMARK_TITLE = 59;
0158: /** FO element constant - XSL 1.1 */
0159: int FO_PAGE_SEQUENCE_WRAPPER = 60;
0160: /** FO element constant - XSL 1.1 */
0161: int FO_PAGE_NUMBER_CITATION_LAST = 61;
0162: /** Number of FO element constants defined */
0163: int FRM_OBJ_COUNT = 61;
0164:
0165: // Masks
0166: /**
0167: * For compound properties the property constant value is shifted by this amount.
0168: * The low order bits hold the constant for the component property.
0169: */
0170: int COMPOUND_SHIFT = 9;
0171: /**
0172: * Mask that when applied to a compound property returns the constant of
0173: * the component property.
0174: */
0175: int PROPERTY_MASK = (1 << COMPOUND_SHIFT) - 1;
0176: /**
0177: * Mask that when applied to a compound property returns the constant of
0178: * the compound property.
0179: */
0180: int COMPOUND_MASK = ~PROPERTY_MASK;
0181: /** Number of compund properties defined */
0182: int COMPOUND_COUNT = 11;
0183:
0184: // property constants
0185: /** Property constant */
0186: int PR_ABSOLUTE_POSITION = 1;
0187: /** Property constant */
0188: int PR_ACTIVE_STATE = 2;
0189: /** Property constant */
0190: int PR_ALIGNMENT_ADJUST = 3;
0191: /** Property constant */
0192: int PR_ALIGNMENT_BASELINE = 4;
0193: /** Property constant */
0194: int PR_AUTO_RESTORE = 5;
0195: /** Property constant */
0196: int PR_AZIMUTH = 6;
0197: /** Property constant */
0198: int PR_BACKGROUND = 7;
0199: /** Property constant */
0200: int PR_BACKGROUND_ATTACHMENT = 8;
0201: /** Property constant */
0202: int PR_BACKGROUND_COLOR = 9;
0203: /** Property constant */
0204: int PR_BACKGROUND_IMAGE = 10;
0205: /** Property constant */
0206: int PR_BACKGROUND_POSITION = 11;
0207: /** Property constant */
0208: int PR_BACKGROUND_POSITION_HORIZONTAL = 12;
0209: /** Property constant */
0210: int PR_BACKGROUND_POSITION_VERTICAL = 13;
0211: /** Property constant */
0212: int PR_BACKGROUND_REPEAT = 14;
0213: /** Property constant */
0214: int PR_BASELINE_SHIFT = 15;
0215: /** Property constant */
0216: int PR_BLANK_OR_NOT_BLANK = 16;
0217: /** Property constant */
0218: int PR_BLOCK_PROGRESSION_DIMENSION = 17;
0219: /** Property constant */
0220: int PR_BORDER = 18;
0221: /** Property constant */
0222: int PR_BORDER_AFTER_COLOR = 19;
0223: /** Property constant */
0224: int PR_BORDER_AFTER_PRECEDENCE = 20;
0225: /** Property constant */
0226: int PR_BORDER_AFTER_STYLE = 21;
0227: /** Property constant */
0228: int PR_BORDER_AFTER_WIDTH = 22;
0229: /** Property constant */
0230: int PR_BORDER_BEFORE_COLOR = 23;
0231: /** Property constant */
0232: int PR_BORDER_BEFORE_PRECEDENCE = 24;
0233: /** Property constant */
0234: int PR_BORDER_BEFORE_STYLE = 25;
0235: /** Property constant */
0236: int PR_BORDER_BEFORE_WIDTH = 26;
0237: /** Property constant */
0238: int PR_BORDER_BOTTOM = 27;
0239: /** Property constant */
0240: int PR_BORDER_BOTTOM_COLOR = 28;
0241: /** Property constant */
0242: int PR_BORDER_BOTTOM_STYLE = 29;
0243: /** Property constant */
0244: int PR_BORDER_BOTTOM_WIDTH = 30;
0245: /** Property constant */
0246: int PR_BORDER_COLLAPSE = 31;
0247: /** Property constant */
0248: int PR_BORDER_COLOR = 32;
0249: /** Property constant */
0250: int PR_BORDER_END_COLOR = 33;
0251: /** Property constant */
0252: int PR_BORDER_END_PRECEDENCE = 34;
0253: /** Property constant */
0254: int PR_BORDER_END_STYLE = 35;
0255: /** Property constant */
0256: int PR_BORDER_END_WIDTH = 36;
0257: /** Property constant */
0258: int PR_BORDER_LEFT = 37;
0259: /** Property constant */
0260: int PR_BORDER_LEFT_COLOR = 38;
0261: /** Property constant */
0262: int PR_BORDER_LEFT_STYLE = 39;
0263: /** Property constant */
0264: int PR_BORDER_LEFT_WIDTH = 40;
0265: /** Property constant */
0266: int PR_BORDER_RIGHT = 41;
0267: /** Property constant */
0268: int PR_BORDER_RIGHT_COLOR = 42;
0269: /** Property constant */
0270: int PR_BORDER_RIGHT_STYLE = 43;
0271: /** Property constant */
0272: int PR_BORDER_RIGHT_WIDTH = 44;
0273: /** Property constant */
0274: int PR_BORDER_SEPARATION = 45;
0275: /** Property constant */
0276: int PR_BORDER_SPACING = 46;
0277: /** Property constant */
0278: int PR_BORDER_START_COLOR = 47;
0279: /** Property constant */
0280: int PR_BORDER_START_PRECEDENCE = 48;
0281: /** Property constant */
0282: int PR_BORDER_START_STYLE = 49;
0283: /** Property constant */
0284: int PR_BORDER_START_WIDTH = 50;
0285: /** Property constant */
0286: int PR_BORDER_STYLE = 51;
0287: /** Property constant */
0288: int PR_BORDER_TOP = 52;
0289: /** Property constant */
0290: int PR_BORDER_TOP_COLOR = 53;
0291: /** Property constant */
0292: int PR_BORDER_TOP_STYLE = 54;
0293: /** Property constant */
0294: int PR_BORDER_TOP_WIDTH = 55;
0295: /** Property constant */
0296: int PR_BORDER_WIDTH = 56;
0297: /** Property constant */
0298: int PR_BOTTOM = 57;
0299: /** Property constant */
0300: int PR_BREAK_AFTER = 58;
0301: /** Property constant */
0302: int PR_BREAK_BEFORE = 59;
0303: /** Property constant */
0304: int PR_CAPTION_SIDE = 60;
0305: /** Property constant */
0306: int PR_CASE_NAME = 61;
0307: /** Property constant */
0308: int PR_CASE_TITLE = 62;
0309: /** Property constant */
0310: int PR_CHARACTER = 63;
0311: /** Property constant */
0312: int PR_CLEAR = 64;
0313: /** Property constant */
0314: int PR_CLIP = 65;
0315: /** Property constant */
0316: int PR_COLOR = 66;
0317: /** Property constant */
0318: int PR_COLOR_PROFILE_NAME = 67;
0319: /** Property constant */
0320: int PR_COLUMN_COUNT = 68;
0321: /** Property constant */
0322: int PR_COLUMN_GAP = 69;
0323: /** Property constant */
0324: int PR_COLUMN_NUMBER = 70;
0325: /** Property constant */
0326: int PR_COLUMN_WIDTH = 71;
0327: /** Property constant */
0328: int PR_CONTENT_HEIGHT = 72;
0329: /** Property constant */
0330: int PR_CONTENT_TYPE = 73;
0331: /** Property constant */
0332: int PR_CONTENT_WIDTH = 74;
0333: /** Property constant */
0334: int PR_COUNTRY = 75;
0335: /** Property constant */
0336: int PR_CUE = 76;
0337: /** Property constant */
0338: int PR_CUE_AFTER = 77;
0339: /** Property constant */
0340: int PR_CUE_BEFORE = 78;
0341: /** Property constant */
0342: int PR_DESTINATION_PLACEMENT_OFFSET = 79;
0343: /** Property constant */
0344: int PR_DIRECTION = 80;
0345: /** Property constant */
0346: int PR_DISPLAY_ALIGN = 81;
0347: /** Property constant */
0348: int PR_DOMINANT_BASELINE = 82;
0349: /** Property constant */
0350: int PR_ELEVATION = 83;
0351: /** Property constant */
0352: int PR_EMPTY_CELLS = 84;
0353: /** Property constant */
0354: int PR_END_INDENT = 85;
0355: /** Property constant */
0356: int PR_ENDS_ROW = 86;
0357: /** Property constant */
0358: int PR_EXTENT = 87;
0359: /** Property constant */
0360: int PR_EXTERNAL_DESTINATION = 88;
0361: /** Property constant */
0362: int PR_FLOAT = 89;
0363: /** Property constant */
0364: int PR_FLOW_NAME = 90;
0365: /** Property constant */
0366: int PR_FONT = 91;
0367: /** Property constant */
0368: int PR_FONT_FAMILY = 92;
0369: /** Property constant */
0370: int PR_FONT_SELECTION_STRATEGY = 93;
0371: /** Property constant */
0372: int PR_FONT_SIZE = 94;
0373: /** Property constant */
0374: int PR_FONT_SIZE_ADJUST = 95;
0375: /** Property constant */
0376: int PR_FONT_STRETCH = 96;
0377: /** Property constant */
0378: int PR_FONT_STYLE = 97;
0379: /** Property constant */
0380: int PR_FONT_VARIANT = 98;
0381: /** Property constant */
0382: int PR_FONT_WEIGHT = 99;
0383: /** Property constant */
0384: int PR_FORCE_PAGE_COUNT = 100;
0385: /** Property constant */
0386: int PR_FORMAT = 101;
0387: /** Property constant */
0388: int PR_GLYPH_ORIENTATION_HORIZONTAL = 102;
0389: /** Property constant */
0390: int PR_GLYPH_ORIENTATION_VERTICAL = 103;
0391: /** Property constant */
0392: int PR_GROUPING_SEPARATOR = 104;
0393: /** Property constant */
0394: int PR_GROUPING_SIZE = 105;
0395: /** Property constant */
0396: int PR_HEIGHT = 106;
0397: /** Property constant */
0398: int PR_HYPHENATE = 107;
0399: /** Property constant */
0400: int PR_HYPHENATION_CHARACTER = 108;
0401: /** Property constant */
0402: int PR_HYPHENATION_KEEP = 109;
0403: /** Property constant */
0404: int PR_HYPHENATION_LADDER_COUNT = 110;
0405: /** Property constant */
0406: int PR_HYPHENATION_PUSH_CHARACTER_COUNT = 111;
0407: /** Property constant */
0408: int PR_HYPHENATION_REMAIN_CHARACTER_COUNT = 112;
0409: /** Property constant */
0410: int PR_ID = 113;
0411: /** Property constant */
0412: int PR_INDICATE_DESTINATION = 114;
0413: /** Property constant */
0414: int PR_INITIAL_PAGE_NUMBER = 115;
0415: /** Property constant */
0416: int PR_INLINE_PROGRESSION_DIMENSION = 116;
0417: /** Property constant */
0418: int PR_INTERNAL_DESTINATION = 117;
0419: /** Property constant */
0420: int PR_KEEP_TOGETHER = 118;
0421: /** Property constant */
0422: int PR_KEEP_WITH_NEXT = 119;
0423: /** Property constant */
0424: int PR_KEEP_WITH_PREVIOUS = 120;
0425: /** Property constant */
0426: int PR_LANGUAGE = 121;
0427: /** Property constant */
0428: int PR_LAST_LINE_END_INDENT = 122;
0429: /** Property constant */
0430: int PR_LEADER_ALIGNMENT = 123;
0431: /** Property constant */
0432: int PR_LEADER_LENGTH = 124;
0433: /** Property constant */
0434: int PR_LEADER_PATTERN = 125;
0435: /** Property constant */
0436: int PR_LEADER_PATTERN_WIDTH = 126;
0437: /** Property constant */
0438: int PR_LEFT = 127;
0439: /** Property constant */
0440: int PR_LETTER_SPACING = 128;
0441: /** Property constant */
0442: int PR_LETTER_VALUE = 129;
0443: /** Property constant */
0444: int PR_LINEFEED_TREATMENT = 130;
0445: /** Property constant */
0446: int PR_LINE_HEIGHT = 131;
0447: /** Property constant */
0448: int PR_LINE_HEIGHT_SHIFT_ADJUSTMENT = 132;
0449: /** Property constant */
0450: int PR_LINE_STACKING_STRATEGY = 133;
0451: /** Property constant */
0452: int PR_MARGIN = 134;
0453: /** Property constant */
0454: int PR_MARGIN_BOTTOM = 135;
0455: /** Property constant */
0456: int PR_MARGIN_LEFT = 136;
0457: /** Property constant */
0458: int PR_MARGIN_RIGHT = 137;
0459: /** Property constant */
0460: int PR_MARGIN_TOP = 138;
0461: /** Property constant */
0462: int PR_MARKER_CLASS_NAME = 139;
0463: /** Property constant */
0464: int PR_MASTER_NAME = 140;
0465: /** Property constant */
0466: int PR_MASTER_REFERENCE = 141;
0467: /** Property constant */
0468: int PR_MAX_HEIGHT = 142;
0469: /** Property constant */
0470: int PR_MAXIMUM_REPEATS = 143;
0471: /** Property constant */
0472: int PR_MAX_WIDTH = 144;
0473: /** Property constant */
0474: int PR_MEDIA_USAGE = 145;
0475: /** Property constant */
0476: int PR_MIN_HEIGHT = 146;
0477: /** Property constant */
0478: int PR_MIN_WIDTH = 147;
0479: /** Property constant */
0480: int PR_NUMBER_COLUMNS_REPEATED = 148;
0481: /** Property constant */
0482: int PR_NUMBER_COLUMNS_SPANNED = 149;
0483: /** Property constant */
0484: int PR_NUMBER_ROWS_SPANNED = 150;
0485: /** Property constant */
0486: int PR_ODD_OR_EVEN = 151;
0487: /** Property constant */
0488: int PR_ORPHANS = 152;
0489: /** Property constant */
0490: int PR_OVERFLOW = 153;
0491: /** Property constant */
0492: int PR_PADDING = 154;
0493: /** Property constant */
0494: int PR_PADDING_AFTER = 155;
0495: /** Property constant */
0496: int PR_PADDING_BEFORE = 156;
0497: /** Property constant */
0498: int PR_PADDING_BOTTOM = 157;
0499: /** Property constant */
0500: int PR_PADDING_END = 158;
0501: /** Property constant */
0502: int PR_PADDING_LEFT = 159;
0503: /** Property constant */
0504: int PR_PADDING_RIGHT = 160;
0505: /** Property constant */
0506: int PR_PADDING_START = 161;
0507: /** Property constant */
0508: int PR_PADDING_TOP = 162;
0509: /** Property constant */
0510: int PR_PAGE_BREAK_AFTER = 163;
0511: /** Property constant */
0512: int PR_PAGE_BREAK_BEFORE = 164;
0513: /** Property constant */
0514: int PR_PAGE_BREAK_INSIDE = 165;
0515: /** Property constant */
0516: int PR_PAGE_HEIGHT = 166;
0517: /** Property constant */
0518: int PR_PAGE_POSITION = 167;
0519: /** Property constant */
0520: int PR_PAGE_WIDTH = 168;
0521: /** Property constant */
0522: int PR_PAUSE = 169;
0523: /** Property constant */
0524: int PR_PAUSE_AFTER = 170;
0525: /** Property constant */
0526: int PR_PAUSE_BEFORE = 171;
0527: /** Property constant */
0528: int PR_PITCH = 172;
0529: /** Property constant */
0530: int PR_PITCH_RANGE = 173;
0531: /** Property constant */
0532: int PR_PLAY_DURING = 174;
0533: /** Property constant */
0534: int PR_POSITION = 175;
0535: /** Property constant */
0536: int PR_PRECEDENCE = 176;
0537: /** Property constant */
0538: int PR_PROVISIONAL_DISTANCE_BETWEEN_STARTS = 177;
0539: /** Property constant */
0540: int PR_PROVISIONAL_LABEL_SEPARATION = 178;
0541: /** Property constant */
0542: int PR_REFERENCE_ORIENTATION = 179;
0543: /** Property constant */
0544: int PR_REF_ID = 180;
0545: /** Property constant */
0546: int PR_REGION_NAME = 181;
0547: /** Property constant */
0548: int PR_RELATIVE_ALIGN = 182;
0549: /** Property constant */
0550: int PR_RELATIVE_POSITION = 183;
0551: /** Property constant */
0552: int PR_RENDERING_INTENT = 184;
0553: /** Property constant */
0554: int PR_RETRIEVE_BOUNDARY = 185;
0555: /** Property constant */
0556: int PR_RETRIEVE_CLASS_NAME = 186;
0557: /** Property constant */
0558: int PR_RETRIEVE_POSITION = 187;
0559: /** Property constant */
0560: int PR_RICHNESS = 188;
0561: /** Property constant */
0562: int PR_RIGHT = 189;
0563: /** Property constant */
0564: int PR_ROLE = 190;
0565: /** Property constant */
0566: int PR_RULE_STYLE = 191;
0567: /** Property constant */
0568: int PR_RULE_THICKNESS = 192;
0569: /** Property constant */
0570: int PR_SCALING = 193;
0571: /** Property constant */
0572: int PR_SCALING_METHOD = 194;
0573: /** Property constant */
0574: int PR_SCORE_SPACES = 195;
0575: /** Property constant */
0576: int PR_SCRIPT = 196;
0577: /** Property constant */
0578: int PR_SHOW_DESTINATION = 197;
0579: /** Property constant */
0580: int PR_SIZE = 198;
0581: /** Property constant */
0582: int PR_SOURCE_DOCUMENT = 199;
0583: /** Property constant */
0584: int PR_SPACE_AFTER = 200;
0585: /** Property constant */
0586: int PR_SPACE_BEFORE = 201;
0587: /** Property constant */
0588: int PR_SPACE_END = 202;
0589: /** Property constant */
0590: int PR_SPACE_START = 203;
0591: /** Property constant */
0592: int PR_SPAN = 204;
0593: /** Property constant */
0594: int PR_SPEAK = 205;
0595: /** Property constant */
0596: int PR_SPEAK_HEADER = 206;
0597: /** Property constant */
0598: int PR_SPEAK_NUMERAL = 207;
0599: /** Property constant */
0600: int PR_SPEAK_PUNCTUATION = 208;
0601: /** Property constant */
0602: int PR_SPEECH_RATE = 209;
0603: /** Property constant */
0604: int PR_SRC = 210;
0605: /** Property constant */
0606: int PR_START_INDENT = 211;
0607: /** Property constant */
0608: int PR_STARTING_STATE = 212;
0609: /** Property constant */
0610: int PR_STARTS_ROW = 213;
0611: /** Property constant */
0612: int PR_STRESS = 214;
0613: /** Property constant */
0614: int PR_SUPPRESS_AT_LINE_BREAK = 215;
0615: /** Property constant */
0616: int PR_SWITCH_TO = 216;
0617: /** Property constant */
0618: int PR_TABLE_LAYOUT = 217;
0619: /** Property constant */
0620: int PR_TABLE_OMIT_FOOTER_AT_BREAK = 218;
0621: /** Property constant */
0622: int PR_TABLE_OMIT_HEADER_AT_BREAK = 219;
0623: /** Property constant */
0624: int PR_TARGET_PRESENTATION_CONTEXT = 220;
0625: /** Property constant */
0626: int PR_TARGET_PROCESSING_CONTEXT = 221;
0627: /** Property constant */
0628: int PR_TARGET_STYLESHEET = 222;
0629: /** Property constant */
0630: int PR_TEXT_ALIGN = 223;
0631: /** Property constant */
0632: int PR_TEXT_ALIGN_LAST = 224;
0633: /** Property constant */
0634: int PR_TEXT_ALTITUDE = 225;
0635: /** Property constant */
0636: int PR_TEXT_DECORATION = 226;
0637: /** Property constant */
0638: int PR_TEXT_DEPTH = 227;
0639: /** Property constant */
0640: int PR_TEXT_INDENT = 228;
0641: /** Property constant */
0642: int PR_TEXT_SHADOW = 229;
0643: /** Property constant */
0644: int PR_TEXT_TRANSFORM = 230;
0645: /** Property constant */
0646: int PR_TOP = 231;
0647: /** Property constant */
0648: int PR_TREAT_AS_WORD_SPACE = 232;
0649: /** Property constant */
0650: int PR_UNICODE_BIDI = 233;
0651: /** Property constant */
0652: int PR_VERTICAL_ALIGN = 234;
0653: /** Property constant */
0654: int PR_VISIBILITY = 235;
0655: /** Property constant */
0656: int PR_VOICE_FAMILY = 236;
0657: /** Property constant */
0658: int PR_VOLUME = 237;
0659: /** Property constant */
0660: int PR_WHITE_SPACE = 238;
0661: /** Property constant */
0662: int PR_WHITE_SPACE_COLLAPSE = 239;
0663: /** Property constant */
0664: int PR_WHITE_SPACE_TREATMENT = 240;
0665: /** Property constant */
0666: int PR_WIDOWS = 241;
0667: /** Property constant */
0668: int PR_WIDTH = 242;
0669: /** Property constant */
0670: int PR_WORD_SPACING = 243;
0671: /** Property constant */
0672: int PR_WRAP_OPTION = 244;
0673: /** Property constant */
0674: int PR_WRITING_MODE = 245;
0675: /** Property constant */
0676: int PR_XML_LANG = 246;
0677: /** Property constant */
0678: int PR_Z_INDEX = 247;
0679: /** Property constant */
0680: int PR_INTRUSION_DISPLACE = 248;
0681: /** Property constant - XSL 1.1 */
0682: int PR_INDEX_CLASS = 249;
0683: /** Property constant - XSL 1.1 */
0684: int PR_INDEX_KEY = 250;
0685: /** Property constant - FOP proprietary: Custom extension for line alignment */
0686: int PR_X_BLOCK_PROGRESSION_UNIT = 251;
0687: /** Property constant - FOP proprietary: limit for widow content in lists and tables */
0688: int PR_X_WIDOW_CONTENT_LIMIT = 252;
0689: /** Property constant - FOP proprietary: limit for orphan content in lists and tables */
0690: int PR_X_ORPHAN_CONTENT_LIMIT = 253;
0691: /** Number of property constants defined */
0692: int PROPERTY_COUNT = 253;
0693:
0694: // compound property constants
0695:
0696: /** Property constant for compund property */
0697: int CP_BLOCK_PROGRESSION_DIRECTION = 1 << COMPOUND_SHIFT;
0698: /** Property constant for compund property */
0699: int CP_CONDITIONALITY = 2 << COMPOUND_SHIFT;
0700: /** Property constant for compund property */
0701: int CP_INLINE_PROGRESSION_DIRECTION = 3 << COMPOUND_SHIFT;
0702: /** Property constant for compund property */
0703: int CP_LENGTH = 4 << COMPOUND_SHIFT;
0704: /** Property constant for compund property */
0705: int CP_MAXIMUM = 5 << COMPOUND_SHIFT;
0706: /** Property constant for compund property */
0707: int CP_MINIMUM = 6 << COMPOUND_SHIFT;
0708: /** Property constant for compund property */
0709: int CP_OPTIMUM = 7 << COMPOUND_SHIFT;
0710: /** Property constant for compund property */
0711: int CP_PRECEDENCE = 8 << COMPOUND_SHIFT;
0712: /** Property constant for compund property */
0713: int CP_WITHIN_COLUMN = 9 << COMPOUND_SHIFT;
0714: /** Property constant for compund property */
0715: int CP_WITHIN_LINE = 10 << COMPOUND_SHIFT;
0716: /** Property constant for compund property */
0717: int CP_WITHIN_PAGE = 11 << COMPOUND_SHIFT;
0718:
0719: // Enumeration constants
0720: /** Enumeration constant */
0721: int EN_ABSOLUTE = 1;
0722: /** Enumeration constant */
0723: int EN_ABSOLUTE_COLORMETRIC = 2;
0724: /** Enumeration constant */
0725: int EN_AFTER = 3;
0726: /** Enumeration constant */
0727: int EN_AFTER_EDGE = 4;
0728: /** Enumeration constant */
0729: int EN_ALL = 5;
0730: /** Enumeration constant */
0731: int EN_ALPHABETIC = 6;
0732: /** Enumeration constant */
0733: int EN_ALWAYS = 7;
0734: /** Enumeration constant */
0735: int EN_ANY = 8;
0736: /** Enumeration constant */
0737: int EN_AUTO = 9;
0738: /** Enumeration constant */
0739: int EN_AUTO_EVEN = 10;
0740: /** Enumeration constant */
0741: int EN_AUTO_ODD = 11;
0742: /** Enumeration constant */
0743: int EN_BASELINE = 12;
0744: /** Enumeration constant */
0745: int EN_BEFORE = 13;
0746: /** Enumeration constant */
0747: int EN_BEFORE_EDGE = 14;
0748: /** Enumeration constant */
0749: int EN_BIDI_OVERRIDE = 15;
0750: /** Enumeration constant */
0751: int EN_BLANK = 16;
0752: /** Enumeration constant */
0753: int EN_BLINK = 17;
0754: /** Enumeration constant */
0755: int EN_BLOCK = 18;
0756: /** Enumeration constant */
0757: int EN_BOTH = 19;
0758: /** Enumeration constant */
0759: int EN_BOTTOM = 20;
0760: /** Enumeration constant */
0761: int EN_BOUNDED_IN_ONE_DIMENSION = 21;
0762: /** Enumeration constant */
0763: int EN_CAPITALIZE = 22;
0764: /** Enumeration constant */
0765: int EN_CENTER = 23;
0766: /** Enumeration constant */
0767: int EN_CENTRAL = 24;
0768: /** Enumeration constant */
0769: int EN_CHARACTER_BY_CHARACTER = 25;
0770: /** Enumeration constant */
0771: int EN_COLLAPSE = 26;
0772: /** Enumeration constant */
0773: int EN_COLLAPSE_WITH_PRECEDENCE = 27;
0774: /** Enumeration constant */
0775: int EN_COLUMN = 28;
0776: /** Enumeration constant */
0777: int EN_CONDENSED = 29;
0778: /** Enumeration constant */
0779: int EN_CONSIDER_SHIFTS = 30;
0780: /** Enumeration constant */
0781: int EN_DASHED = 31;
0782: /** Enumeration constant */
0783: int EN_DISCARD = 32;
0784: /** Enumeration constant */
0785: int EN_DISREGARD_SHIFTS = 33;
0786: /** Enumeration constant */
0787: int EN_DOCUMENT = 34;
0788: /** Enumeration constant */
0789: int EN_DOTS = 35;
0790: /** Enumeration constant */
0791: int EN_DOTTED = 36;
0792: /** Enumeration constant */
0793: int EN_DOUBLE = 37;
0794: /** Enumeration constant */
0795: int EN_EMBED = 38;
0796: /** Enumeration constant */
0797: int EN_END = 39;
0798: /** Enumeration constant */
0799: int EN_END_ON_EVEN = 40;
0800: /** Enumeration constant */
0801: int EN_END_ON_ODD = 41;
0802: /** Enumeration constant */
0803: int EN_ERROR_IF_OVERFLOW = 42;
0804: /** Enumeration constant */
0805: int EN_EVEN = 43;
0806: /** Enumeration constant */
0807: int EN_EVEN_PAGE = 44;
0808: /** Enumeration constant */
0809: int EN_EXPANDED = 45;
0810: /** Enumeration constant */
0811: int EN_EXTRA_CONDENSED = 46;
0812: /** Enumeration constant */
0813: int EN_EXTRA_EXPANDED = 47;
0814: /** Enumeration constant */
0815: int EN_FALSE = 48;
0816: /** Enumeration constant */
0817: int EN_FIC = 49;
0818: /** Enumeration constant */
0819: int EN_FIRST = 50;
0820: /** Enumeration constant */
0821: int EN_FIXED = 51;
0822: /** Enumeration constant */
0823: int EN_FONT_HEIGHT = 52;
0824: /** Enumeration constant */
0825: int EN_FORCE = 53;
0826: /** Enumeration constant */
0827: int EN_FSWP = 54;
0828: /** Enumeration constant */
0829: int EN_GROOVE = 55;
0830: /** Enumeration constant */
0831: int EN_HANGING = 56;
0832: /** Enumeration constant */
0833: int EN_HIDDEN = 57;
0834: /** Enumeration constant */
0835: int EN_HIDE = 58;
0836: /** Enumeration constant */
0837: int EN_IDEOGRAPHIC = 59;
0838: /** Enumeration constant */
0839: int EN_IGNORE = 60;
0840: /** Enumeration constant */
0841: int EN_IGNORE_IF_AFTER_LINEFEED = 61;
0842: /** Enumeration constant */
0843: int EN_IGNORE_IF_BEFORE_LINEFEED = 62;
0844: /** Enumeration constant */
0845: int EN_IGNORE_IF_SURROUNDING_LINEFEED = 63;
0846: /** Enumeration constant */
0847: int EN_INDEFINITE = 64;
0848: /** Enumeration constant */
0849: int EN_INDENT = 65;
0850: /** Enumeration constant */
0851: int EN_INHERIT = 66;
0852: /** Enumeration constant */
0853: int EN_INSET = 67;
0854: /** Enumeration constant */
0855: int EN_INSIDE = 68;
0856: /** Enumeration constant */
0857: int EN_INTEGER_PIXELS = 69;
0858: /** Enumeration constant */
0859: int EN_JUSTIFY = 70;
0860: /** Enumeration constant */
0861: int EN_LARGER = 71;
0862: /** Enumeration constant */
0863: int EN_LAST = 72;
0864: /** Enumeration constant */
0865: int EN_LEFT = 73;
0866: /** Enumeration constant */
0867: int EN_LEWP = 74;
0868: /** Enumeration constant */
0869: int EN_LINE = 75;
0870: /** Enumeration constant */
0871: int EN_LINE_HEIGHT = 76;
0872: /** Enumeration constant */
0873: int EN_LINE_THROUGH = 77;
0874: /** Enumeration constant */
0875: int EN_LOWERCASE = 78;
0876: /** Enumeration constant */
0877: int EN_LR_TB = 79;
0878: /** Enumeration constant */
0879: int EN_LTR = 80;
0880: /** Enumeration constant */
0881: int EN_LSWP = 81;
0882: /** Enumeration constant */
0883: int EN_MATHEMATICAL = 82;
0884: /** Enumeration constant */
0885: int EN_MAX_HEIGHT = 83;
0886: /** Enumeration constant */
0887: int EN_MIDDLE = 84;
0888: /** Enumeration constant */
0889: int EN_NARROWER = 85;
0890: /** Enumeration constant */
0891: int EN_NO_BLINK = 86;
0892: /** Enumeration constant */
0893: int EN_NO_CHANGE = 87;
0894: /** Enumeration constant */
0895: int EN_NO_FORCE = 88;
0896: /** Enumeration constant */
0897: int EN_NO_LIMIT = 89;
0898: /** Enumeration constant */
0899: int EN_NO_LINE_THROUGH = 90;
0900: /** Enumeration constant */
0901: int EN_NO_OVERLINE = 91;
0902: /** Enumeration constant */
0903: int EN_NO_UNDERLINE = 92;
0904: /** Enumeration constant */
0905: int EN_NO_WRAP = 93;
0906: /** Enumeration constant */
0907: int EN_NON_UNIFORM = 94;
0908: /** Enumeration constant */
0909: int EN_NONE = 95;
0910: /** Enumeration constant */
0911: int EN_NOREPEAT = 96;
0912: /** Enumeration constant */
0913: int EN_NORMAL = 97;
0914: /** Enumeration constant */
0915: int EN_NOT_BLANK = 98;
0916: /** Enumeration constant */
0917: int EN_ODD = 99;
0918: /** Enumeration constant */
0919: int EN_ODD_PAGE = 100;
0920: /** Enumeration constant */
0921: int EN_OUTSET = 101;
0922: /** Enumeration constant */
0923: int EN_OUTSIDE = 102;
0924: /** Enumeration constant */
0925: int EN_OVERLINE = 103;
0926: /** Enumeration constant */
0927: int EN_PAGE = 104;
0928: /** Enumeration constant */
0929: int EN_PAGE_SEQUENCE = 105;
0930: /** Enumeration constant */
0931: int EN_PAGINATE = 106;
0932: /** Enumeration constant */
0933: int EN_PERCEPTUAL = 107;
0934: /** Enumeration constant */
0935: int EN_PRESERVE = 108;
0936: /** Enumeration constant */
0937: int EN_REFERENCE_AREA = 109;
0938: /** Enumeration constant */
0939: int EN_RELATIVE = 110;
0940: /** Enumeration constant */
0941: int EN_RELATIVE_COLOMETRIC = 111;
0942: /** Enumeration constant */
0943: int EN_REPEAT = 112;
0944: /** Enumeration constant */
0945: int EN_REPEATX = 113;
0946: /** Enumeration constant */
0947: int EN_REPEATY = 114;
0948: /** Enumeration constant */
0949: int EN_RESAMPLE_ANY_METHOD = 115;
0950: /** Enumeration constant */
0951: int EN_RESET_SIZE = 116;
0952: /** Enumeration constant */
0953: int EN_REST = 117;
0954: /** Enumeration constant */
0955: int EN_RETAIN = 118;
0956: /** Enumeration constant */
0957: int EN_RIDGE = 119;
0958: /** Enumeration constant */
0959: int EN_RIGHT = 120;
0960: /** Enumeration constant */
0961: int EN_RL_TB = 121;
0962: /** Enumeration constant */
0963: int EN_RTL = 122;
0964: /** Enumeration constant */
0965: int EN_RULE = 123;
0966: /** Enumeration constant */
0967: int EN_SATURATION = 124;
0968: /** Enumeration constant */
0969: int EN_SCALE_TO_FIT = 125;
0970: /** Enumeration constant */
0971: int EN_SCROLL = 126;
0972: /** Enumeration constant */
0973: int EN_SEMI_CONDENSED = 127;
0974: /** Enumeration constant */
0975: int EN_SEMI_EXPANDED = 128;
0976: /** Enumeration constant */
0977: int EN_SEPARATE = 129;
0978: /** Enumeration constant */
0979: int EN_SHOW = 130;
0980: /** Enumeration constant */
0981: int EN_SMALL_CAPS = 131;
0982: /** Enumeration constant */
0983: int EN_SMALLER = 132;
0984: /** Enumeration constant */
0985: int EN_SOLID = 133;
0986: /** Enumeration constant */
0987: int EN_SPACE = 134;
0988: /** Enumeration constant */
0989: int EN_START = 135;
0990: /** Enumeration constant */
0991: int EN_STATIC = 136;
0992: /** Enumeration constant */
0993: int EN_SUB = 137;
0994: /** Enumeration constant */
0995: int EN_SUPER = 138;
0996: /** Enumeration constant */
0997: int EN_SUPPRESS = 139;
0998: /** Enumeration constant */
0999: int EN_TB_RL = 140;
1000: /** Enumeration constant */
1001: int EN_TEXT_AFTER_EDGE = 141;
1002: /** Enumeration constant */
1003: int EN_TEXT_BEFORE_EDGE = 142;
1004: /** Enumeration constant */
1005: int EN_TEXT_BOTTOM = 143;
1006: /** Enumeration constant */
1007: int EN_TEXT_TOP = 144;
1008: /** Enumeration constant */
1009: int EN_TOP = 145;
1010: /** Enumeration constant */
1011: int EN_TRADITIONAL = 146;
1012: /** Enumeration constant */
1013: int EN_TREAT_AS_SPACE = 147;
1014: /** Enumeration constant */
1015: int EN_TREAT_AS_ZERO_WIDTH_SPACE = 148;
1016: /** Enumeration constant */
1017: int EN_TRUE = 149;
1018: /** Enumeration constant */
1019: int EN_ULTRA_CONDENSED = 150;
1020: /** Enumeration constant */
1021: int EN_ULTRA_EXPANDED = 151;
1022: /** Enumeration constant */
1023: int EN_UNBOUNDED = 152;
1024: /** Enumeration constant */
1025: int EN_UNDERLINE = 153;
1026: /** Enumeration constant */
1027: int EN_UNIFORM = 154;
1028: /** Enumeration constant */
1029: int EN_UPPERCASE = 155;
1030: /** Enumeration constant */
1031: int EN_USE_FONT_METRICS = 156;
1032: /** Enumeration constant */
1033: int EN_USE_SCRIPT = 157;
1034: /** Enumeration constant */
1035: int EN_USECONTENT = 158;
1036: /** Enumeration constant */
1037: int EN_VISIBLE = 159;
1038: /** Enumeration constant */
1039: int EN_WIDER = 160;
1040: /** Enumeration constant */
1041: int EN_WRAP = 161;
1042: /** Enumeration constant - non-standard for display-align */
1043: int EN_X_FILL = 162;
1044: /** Enumeration constant - non-standard for display-align */
1045: int EN_X_DISTRIBUTE = 163;
1046: /** Enumeration constant */
1047: int EN_ITALIC = 164;
1048: /** Enumeration constant */
1049: int EN_OBLIQUE = 165;
1050: /** Enumeration constant */
1051: int EN_BACKSLANT = 166;
1052: /** Enumeration constant */
1053: int EN_BOLDER = 167;
1054: /** Enumeration constant */
1055: int EN_LIGHTER = 168;
1056: /** Enumeration constant */
1057: int EN_100 = 169;
1058: /** Enumeration constant */
1059: int EN_200 = 170;
1060: /** Enumeration constant */
1061: int EN_300 = 171;
1062: /** Enumeration constant */
1063: int EN_400 = 172;
1064: /** Enumeration constant */
1065: int EN_500 = 173;
1066: /** Enumeration constant */
1067: int EN_600 = 174;
1068: /** Enumeration constant */
1069: int EN_700 = 175;
1070: /** Enumeration constant */
1071: int EN_800 = 176;
1072: /** Enumeration constant */
1073: int EN_900 = 177;
1074: /** Enumeration constant -- page-break-shorthand */
1075: int EN_AVOID = 178;
1076: /** Enumeration constant -- white-space shorthand */
1077: int EN_PRE = 179;
1078: /** Enumeration constant -- font shorthand */
1079: int EN_CAPTION = 180;
1080: /** Enumeration constant -- font shorthand */
1081: int EN_ICON = 181;
1082: /** Enumeration constant -- font shorthand */
1083: int EN_MENU = 182;
1084: /** Enumeration constant -- font shorthand */
1085: int EN_MESSAGE_BOX = 183;
1086: /** Enumeration constant -- font shorthand */
1087: int EN_SMALL_CAPTION = 184;
1088: /** Enumeration constant -- font shorthand */
1089: int EN_STATUS_BAR = 185;
1090: /** Number of enumeration constants defined */
1091: int ENUM_COUNT = 185;
1092: }
|