/* $Header: /home/mfuchs/systems/nightly_0213/Inc/RCS/enums.h,v 1.8 1995/09/06 17:55:00 skonsell Exp $ */ #ifndef ENUMS_H /* defines for enumerations for Cheetah language: */ /* enableEnumeration ******************************************************/ #define E_OFF 0 #define E_ON 1 /* booleanEnumeration *****************************************************/ #define E_FALSE 0 #define E_TRUE 1 /* unitOfMeasurementEnumeration *******************************************/ #define E_INCH 0 #define E_MILLIMETER 1 #define E_TENTHS_OF_A_MILLIMETER 2 /* errorReportingEnumeration *********************************************/ #define E_NO_REPORTING 0 #define E_BACK_CHANNEL 1 #define E_ERROR_PAGE 2 #define E_BCK_CH_AND_ERR_PG 3 /* dataOrganizationEnumeration ********************************************/ #define E_BINARY_HIGH_BYTE_FIRST 0 #define E_BINARY_LOW_BYTE_FIRST 1 /* orientationEnumeration *************************************************/ #define E_PORTRAIT_ORIENTATION 0 #define E_LANDSCAPE_ORIENTATION 1 #define E_REVERSE_PORTRAIT 2 #define E_REVERSE_LANDSCAPE 3 /* simplexModeOrientation *************************************************/ #define E_SIMPLEX_FRONT_SIDE 0 /* duplexModeOrientation **************************************************/ #define E_DUPLEX_HORIZONTAL_BINDING 0 #define E_DUPLEX_VERTICAL_BINDING 1 /* duplexPageSide *********************************************************/ #define E_FRONT_MEDIA_SIDE 0 #define E_BACK_MEDIA_SIDE 1 /* mediaSizeEnumeration ***************************************************/ #define E_LETTER_PAPER 0 #define E_LEGAL_PAPER 1 #define E_A4_PAPER 2 #define E_EXEC_PAPER 3 #define E_LEDGER_PAPER 4 #define E_A3_PAPER 5 #define E_COM10_ENVELOPE 6 #define E_MONARCH_ENVELOPE 7 #define E_C5_ENVELOPE 8 #define E_DL_ENVELOPE 9 #define E_JB4_PAPER 10 #define E_JB5_PAPER 11 #define E_B5_ENVELOPE 12 #define E_J_POSTCARD 14 #define E_J_DOUBLE_POSTCARD 15 #define E_A5_PAPER 16 /* mediaSourceEnumeration *************************************************/ #define E_DEFAULT_SOURCE 0 #define E_AUTO_SELECT 1 #define E_MANUAL_FEED 2 #define E_MULTI_PURPOSE_TRAY 3 #define E_UPPER_CASSETTE 4 #define E_LOWER_CASSETTE 5 #define E_ENVELOPE_TRAY 6 /* mediaDestinationEnumeration ********************************************/ #define E_DEFAULT_DESTINATION 0 #define E_FACE_DOWN_BIN 1 #define E_FACE_UP_BIN 2 /* mediaDestinationEnumeration ********************************************/ #define E_DEFAULT_TYPE 0 #define E_USER_DEFINED_TYPE 1 #define E_STANDARD_TYPE 2 #define E_PREPRINTED_TYPE 3 #define E_LETTERHEAD_TYPE 4 #define E_TRANSPARENCY_TYPE 5 #define E_PREPUNCHED_TYPE 6 #define E_LABELS_TYPE 7 #define E_BOND_TYPE 8 #define E_RECYCLED_TYPE 9 #define E_COLORED_TYPE 10 #define E_CARD_STOCK_TYPE 11 /* compressionEnumeration *************************************************/ #define E_NO_COMPRESSION 0 #define E_RLE_COMPRESSION 1 /* arcDirectionEnumeration ************************************************/ #define E_CLOCKWISE 0 #define E_COUNTER_CLOCKWISE 1 /* fillModeEnumeration and clipModeEnumeration*****************************/ #define E_NON_ZERO_WINDING 0 #define E_EVEN_ODD 1 /* clipRegionEnumeration **************************************************/ #define E_INTERIOR 0 #define E_EXTERIOR 1 /* lineCapEnumeration *****************************************************/ #define E_BUTT_CAP 0 #define E_ROUND_CAP 1 #define E_SQUARE_CAP 2 #define E_TRIANGULAR_CAP 3 /* lineJoinEnumeration ****************************************************/ #define E_MITER_JOIN 0 #define E_ROUND_JOIN 1 #define E_BEVEL_JOIN 2 #define E_NO_JOIN 3 /* ditherMatrixEnumeration ************************************************/ #define E_DEVICE_BEST 0 #define E_DEVICE_INDEPENDENT 1 /* transparancyEnumeration ************************************************/ #define E_OPAQUE 0 #define E_TRANSPARENT 1 /* fontTechnologyEnumeration **********************************************/ #define E_TRUE_TYPE 0 #define E_BITMAP 1 /* dataSourceEnumeration **************************************************/ #define E_DEFAULT_DATA_SOURCE 0 /* colorSpaceEnumeration **************************************************/ #define E_BI_LEVEL 0 #define E_GRAY 1 #define E_RGB 2 #define E_CMY 3 /* colorDepthEnumeration **************************************************/ #define E_1_BIT 0 #define E_4_BIT 1 #define E_8_BIT 2 /* colorMappingEumeration *************************************************/ #define E_DIRECT_VALUES 0 #define E_PALETTE_INDEXED 1 /* dataTypeEumeration *************************************************/ #define E_UBYTE 0 #define E_SBYTE 1 #define E_UINT16 2 #define E_SINT16 3 #define E_REAL32 4 /* patternPersistenceEnumeration*******************************************/ #define E_TEMP_PATTERN 0 #define E_PAGE_PATTERN 1 #define E_SESSION_PATTERN 2 /* fontPersistenceEnumeration*******************************************/ #define E_TEMP_FONT 0 #define E_PERM_FONT 1 /* streamPersistenceEnumeration*******************************************/ #define E_TEMP_STREAM 0 #define E_PERM_STREAM 1 /* textAttributeClassEnumerations are Obsoleted **************************/ /* charSubstitutionEnumeration********************************************/ /* Make sure that the following are in consecutive order starting with 0**/ #define E_NO_SUBSTITUTION 0 #define E_VERTICAL_SUBSTITUTION 1 #define NUM_SUBSTITUTIONS 2 /* charShadowEnumerations are Obsoleted *********************************/ /* charOutlineEnumerations are Obsoleted ********************************/ /* charItalicEnumerations are Obsoleted ********************************/ /* diagnosticEumeration ***************************************************/ #define E_NO_DIAG 0 #define E_FILTER_DIAG 1 #define E_COMMANDS_DIAG 2 #define E_PERSONALITY_DIAG 3 #define E_PAGE_DIAG 4 #define ENUMS_H #endif