Constants
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 structure |
Constant |
Value |
---|---|---|
ACLLEVEL |
ACLLEVEL_AUTHOR |
3 |
ACLLEVEL_DEPOSITOR |
1 |
|
ACLLEVEL_DESIGNER |
5 |
|
ACLLEVEL_EDITOR |
4 |
|
ACLLEVEL_MANAGER |
6 |
|
ACLLEVEL_NOACCESS |
0 |
|
ACLLEVEL_READER |
2 |
|
ACLTYPE |
ACLTYPE_MIXED_GROUP |
3 |
ACLTYPE_PERSON |
1 |
|
ACLTYPE_PERSON_GROUP |
4 |
|
ACLTYPE_SERVER |
2 |
|
ACLTYPE_SERVER_GROUP |
5 |
|
ACLTYPE_UNSPECIFIED |
0 |
|
AG_TARGET |
TARGET_ALL_DOCS |
1 |
TARGET_ALL_DOCS_IN_VIEW |
5 |
|
TARGET_NEW_DOCS |
2 |
|
TARGET_NEW_OR_MODIFIED_DOCS |
3 |
|
TARGET_NONE |
0 |
|
TARGET_SELECTED_DOCS |
4 |
|
TARGET_UNREAD_DOCS_IN_VIEW |
6 |
|
AG_TRIGGER |
TRIGGER_AFTER_MAIL_DELIVERY |
2 |
TRIGGER_BEFORE_MAIL_DELIVERY |
6 |
|
TRIGGER_DOC_PASTED |
3 |
|
TRIGGER_MANUAL |
4 |
|
TRIGGER_NONE |
0 |
|
TRIGGER_SCHEDULED |
1 |
|
TRIGGER_UPDATE |
5 |
|
COLORS |
COLOR_BLACK |
0 |
COLOR_BLUE |
4 |
|
COLOR_CYAN |
7 |
|
COLOR_DARK_BLUE |
10 |
|
COLOR_DARK_CYAN |
13 |
|
COLOR_DARK_GREEN |
9 |
|
COLOR_DARK_MAGENTA |
11 |
|
COLOR_DARK_RED |
8 |
|
COLOR_DARK_YELLOW |
12 |
|
COLOR_GRAY |
14 |
|
COLOR_GREEN |
3 |
|
COLOR_LIGHT_GRAY |
15 |
|
COLOR_MAGENTA |
5 |
|
COLOR_RED |
2 |
|
COLOR_WHITE |
1 |
|
COLOR_YELLOW |
6 |
|
DB_TYPES |
DATABASE (avoid using this in COM) |
1,247 |
NOTES_DATABASE |
1,247 |
|
REPLICA_CANDIDATE |
1,245 |
|
TEMPLATE |
1,248 |
|
TEMPLATE_CANDIDATE |
1,246 |
|
EMBED_TYPE |
EMBED_ATTACHMENT |
1,454 |
EMBED_OBJECT |
1,453 |
|
EMBED_OBJECTLINK |
1,452 |
|
FT_TYPES |
FT_DATABASE |
8,192 |
FT_DATE_ASC |
64 |
|
FT_DATE_DES |
32 |
|
FT_FILESYSTEM |
4,096 |
|
FT_FUZZY |
16,384 |
|
FT_SCORES |
8 |
|
FT_STEMS |
512 |
|
FT_THESAURUS |
1,024 |
|
IT_TYPE |
ACTIONCD |
16 |
ASSISTANTINFO |
17 |
|
ATTACHMENT |
1,084 |
|
AUTHORS |
1,076 |
|
COLLATION |
2 |
|
DATETIMES |
1,024 |
|
EMBEDDEDOBJECT |
1,090 |
|
ERRORITEM |
256 |
|
FORMULA |
1,536 |
|
HTML |
21 |
|
ICON |
6 |
|
LSOBJECT |
20 |
|
MIME_PART |
25 |
|
NAMES |
1,074 |
|
NOTELINKS |
7 |
|
NOTEREFS |
4 |
|
NUMBERS |
768 |
|
OTHEROBJECT |
1,085 |
|
QUERYCD |
15 |
|
READERS |
1,075 |
|
RFC822TEXT |
1,282 |
|
RICHTEXT |
1 |
|
SIGNATURE |
8 |
|
TEXT |
1,280 |
|
UNAVAILABLE |
512 |
|
UNKNOWN |
0 |
|
USERDATA |
14 |
|
USERID |
1,792 |
|
VIEWMAPDATA |
18 |
|
VIEWMAPLAYOUT |
19 |
|
LOG_EVENTS |
EV_ALARM |
8 |
EV_COMM |
1 |
|
EV_MAIL |
3 |
|
EV_MISC |
6 |
|
EV_REPLICA |
4 |
|
EV_RESOURCE |
5 |
|
EV_SECURITY |
2 |
|
EV_SERVER |
7 |
|
EV_UNKNOWN |
0 |
|
EV_UPDATE |
9 |
|
LOG_SEVERITY |
SEV_FAILURE |
2 |
SEV_FATAL |
1 |
|
SEV_NORMAL |
5 |
|
SEV_UNKNOWN |
0 |
|
SEV_WARNING1 |
3 |
|
SEV_WARNING2 |
4 |
|
NOTES_ERRORS |
See the "File contents" topic in this chapter. |
|
OE_CLASS |
OUTLINE_CLASS_DATABASE |
2,194 |
OUTLINE_CLASS_DOCUMENT |
2,190 |
|
OUTLINE_CLASS_FOLDER |
2,197 |
|
OUTLINE_CLASS_FORM |
2,192 |
|
OUTLINE_CLASS_FRAMESET |
2,195 |
|
OUTLINE_CLASS_NAVIGATOR |
2,193 |
|
OUTLINE_CLASS_PAGE |
2,196 |
|
OUTLINE_CLASS_UNKNOWN |
2,189 |
|
OUTLINE_CLASS_VIEW |
2,191 |
|
OE_TYPE |
OUTLINE_OTHER_FOLDERS_TYPE |
1,589 |
OUTLINE_OTHER_UNKNOWN_TYPE |
1,591 |
|
OUTLINE_OTHER_VIEWS_TYPE |
1,588 |
|
OUTLINE_TYPE_ACTION |
2,188 |
|
OUTLINE_TYPE_NAMEDELEMENT |
2,187 |
|
OUTLINE_TYPE_NOTELINK |
2,186 |
|
OUTLINE_TYPE_URL |
2,185 |
|
REG_TYPE |
ID_CERTIFIER |
173 |
ID_FLAT |
171 |
|
ID_HIERARCHICAL |
172 |
|
RP_PRIORITY |
DB_REPLICATION_PRIORITY_HIGH |
1,549 |
DB_REPLICATION_PRIORITY_LOW |
1,547 |
|
DB_REPLICATION_PRIORITY_MED |
1,548 |
|
DB_REPLICATION_PRIORITY_NOTSET |
1,565 |
|
RT_ALIGN |
ALIGN_CENTER |
3 |
ALIGN_FULL |
2 |
|
ALIGN_LEFT |
0 |
|
ALIGN_NOWRAP |
4 |
|
ALIGN_RIGHT |
1 |
|
RT_EFFECTS |
EFFECTS_EMBOSS |
4 |
EFFECTS_EXTRUDE |
5 |
|
EFFECTS_NONE |
0 |
|
EFFECTS_SHADOW |
3 |
|
EFFECTS_SUBSCRIPT |
2 |
|
EFFECTS_SUPERSCRIPT |
1 |
|
RT_FONTS |
FONT_COURIER |
4 |
FONT_HELV |
1 |
|
FONT_ROMAN |
0 |
|
RT_PAGINATE |
PAGINATE_BEFORE |
1 |
PAGINATE_DEFAULT |
0 |
|
PAGINATE_KEEP_TOGETHER |
4 |
|
PAGINATE_KEEP_WITH_NEXT |
2 |
|
RT_TAB |
TAB_CENTER |
3 |
TAB_DECIMAL |
2 |
|
TAB_LEFT |
0 |
|
TAB_RIGHT |
1 |
|
SPACING |
SPACING_DOUBLE |
4 |
SPACING_ONE_POINT_25 |
1 |
|
SPACING_ONE_POINT_50 |
2 |
|
SPACING_ONE_POINT_75 |
3 |
|
SPACING_SINGLE |
0 |
|
USER_TYPE |
NOTES_DESKTOP_CLIENT |
175 |
NOTES_FULL_CLIENT |
176 |
|
NOTES_LIMITED_CLIENT |
174 |
|
VC_ALIGN |
VC_ALIGN_CENTER |
2 |
VC_ALIGN_LEFT |
0 |
|
VC_ALIGN_RIGHT |
1 |
|
VC_DATEFMT |
VC_FMT_MD |
2 |
VC_FMT_Y4M |
6 |
|
VC_FMT_YM |
3 |
|
VC_FMT_YMD |
0 |
|
VC_FONTSTYLE |
VC_FONT_BOLD |
1 |
VC_FONT_ITALIC |
2 |
|
VC_FONT_STRIKEOUT |
8 |
|
VC_FONT_UNDERLINE |
4 |
|
VC_NUMATTR |
VC_ATTR_PARENS |
2 |
VC_ATTR_PERCENT |
4 |
|
VC_ATTR_PUNCTUATED |
1 |
|
VC_NUMFMT |
VC_FMT_CURRENCY |
3 |
VC_FMT_FIXED |
1 |
|
VC_FMT_GENERAL |
0 |
|
VC_FMT_SCIENTIFIC |
2 |
|
VC_SEP |
VC_SEP_COMMA |
2 |
VC_SEP_NEWLINE |
4 |
|
VC_SEP_SEMICOLON |
3 |
|
VC_SEP_SPACE |
1 |
|
VC_TDFMT |
VC_FMT_DATE |
0 |
VC_FMT_DATETIME |
2 |
|
VC_FMT_TIME |
1 |
|
VC_FMT_TODAYTIME |
3 |
|
VC_TIMEFMT |
VC_FMT_HM |
1 |
VC_FMT_HMS |
0 |
|
VC_TIMEZONEFMT |
VC_FMT_ALWAYS |
2 |
VC_FMT_NEVER |
0 |
|
VC_FMT_SOMETIMES |
1 |