2 * Copyright 2006 Jacek Caban for CodeWeavers
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.
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.
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
28 #include "mshtml_private.h"
29 #include "htmlstyle.h"
31 #include "wine/debug.h"
32 #include "wine/unicode.h"
34 WINE_DEFAULT_DEBUG_CHANNEL(mshtml
);
36 static const WCHAR attrBackground
[] =
37 {'b','a','c','k','g','r','o','u','n','d',0};
38 static const WCHAR attrBackgroundColor
[] =
39 {'b','a','c','k','g','r','o','u','n','d','-','c','o','l','o','r',0};
40 static const WCHAR attrBackgroundImage
[] =
41 {'b','a','c','k','g','r','o','u','n','d','-','i','m','a','g','e',0};
42 static const WCHAR attrBorder
[] =
43 {'b','o','r','d','e','r',0};
44 static const WCHAR attrBorderLeft
[] =
45 {'b','o','r','d','e','r','-','l','e','f','t',0};
46 static const WCHAR attrColor
[] =
47 {'c','o','l','o','r',0};
48 static const WCHAR attrDisplay
[] =
49 {'d','i','s','p','l','a','y',0};
50 static const WCHAR attrFontFamily
[] =
51 {'f','o','n','t','-','f','a','m','i','l','y',0};
52 static const WCHAR attrFontSize
[] =
53 {'f','o','n','t','-','s','i','z','e',0};
54 static const WCHAR attrFontStyle
[] =
55 {'f','o','n','t','-','s','t','y','l','e',0};
56 static const WCHAR attrFontWeight
[] =
57 {'f','o','n','t','-','w','e','i','g','h','t',0};
58 static const WCHAR attrMargin
[] =
59 {'m','a','r','g','i','n',0};
60 static const WCHAR attrMarginLeft
[] =
61 {'m','a','r','g','i','n','-','l','e','f','t',0};
62 static const WCHAR attrMarginRight
[] =
63 {'m','a','r','g','i','n','-','r','i','g','h','t',0};
64 static const WCHAR attrPaddingLeft
[] =
65 {'p','a','d','d','i','n','g','-','l','e','f','t',0};
66 static const WCHAR attrTextDecoration
[] =
67 {'t','e','x','t','-','d','e','c','o','r','a','t','i','o','n',0};
68 static const WCHAR attrVisibility
[] =
69 {'v','i','s','i','b','i','l','i','t','y',0};
70 static const WCHAR attrWidth
[] =
71 {'w','i','d','t','h',0};
73 static const LPCWSTR style_strings
[] = {
94 static const WCHAR valLineThrough
[] =
95 {'l','i','n','e','-','t','h','r','o','u','g','h',0};
96 static const WCHAR valUnderline
[] =
97 {'u','n','d','e','r','l','i','n','e',0};
99 static const WCHAR px_formatW
[] = {'%','d','p','x',0};
100 static const WCHAR emptyW
[] = {0};
102 static LPWSTR
fix_px_value(LPCWSTR val
)
107 while(*ptr
&& isspaceW(*ptr
))
112 while(*ptr
&& isdigitW(*ptr
))
115 if(!*ptr
|| isspaceW(*ptr
)) {
117 int len
= strlenW(val
)+1;
119 ret
= heap_alloc((len
+2)*sizeof(WCHAR
));
120 memcpy(ret
, val
, (ptr
-val
)*sizeof(WCHAR
));
126 TRACE("fixed %s -> %s\n", debugstr_w(val
), debugstr_w(ret
));
131 while(*ptr
&& !isspaceW(*ptr
))
138 static LPWSTR
fix_url_value(LPCWSTR val
)
142 static const WCHAR urlW
[] = {'u','r','l','('};
144 if(strncmpW(val
, urlW
, sizeof(urlW
)/sizeof(WCHAR
)) || !strchrW(val
, '\\'))
147 ret
= heap_strdupW(val
);
149 for(ptr
= ret
; *ptr
; ptr
++) {
157 #define ATTR_FIX_PX 1
158 #define ATTR_FIX_URL 2
160 static HRESULT
set_style_attr(HTMLStyle
*This
, styleid_t sid
, LPCWSTR value
, DWORD flags
)
162 nsAString str_name
, str_value
, str_empty
;
166 static const PRUnichar wszEmpty
[] = {0};
168 TRACE("(%p)->(%s %s)\n", This
, debugstr_w(style_strings
[sid
]), debugstr_w(value
));
170 if(flags
& ATTR_FIX_PX
)
171 val
= fix_px_value(value
);
172 if(flags
& ATTR_FIX_URL
)
173 val
= fix_url_value(value
);
175 nsAString_Init(&str_name
, style_strings
[sid
]);
176 nsAString_Init(&str_value
, val
? val
: value
);
177 nsAString_Init(&str_empty
, wszEmpty
);
180 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(This
->nsstyle
, &str_name
, &str_value
, &str_empty
);
182 ERR("SetProperty failed: %08x\n", nsres
);
184 nsAString_Finish(&str_name
);
185 nsAString_Finish(&str_value
);
186 nsAString_Finish(&str_empty
);
191 static HRESULT
get_nsstyle_attr_nsval(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, nsAString
*value
)
196 nsAString_Init(&str_name
, style_strings
[sid
]);
198 nsres
= nsIDOMCSSStyleDeclaration_GetPropertyValue(nsstyle
, &str_name
, value
);
199 if(NS_FAILED(nsres
)) {
200 ERR("SetProperty failed: %08x\n", nsres
);
204 nsAString_Finish(&str_name
);
209 HRESULT
get_nsstyle_attr(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, BSTR
*p
)
212 const PRUnichar
*value
;
214 nsAString_Init(&str_value
, NULL
);
216 get_nsstyle_attr_nsval(nsstyle
, sid
, &str_value
);
218 nsAString_GetData(&str_value
, &value
);
219 *p
= *value
? SysAllocString(value
) : NULL
;
221 nsAString_Finish(&str_value
);
223 TRACE("%s -> %s\n", debugstr_w(style_strings
[sid
]), debugstr_w(*p
));
227 static inline HRESULT
get_style_attr(HTMLStyle
*This
, styleid_t sid
, BSTR
*p
)
229 return get_nsstyle_attr(This
->nsstyle
, sid
, p
);
232 static HRESULT
check_style_attr_value(HTMLStyle
*This
, styleid_t sid
, LPCWSTR exval
, VARIANT_BOOL
*p
)
235 const PRUnichar
*value
;
237 nsAString_Init(&str_value
, NULL
);
239 get_nsstyle_attr_nsval(This
->nsstyle
, sid
, &str_value
);
241 nsAString_GetData(&str_value
, &value
);
242 *p
= strcmpW(value
, exval
) ? VARIANT_FALSE
: VARIANT_TRUE
;
243 nsAString_Finish(&str_value
);
245 TRACE("%s -> %x\n", debugstr_w(style_strings
[sid
]), *p
);
249 #define HTMLSTYLE_THIS(iface) DEFINE_THIS(HTMLStyle, HTMLStyle, iface)
251 static HRESULT WINAPI
HTMLStyle_QueryInterface(IHTMLStyle
*iface
, REFIID riid
, void **ppv
)
253 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
257 if(IsEqualGUID(&IID_IUnknown
, riid
)) {
258 TRACE("(%p)->(IID_IUnknown %p)\n", This
, ppv
);
259 *ppv
= HTMLSTYLE(This
);
260 }else if(IsEqualGUID(&IID_IHTMLStyle
, riid
)) {
261 TRACE("(%p)->(IID_IHTMLStyle %p)\n", This
, ppv
);
262 *ppv
= HTMLSTYLE(This
);
263 }else if(IsEqualGUID(&IID_IHTMLStyle2
, riid
)) {
264 TRACE("(%p)->(IID_IHTMLStyle2 %p)\n", This
, ppv
);
265 *ppv
= HTMLSTYLE2(This
);
266 }else if(dispex_query_interface(&This
->dispex
, riid
, ppv
)) {
267 return *ppv
? S_OK
: E_NOINTERFACE
;
271 IUnknown_AddRef((IUnknown
*)*ppv
);
275 WARN("unsupported %s\n", debugstr_guid(riid
));
276 return E_NOINTERFACE
;
279 static ULONG WINAPI
HTMLStyle_AddRef(IHTMLStyle
*iface
)
281 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
282 LONG ref
= InterlockedIncrement(&This
->ref
);
284 TRACE("(%p) ref=%d\n", This
, ref
);
289 static ULONG WINAPI
HTMLStyle_Release(IHTMLStyle
*iface
)
291 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
292 LONG ref
= InterlockedDecrement(&This
->ref
);
294 TRACE("(%p) ref=%d\n", This
, ref
);
298 nsIDOMCSSStyleDeclaration_Release(This
->nsstyle
);
305 static HRESULT WINAPI
HTMLStyle_GetTypeInfoCount(IHTMLStyle
*iface
, UINT
*pctinfo
)
307 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
308 return IDispatchEx_GetTypeInfoCount(DISPATCHEX(&This
->dispex
), pctinfo
);
311 static HRESULT WINAPI
HTMLStyle_GetTypeInfo(IHTMLStyle
*iface
, UINT iTInfo
,
312 LCID lcid
, ITypeInfo
**ppTInfo
)
314 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
315 return IDispatchEx_GetTypeInfo(DISPATCHEX(&This
->dispex
), iTInfo
, lcid
, ppTInfo
);
318 static HRESULT WINAPI
HTMLStyle_GetIDsOfNames(IHTMLStyle
*iface
, REFIID riid
,
319 LPOLESTR
*rgszNames
, UINT cNames
,
320 LCID lcid
, DISPID
*rgDispId
)
322 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
323 return IDispatchEx_GetIDsOfNames(DISPATCHEX(&This
->dispex
), riid
, rgszNames
, cNames
, lcid
, rgDispId
);
326 static HRESULT WINAPI
HTMLStyle_Invoke(IHTMLStyle
*iface
, DISPID dispIdMember
,
327 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
328 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
330 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
331 return IDispatchEx_Invoke(DISPATCHEX(&This
->dispex
), dispIdMember
, riid
, lcid
,
332 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
335 static HRESULT WINAPI
HTMLStyle_put_fontFamily(IHTMLStyle
*iface
, BSTR v
)
337 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
339 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
341 return set_style_attr(This
, STYLEID_FONT_FAMILY
, v
, 0);
344 static HRESULT WINAPI
HTMLStyle_get_fontFamily(IHTMLStyle
*iface
, BSTR
*p
)
346 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
348 TRACE("(%p)->(%p)\n", This
, p
);
350 return get_style_attr(This
, STYLEID_FONT_FAMILY
, p
);
353 static HRESULT WINAPI
HTMLStyle_put_fontStyle(IHTMLStyle
*iface
, BSTR v
)
355 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
356 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
360 static HRESULT WINAPI
HTMLStyle_get_fontStyle(IHTMLStyle
*iface
, BSTR
*p
)
362 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
364 TRACE("(%p)->(%p)\n", This
, p
);
366 return get_style_attr(This
, STYLEID_FONT_STYLE
, p
);
369 static HRESULT WINAPI
HTMLStyle_put_fontVariant(IHTMLStyle
*iface
, BSTR v
)
371 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
372 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
376 static HRESULT WINAPI
HTMLStyle_get_fontVariant(IHTMLStyle
*iface
, BSTR
*p
)
378 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
379 FIXME("(%p)->(%p)\n", This
, p
);
383 static HRESULT WINAPI
HTMLStyle_put_fontWeight(IHTMLStyle
*iface
, BSTR v
)
385 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
386 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
390 static HRESULT WINAPI
HTMLStyle_get_fontWeight(IHTMLStyle
*iface
, BSTR
*p
)
392 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
394 TRACE("(%p)->(%p)\n", This
, p
);
396 return get_style_attr(This
, STYLEID_FONT_WEIGHT
, p
);
399 static HRESULT WINAPI
HTMLStyle_put_fontSize(IHTMLStyle
*iface
, VARIANT v
)
401 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
403 TRACE("(%p)->(v%d)\n", This
, V_VT(&v
));
407 return set_style_attr(This
, STYLEID_FONT_SIZE
, V_BSTR(&v
), 0);
409 FIXME("not supported vt %d\n", V_VT(&v
));
415 static HRESULT WINAPI
HTMLStyle_get_fontSize(IHTMLStyle
*iface
, VARIANT
*p
)
417 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
419 TRACE("(%p)->(%p)\n", This
, p
);
422 return get_style_attr(This
, STYLEID_FONT_SIZE
, &V_BSTR(p
));
425 static HRESULT WINAPI
HTMLStyle_put_font(IHTMLStyle
*iface
, BSTR v
)
427 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
428 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
432 static HRESULT WINAPI
HTMLStyle_get_font(IHTMLStyle
*iface
, BSTR
*p
)
434 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
435 FIXME("(%p)->(%p)\n", This
, p
);
439 static HRESULT WINAPI
HTMLStyle_put_color(IHTMLStyle
*iface
, VARIANT v
)
441 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
443 TRACE("(%p)->(v%d)\n", This
, V_VT(&v
));
447 TRACE("%s\n", debugstr_w(V_BSTR(&v
)));
448 return set_style_attr(This
, STYLEID_COLOR
, V_BSTR(&v
), 0);
451 FIXME("unsupported vt=%d\n", V_VT(&v
));
457 static HRESULT WINAPI
HTMLStyle_get_color(IHTMLStyle
*iface
, VARIANT
*p
)
459 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
461 TRACE("(%p)->(%p)\n", This
, p
);
464 return get_style_attr(This
, STYLEID_COLOR
, &V_BSTR(p
));
467 static HRESULT WINAPI
HTMLStyle_put_background(IHTMLStyle
*iface
, BSTR v
)
469 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
471 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
473 return set_style_attr(This
, STYLEID_BACKGROUND
, v
, 0);
476 static HRESULT WINAPI
HTMLStyle_get_background(IHTMLStyle
*iface
, BSTR
*p
)
478 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
480 TRACE("(%p)->(%p)\n", This
, p
);
482 return get_style_attr(This
, STYLEID_BACKGROUND
, p
);
485 static HRESULT WINAPI
HTMLStyle_put_backgroundColor(IHTMLStyle
*iface
, VARIANT v
)
487 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
489 TRACE("(%p)->(v%d)\n", This
, V_VT(&v
));
493 return set_style_attr(This
, STYLEID_BACKGROUND_COLOR
, V_BSTR(&v
), 0);
496 static const WCHAR format
[] = {'#','%','0','6','x',0};
498 wsprintfW(value
, format
, V_I4(&v
));
499 return set_style_attr(This
, STYLEID_BACKGROUND_COLOR
, value
, 0);
502 FIXME("unsupported vt %d\n", V_VT(&v
));
508 static HRESULT WINAPI
HTMLStyle_get_backgroundColor(IHTMLStyle
*iface
, VARIANT
*p
)
510 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
511 FIXME("(%p)->(%p)\n", This
, p
);
515 static HRESULT WINAPI
HTMLStyle_put_backgroundImage(IHTMLStyle
*iface
, BSTR v
)
517 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
519 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
521 return set_style_attr(This
, STYLEID_BACKGROUND_IMAGE
, v
, ATTR_FIX_URL
);
524 static HRESULT WINAPI
HTMLStyle_get_backgroundImage(IHTMLStyle
*iface
, BSTR
*p
)
526 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
527 FIXME("(%p)->(%p)\n", This
, p
);
531 static HRESULT WINAPI
HTMLStyle_put_backgroundRepeat(IHTMLStyle
*iface
, BSTR v
)
533 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
534 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
538 static HRESULT WINAPI
HTMLStyle_get_backgroundRepeat(IHTMLStyle
*iface
, BSTR
*p
)
540 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
541 FIXME("(%p)->(%p)\n", This
, p
);
545 static HRESULT WINAPI
HTMLStyle_put_backgroundAttachment(IHTMLStyle
*iface
, BSTR v
)
547 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
548 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
552 static HRESULT WINAPI
HTMLStyle_get_backgroundAttachment(IHTMLStyle
*iface
, BSTR
*p
)
554 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
555 FIXME("(%p)->(%p)\n", This
, p
);
559 static HRESULT WINAPI
HTMLStyle_put_backgroundPosition(IHTMLStyle
*iface
, BSTR v
)
561 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
562 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
566 static HRESULT WINAPI
HTMLStyle_get_backgroundPosition(IHTMLStyle
*iface
, BSTR
*p
)
568 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
569 FIXME("(%p)->(%p)\n", This
, p
);
573 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionX(IHTMLStyle
*iface
, VARIANT v
)
575 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
576 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
580 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionX(IHTMLStyle
*iface
, VARIANT
*p
)
582 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
583 FIXME("(%p)->(%p)\n", This
, p
);
587 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionY(IHTMLStyle
*iface
, VARIANT v
)
589 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
590 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
594 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionY(IHTMLStyle
*iface
, VARIANT
*p
)
596 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
597 FIXME("(%p)->(%p)\n", This
, p
);
601 static HRESULT WINAPI
HTMLStyle_put_wordSpacing(IHTMLStyle
*iface
, VARIANT v
)
603 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
604 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
608 static HRESULT WINAPI
HTMLStyle_get_wordSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
610 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
611 FIXME("(%p)->(%p)\n", This
, p
);
615 static HRESULT WINAPI
HTMLStyle_put_letterSpacing(IHTMLStyle
*iface
, VARIANT v
)
617 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
618 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
622 static HRESULT WINAPI
HTMLStyle_get_letterSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
624 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
625 FIXME("(%p)->(%p)\n", This
, p
);
629 static HRESULT WINAPI
HTMLStyle_put_textDecoration(IHTMLStyle
*iface
, BSTR v
)
631 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
632 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
636 static HRESULT WINAPI
HTMLStyle_get_textDecoration(IHTMLStyle
*iface
, BSTR
*p
)
638 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
640 TRACE("(%p)->(%p)\n", This
, p
);
642 return get_style_attr(This
, STYLEID_TEXT_DECORATION
, p
);
645 static HRESULT WINAPI
HTMLStyle_put_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL v
)
647 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
648 FIXME("(%p)->(%x)\n", This
, v
);
652 static HRESULT WINAPI
HTMLStyle_get_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
654 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
655 FIXME("(%p)->(%p)\n", This
, p
);
659 static HRESULT WINAPI
HTMLStyle_put_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
661 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
662 FIXME("(%p)->(%x)\n", This
, v
);
666 static HRESULT WINAPI
HTMLStyle_get_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
668 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
670 TRACE("(%p)->(%p)\n", This
, p
);
672 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, valUnderline
, p
);
675 static HRESULT WINAPI
HTMLStyle_put_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
677 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
678 FIXME("(%p)->(%x)\n", This
, v
);
682 static HRESULT WINAPI
HTMLStyle_get_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
684 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
685 FIXME("(%p)->(%p)\n", This
, p
);
689 static HRESULT WINAPI
HTMLStyle_put_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL v
)
691 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
692 FIXME("(%p)->(%x)\n", This
, v
);
696 static HRESULT WINAPI
HTMLStyle_get_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
698 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
700 TRACE("(%p)->(%p)\n", This
, p
);
702 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, valLineThrough
, p
);
705 static HRESULT WINAPI
HTMLStyle_put_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL v
)
707 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
708 FIXME("(%p)->(%x)\n", This
, v
);
712 static HRESULT WINAPI
HTMLStyle_get_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
714 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
715 FIXME("(%p)->(%p)\n", This
, p
);
719 static HRESULT WINAPI
HTMLStyle_put_verticalAlign(IHTMLStyle
*iface
, VARIANT v
)
721 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
722 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
726 static HRESULT WINAPI
HTMLStyle_get_verticalAlign(IHTMLStyle
*iface
, VARIANT
*p
)
728 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
729 FIXME("(%p)->(%p)\n", This
, p
);
733 static HRESULT WINAPI
HTMLStyle_put_textTransform(IHTMLStyle
*iface
, BSTR v
)
735 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
736 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
740 static HRESULT WINAPI
HTMLStyle_get_textTransform(IHTMLStyle
*iface
, BSTR
*p
)
742 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
743 FIXME("(%p)->(%p)\n", This
, p
);
747 static HRESULT WINAPI
HTMLStyle_put_textAlign(IHTMLStyle
*iface
, BSTR v
)
749 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
750 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
754 static HRESULT WINAPI
HTMLStyle_get_textAlign(IHTMLStyle
*iface
, BSTR
*p
)
756 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
757 FIXME("(%p)->(%p)\n", This
, p
);
761 static HRESULT WINAPI
HTMLStyle_put_textIndent(IHTMLStyle
*iface
, VARIANT v
)
763 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
764 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
768 static HRESULT WINAPI
HTMLStyle_get_textIndent(IHTMLStyle
*iface
, VARIANT
*p
)
770 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
771 FIXME("(%p)->(%p)\n", This
, p
);
775 static HRESULT WINAPI
HTMLStyle_put_lineHeight(IHTMLStyle
*iface
, VARIANT v
)
777 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
778 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
782 static HRESULT WINAPI
HTMLStyle_get_lineHeight(IHTMLStyle
*iface
, VARIANT
*p
)
784 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
785 FIXME("(%p)->(%p)\n", This
, p
);
789 static HRESULT WINAPI
HTMLStyle_put_marginTop(IHTMLStyle
*iface
, VARIANT v
)
791 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
792 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
796 static HRESULT WINAPI
HTMLStyle_get_marginTop(IHTMLStyle
*iface
, VARIANT
*p
)
798 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
799 FIXME("(%p)->(%p)\n", This
, p
);
803 static HRESULT WINAPI
HTMLStyle_put_marginRight(IHTMLStyle
*iface
, VARIANT v
)
805 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
807 TRACE("(%p)->(v(%d))\n", This
, V_VT(&v
));
811 return set_style_attr(This
, STYLEID_MARGIN_RIGHT
, emptyW
, 0);
815 wsprintfW(buf
, px_formatW
, V_I4(&v
));
816 return set_style_attr(This
, STYLEID_MARGIN_RIGHT
, buf
, 0);
819 return set_style_attr(This
, STYLEID_MARGIN_RIGHT
, V_BSTR(&v
), 0);
821 FIXME("Unsupported vt=%d\n", V_VT(&v
));
827 static HRESULT WINAPI
HTMLStyle_get_marginRight(IHTMLStyle
*iface
, VARIANT
*p
)
829 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
830 FIXME("(%p)->(%p)\n", This
, p
);
834 static HRESULT WINAPI
HTMLStyle_put_marginBottom(IHTMLStyle
*iface
, VARIANT v
)
836 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
837 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
841 static HRESULT WINAPI
HTMLStyle_get_marginBottom(IHTMLStyle
*iface
, VARIANT
*p
)
843 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
844 FIXME("(%p)->(%p)\n", This
, p
);
848 static HRESULT WINAPI
HTMLStyle_put_marginLeft(IHTMLStyle
*iface
, VARIANT v
)
850 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
854 TRACE("(%p)->(NULL)\n", This
);
855 return set_style_attr(This
, STYLEID_MARGIN_LEFT
, emptyW
, 0);
859 TRACE("(%p)->(%d)\n", This
, V_I4(&v
));
861 wsprintfW(buf
, px_formatW
, V_I4(&v
));
862 return set_style_attr(This
, STYLEID_MARGIN_LEFT
, buf
, 0);
865 TRACE("(%p)->(%s)\n", This
, debugstr_w(V_BSTR(&v
)));
866 return set_style_attr(This
, STYLEID_MARGIN_LEFT
, V_BSTR(&v
), 0);
868 FIXME("Unsupported vt=%d\n", V_VT(&v
));
874 static HRESULT WINAPI
HTMLStyle_put_margin(IHTMLStyle
*iface
, BSTR v
)
876 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
878 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
880 return set_style_attr(This
, STYLEID_MARGIN
, v
, 0);
883 static HRESULT WINAPI
HTMLStyle_get_margin(IHTMLStyle
*iface
, BSTR
*p
)
885 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
887 TRACE("(%p)->(%p)\n", This
, p
);
889 return get_style_attr(This
, STYLEID_MARGIN
, p
);
892 static HRESULT WINAPI
HTMLStyle_get_marginLeft(IHTMLStyle
*iface
, VARIANT
*p
)
894 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
895 FIXME("(%p)->(%p)\n", This
, p
);
899 static HRESULT WINAPI
HTMLStyle_put_paddingTop(IHTMLStyle
*iface
, VARIANT v
)
901 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
902 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
906 static HRESULT WINAPI
HTMLStyle_get_paddingTop(IHTMLStyle
*iface
, VARIANT
*p
)
908 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
909 FIXME("(%p)->(%p)\n", This
, p
);
913 static HRESULT WINAPI
HTMLStyle_put_paddingRight(IHTMLStyle
*iface
, VARIANT v
)
915 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
916 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
920 static HRESULT WINAPI
HTMLStyle_get_paddingRight(IHTMLStyle
*iface
, VARIANT
*p
)
922 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
923 FIXME("(%p)->(%p)\n", This
, p
);
927 static HRESULT WINAPI
HTMLStyle_put_paddingBottom(IHTMLStyle
*iface
, VARIANT v
)
929 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
930 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
934 static HRESULT WINAPI
HTMLStyle_get_paddingBottom(IHTMLStyle
*iface
, VARIANT
*p
)
936 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
937 FIXME("(%p)->(%p)\n", This
, p
);
941 static HRESULT WINAPI
HTMLStyle_put_paddingLeft(IHTMLStyle
*iface
, VARIANT v
)
943 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
945 TRACE("(%p)->(vt=%d)\n", This
, V_VT(&v
));
951 wsprintfW(buf
, px_formatW
, V_I4(&v
));
952 return set_style_attr(This
, STYLEID_PADDING_LEFT
, buf
, 0);
955 return set_style_attr(This
, STYLEID_PADDING_LEFT
, V_BSTR(&v
), 0);
957 FIXME("unsupported vt=%d\n", V_VT(&v
));
963 static HRESULT WINAPI
HTMLStyle_get_paddingLeft(IHTMLStyle
*iface
, VARIANT
*p
)
965 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
966 FIXME("(%p)->(%p)\n", This
, p
);
970 static HRESULT WINAPI
HTMLStyle_put_padding(IHTMLStyle
*iface
, BSTR v
)
972 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
973 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
977 static HRESULT WINAPI
HTMLStyle_get_padding(IHTMLStyle
*iface
, BSTR
*p
)
979 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
980 FIXME("(%p)->(%p)\n", This
, p
);
984 static HRESULT WINAPI
HTMLStyle_put_border(IHTMLStyle
*iface
, BSTR v
)
986 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
988 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
990 return set_style_attr(This
, STYLEID_BORDER
, v
, 0);
993 static HRESULT WINAPI
HTMLStyle_get_border(IHTMLStyle
*iface
, BSTR
*p
)
995 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
997 TRACE("(%p)->(%p)\n", This
, p
);
999 return get_style_attr(This
, STYLEID_BORDER
, p
);
1002 static HRESULT WINAPI
HTMLStyle_put_borderTop(IHTMLStyle
*iface
, BSTR v
)
1004 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1005 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1009 static HRESULT WINAPI
HTMLStyle_get_borderTop(IHTMLStyle
*iface
, BSTR
*p
)
1011 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1012 FIXME("(%p)->(%p)\n", This
, p
);
1016 static HRESULT WINAPI
HTMLStyle_put_borderRight(IHTMLStyle
*iface
, BSTR v
)
1018 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1019 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1023 static HRESULT WINAPI
HTMLStyle_get_borderRight(IHTMLStyle
*iface
, BSTR
*p
)
1025 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1026 FIXME("(%p)->(%p)\n", This
, p
);
1030 static HRESULT WINAPI
HTMLStyle_put_borderBottom(IHTMLStyle
*iface
, BSTR v
)
1032 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1033 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1037 static HRESULT WINAPI
HTMLStyle_get_borderBottom(IHTMLStyle
*iface
, BSTR
*p
)
1039 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1040 FIXME("(%p)->(%p)\n", This
, p
);
1044 static HRESULT WINAPI
HTMLStyle_put_borderLeft(IHTMLStyle
*iface
, BSTR v
)
1046 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1048 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1050 return set_style_attr(This
, STYLEID_BORDER_LEFT
, v
, ATTR_FIX_PX
);
1053 static HRESULT WINAPI
HTMLStyle_get_borderLeft(IHTMLStyle
*iface
, BSTR
*p
)
1055 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1056 FIXME("(%p)->(%p)\n", This
, p
);
1060 static HRESULT WINAPI
HTMLStyle_put_borderColor(IHTMLStyle
*iface
, BSTR v
)
1062 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1063 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1067 static HRESULT WINAPI
HTMLStyle_get_borderColor(IHTMLStyle
*iface
, BSTR
*p
)
1069 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1070 FIXME("(%p)->(%p)\n", This
, p
);
1074 static HRESULT WINAPI
HTMLStyle_put_borderTopColor(IHTMLStyle
*iface
, VARIANT v
)
1076 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1077 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1081 static HRESULT WINAPI
HTMLStyle_get_borderTopColor(IHTMLStyle
*iface
, VARIANT
*p
)
1083 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1084 FIXME("(%p)->(%p)\n", This
, p
);
1088 static HRESULT WINAPI
HTMLStyle_put_borderRightColor(IHTMLStyle
*iface
, VARIANT v
)
1090 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1091 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1095 static HRESULT WINAPI
HTMLStyle_get_borderRightColor(IHTMLStyle
*iface
, VARIANT
*p
)
1097 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1098 FIXME("(%p)->(%p)\n", This
, p
);
1102 static HRESULT WINAPI
HTMLStyle_put_borderBottomColor(IHTMLStyle
*iface
, VARIANT v
)
1104 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1105 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1109 static HRESULT WINAPI
HTMLStyle_get_borderBottomColor(IHTMLStyle
*iface
, VARIANT
*p
)
1111 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1112 FIXME("(%p)->(%p)\n", This
, p
);
1116 static HRESULT WINAPI
HTMLStyle_put_borderLeftColor(IHTMLStyle
*iface
, VARIANT v
)
1118 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1119 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1123 static HRESULT WINAPI
HTMLStyle_get_borderLeftColor(IHTMLStyle
*iface
, VARIANT
*p
)
1125 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1126 FIXME("(%p)->(%p)\n", This
, p
);
1130 static HRESULT WINAPI
HTMLStyle_put_borderWidth(IHTMLStyle
*iface
, BSTR v
)
1132 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1133 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1137 static HRESULT WINAPI
HTMLStyle_get_borderWidth(IHTMLStyle
*iface
, BSTR
*p
)
1139 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1140 FIXME("(%p)->(%p)\n", This
, p
);
1144 static HRESULT WINAPI
HTMLStyle_put_borderTopWidth(IHTMLStyle
*iface
, VARIANT v
)
1146 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1147 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1151 static HRESULT WINAPI
HTMLStyle_get_borderTopWidth(IHTMLStyle
*iface
, VARIANT
*p
)
1153 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1154 FIXME("(%p)->(%p)\n", This
, p
);
1158 static HRESULT WINAPI
HTMLStyle_put_borderRightWidth(IHTMLStyle
*iface
, VARIANT v
)
1160 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1161 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1165 static HRESULT WINAPI
HTMLStyle_get_borderRightWidth(IHTMLStyle
*iface
, VARIANT
*p
)
1167 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1168 FIXME("(%p)->(%p)\n", This
, p
);
1172 static HRESULT WINAPI
HTMLStyle_put_borderBottomWidth(IHTMLStyle
*iface
, VARIANT v
)
1174 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1175 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1179 static HRESULT WINAPI
HTMLStyle_get_borderBottomWidth(IHTMLStyle
*iface
, VARIANT
*p
)
1181 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1182 FIXME("(%p)->(%p)\n", This
, p
);
1186 static HRESULT WINAPI
HTMLStyle_put_borderLeftWidth(IHTMLStyle
*iface
, VARIANT v
)
1188 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1189 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1193 static HRESULT WINAPI
HTMLStyle_get_borderLeftWidth(IHTMLStyle
*iface
, VARIANT
*p
)
1195 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1196 FIXME("(%p)->(%p)\n", This
, p
);
1200 static HRESULT WINAPI
HTMLStyle_put_borderStyle(IHTMLStyle
*iface
, BSTR v
)
1202 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1203 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1207 static HRESULT WINAPI
HTMLStyle_get_borderStyle(IHTMLStyle
*iface
, BSTR
*p
)
1209 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1210 FIXME("(%p)->(%p)\n", This
, p
);
1214 static HRESULT WINAPI
HTMLStyle_put_borderTopStyle(IHTMLStyle
*iface
, BSTR v
)
1216 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1217 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1221 static HRESULT WINAPI
HTMLStyle_get_borderTopStyle(IHTMLStyle
*iface
, BSTR
*p
)
1223 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1224 FIXME("(%p)->(%p)\n", This
, p
);
1228 static HRESULT WINAPI
HTMLStyle_put_borderRightStyle(IHTMLStyle
*iface
, BSTR v
)
1230 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1231 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1235 static HRESULT WINAPI
HTMLStyle_get_borderRightStyle(IHTMLStyle
*iface
, BSTR
*p
)
1237 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1238 FIXME("(%p)->(%p)\n", This
, p
);
1242 static HRESULT WINAPI
HTMLStyle_put_borderBottomStyle(IHTMLStyle
*iface
, BSTR v
)
1244 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1245 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1249 static HRESULT WINAPI
HTMLStyle_get_borderBottomStyle(IHTMLStyle
*iface
, BSTR
*p
)
1251 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1252 FIXME("(%p)->(%p)\n", This
, p
);
1256 static HRESULT WINAPI
HTMLStyle_put_borderLeftStyle(IHTMLStyle
*iface
, BSTR v
)
1258 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1259 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1263 static HRESULT WINAPI
HTMLStyle_get_borderLeftStyle(IHTMLStyle
*iface
, BSTR
*p
)
1265 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1266 FIXME("(%p)->(%p)\n", This
, p
);
1270 static HRESULT WINAPI
HTMLStyle_put_width(IHTMLStyle
*iface
, VARIANT v
)
1272 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1274 TRACE("(%p)->(v%d)\n", This
, V_VT(&v
));
1278 TRACE("%s\n", debugstr_w(V_BSTR(&v
)));
1279 return set_style_attr(This
, STYLEID_WIDTH
, V_BSTR(&v
), 0);
1281 FIXME("unsupported vt %d\n", V_VT(&v
));
1287 static HRESULT WINAPI
HTMLStyle_get_width(IHTMLStyle
*iface
, VARIANT
*p
)
1289 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1291 TRACE("(%p)->(%p)\n", This
, p
);
1294 return get_style_attr(This
, STYLEID_WIDTH
, &V_BSTR(p
));
1297 static HRESULT WINAPI
HTMLStyle_put_height(IHTMLStyle
*iface
, VARIANT v
)
1299 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1300 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1304 static HRESULT WINAPI
HTMLStyle_get_height(IHTMLStyle
*iface
, VARIANT
*p
)
1306 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1307 FIXME("(%p)->(%p)\n", This
, p
);
1311 static HRESULT WINAPI
HTMLStyle_put_styleFloat(IHTMLStyle
*iface
, BSTR v
)
1313 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1314 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1318 static HRESULT WINAPI
HTMLStyle_get_styleFloat(IHTMLStyle
*iface
, BSTR
*p
)
1320 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1321 FIXME("(%p)->(%p)\n", This
, p
);
1325 static HRESULT WINAPI
HTMLStyle_put_clear(IHTMLStyle
*iface
, BSTR v
)
1327 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1328 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1332 static HRESULT WINAPI
HTMLStyle_get_clear(IHTMLStyle
*iface
, BSTR
*p
)
1334 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1335 FIXME("(%p)->(%p)\n", This
, p
);
1339 static HRESULT WINAPI
HTMLStyle_put_display(IHTMLStyle
*iface
, BSTR v
)
1341 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1343 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1345 return set_style_attr(This
, STYLEID_DISPLAY
, v
, 0);
1348 static HRESULT WINAPI
HTMLStyle_get_display(IHTMLStyle
*iface
, BSTR
*p
)
1350 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1352 TRACE("(%p)->(%p)\n", This
, p
);
1354 return get_style_attr(This
, STYLEID_DISPLAY
, p
);
1357 static HRESULT WINAPI
HTMLStyle_put_visibility(IHTMLStyle
*iface
, BSTR v
)
1359 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1361 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1363 return set_style_attr(This
, STYLEID_VISIBILITY
, v
, 0);
1366 static HRESULT WINAPI
HTMLStyle_get_visibility(IHTMLStyle
*iface
, BSTR
*p
)
1368 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1370 TRACE("(%p)->(%p)\n", This
, p
);
1372 return get_style_attr(This
, STYLEID_VISIBILITY
, p
);
1375 static HRESULT WINAPI
HTMLStyle_put_listStyleType(IHTMLStyle
*iface
, BSTR v
)
1377 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1378 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1382 static HRESULT WINAPI
HTMLStyle_get_listStyleType(IHTMLStyle
*iface
, BSTR
*p
)
1384 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1385 FIXME("(%p)->(%p)\n", This
, p
);
1389 static HRESULT WINAPI
HTMLStyle_put_listStylePosition(IHTMLStyle
*iface
, BSTR v
)
1391 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1392 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1396 static HRESULT WINAPI
HTMLStyle_get_listStylePosition(IHTMLStyle
*iface
, BSTR
*p
)
1398 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1399 FIXME("(%p)->(%p)\n", This
, p
);
1403 static HRESULT WINAPI
HTMLStyle_put_listStyleImage(IHTMLStyle
*iface
, BSTR v
)
1405 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1406 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1410 static HRESULT WINAPI
HTMLStyle_get_listStyleImage(IHTMLStyle
*iface
, BSTR
*p
)
1412 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1413 FIXME("(%p)->(%p)\n", This
, p
);
1417 static HRESULT WINAPI
HTMLStyle_put_listStyle(IHTMLStyle
*iface
, BSTR v
)
1419 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1420 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1424 static HRESULT WINAPI
HTMLStyle_get_listStyle(IHTMLStyle
*iface
, BSTR
*p
)
1426 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1427 FIXME("(%p)->(%p)\n", This
, p
);
1431 static HRESULT WINAPI
HTMLStyle_put_whiteSpace(IHTMLStyle
*iface
, BSTR v
)
1433 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1434 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1438 static HRESULT WINAPI
HTMLStyle_get_whiteSpace(IHTMLStyle
*iface
, BSTR
*p
)
1440 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1441 FIXME("(%p)->(%p)\n", This
, p
);
1445 static HRESULT WINAPI
HTMLStyle_put_top(IHTMLStyle
*iface
, VARIANT v
)
1447 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1448 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1452 static HRESULT WINAPI
HTMLStyle_get_top(IHTMLStyle
*iface
, VARIANT
*p
)
1454 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1455 FIXME("(%p)->(%p)\n", This
, p
);
1459 static HRESULT WINAPI
HTMLStyle_put_left(IHTMLStyle
*iface
, VARIANT v
)
1461 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1462 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1466 static HRESULT WINAPI
HTMLStyle_get_left(IHTMLStyle
*iface
, VARIANT
*p
)
1468 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1469 FIXME("(%p)->(%p)\n", This
, p
);
1473 static HRESULT WINAPI
HTMLStyle_get_position(IHTMLStyle
*iface
, BSTR
*p
)
1475 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1476 FIXME("(%p)->(%p)\n", This
, p
);
1480 static HRESULT WINAPI
HTMLStyle_put_zIndex(IHTMLStyle
*iface
, VARIANT v
)
1482 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1483 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1487 static HRESULT WINAPI
HTMLStyle_get_zIndex(IHTMLStyle
*iface
, VARIANT
*p
)
1489 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1490 FIXME("(%p)->(%p)\n", This
, p
);
1494 static HRESULT WINAPI
HTMLStyle_put_overflow(IHTMLStyle
*iface
, BSTR v
)
1496 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1497 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1501 static HRESULT WINAPI
HTMLStyle_get_overflow(IHTMLStyle
*iface
, BSTR
*p
)
1503 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1504 FIXME("(%p)->(%p)\n", This
, p
);
1508 static HRESULT WINAPI
HTMLStyle_put_pageBreakBefore(IHTMLStyle
*iface
, BSTR v
)
1510 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1511 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1515 static HRESULT WINAPI
HTMLStyle_get_pageBreakBefore(IHTMLStyle
*iface
, BSTR
*p
)
1517 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1518 FIXME("(%p)->(%p)\n", This
, p
);
1522 static HRESULT WINAPI
HTMLStyle_put_pageBreakAfter(IHTMLStyle
*iface
, BSTR v
)
1524 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1525 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1529 static HRESULT WINAPI
HTMLStyle_get_pageBreakAfter(IHTMLStyle
*iface
, BSTR
*p
)
1531 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1532 FIXME("(%p)->(%p)\n", This
, p
);
1536 static HRESULT WINAPI
HTMLStyle_put_cssText(IHTMLStyle
*iface
, BSTR v
)
1538 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1539 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1543 static HRESULT WINAPI
HTMLStyle_get_cssText(IHTMLStyle
*iface
, BSTR
*p
)
1545 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1546 FIXME("(%p)->(%p)\n", This
, p
);
1550 static HRESULT WINAPI
HTMLStyle_put_pixelTop(IHTMLStyle
*iface
, long v
)
1552 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1553 FIXME("(%p)->()\n", This
);
1557 static HRESULT WINAPI
HTMLStyle_get_pixelTop(IHTMLStyle
*iface
, long *p
)
1559 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1560 FIXME("(%p)->()\n", This
);
1564 static HRESULT WINAPI
HTMLStyle_put_pixelLeft(IHTMLStyle
*iface
, long v
)
1566 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1567 FIXME("(%p)->()\n", This
);
1571 static HRESULT WINAPI
HTMLStyle_get_pixelLeft(IHTMLStyle
*iface
, long *p
)
1573 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1574 FIXME("(%p)->()\n", This
);
1578 static HRESULT WINAPI
HTMLStyle_put_pixelWidth(IHTMLStyle
*iface
, long v
)
1580 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1581 FIXME("(%p)->()\n", This
);
1585 static HRESULT WINAPI
HTMLStyle_get_pixelWidth(IHTMLStyle
*iface
, long *p
)
1587 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1588 FIXME("(%p)->()\n", This
);
1592 static HRESULT WINAPI
HTMLStyle_put_pixelHeight(IHTMLStyle
*iface
, long v
)
1594 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1595 FIXME("(%p)->()\n", This
);
1599 static HRESULT WINAPI
HTMLStyle_get_pixelHeight(IHTMLStyle
*iface
, long *p
)
1601 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1602 FIXME("(%p)->()\n", This
);
1606 static HRESULT WINAPI
HTMLStyle_put_posTop(IHTMLStyle
*iface
, float v
)
1608 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1609 FIXME("(%p)->()\n", This
);
1613 static HRESULT WINAPI
HTMLStyle_get_posTop(IHTMLStyle
*iface
, float *p
)
1615 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1616 FIXME("(%p)->()\n", This
);
1620 static HRESULT WINAPI
HTMLStyle_put_posLeft(IHTMLStyle
*iface
, float v
)
1622 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1623 FIXME("(%p)->()\n", This
);
1627 static HRESULT WINAPI
HTMLStyle_get_posLeft(IHTMLStyle
*iface
, float *p
)
1629 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1630 FIXME("(%p)->()\n", This
);
1634 static HRESULT WINAPI
HTMLStyle_put_posWidth(IHTMLStyle
*iface
, float v
)
1636 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1637 FIXME("(%p)->()\n", This
);
1641 static HRESULT WINAPI
HTMLStyle_get_posWidth(IHTMLStyle
*iface
, float *p
)
1643 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1644 FIXME("(%p)->()\n", This
);
1648 static HRESULT WINAPI
HTMLStyle_put_posHeight(IHTMLStyle
*iface
, float v
)
1650 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1651 FIXME("(%p)->()\n", This
);
1655 static HRESULT WINAPI
HTMLStyle_get_posHeight(IHTMLStyle
*iface
, float *p
)
1657 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1658 FIXME("(%p)->()\n", This
);
1662 static HRESULT WINAPI
HTMLStyle_put_cursor(IHTMLStyle
*iface
, BSTR v
)
1664 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1665 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1669 static HRESULT WINAPI
HTMLStyle_get_cursor(IHTMLStyle
*iface
, BSTR
*p
)
1671 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1672 FIXME("(%p)->(%p)\n", This
, p
);
1676 static HRESULT WINAPI
HTMLStyle_put_clip(IHTMLStyle
*iface
, BSTR v
)
1678 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1679 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1683 static HRESULT WINAPI
HTMLStyle_get_clip(IHTMLStyle
*iface
, BSTR
*p
)
1685 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1686 FIXME("(%p)->(%p)\n", This
, p
);
1690 static HRESULT WINAPI
HTMLStyle_put_filter(IHTMLStyle
*iface
, BSTR v
)
1692 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1693 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1697 static HRESULT WINAPI
HTMLStyle_get_filter(IHTMLStyle
*iface
, BSTR
*p
)
1699 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1700 FIXME("(%p)->(%p)\n", This
, p
);
1704 static HRESULT WINAPI
HTMLStyle_setAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
1705 VARIANT AttributeValue
, LONG lFlags
)
1707 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1708 FIXME("(%p)->(%s v%d %08x)\n", This
, debugstr_w(strAttributeName
),
1709 V_VT(&AttributeValue
), lFlags
);
1713 static HRESULT WINAPI
HTMLStyle_getAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
1714 LONG lFlags
, VARIANT
*AttributeValue
)
1716 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1717 FIXME("(%p)->(%s %08x %p)\n", This
, debugstr_w(strAttributeName
),
1718 lFlags
, AttributeValue
);
1722 static HRESULT WINAPI
HTMLStyle_removeAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
1723 LONG lFlags
, VARIANT_BOOL
*pfSuccess
)
1725 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1726 FIXME("(%p)->(%s %08x %p)\n", This
, debugstr_w(strAttributeName
),
1731 static HRESULT WINAPI
HTMLStyle_toString(IHTMLStyle
*iface
, BSTR
*String
)
1733 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1734 FIXME("(%p)->(%p)\n", This
, String
);
1738 static const IHTMLStyleVtbl HTMLStyleVtbl
= {
1739 HTMLStyle_QueryInterface
,
1742 HTMLStyle_GetTypeInfoCount
,
1743 HTMLStyle_GetTypeInfo
,
1744 HTMLStyle_GetIDsOfNames
,
1746 HTMLStyle_put_fontFamily
,
1747 HTMLStyle_get_fontFamily
,
1748 HTMLStyle_put_fontStyle
,
1749 HTMLStyle_get_fontStyle
,
1750 HTMLStyle_put_fontVariant
,
1751 HTMLStyle_get_fontVariant
,
1752 HTMLStyle_put_fontWeight
,
1753 HTMLStyle_get_fontWeight
,
1754 HTMLStyle_put_fontSize
,
1755 HTMLStyle_get_fontSize
,
1758 HTMLStyle_put_color
,
1759 HTMLStyle_get_color
,
1760 HTMLStyle_put_background
,
1761 HTMLStyle_get_background
,
1762 HTMLStyle_put_backgroundColor
,
1763 HTMLStyle_get_backgroundColor
,
1764 HTMLStyle_put_backgroundImage
,
1765 HTMLStyle_get_backgroundImage
,
1766 HTMLStyle_put_backgroundRepeat
,
1767 HTMLStyle_get_backgroundRepeat
,
1768 HTMLStyle_put_backgroundAttachment
,
1769 HTMLStyle_get_backgroundAttachment
,
1770 HTMLStyle_put_backgroundPosition
,
1771 HTMLStyle_get_backgroundPosition
,
1772 HTMLStyle_put_backgroundPositionX
,
1773 HTMLStyle_get_backgroundPositionX
,
1774 HTMLStyle_put_backgroundPositionY
,
1775 HTMLStyle_get_backgroundPositionY
,
1776 HTMLStyle_put_wordSpacing
,
1777 HTMLStyle_get_wordSpacing
,
1778 HTMLStyle_put_letterSpacing
,
1779 HTMLStyle_get_letterSpacing
,
1780 HTMLStyle_put_textDecoration
,
1781 HTMLStyle_get_textDecoration
,
1782 HTMLStyle_put_textDecorationNone
,
1783 HTMLStyle_get_textDecorationNone
,
1784 HTMLStyle_put_textDecorationUnderline
,
1785 HTMLStyle_get_textDecorationUnderline
,
1786 HTMLStyle_put_textDecorationOverline
,
1787 HTMLStyle_get_textDecorationOverline
,
1788 HTMLStyle_put_textDecorationLineThrough
,
1789 HTMLStyle_get_textDecorationLineThrough
,
1790 HTMLStyle_put_textDecorationBlink
,
1791 HTMLStyle_get_textDecorationBlink
,
1792 HTMLStyle_put_verticalAlign
,
1793 HTMLStyle_get_verticalAlign
,
1794 HTMLStyle_put_textTransform
,
1795 HTMLStyle_get_textTransform
,
1796 HTMLStyle_put_textAlign
,
1797 HTMLStyle_get_textAlign
,
1798 HTMLStyle_put_textIndent
,
1799 HTMLStyle_get_textIndent
,
1800 HTMLStyle_put_lineHeight
,
1801 HTMLStyle_get_lineHeight
,
1802 HTMLStyle_put_marginTop
,
1803 HTMLStyle_get_marginTop
,
1804 HTMLStyle_put_marginRight
,
1805 HTMLStyle_get_marginRight
,
1806 HTMLStyle_put_marginBottom
,
1807 HTMLStyle_get_marginBottom
,
1808 HTMLStyle_put_marginLeft
,
1809 HTMLStyle_get_marginLeft
,
1810 HTMLStyle_put_margin
,
1811 HTMLStyle_get_margin
,
1812 HTMLStyle_put_paddingTop
,
1813 HTMLStyle_get_paddingTop
,
1814 HTMLStyle_put_paddingRight
,
1815 HTMLStyle_get_paddingRight
,
1816 HTMLStyle_put_paddingBottom
,
1817 HTMLStyle_get_paddingBottom
,
1818 HTMLStyle_put_paddingLeft
,
1819 HTMLStyle_get_paddingLeft
,
1820 HTMLStyle_put_padding
,
1821 HTMLStyle_get_padding
,
1822 HTMLStyle_put_border
,
1823 HTMLStyle_get_border
,
1824 HTMLStyle_put_borderTop
,
1825 HTMLStyle_get_borderTop
,
1826 HTMLStyle_put_borderRight
,
1827 HTMLStyle_get_borderRight
,
1828 HTMLStyle_put_borderBottom
,
1829 HTMLStyle_get_borderBottom
,
1830 HTMLStyle_put_borderLeft
,
1831 HTMLStyle_get_borderLeft
,
1832 HTMLStyle_put_borderColor
,
1833 HTMLStyle_get_borderColor
,
1834 HTMLStyle_put_borderTopColor
,
1835 HTMLStyle_get_borderTopColor
,
1836 HTMLStyle_put_borderRightColor
,
1837 HTMLStyle_get_borderRightColor
,
1838 HTMLStyle_put_borderBottomColor
,
1839 HTMLStyle_get_borderBottomColor
,
1840 HTMLStyle_put_borderLeftColor
,
1841 HTMLStyle_get_borderLeftColor
,
1842 HTMLStyle_put_borderWidth
,
1843 HTMLStyle_get_borderWidth
,
1844 HTMLStyle_put_borderTopWidth
,
1845 HTMLStyle_get_borderTopWidth
,
1846 HTMLStyle_put_borderRightWidth
,
1847 HTMLStyle_get_borderRightWidth
,
1848 HTMLStyle_put_borderBottomWidth
,
1849 HTMLStyle_get_borderBottomWidth
,
1850 HTMLStyle_put_borderLeftWidth
,
1851 HTMLStyle_get_borderLeftWidth
,
1852 HTMLStyle_put_borderStyle
,
1853 HTMLStyle_get_borderStyle
,
1854 HTMLStyle_put_borderTopStyle
,
1855 HTMLStyle_get_borderTopStyle
,
1856 HTMLStyle_put_borderRightStyle
,
1857 HTMLStyle_get_borderRightStyle
,
1858 HTMLStyle_put_borderBottomStyle
,
1859 HTMLStyle_get_borderBottomStyle
,
1860 HTMLStyle_put_borderLeftStyle
,
1861 HTMLStyle_get_borderLeftStyle
,
1862 HTMLStyle_put_width
,
1863 HTMLStyle_get_width
,
1864 HTMLStyle_put_height
,
1865 HTMLStyle_get_height
,
1866 HTMLStyle_put_styleFloat
,
1867 HTMLStyle_get_styleFloat
,
1868 HTMLStyle_put_clear
,
1869 HTMLStyle_get_clear
,
1870 HTMLStyle_put_display
,
1871 HTMLStyle_get_display
,
1872 HTMLStyle_put_visibility
,
1873 HTMLStyle_get_visibility
,
1874 HTMLStyle_put_listStyleType
,
1875 HTMLStyle_get_listStyleType
,
1876 HTMLStyle_put_listStylePosition
,
1877 HTMLStyle_get_listStylePosition
,
1878 HTMLStyle_put_listStyleImage
,
1879 HTMLStyle_get_listStyleImage
,
1880 HTMLStyle_put_listStyle
,
1881 HTMLStyle_get_listStyle
,
1882 HTMLStyle_put_whiteSpace
,
1883 HTMLStyle_get_whiteSpace
,
1888 HTMLStyle_get_position
,
1889 HTMLStyle_put_zIndex
,
1890 HTMLStyle_get_zIndex
,
1891 HTMLStyle_put_overflow
,
1892 HTMLStyle_get_overflow
,
1893 HTMLStyle_put_pageBreakBefore
,
1894 HTMLStyle_get_pageBreakBefore
,
1895 HTMLStyle_put_pageBreakAfter
,
1896 HTMLStyle_get_pageBreakAfter
,
1897 HTMLStyle_put_cssText
,
1898 HTMLStyle_get_cssText
,
1899 HTMLStyle_put_pixelTop
,
1900 HTMLStyle_get_pixelTop
,
1901 HTMLStyle_put_pixelLeft
,
1902 HTMLStyle_get_pixelLeft
,
1903 HTMLStyle_put_pixelWidth
,
1904 HTMLStyle_get_pixelWidth
,
1905 HTMLStyle_put_pixelHeight
,
1906 HTMLStyle_get_pixelHeight
,
1907 HTMLStyle_put_posTop
,
1908 HTMLStyle_get_posTop
,
1909 HTMLStyle_put_posLeft
,
1910 HTMLStyle_get_posLeft
,
1911 HTMLStyle_put_posWidth
,
1912 HTMLStyle_get_posWidth
,
1913 HTMLStyle_put_posHeight
,
1914 HTMLStyle_get_posHeight
,
1915 HTMLStyle_put_cursor
,
1916 HTMLStyle_get_cursor
,
1919 HTMLStyle_put_filter
,
1920 HTMLStyle_get_filter
,
1921 HTMLStyle_setAttribute
,
1922 HTMLStyle_getAttribute
,
1923 HTMLStyle_removeAttribute
,
1927 static const tid_t HTMLStyle_iface_tids
[] = {
1932 static dispex_static_data_t HTMLStyle_dispex
= {
1936 HTMLStyle_iface_tids
1939 IHTMLStyle
*HTMLStyle_Create(nsIDOMCSSStyleDeclaration
*nsstyle
)
1941 HTMLStyle
*ret
= heap_alloc_zero(sizeof(HTMLStyle
));
1943 ret
->lpHTMLStyleVtbl
= &HTMLStyleVtbl
;
1945 ret
->nsstyle
= nsstyle
;
1946 HTMLStyle2_Init(ret
);
1948 nsIDOMCSSStyleDeclaration_AddRef(nsstyle
);
1950 init_dispex(&ret
->dispex
, (IUnknown
*)HTMLSTYLE(ret
), &HTMLStyle_dispex
);
1952 return HTMLSTYLE(ret
);