htmllib.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 #if !defined (__htmllibH__)
10 #define __htmllibH__
11 
12 
13 /*----------------------------------------------------------------------+
14 | |
15 | Defines |
16 | |
17 +----------------------------------------------------------------------*/
18 #define ALIGN_IMAGE_ABSBOTTOM 0x00000001
19 #define ALIGN_IMAGE_ABSMIDDLE 0x00000002
20 #define ALIGN_IMAGE_BOTTOM 0x00000004
21 #define ALIGN_IMAGE_LEFT 0x00000008
22 #define ALIGN_IMAGE_MIDDLE 0x00000010
23 #define ALIGN_IMAGE_RIGHT 0x00000020
24 #define ALIGN_IMAGE_TOP 0x00000040
25 
26 #define ALIGN_ITEM_LEFT 1
27 #define ALIGN_ITEM_CENTER 2
28 #define ALIGN_ITEM_RIGHT 3
29 
30 #define TEXTATTR_BOLD 1
31 #define TEXTATTR_ITALIC 2
32 #define TEXTATTR_UNDERLINE 3
33 
34 #define ALIGN_CAPTION_LEFTTOP 1
35 #define ALIGN_CAPTION_CENTERTOP 2
36 #define ALIGN_CAPTION_RIGHTTOP 3
37 #define ALIGN_CAPTION_LEFTBOTTOM 4
38 #define ALIGN_CAPTION_CENTERBOTTOM 5
39 #define ALIGN_CAPTION_RIGHTBOTTOM 6
40 
41 #define ALIGN_TABLECELL_LEFTTOP 1
42 #define ALIGN_TABLECELL_LEFTCENTER 2
43 #define ALIGN_TABLECELL_LEFTBOTTOM 3
44 
45 #define ALIGN_TABLECELL_CENTERTOP 4
46 #define ALIGN_TABLECELL_CENTERCENTER 5
47 #define ALIGN_TABLECELL_CENTERBOTTOM 6
48 
49 #define ALIGN_TABLECELL_RIGHTTOP 7
50 #define ALIGN_TABLECELL_RIGHTCENTER 8
51 #define ALIGN_TABLECELL_RIGHTBOTTOM 9
52 
53 #define HTTP_PROTOCOL 1
54 #define FILE_PROTOCOL 2
55 #define FTP_PROTOCOL 3
56 
57 #define HTMLLIST_BULLETED 0
58 #define HTMLLIST_NUMBERED 1
59 #define HTMLLIST_DEFINITION 2
60 #define HTMLLIST_DIRECTORY 3
61 #define HTMLLIST_MENU 4
62 
63 #define IMAGESHAPE_RECTANGLE 1
64 #define IMAGESHAPE_CIRCLE 2
65 #define IMAGESHAPE_POLYGON 3
66 
67 #define FORMMETHOD_POST 0
68 #define FORMMETHOD_GET 1
69 
70 #define FORMTYPETEXT_NONPASSWORD 0
71 #define FORMTYPETEXT_PASSWORD 1
72 
73 #define FORMTYPEBUTTON_SUBMIT 0
74 #define FORMTYPEBUTTON_RESET 1
75 
76 #define FORMTYPE_RADIO 0
77 #define FORMTYPE_CHECKBOX 1
78 #define FORMTYPE_NONCHECKED 0
79 #define FORMTYPE_CHECKED 1
80 
81 #define FORMSELECT_NOMULTIPLE 0
82 #define FORMSELECT_MULTIPLE 1
83 #define FORMSELECT_NOSELECTED 0
84 #define FORMSELECT_SELECTED 1
85 
86 #define FORMTEXTAREA_OFF 0
87 #define FORMTEXTAREA_SOFT 1
88 #define FORMTEXTAREA_HARD 2
89 
90 #define FORM_DEFAULTBORDER -1
91 
92 /*----------------------------------------------------------------------+
93 | |
94 | Typedefs |
95 | |
96 +----------------------------------------------------------------------*/
97 
98 /*----------------------------------------------------------------------+
99 | |
100 | Macros |
101 | |
102 +----------------------------------------------------------------------*/
103 
104 #endif /* !defined (__htmllibH__) */

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.