LOTUSSCRIPT/COM/OLE CLASSES


Constants
Example

The table that follows specifies the values of the non-error constants used by the Domino classes. You can also see the constant values by examining domobj.tlb in the Notes or Domino program directory with a product such as Visual InterDev (VID).

The Domino error constants are specified in the file lsxbeerr.lss in the Domino or Notes program directory and in the "File contents" topic. In COM, the error value is four bytes: the first two bytes contain the value &H8004 and the last two bytes contain the Domino error code. To convert from Domino to COM, append the Domino four-digit hexadecimal value to &H8004. To convert from COM to Domino, truncate the first four digits from the COM hexadecimal value.
Enum structureConstantValue
ACLLEVELACLLEVEL_AUTHOR3
ACLLEVEL_DEPOSITOR1
ACLLEVEL_DESIGNER5
ACLLEVEL_EDITOR4
ACLLEVEL_MANAGER6
ACLLEVEL_NOACCESS0
ACLLEVEL_READER2
ACLTYPEACLTYPE_MIXED_GROUP3
ACLTYPE_PERSON1
ACLTYPE_PERSON_GROUP4
ACLTYPE_SERVER2
ACLTYPE_SERVER_GROUP5
ACLTYPE_UNSPECIFIED0
AG_TARGETTARGET_ALL_DOCS1
TARGET_ALL_DOCS_IN_VIEW5
TARGET_NEW_DOCS2
TARGET_NEW_OR_MODIFIED_DOCS3
TARGET_NONE0
TARGET_SELECTED_DOCS4
TARGET_UNREAD_DOCS_IN_VIEW6
AG_TRIGGERTRIGGER_AFTER_MAIL_DELIVERY2
TRIGGER_BEFORE_MAIL_DELIVERY6
TRIGGER_DOC_PASTED3
TRIGGER_MANUAL4
TRIGGER_NONE0
TRIGGER_SCHEDULED1
TRIGGER_UPDATE5
COLORSCOLOR_BLACK0
COLOR_BLUE4
COLOR_CYAN7
COLOR_DARK_BLUE10
COLOR_DARK_CYAN13
COLOR_DARK_GREEN9
COLOR_DARK_MAGENTA11
COLOR_DARK_RED8
COLOR_DARK_YELLOW12
COLOR_GRAY14
COLOR_GREEN3
COLOR_LIGHT_GRAY15
COLOR_MAGENTA5
COLOR_RED2
COLOR_WHITE1
COLOR_YELLOW6
DB_TYPESDATABASE (avoid using this in COM)1,247
NOTES_DATABASE1,247
REPLICA_CANDIDATE1,245
TEMPLATE1,248
TEMPLATE_CANDIDATE1,246
EMBED_TYPEEMBED_ATTACHMENT1,454
EMBED_OBJECT1,453
EMBED_OBJECTLINK1,452
FT_TYPESFT_DATABASE8,192
FT_DATE_ASC64
FT_DATE_DES32
FT_FILESYSTEM4,096
FT_FUZZY16,384
FT_SCORES8
FT_STEMS512
FT_THESAURUS1,024
IT_TYPEACTIONCD16
ASSISTANTINFO17
ATTACHMENT1,084
AUTHORS1,076
COLLATION2
DATETIMES1,024
EMBEDDEDOBJECT1,090
ERRORITEM256
FORMULA1,536
HTML21
ICON6
LSOBJECT20
MIME_PART25
NAMES1,074
NOTELINKS7
NOTEREFS4
NUMBERS768
OTHEROBJECT1,085
QUERYCD15
READERS1,075
RICHTEXT1
SIGNATURE8
TEXT1,280
UNAVAILABLE512
UNKNOWN0
USERDATA14
USERID1,792
VIEWMAPDATA18
VIEWMAPLAYOUT19
LOG_EVENTSEV_ALARM8
EV_COMM1
EV_MAIL3
EV_MISC6
EV_REPLICA4
EV_RESOURCE5
EV_SECURITY2
EV_SERVER7
EV_UNKNOWN0
EV_UPDATE9
LOG_SEVERITYSEV_FAILURE2
SEV_FATAL1
SEV_NORMAL5
SEV_UNKNOWN0
SEV_WARNING13
SEV_WARNING24
NOTES_ERRORSSee the "File contents" topic in this chapter.
OE_CLASSOUTLINE_CLASS_DATABASE2,194
OUTLINE_CLASS_DOCUMENT2,190
OUTLINE_CLASS_FOLDER2,197
OUTLINE_CLASS_FORM2,192
OUTLINE_CLASS_FRAMESET2,195
OUTLINE_CLASS_NAVIGATOR2,193
OUTLINE_CLASS_PAGE2,196
OUTLINE_CLASS_UNKNOWN2,189
OUTLINE_CLASS_VIEW2,191
OE_TYPEOUTLINE_OTHER_FOLDERS_TYPE1,589
OUTLINE_OTHER_UNKNOWN_TYPE1,591
OUTLINE_OTHER_VIEWS_TYPE1,588
OUTLINE_TYPE_ACTION2,188
OUTLINE_TYPE_NAMEDELEMENT2,187
OUTLINE_TYPE_NOTELINK2,186
OUTLINE_TYPE_URL2,185
REG_TYPEID_CERTIFIER173
ID_FLAT171
ID_HIERARCHICAL172
RP_PRIORITYDB_REPLICATION_PRIORITY_HIGH1,549
DB_REPLICATION_PRIORITY_LOW1,547
DB_REPLICATION_PRIORITY_MED1,548
DB_REPLICATION_PRIORITY_NOTSET1,565
RT_ALIGNALIGN_CENTER3
ALIGN_FULL2
ALIGN_LEFT0
ALIGN_NOWRAP4
ALIGN_RIGHT1
RT_EFFECTSEFFECTS_EMBOSS4
EFFECTS_EXTRUDE5
EFFECTS_NONE0
EFFECTS_SHADOW3
EFFECTS_SUBSCRIPT2
EFFECTS_SUPERSCRIPT1
RT_FONTSFONT_COURIER4
FONT_HELV1
FONT_ROMAN0
RT_PAGINATEPAGINATE_BEFORE1
PAGINATE_DEFAULT0
PAGINATE_KEEP_TOGETHER4
PAGINATE_KEEP_WITH_NEXT2
RT_TABTAB_CENTER3
TAB_DECIMAL2
TAB_LEFT0
TAB_RIGHT1
SPACINGSPACING_DOUBLE4
SPACING_ONE_POINT_251
SPACING_ONE_POINT_502
SPACING_ONE_POINT_753
SPACING_SINGLE0
USER_TYPENOTES_DESKTOP_CLIENT175
NOTES_FULL_CLIENT176
NOTES_LIMITED_CLIENT174
VC_ALIGNVC_ALIGN_CENTER2
VC_ALIGN_LEFT0
VC_ALIGN_RIGHT1
VC_DATEFMTVC_FMT_MD2
VC_FMT_Y4M6
VC_FMT_YM3
VC_FMT_YMD0
VC_FONTSTYLEVC_FONT_BOLD1
VC_FONT_ITALIC2
VC_FONT_STRIKEOUT8
VC_FONT_UNDERLINE4
VC_NUMATTRVC_ATTR_PARENS2
VC_ATTR_PERCENT4
VC_ATTR_PUNCTUATED1
VC_NUMFMTVC_FMT_CURRENCY3
VC_FMT_FIXED1
VC_FMT_GENERAL0
VC_FMT_SCIENTIFIC2
VC_SEPVC_SEP_COMMA2
VC_SEP_NEWLINE4
VC_SEP_SEMICOLON3
VC_SEP_SPACE1
VC_TDFMTVC_FMT_DATE0
VC_FMT_DATETIME2
VC_FMT_TIME1
VC_FMT_TODAYTIME3
VC_TIMEFMTVC_FMT_HM1
VC_FMT_HMS0
VC_TIMEZONEFMTVC_FMT_ALWAYS2
VC_FMT_NEVER0
VC_FMT_SOMETIMES1

Example
See Also