]> git.saurik.com Git - wxWidgets.git/blame - include/wx/html/htmldefs.h
Changed an OBJARRAY to an EXPORTED_OBJARRAY
[wxWidgets.git] / include / wx / html / htmldefs.h
CommitLineData
5526e819
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: htmldefs.h
3// Purpose: constants for wxhtml library
4// Author: Vaclav Slavik
69941f05 5// RCS-ID: $Id$
5526e819
VS
6// Copyright: (c) 1999 Vaclav Slavik
7// Licence: wxWindows Licence
8/////////////////////////////////////////////////////////////////////////////
9
10
69941f05
VS
11#ifndef _WX_HTMLDEFS_H_
12#define _WX_HTMLDEFS_H_
5526e819
VS
13
14#include "wx/defs.h"
5526e819 15
4dcaf11a 16#if wxUSE_HTML
5526e819
VS
17
18//--------------------------------------------------------------------------------
19// ALIGNMENTS
20// Describes alignment of text etc. in containers
21//--------------------------------------------------------------------------------
22
23#define HTML_ALIGN_LEFT 0x0000
24#define HTML_ALIGN_RIGHT 0x0002
25
26#define HTML_ALIGN_TOP 0x0004
27#define HTML_ALIGN_BOTTOM 0x0008
28
29#define HTML_ALIGN_CENTER 0x0001
30
31
32
33//--------------------------------------------------------------------------------
34// COLOR MODES
35// Used by wxHtmlColourCell to determine clr of what is changing
36//--------------------------------------------------------------------------------
37
38#define HTML_CLR_FOREGROUND 0x0001
39#define HTML_CLR_BACKGROUND 0x0002
40
41
42
43//--------------------------------------------------------------------------------
44// UNITS
45// Used to specify units
46//--------------------------------------------------------------------------------
47
48#define HTML_UNITS_PIXELS 0x0001
49#define HTML_UNITS_PERCENT 0x0002
50
51
52
53//--------------------------------------------------------------------------------
54// INDENTS
55// Used to specify indetation relatives
56//--------------------------------------------------------------------------------
57
58#define HTML_INDENT_LEFT 0x0010
59#define HTML_INDENT_RIGHT 0x0020
60#define HTML_INDENT_TOP 0x0040
61#define HTML_INDENT_BOTTOM 0x0080
62
63#define HTML_INDENT_HORIZONTAL HTML_INDENT_LEFT | HTML_INDENT_RIGHT
64#define HTML_INDENT_VERTICAL HTML_INDENT_TOP | HTML_INDENT_BOTTOM
65#define HTML_INDENT_ALL HTML_INDENT_VERTICAL | HTML_INDENT_HORIZONTAL
66
67
68
69
70//--------------------------------------------------------------------------------
71// FIND CONDITIONS
72// Identifiers of wxHtmlCell's Find() conditions
73//--------------------------------------------------------------------------------
74
75#define HTML_COND_ISANCHOR 1
76 // Finds the anchor of 'param' name (pointer to wxString).
25082126
VS
77
78#define HTML_COND_ISIMAGEMAP 2
79 // Finds imagemap of 'param' name (pointer to wxString).
db98870d
VS
80 // (used exclusively by m_image.cpp)
81
5526e819
VS
82#define HTML_COND_USER 10000
83 // User-defined conditions should start from this number
84
85
86//--------------------------------------------------------------------------------
87// INTERNALS
88// wxHTML internal constants
89//--------------------------------------------------------------------------------
90
91#define HTML_SCROLL_STEP 16
92 /* size of one scroll step of wxHtmlWindow in pixels */
93#define HTML_BUFLEN 1024
94 /* size of temporary buffer used during parsing */
95#define HTML_REALLOC_STEP 32
96 /* steps of array reallocation */
db98870d
VS
97#define HTML_PRINT_MAX_PAGES 999
98 /* maximum number of pages printable via html printing */
5526e819
VS
99
100#endif
69941f05 101#endif