ReactOS  0.4.14-dev-599-g2d4d3f5
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 
21 struct 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 */
37 typedef enum {
124 } styleid_t;
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
IHTMLStyle3 IHTMLStyle3_iface
Definition: htmlstyle.h:25
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags) DECLSPEC_HIDDEN
Definition: htmlstyle.c:547
void HTMLStyle3_Init(HTMLStyle *) DECLSPEC_HIDDEN
Definition: htmlstyle3.c:938
styleid_t
Definition: htmlstyle.h:37
FT_UInt sid
Definition: cffcmap.c:139
OLECHAR * BSTR
Definition: compat.h:1942
DispatchEx dispex
Definition: htmlstyle.h:22
HRESULT set_elem_style(HTMLElement *, styleid_t, const WCHAR *) DECLSPEC_HIDDEN
Definition: htmlstyle.c:3233
void HTMLStyle2_Init(HTMLStyle *) DECLSPEC_HIDDEN
Definition: htmlstyle2.c:620
IHTMLStyle6 IHTMLStyle6_iface
Definition: htmlstyle.h:28
long LONG
Definition: pedump.c:60
IHTMLStyle2 IHTMLStyle2_iface
Definition: htmlstyle.h:24
__wchar_t WCHAR
Definition: xmlstorage.h:180
IHTMLStyle5 IHTMLStyle5_iface
Definition: htmlstyle.h:27
LONG HRESULT
Definition: typedefs.h:77
unsigned long DWORD
Definition: ntddk_ex.h:95
nsIDOMCSSStyleDeclaration * nsstyle
Definition: htmlstyle.h:32
GLbitfield flags
Definition: glext.h:7161
LONG ref
Definition: htmlstyle.h:30
HRESULT set_nsstyle_attr(nsIDOMCSSStyleDeclaration *, styleid_t, LPCWSTR, DWORD) DECLSPEC_HIDDEN
HRESULT HTMLStyle_Create(HTMLElement *, HTMLStyle **) DECLSPEC_HIDDEN
Definition: htmlstyle.c:3188
#define DECLSPEC_HIDDEN
Definition: precomp.h:8
HRESULT set_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *value, DWORD flags) DECLSPEC_HIDDEN
Definition: htmlstyle.c:447
HRESULT get_nsstyle_attr(nsIDOMCSSStyleDeclaration *, styleid_t, BSTR *, DWORD) DECLSPEC_HIDDEN
Definition: htmlstyle.c:529
IHTMLStyle4 IHTMLStyle4_iface
Definition: htmlstyle.h:26
HTMLElement * elem
Definition: htmlstyle.h:33
HRESULT get_elem_style(HTMLElement *, styleid_t, BSTR *) DECLSPEC_HIDDEN
Definition: htmlstyle.c:3219
IHTMLStyle IHTMLStyle_iface
Definition: htmlstyle.h:23
GLfloat GLfloat p
Definition: glext.h:8902