ReactOS 0.4.16-dev-297-gc569aee
htmlstyle.h
Go to the documentation of this file.
1/*
2 * Copyright 2008 Jacek Caban for CodeWeavers
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#pragma once
20
21struct HTMLStyle {
23 IHTMLStyle IHTMLStyle_iface;
24 IHTMLStyle2 IHTMLStyle2_iface;
25 IHTMLStyle3 IHTMLStyle3_iface;
26 IHTMLStyle4 IHTMLStyle4_iface;
27 IHTMLStyle5 IHTMLStyle5_iface;
28 IHTMLStyle6 IHTMLStyle6_iface;
29
31
34};
35
36/* NOTE: Make sure to keep in sync with style_tbl in htmlstyle.c */
37typedef enum {
125
129
132
135
138
139#define ATTR_FIX_PX 0x0001
140#define ATTR_FIX_URL 0x0002
141#define ATTR_STR_TO_INT 0x0004
142#define ATTR_HEX_INT 0x0008
143#define ATTR_REMOVE_COMMA 0x0010
144#define ATTR_NO_NULL 0x0020
FT_UInt sid
Definition: cffcmap.c:139
#define DECLSPEC_HIDDEN
Definition: precomp.h:8
OLECHAR * BSTR
Definition: compat.h:2293
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
GLfloat GLfloat p
Definition: glext.h:8902
styleid_t
Definition: htmlstyle.h:37
@ STYLEID_OVERFLOW_Y
Definition: htmlstyle.h:100
@ STYLEID_OVERFLOW_X
Definition: htmlstyle.h:99
@ STYLEID_BORDER_TOP_WIDTH
Definition: htmlstyle.h:64
@ STYLEID_MARGIN_RIGHT
Definition: htmlstyle.h:91
@ STYLEID_BORDER_COLOR
Definition: htmlstyle.h:51
@ STYLEID_BORDER_BOTTOM_WIDTH
Definition: htmlstyle.h:50
@ STYLEID_BACKGROUND_IMAGE
Definition: htmlstyle.h:41
@ STYLEID_BACKGROUND
Definition: htmlstyle.h:38
@ STYLEID_OUTLINE
Definition: htmlstyle.h:97
@ STYLEID_BACKGROUND_REPEAT
Definition: htmlstyle.h:45
@ STYLEID_LETTER_SPACING
Definition: htmlstyle.h:83
@ STYLEID_BOX_SIZING
Definition: htmlstyle.h:67
@ STYLEID_POSITION
Definition: htmlstyle.h:108
@ STYLEID_BORDER_WIDTH
Definition: htmlstyle.h:65
@ STYLEID_FONT_STYLE
Definition: htmlstyle.h:78
@ STYLEID_TEXT_ALIGN
Definition: htmlstyle.h:111
@ STYLEID_TEXT_INDENT
Definition: htmlstyle.h:113
@ STYLEID_CLIP
Definition: htmlstyle.h:69
@ STYLEID_TOP
Definition: htmlstyle.h:115
@ STYLEID_BORDER_RIGHT
Definition: htmlstyle.h:56
@ STYLEID_LISTSTYLEPOSITION
Definition: htmlstyle.h:86
@ STYLEID_CURSOR
Definition: htmlstyle.h:71
@ STYLEID_BORDER_TOP_STYLE
Definition: htmlstyle.h:63
@ STYLEID_PADDING_BOTTOM
Definition: htmlstyle.h:102
@ STYLEID_FONT_VARIANT
Definition: htmlstyle.h:79
@ STYLEID_BORDER_BOTTOM
Definition: htmlstyle.h:47
@ STYLEID_FONT_WEIGHT
Definition: htmlstyle.h:80
@ STYLEID_WHITE_SPACE
Definition: htmlstyle.h:118
@ STYLEID_LISTSTYLETYPE
Definition: htmlstyle.h:87
@ STYLEID_MARGIN_LEFT
Definition: htmlstyle.h:90
@ STYLEID_BORDER_LEFT_STYLE
Definition: htmlstyle.h:54
@ STYLEID_PADDING_TOP
Definition: htmlstyle.h:105
@ STYLEID_TEXT_DECORATION
Definition: htmlstyle.h:112
@ STYLEID_WORD_SPACING
Definition: htmlstyle.h:120
@ STYLEID_BORDER_RIGHT_COLOR
Definition: htmlstyle.h:57
@ STYLEID_MAX_VALUE
Definition: htmlstyle.h:123
@ STYLEID_CLEAR
Definition: htmlstyle.h:68
@ STYLEID_TABLE_LAYOUT
Definition: htmlstyle.h:110
@ STYLEID_HEIGHT
Definition: htmlstyle.h:81
@ STYLEID_MARGIN_TOP
Definition: htmlstyle.h:92
@ STYLEID_MARGIN
Definition: htmlstyle.h:88
@ STYLEID_BACKGROUND_POSITION_X
Definition: htmlstyle.h:43
@ STYLEID_TEXT_TRANSFORM
Definition: htmlstyle.h:114
@ STYLEID_VERTICAL_ALIGN
Definition: htmlstyle.h:116
@ STYLEID_OVERFLOW
Definition: htmlstyle.h:98
@ STYLEID_BORDER_TOP
Definition: htmlstyle.h:61
@ STYLEID_PAGE_BREAK_AFTER
Definition: htmlstyle.h:106
@ STYLEID_DISPLAY
Definition: htmlstyle.h:73
@ STYLEID_FILTER
Definition: htmlstyle.h:74
@ STYLEID_BORDER_RIGHT_WIDTH
Definition: htmlstyle.h:59
@ STYLEID_BORDER_TOP_COLOR
Definition: htmlstyle.h:62
@ STYLEID_BACKGROUND_POSITION
Definition: htmlstyle.h:42
@ STYLEID_COLOR
Definition: htmlstyle.h:70
@ STYLEID_LIST_STYLE
Definition: htmlstyle.h:85
@ STYLEID_MAX_WIDTH
Definition: htmlstyle.h:94
@ STYLEID_MIN_WIDTH
Definition: htmlstyle.h:96
@ STYLEID_PADDING_RIGHT
Definition: htmlstyle.h:104
@ STYLEID_BORDER_RIGHT_STYLE
Definition: htmlstyle.h:58
@ STYLEID_BORDER_BOTTOM_STYLE
Definition: htmlstyle.h:49
@ STYLEID_BACKGROUND_ATTACHMENT
Definition: htmlstyle.h:39
@ STYLEID_VISIBILITY
Definition: htmlstyle.h:117
@ STYLEID_MAX_HEIGHT
Definition: htmlstyle.h:93
@ STYLEID_WIDTH
Definition: htmlstyle.h:119
@ STYLEID_FLOAT
Definition: htmlstyle.h:75
@ STYLEID_MARGIN_BOTTOM
Definition: htmlstyle.h:89
@ STYLEID_RIGHT
Definition: htmlstyle.h:109
@ STYLEID_BORDER_BOTTOM_COLOR
Definition: htmlstyle.h:48
@ STYLEID_PADDING_LEFT
Definition: htmlstyle.h:103
@ STYLEID_BORDER_LEFT
Definition: htmlstyle.h:52
@ STYLEID_BORDER_LEFT_WIDTH
Definition: htmlstyle.h:55
@ STYLEID_FONT_FAMILY
Definition: htmlstyle.h:76
@ STYLEID_BOTTOM
Definition: htmlstyle.h:66
@ STYLEID_MIN_HEIGHT
Definition: htmlstyle.h:95
@ STYLEID_Z_INDEX
Definition: htmlstyle.h:122
@ STYLEID_DIRECTION
Definition: htmlstyle.h:72
@ STYLEID_BORDER_LEFT_COLOR
Definition: htmlstyle.h:53
@ STYLEID_LINE_HEIGHT
Definition: htmlstyle.h:84
@ STYLEID_BACKGROUND_POSITION_Y
Definition: htmlstyle.h:44
@ STYLEID_WORD_WRAP
Definition: htmlstyle.h:121
@ STYLEID_PAGE_BREAK_BEFORE
Definition: htmlstyle.h:107
@ STYLEID_BORDER
Definition: htmlstyle.h:46
@ STYLEID_FONT_SIZE
Definition: htmlstyle.h:77
@ STYLEID_PADDING
Definition: htmlstyle.h:101
@ STYLEID_BORDER_STYLE
Definition: htmlstyle.h:60
@ STYLEID_LEFT
Definition: htmlstyle.h:82
@ STYLEID_BACKGROUND_COLOR
Definition: htmlstyle.h:40
HRESULT set_nsstyle_attr(nsIDOMCSSStyleDeclaration *, styleid_t, LPCWSTR, DWORD) DECLSPEC_HIDDEN
void HTMLStyle2_Init(HTMLStyle *) DECLSPEC_HIDDEN
Definition: htmlstyle2.c:620
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags) DECLSPEC_HIDDEN
Definition: htmlstyle.c:547
HRESULT HTMLStyle_Create(HTMLElement *, HTMLStyle **) DECLSPEC_HIDDEN
Definition: htmlstyle.c:3188
HRESULT get_nsstyle_attr(nsIDOMCSSStyleDeclaration *, styleid_t, BSTR *, DWORD) DECLSPEC_HIDDEN
Definition: htmlstyle.c:529
HRESULT get_elem_style(HTMLElement *, styleid_t, BSTR *) DECLSPEC_HIDDEN
Definition: htmlstyle.c:3219
void HTMLStyle3_Init(HTMLStyle *) DECLSPEC_HIDDEN
Definition: htmlstyle3.c:938
HRESULT set_elem_style(HTMLElement *, styleid_t, const WCHAR *) DECLSPEC_HIDDEN
Definition: htmlstyle.c:3233
HRESULT set_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *value, DWORD flags) DECLSPEC_HIDDEN
Definition: htmlstyle.c:447
long LONG
Definition: pedump.c:60
IHTMLStyle4 IHTMLStyle4_iface
Definition: htmlstyle.h:26
DispatchEx dispex
Definition: htmlstyle.h:22
LONG ref
Definition: htmlstyle.h:30
IHTMLStyle2 IHTMLStyle2_iface
Definition: htmlstyle.h:24
nsIDOMCSSStyleDeclaration * nsstyle
Definition: htmlstyle.h:32
IHTMLStyle IHTMLStyle_iface
Definition: htmlstyle.h:23
HTMLElement * elem
Definition: htmlstyle.h:33
IHTMLStyle3 IHTMLStyle3_iface
Definition: htmlstyle.h:25
IHTMLStyle6 IHTMLStyle6_iface
Definition: htmlstyle.h:28
IHTMLStyle5 IHTMLStyle5_iface
Definition: htmlstyle.h:27
Definition: pdh_main.c:94
__wchar_t WCHAR
Definition: xmlstorage.h:180
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185