shell32/tests: Fixed potential overflow.
[wine/gsoc_dplay.git] / dlls / mshtml / htmlstyle.c
blobea84ea61e7b3610c89af785a9a3f8395f3ac87e5
1 /*
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
19 #include "config.h"
21 #include <stdarg.h>
22 #include <stdio.h>
24 #define COBJMACROS
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winuser.h"
29 #include "winnls.h"
30 #include "ole2.h"
32 #include "wine/debug.h"
33 #include "wine/unicode.h"
35 #include "mshtml_private.h"
37 WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
39 typedef struct {
40 const IHTMLStyleVtbl *lpHTMLStyleVtbl;
42 LONG ref;
44 nsIDOMCSSStyleDeclaration *nsstyle;
45 } HTMLStyle;
47 #define HTMLSTYLE(x) ((IHTMLStyle*) &(x)->lpHTMLStyleVtbl);
49 static const WCHAR attrBackgroundColor[] =
50 {'b','a','c','k','g','r','o','u','n','d','-','c','o','l','o','r',0};
51 static const WCHAR attrFontFamily[] =
52 {'f','o','n','t','-','f','a','m','i','l','y',0};
53 static const WCHAR attrFontSize[] =
54 {'f','o','n','t','-','s','i','z','e',0};
56 static HRESULT set_style_attr(HTMLStyle *This, LPCWSTR name, LPCWSTR value)
58 nsAString str_name, str_value, str_empty;
59 nsresult nsres;
61 static const PRUnichar wszEmpty[] = {0};
63 TRACE("(%p)->(%s %s)\n", This, debugstr_w(name), debugstr_w(value));
65 nsAString_Init(&str_name, name);
66 nsAString_Init(&str_value, value);
67 nsAString_Init(&str_empty, wszEmpty);
69 nsres = nsIDOMCSSStyleDeclaration_SetProperty(This->nsstyle, &str_name, &str_value, &str_empty);
70 if(NS_FAILED(nsres))
71 ERR("SetProperty failed: %08x\n", nsres);
73 nsAString_Finish(&str_name);
74 nsAString_Finish(&str_value);
75 nsAString_Finish(&str_empty);
77 return S_OK;
80 #define HTMLSTYLE_THIS(iface) DEFINE_THIS(HTMLStyle, HTMLStyle, iface)
82 static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, void **ppv)
84 HTMLStyle *This = HTMLSTYLE_THIS(iface);
86 *ppv = NULL;
88 if(IsEqualGUID(&IID_IUnknown, riid)) {
89 TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
90 *ppv = HTMLSTYLE(This);
91 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
92 TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
93 *ppv = HTMLSTYLE(This);
94 }else if(IsEqualGUID(&IID_IHTMLStyle, riid)) {
95 TRACE("(%p)->(IID_IHTMLStyle %p)\n", This, ppv);
96 *ppv = HTMLSTYLE(This);
99 if(*ppv) {
100 IUnknown_AddRef((IUnknown*)*ppv);
101 return S_OK;
104 WARN("unsupported %s\n", debugstr_guid(riid));
105 return E_NOINTERFACE;
108 static ULONG WINAPI HTMLStyle_AddRef(IHTMLStyle *iface)
110 HTMLStyle *This = HTMLSTYLE_THIS(iface);
111 LONG ref = InterlockedIncrement(&This->ref);
113 TRACE("(%p) ref=%d\n", This, ref);
115 return ref;
118 static ULONG WINAPI HTMLStyle_Release(IHTMLStyle *iface)
120 HTMLStyle *This = HTMLSTYLE_THIS(iface);
121 LONG ref = InterlockedDecrement(&This->ref);
123 TRACE("(%p) ref=%d\n", This, ref);
125 if(!ref)
126 mshtml_free(This);
128 return ref;
131 static HRESULT WINAPI HTMLStyle_GetTypeInfoCount(IHTMLStyle *iface, UINT *pctinfo)
133 HTMLStyle *This = HTMLSTYLE_THIS(iface);
134 FIXME("(%p)->(%p)\n", This, pctinfo);
135 return E_NOTIMPL;
138 static HRESULT WINAPI HTMLStyle_GetTypeInfo(IHTMLStyle *iface, UINT iTInfo,
139 LCID lcid, ITypeInfo **ppTInfo)
141 HTMLStyle *This = HTMLSTYLE_THIS(iface);
142 FIXME("(%p)->(%u %u %p)\n", This, iTInfo, lcid, ppTInfo);
143 return E_NOTIMPL;
146 static HRESULT WINAPI HTMLStyle_GetIDsOfNames(IHTMLStyle *iface, REFIID riid,
147 LPOLESTR *rgszNames, UINT cNames,
148 LCID lcid, DISPID *rgDispId)
150 HTMLStyle *This = HTMLSTYLE_THIS(iface);
151 FIXME("(%p)->(%s %p %u %u %p)\n", This, debugstr_guid(riid), rgszNames, cNames,
152 lcid, rgDispId);
153 return E_NOTIMPL;
156 static HRESULT WINAPI HTMLStyle_Invoke(IHTMLStyle *iface, DISPID dispIdMember,
157 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
158 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
160 HTMLStyle *This = HTMLSTYLE_THIS(iface);
161 FIXME("(%p)->(%d %s %d %d %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid),
162 lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
163 return E_NOTIMPL;
166 static HRESULT WINAPI HTMLStyle_put_fontFamily(IHTMLStyle *iface, BSTR v)
168 HTMLStyle *This = HTMLSTYLE_THIS(iface);
170 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
172 return set_style_attr(This, attrFontFamily, v);
175 static HRESULT WINAPI HTMLStyle_get_fontFamily(IHTMLStyle *iface, BSTR *p)
177 HTMLStyle *This = HTMLSTYLE_THIS(iface);
178 FIXME("(%p)->(%p)\n", This, p);
179 return E_NOTIMPL;
182 static HRESULT WINAPI HTMLStyle_put_fontStyle(IHTMLStyle *iface, BSTR v)
184 HTMLStyle *This = HTMLSTYLE_THIS(iface);
185 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
186 return E_NOTIMPL;
189 static HRESULT WINAPI HTMLStyle_get_fontStyle(IHTMLStyle *iface, BSTR *p)
191 HTMLStyle *This = HTMLSTYLE_THIS(iface);
192 FIXME("(%p)->(%p)\n", This, p);
193 return E_NOTIMPL;
196 static HRESULT WINAPI HTMLStyle_put_fontVariant(IHTMLStyle *iface, BSTR v)
198 HTMLStyle *This = HTMLSTYLE_THIS(iface);
199 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
200 return E_NOTIMPL;
203 static HRESULT WINAPI HTMLStyle_get_fontVariant(IHTMLStyle *iface, BSTR *p)
205 HTMLStyle *This = HTMLSTYLE_THIS(iface);
206 FIXME("(%p)->(%p)\n", This, p);
207 return E_NOTIMPL;
210 static HRESULT WINAPI HTMLStyle_put_fontWeight(IHTMLStyle *iface, BSTR v)
212 HTMLStyle *This = HTMLSTYLE_THIS(iface);
213 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
214 return E_NOTIMPL;
217 static HRESULT WINAPI HTMLStyle_get_fontWeight(IHTMLStyle *iface, BSTR *p)
219 HTMLStyle *This = HTMLSTYLE_THIS(iface);
220 FIXME("(%p)->(%p)\n", This, p);
221 return E_NOTIMPL;
224 static HRESULT WINAPI HTMLStyle_put_fontSize(IHTMLStyle *iface, VARIANT v)
226 HTMLStyle *This = HTMLSTYLE_THIS(iface);
228 TRACE("(%p)->(v%d)\n", This, V_VT(&v));
230 switch(V_VT(&v)) {
231 case VT_BSTR:
232 return set_style_attr(This, attrFontSize, V_BSTR(&v));
233 default:
234 FIXME("not supported vt %d\n", V_VT(&v));
237 return S_OK;
240 static HRESULT WINAPI HTMLStyle_get_fontSize(IHTMLStyle *iface, VARIANT *p)
242 HTMLStyle *This = HTMLSTYLE_THIS(iface);
243 FIXME("(%p)->(%p)\n", This, p);
244 return E_NOTIMPL;
247 static HRESULT WINAPI HTMLStyle_put_font(IHTMLStyle *iface, BSTR v)
249 HTMLStyle *This = HTMLSTYLE_THIS(iface);
250 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
251 return E_NOTIMPL;
254 static HRESULT WINAPI HTMLStyle_get_font(IHTMLStyle *iface, BSTR *p)
256 HTMLStyle *This = HTMLSTYLE_THIS(iface);
257 FIXME("(%p)->(%p)\n", This, p);
258 return E_NOTIMPL;
261 static HRESULT WINAPI HTMLStyle_put_color(IHTMLStyle *iface, VARIANT v)
263 HTMLStyle *This = HTMLSTYLE_THIS(iface);
264 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
265 return E_NOTIMPL;
268 static HRESULT WINAPI HTMLStyle_get_color(IHTMLStyle *iface, VARIANT *p)
270 HTMLStyle *This = HTMLSTYLE_THIS(iface);
271 FIXME("(%p)->(%p)\n", This, p);
272 return E_NOTIMPL;
275 static HRESULT WINAPI HTMLStyle_put_background(IHTMLStyle *iface, BSTR v)
277 HTMLStyle *This = HTMLSTYLE_THIS(iface);
278 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
279 return E_NOTIMPL;
282 static HRESULT WINAPI HTMLStyle_get_background(IHTMLStyle *iface, BSTR *p)
284 HTMLStyle *This = HTMLSTYLE_THIS(iface);
285 FIXME("(%p)->(%p)\n", This, p);
286 return E_NOTIMPL;
289 static HRESULT WINAPI HTMLStyle_put_backgroundColor(IHTMLStyle *iface, VARIANT v)
291 HTMLStyle *This = HTMLSTYLE_THIS(iface);
293 TRACE("(%p)->(v%d)\n", This, V_VT(&v));
295 switch(V_VT(&v)) {
296 case VT_BSTR:
297 return set_style_attr(This, attrBackgroundColor, V_BSTR(&v));
298 case VT_I4: {
299 WCHAR value[10];
300 static const WCHAR format[] = {'#','%','0','6','x',0};
302 wsprintfW(value, format, V_I4(&v));
303 return set_style_attr(This, attrBackgroundColor, value);
305 default:
306 FIXME("unsupported vt %d\n", V_VT(&v));
309 return S_OK;
312 static HRESULT WINAPI HTMLStyle_get_backgroundColor(IHTMLStyle *iface, VARIANT *p)
314 HTMLStyle *This = HTMLSTYLE_THIS(iface);
315 FIXME("(%p)->(%p)\n", This, p);
316 return E_NOTIMPL;
319 static HRESULT WINAPI HTMLStyle_put_backgroundImage(IHTMLStyle *iface, BSTR v)
321 HTMLStyle *This = HTMLSTYLE_THIS(iface);
322 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
323 return E_NOTIMPL;
326 static HRESULT WINAPI HTMLStyle_get_backgroundImage(IHTMLStyle *iface, BSTR *p)
328 HTMLStyle *This = HTMLSTYLE_THIS(iface);
329 FIXME("(%p)->(%p)\n", This, p);
330 return E_NOTIMPL;
333 static HRESULT WINAPI HTMLStyle_put_backgroundRepeat(IHTMLStyle *iface, BSTR v)
335 HTMLStyle *This = HTMLSTYLE_THIS(iface);
336 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
337 return E_NOTIMPL;
340 static HRESULT WINAPI HTMLStyle_get_backgroundRepeat(IHTMLStyle *iface, BSTR *p)
342 HTMLStyle *This = HTMLSTYLE_THIS(iface);
343 FIXME("(%p)->(%p)\n", This, p);
344 return E_NOTIMPL;
347 static HRESULT WINAPI HTMLStyle_put_backgroundAttachment(IHTMLStyle *iface, BSTR v)
349 HTMLStyle *This = HTMLSTYLE_THIS(iface);
350 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
351 return E_NOTIMPL;
354 static HRESULT WINAPI HTMLStyle_get_backgroundAttachment(IHTMLStyle *iface, BSTR *p)
356 HTMLStyle *This = HTMLSTYLE_THIS(iface);
357 FIXME("(%p)->(%p)\n", This, p);
358 return E_NOTIMPL;
361 static HRESULT WINAPI HTMLStyle_put_backgroundPosition(IHTMLStyle *iface, BSTR v)
363 HTMLStyle *This = HTMLSTYLE_THIS(iface);
364 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
365 return E_NOTIMPL;
368 static HRESULT WINAPI HTMLStyle_get_backgroundPosition(IHTMLStyle *iface, BSTR *p)
370 HTMLStyle *This = HTMLSTYLE_THIS(iface);
371 FIXME("(%p)->(%p)\n", This, p);
372 return E_NOTIMPL;
375 static HRESULT WINAPI HTMLStyle_put_backgroundPositionX(IHTMLStyle *iface, VARIANT v)
377 HTMLStyle *This = HTMLSTYLE_THIS(iface);
378 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
379 return E_NOTIMPL;
382 static HRESULT WINAPI HTMLStyle_get_backgroundPositionX(IHTMLStyle *iface, VARIANT *p)
384 HTMLStyle *This = HTMLSTYLE_THIS(iface);
385 FIXME("(%p)->(%p)\n", This, p);
386 return E_NOTIMPL;
389 static HRESULT WINAPI HTMLStyle_put_backgroundPositionY(IHTMLStyle *iface, VARIANT v)
391 HTMLStyle *This = HTMLSTYLE_THIS(iface);
392 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
393 return E_NOTIMPL;
396 static HRESULT WINAPI HTMLStyle_get_backgroundPositionY(IHTMLStyle *iface, VARIANT *p)
398 HTMLStyle *This = HTMLSTYLE_THIS(iface);
399 FIXME("(%p)->(%p)\n", This, p);
400 return E_NOTIMPL;
403 static HRESULT WINAPI HTMLStyle_put_wordSpacing(IHTMLStyle *iface, VARIANT v)
405 HTMLStyle *This = HTMLSTYLE_THIS(iface);
406 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
407 return E_NOTIMPL;
410 static HRESULT WINAPI HTMLStyle_get_wordSpacing(IHTMLStyle *iface, VARIANT *p)
412 HTMLStyle *This = HTMLSTYLE_THIS(iface);
413 FIXME("(%p)->(%p)\n", This, p);
414 return E_NOTIMPL;
417 static HRESULT WINAPI HTMLStyle_put_letterSpacing(IHTMLStyle *iface, VARIANT v)
419 HTMLStyle *This = HTMLSTYLE_THIS(iface);
420 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
421 return E_NOTIMPL;
424 static HRESULT WINAPI HTMLStyle_get_letterSpacing(IHTMLStyle *iface, VARIANT *p)
426 HTMLStyle *This = HTMLSTYLE_THIS(iface);
427 FIXME("(%p)->(%p)\n", This, p);
428 return E_NOTIMPL;
431 static HRESULT WINAPI HTMLStyle_put_textDecoration(IHTMLStyle *iface, BSTR v)
433 HTMLStyle *This = HTMLSTYLE_THIS(iface);
434 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
435 return E_NOTIMPL;
438 static HRESULT WINAPI HTMLStyle_get_textDecoration(IHTMLStyle *iface, BSTR *p)
440 HTMLStyle *This = HTMLSTYLE_THIS(iface);
441 FIXME("(%p)->(%p)\n", This, p);
442 return E_NOTIMPL;
445 static HRESULT WINAPI HTMLStyle_put_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL v)
447 HTMLStyle *This = HTMLSTYLE_THIS(iface);
448 FIXME("(%p)->(%x)\n", This, v);
449 return E_NOTIMPL;
452 static HRESULT WINAPI HTMLStyle_get_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL *p)
454 HTMLStyle *This = HTMLSTYLE_THIS(iface);
455 FIXME("(%p)->(%p)\n", This, p);
456 return E_NOTIMPL;
459 static HRESULT WINAPI HTMLStyle_put_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL v)
461 HTMLStyle *This = HTMLSTYLE_THIS(iface);
462 FIXME("(%p)->(%x)\n", This, v);
463 return E_NOTIMPL;
466 static HRESULT WINAPI HTMLStyle_get_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL *p)
468 HTMLStyle *This = HTMLSTYLE_THIS(iface);
469 FIXME("(%p)->(%p)\n", This, p);
470 return E_NOTIMPL;
473 static HRESULT WINAPI HTMLStyle_put_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL v)
475 HTMLStyle *This = HTMLSTYLE_THIS(iface);
476 FIXME("(%p)->(%x)\n", This, v);
477 return E_NOTIMPL;
480 static HRESULT WINAPI HTMLStyle_get_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL *p)
482 HTMLStyle *This = HTMLSTYLE_THIS(iface);
483 FIXME("(%p)->(%p)\n", This, p);
484 return E_NOTIMPL;
487 static HRESULT WINAPI HTMLStyle_put_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL v)
489 HTMLStyle *This = HTMLSTYLE_THIS(iface);
490 FIXME("(%p)->(%x)\n", This, v);
491 return E_NOTIMPL;
494 static HRESULT WINAPI HTMLStyle_get_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL *p)
496 HTMLStyle *This = HTMLSTYLE_THIS(iface);
497 FIXME("(%p)->(%p)\n", This, p);
498 return E_NOTIMPL;
501 static HRESULT WINAPI HTMLStyle_put_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL v)
503 HTMLStyle *This = HTMLSTYLE_THIS(iface);
504 FIXME("(%p)->(%x)\n", This, v);
505 return E_NOTIMPL;
508 static HRESULT WINAPI HTMLStyle_get_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL *p)
510 HTMLStyle *This = HTMLSTYLE_THIS(iface);
511 FIXME("(%p)->(%p)\n", This, p);
512 return E_NOTIMPL;
515 static HRESULT WINAPI HTMLStyle_put_verticalAlign(IHTMLStyle *iface, VARIANT v)
517 HTMLStyle *This = HTMLSTYLE_THIS(iface);
518 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
519 return E_NOTIMPL;
522 static HRESULT WINAPI HTMLStyle_get_verticalAlign(IHTMLStyle *iface, VARIANT *p)
524 HTMLStyle *This = HTMLSTYLE_THIS(iface);
525 FIXME("(%p)->(%p)\n", This, p);
526 return E_NOTIMPL;
529 static HRESULT WINAPI HTMLStyle_put_textTransform(IHTMLStyle *iface, BSTR v)
531 HTMLStyle *This = HTMLSTYLE_THIS(iface);
532 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
533 return E_NOTIMPL;
536 static HRESULT WINAPI HTMLStyle_get_textTransform(IHTMLStyle *iface, BSTR *p)
538 HTMLStyle *This = HTMLSTYLE_THIS(iface);
539 FIXME("(%p)->(%p)\n", This, p);
540 return E_NOTIMPL;
543 static HRESULT WINAPI HTMLStyle_put_textAlign(IHTMLStyle *iface, BSTR v)
545 HTMLStyle *This = HTMLSTYLE_THIS(iface);
546 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
547 return E_NOTIMPL;
550 static HRESULT WINAPI HTMLStyle_get_textAlign(IHTMLStyle *iface, BSTR *p)
552 HTMLStyle *This = HTMLSTYLE_THIS(iface);
553 FIXME("(%p)->(%p)\n", This, p);
554 return E_NOTIMPL;
557 static HRESULT WINAPI HTMLStyle_put_textIndent(IHTMLStyle *iface, VARIANT v)
559 HTMLStyle *This = HTMLSTYLE_THIS(iface);
560 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
561 return E_NOTIMPL;
564 static HRESULT WINAPI HTMLStyle_get_textIndent(IHTMLStyle *iface, VARIANT *p)
566 HTMLStyle *This = HTMLSTYLE_THIS(iface);
567 FIXME("(%p)->(%p)\n", This, p);
568 return E_NOTIMPL;
571 static HRESULT WINAPI HTMLStyle_put_lineHeight(IHTMLStyle *iface, VARIANT v)
573 HTMLStyle *This = HTMLSTYLE_THIS(iface);
574 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
575 return E_NOTIMPL;
578 static HRESULT WINAPI HTMLStyle_get_lineHeight(IHTMLStyle *iface, VARIANT *p)
580 HTMLStyle *This = HTMLSTYLE_THIS(iface);
581 FIXME("(%p)->(%p)\n", This, p);
582 return E_NOTIMPL;
585 static HRESULT WINAPI HTMLStyle_put_marginTop(IHTMLStyle *iface, VARIANT v)
587 HTMLStyle *This = HTMLSTYLE_THIS(iface);
588 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
589 return E_NOTIMPL;
592 static HRESULT WINAPI HTMLStyle_get_marginTop(IHTMLStyle *iface, VARIANT *p)
594 HTMLStyle *This = HTMLSTYLE_THIS(iface);
595 FIXME("(%p)->(%p)\n", This, p);
596 return E_NOTIMPL;
599 static HRESULT WINAPI HTMLStyle_put_marginRight(IHTMLStyle *iface, VARIANT v)
601 HTMLStyle *This = HTMLSTYLE_THIS(iface);
602 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
603 return E_NOTIMPL;
606 static HRESULT WINAPI HTMLStyle_get_marginRight(IHTMLStyle *iface, VARIANT *p)
608 HTMLStyle *This = HTMLSTYLE_THIS(iface);
609 FIXME("(%p)->(%p)\n", This, p);
610 return E_NOTIMPL;
613 static HRESULT WINAPI HTMLStyle_put_marginBottom(IHTMLStyle *iface, VARIANT v)
615 HTMLStyle *This = HTMLSTYLE_THIS(iface);
616 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
617 return E_NOTIMPL;
620 static HRESULT WINAPI HTMLStyle_get_marginBottom(IHTMLStyle *iface, VARIANT *p)
622 HTMLStyle *This = HTMLSTYLE_THIS(iface);
623 FIXME("(%p)->(%p)\n", This, p);
624 return E_NOTIMPL;
627 static HRESULT WINAPI HTMLStyle_put_marginLeft(IHTMLStyle *iface, VARIANT v)
629 HTMLStyle *This = HTMLSTYLE_THIS(iface);
630 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
631 return E_NOTIMPL;
634 static HRESULT WINAPI HTMLStyle_put_margin(IHTMLStyle *iface, BSTR v)
636 HTMLStyle *This = HTMLSTYLE_THIS(iface);
637 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
638 return E_NOTIMPL;
641 static HRESULT WINAPI HTMLStyle_get_margin(IHTMLStyle *iface, BSTR *p)
643 HTMLStyle *This = HTMLSTYLE_THIS(iface);
644 FIXME("(%p)->(%p)\n", This, p);
645 return E_NOTIMPL;
648 static HRESULT WINAPI HTMLStyle_get_marginLeft(IHTMLStyle *iface, VARIANT *p)
650 HTMLStyle *This = HTMLSTYLE_THIS(iface);
651 FIXME("(%p)->(%p)\n", This, p);
652 return E_NOTIMPL;
655 static HRESULT WINAPI HTMLStyle_put_paddingTop(IHTMLStyle *iface, VARIANT v)
657 HTMLStyle *This = HTMLSTYLE_THIS(iface);
658 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
659 return E_NOTIMPL;
662 static HRESULT WINAPI HTMLStyle_get_paddingTop(IHTMLStyle *iface, VARIANT *p)
664 HTMLStyle *This = HTMLSTYLE_THIS(iface);
665 FIXME("(%p)->(%p)\n", This, p);
666 return E_NOTIMPL;
669 static HRESULT WINAPI HTMLStyle_put_paddingRight(IHTMLStyle *iface, VARIANT v)
671 HTMLStyle *This = HTMLSTYLE_THIS(iface);
672 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
673 return E_NOTIMPL;
676 static HRESULT WINAPI HTMLStyle_get_paddingRight(IHTMLStyle *iface, VARIANT *p)
678 HTMLStyle *This = HTMLSTYLE_THIS(iface);
679 FIXME("(%p)->(%p)\n", This, p);
680 return E_NOTIMPL;
683 static HRESULT WINAPI HTMLStyle_put_paddingBottom(IHTMLStyle *iface, VARIANT v)
685 HTMLStyle *This = HTMLSTYLE_THIS(iface);
686 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
687 return E_NOTIMPL;
690 static HRESULT WINAPI HTMLStyle_get_paddingBottom(IHTMLStyle *iface, VARIANT *p)
692 HTMLStyle *This = HTMLSTYLE_THIS(iface);
693 FIXME("(%p)->(%p)\n", This, p);
694 return E_NOTIMPL;
697 static HRESULT WINAPI HTMLStyle_put_paddingLeft(IHTMLStyle *iface, VARIANT v)
699 HTMLStyle *This = HTMLSTYLE_THIS(iface);
700 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
701 return E_NOTIMPL;
704 static HRESULT WINAPI HTMLStyle_get_paddingLeft(IHTMLStyle *iface, VARIANT *p)
706 HTMLStyle *This = HTMLSTYLE_THIS(iface);
707 FIXME("(%p)->(%p)\n", This, p);
708 return E_NOTIMPL;
711 static HRESULT WINAPI HTMLStyle_put_padding(IHTMLStyle *iface, BSTR v)
713 HTMLStyle *This = HTMLSTYLE_THIS(iface);
714 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
715 return E_NOTIMPL;
718 static HRESULT WINAPI HTMLStyle_get_padding(IHTMLStyle *iface, BSTR *p)
720 HTMLStyle *This = HTMLSTYLE_THIS(iface);
721 FIXME("(%p)->(%p)\n", This, p);
722 return E_NOTIMPL;
725 static HRESULT WINAPI HTMLStyle_put_border(IHTMLStyle *iface, BSTR v)
727 HTMLStyle *This = HTMLSTYLE_THIS(iface);
728 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
729 return E_NOTIMPL;
732 static HRESULT WINAPI HTMLStyle_get_border(IHTMLStyle *iface, BSTR *p)
734 HTMLStyle *This = HTMLSTYLE_THIS(iface);
735 FIXME("(%p)->(%p)\n", This, p);
736 return E_NOTIMPL;
739 static HRESULT WINAPI HTMLStyle_put_borderTop(IHTMLStyle *iface, BSTR v)
741 HTMLStyle *This = HTMLSTYLE_THIS(iface);
742 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
743 return E_NOTIMPL;
746 static HRESULT WINAPI HTMLStyle_get_borderTop(IHTMLStyle *iface, BSTR *p)
748 HTMLStyle *This = HTMLSTYLE_THIS(iface);
749 FIXME("(%p)->(%p)\n", This, p);
750 return E_NOTIMPL;
753 static HRESULT WINAPI HTMLStyle_put_borderRight(IHTMLStyle *iface, BSTR v)
755 HTMLStyle *This = HTMLSTYLE_THIS(iface);
756 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
757 return E_NOTIMPL;
760 static HRESULT WINAPI HTMLStyle_get_borderRight(IHTMLStyle *iface, BSTR *p)
762 HTMLStyle *This = HTMLSTYLE_THIS(iface);
763 FIXME("(%p)->(%p)\n", This, p);
764 return E_NOTIMPL;
767 static HRESULT WINAPI HTMLStyle_put_borderBottom(IHTMLStyle *iface, BSTR v)
769 HTMLStyle *This = HTMLSTYLE_THIS(iface);
770 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
771 return E_NOTIMPL;
774 static HRESULT WINAPI HTMLStyle_get_borderBottom(IHTMLStyle *iface, BSTR *p)
776 HTMLStyle *This = HTMLSTYLE_THIS(iface);
777 FIXME("(%p)->(%p)\n", This, p);
778 return E_NOTIMPL;
781 static HRESULT WINAPI HTMLStyle_put_borderLeft(IHTMLStyle *iface, BSTR v)
783 HTMLStyle *This = HTMLSTYLE_THIS(iface);
784 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
785 return E_NOTIMPL;
788 static HRESULT WINAPI HTMLStyle_get_borderLeft(IHTMLStyle *iface, BSTR *p)
790 HTMLStyle *This = HTMLSTYLE_THIS(iface);
791 FIXME("(%p)->(%p)\n", This, p);
792 return E_NOTIMPL;
795 static HRESULT WINAPI HTMLStyle_put_borderColor(IHTMLStyle *iface, BSTR v)
797 HTMLStyle *This = HTMLSTYLE_THIS(iface);
798 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
799 return E_NOTIMPL;
802 static HRESULT WINAPI HTMLStyle_get_borderColor(IHTMLStyle *iface, BSTR *p)
804 HTMLStyle *This = HTMLSTYLE_THIS(iface);
805 FIXME("(%p)->(%p)\n", This, p);
806 return E_NOTIMPL;
809 static HRESULT WINAPI HTMLStyle_put_borderTopColor(IHTMLStyle *iface, VARIANT v)
811 HTMLStyle *This = HTMLSTYLE_THIS(iface);
812 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
813 return E_NOTIMPL;
816 static HRESULT WINAPI HTMLStyle_get_borderTopColor(IHTMLStyle *iface, VARIANT *p)
818 HTMLStyle *This = HTMLSTYLE_THIS(iface);
819 FIXME("(%p)->(%p)\n", This, p);
820 return E_NOTIMPL;
823 static HRESULT WINAPI HTMLStyle_put_borderRightColor(IHTMLStyle *iface, VARIANT v)
825 HTMLStyle *This = HTMLSTYLE_THIS(iface);
826 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
827 return E_NOTIMPL;
830 static HRESULT WINAPI HTMLStyle_get_borderRightColor(IHTMLStyle *iface, VARIANT *p)
832 HTMLStyle *This = HTMLSTYLE_THIS(iface);
833 FIXME("(%p)->(%p)\n", This, p);
834 return E_NOTIMPL;
837 static HRESULT WINAPI HTMLStyle_put_borderBottomColor(IHTMLStyle *iface, VARIANT v)
839 HTMLStyle *This = HTMLSTYLE_THIS(iface);
840 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
841 return E_NOTIMPL;
844 static HRESULT WINAPI HTMLStyle_get_borderBottomColor(IHTMLStyle *iface, VARIANT *p)
846 HTMLStyle *This = HTMLSTYLE_THIS(iface);
847 FIXME("(%p)->(%p)\n", This, p);
848 return E_NOTIMPL;
851 static HRESULT WINAPI HTMLStyle_put_borderLeftColor(IHTMLStyle *iface, VARIANT v)
853 HTMLStyle *This = HTMLSTYLE_THIS(iface);
854 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
855 return E_NOTIMPL;
858 static HRESULT WINAPI HTMLStyle_get_borderLeftColor(IHTMLStyle *iface, VARIANT *p)
860 HTMLStyle *This = HTMLSTYLE_THIS(iface);
861 FIXME("(%p)->(%p)\n", This, p);
862 return E_NOTIMPL;
865 static HRESULT WINAPI HTMLStyle_put_borderWidth(IHTMLStyle *iface, BSTR v)
867 HTMLStyle *This = HTMLSTYLE_THIS(iface);
868 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
869 return E_NOTIMPL;
872 static HRESULT WINAPI HTMLStyle_get_borderWidth(IHTMLStyle *iface, BSTR *p)
874 HTMLStyle *This = HTMLSTYLE_THIS(iface);
875 FIXME("(%p)->(%p)\n", This, p);
876 return E_NOTIMPL;
879 static HRESULT WINAPI HTMLStyle_put_borderTopWidth(IHTMLStyle *iface, VARIANT v)
881 HTMLStyle *This = HTMLSTYLE_THIS(iface);
882 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
883 return E_NOTIMPL;
886 static HRESULT WINAPI HTMLStyle_get_borderTopWidth(IHTMLStyle *iface, VARIANT *p)
888 HTMLStyle *This = HTMLSTYLE_THIS(iface);
889 FIXME("(%p)->(%p)\n", This, p);
890 return E_NOTIMPL;
893 static HRESULT WINAPI HTMLStyle_put_borderRightWidth(IHTMLStyle *iface, VARIANT v)
895 HTMLStyle *This = HTMLSTYLE_THIS(iface);
896 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
897 return E_NOTIMPL;
900 static HRESULT WINAPI HTMLStyle_get_borderRightWidth(IHTMLStyle *iface, VARIANT *p)
902 HTMLStyle *This = HTMLSTYLE_THIS(iface);
903 FIXME("(%p)->(%p)\n", This, p);
904 return E_NOTIMPL;
907 static HRESULT WINAPI HTMLStyle_put_borderBottomWidth(IHTMLStyle *iface, VARIANT v)
909 HTMLStyle *This = HTMLSTYLE_THIS(iface);
910 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
911 return E_NOTIMPL;
914 static HRESULT WINAPI HTMLStyle_get_borderBottomWidth(IHTMLStyle *iface, VARIANT *p)
916 HTMLStyle *This = HTMLSTYLE_THIS(iface);
917 FIXME("(%p)->(%p)\n", This, p);
918 return E_NOTIMPL;
921 static HRESULT WINAPI HTMLStyle_put_borderLeftWidth(IHTMLStyle *iface, VARIANT v)
923 HTMLStyle *This = HTMLSTYLE_THIS(iface);
924 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
925 return E_NOTIMPL;
928 static HRESULT WINAPI HTMLStyle_get_borderLeftWidth(IHTMLStyle *iface, VARIANT *p)
930 HTMLStyle *This = HTMLSTYLE_THIS(iface);
931 FIXME("(%p)->(%p)\n", This, p);
932 return E_NOTIMPL;
935 static HRESULT WINAPI HTMLStyle_put_borderStyle(IHTMLStyle *iface, BSTR v)
937 HTMLStyle *This = HTMLSTYLE_THIS(iface);
938 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
939 return E_NOTIMPL;
942 static HRESULT WINAPI HTMLStyle_get_borderStyle(IHTMLStyle *iface, BSTR *p)
944 HTMLStyle *This = HTMLSTYLE_THIS(iface);
945 FIXME("(%p)->(%p)\n", This, p);
946 return E_NOTIMPL;
949 static HRESULT WINAPI HTMLStyle_put_borderTopStyle(IHTMLStyle *iface, BSTR v)
951 HTMLStyle *This = HTMLSTYLE_THIS(iface);
952 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
953 return E_NOTIMPL;
956 static HRESULT WINAPI HTMLStyle_get_borderTopStyle(IHTMLStyle *iface, BSTR *p)
958 HTMLStyle *This = HTMLSTYLE_THIS(iface);
959 FIXME("(%p)->(%p)\n", This, p);
960 return E_NOTIMPL;
963 static HRESULT WINAPI HTMLStyle_put_borderRightStyle(IHTMLStyle *iface, BSTR v)
965 HTMLStyle *This = HTMLSTYLE_THIS(iface);
966 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
967 return E_NOTIMPL;
970 static HRESULT WINAPI HTMLStyle_get_borderRightStyle(IHTMLStyle *iface, BSTR *p)
972 HTMLStyle *This = HTMLSTYLE_THIS(iface);
973 FIXME("(%p)->(%p)\n", This, p);
974 return E_NOTIMPL;
977 static HRESULT WINAPI HTMLStyle_put_borderBottomStyle(IHTMLStyle *iface, BSTR v)
979 HTMLStyle *This = HTMLSTYLE_THIS(iface);
980 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
981 return E_NOTIMPL;
984 static HRESULT WINAPI HTMLStyle_get_borderBottomStyle(IHTMLStyle *iface, BSTR *p)
986 HTMLStyle *This = HTMLSTYLE_THIS(iface);
987 FIXME("(%p)->(%p)\n", This, p);
988 return E_NOTIMPL;
991 static HRESULT WINAPI HTMLStyle_put_borderLeftStyle(IHTMLStyle *iface, BSTR v)
993 HTMLStyle *This = HTMLSTYLE_THIS(iface);
994 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
995 return E_NOTIMPL;
998 static HRESULT WINAPI HTMLStyle_get_borderLeftStyle(IHTMLStyle *iface, BSTR *p)
1000 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1001 FIXME("(%p)->(%p)\n", This, p);
1002 return E_NOTIMPL;
1005 static HRESULT WINAPI HTMLStyle_put_width(IHTMLStyle *iface, VARIANT v)
1007 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1008 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1009 return E_NOTIMPL;
1012 static HRESULT WINAPI HTMLStyle_get_width(IHTMLStyle *iface, VARIANT *p)
1014 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1015 FIXME("(%p)->(%p)\n", This, p);
1016 return E_NOTIMPL;
1019 static HRESULT WINAPI HTMLStyle_put_height(IHTMLStyle *iface, VARIANT v)
1021 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1022 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1023 return E_NOTIMPL;
1026 static HRESULT WINAPI HTMLStyle_get_height(IHTMLStyle *iface, VARIANT *p)
1028 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1029 FIXME("(%p)->(%p)\n", This, p);
1030 return E_NOTIMPL;
1033 static HRESULT WINAPI HTMLStyle_put_styleFloat(IHTMLStyle *iface, BSTR v)
1035 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1036 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1037 return E_NOTIMPL;
1040 static HRESULT WINAPI HTMLStyle_get_styleFloat(IHTMLStyle *iface, BSTR *p)
1042 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1043 FIXME("(%p)->(%p)\n", This, p);
1044 return E_NOTIMPL;
1047 static HRESULT WINAPI HTMLStyle_put_clear(IHTMLStyle *iface, BSTR v)
1049 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1050 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1051 return E_NOTIMPL;
1054 static HRESULT WINAPI HTMLStyle_get_clear(IHTMLStyle *iface, BSTR *p)
1056 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1057 FIXME("(%p)->(%p)\n", This, p);
1058 return E_NOTIMPL;
1061 static HRESULT WINAPI HTMLStyle_put_display(IHTMLStyle *iface, BSTR v)
1063 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1064 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1065 return E_NOTIMPL;
1068 static HRESULT WINAPI HTMLStyle_get_display(IHTMLStyle *iface, BSTR *p)
1070 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1071 FIXME("(%p)->(%p)\n", This, p);
1072 return E_NOTIMPL;
1075 static HRESULT WINAPI HTMLStyle_put_visibility(IHTMLStyle *iface, BSTR v)
1077 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1078 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1079 return E_NOTIMPL;
1082 static HRESULT WINAPI HTMLStyle_get_visibility(IHTMLStyle *iface, BSTR *p)
1084 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1085 FIXME("(%p)->(%p)\n", This, p);
1086 return E_NOTIMPL;
1089 static HRESULT WINAPI HTMLStyle_put_listStyleType(IHTMLStyle *iface, BSTR v)
1091 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1092 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1093 return E_NOTIMPL;
1096 static HRESULT WINAPI HTMLStyle_get_listStyleType(IHTMLStyle *iface, BSTR *p)
1098 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1099 FIXME("(%p)->(%p)\n", This, p);
1100 return E_NOTIMPL;
1103 static HRESULT WINAPI HTMLStyle_put_listStylePosition(IHTMLStyle *iface, BSTR v)
1105 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1106 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1107 return E_NOTIMPL;
1110 static HRESULT WINAPI HTMLStyle_get_listStylePosition(IHTMLStyle *iface, BSTR *p)
1112 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1113 FIXME("(%p)->(%p)\n", This, p);
1114 return E_NOTIMPL;
1117 static HRESULT WINAPI HTMLStyle_put_listStyleImage(IHTMLStyle *iface, BSTR v)
1119 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1120 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1121 return E_NOTIMPL;
1124 static HRESULT WINAPI HTMLStyle_get_listStyleImage(IHTMLStyle *iface, BSTR *p)
1126 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1127 FIXME("(%p)->(%p)\n", This, p);
1128 return E_NOTIMPL;
1131 static HRESULT WINAPI HTMLStyle_put_listStyle(IHTMLStyle *iface, BSTR v)
1133 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1134 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1135 return E_NOTIMPL;
1138 static HRESULT WINAPI HTMLStyle_get_listStyle(IHTMLStyle *iface, BSTR *p)
1140 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1141 FIXME("(%p)->(%p)\n", This, p);
1142 return E_NOTIMPL;
1145 static HRESULT WINAPI HTMLStyle_put_whiteSpace(IHTMLStyle *iface, BSTR v)
1147 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1148 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1149 return E_NOTIMPL;
1152 static HRESULT WINAPI HTMLStyle_get_whiteSpace(IHTMLStyle *iface, BSTR *p)
1154 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1155 FIXME("(%p)->(%p)\n", This, p);
1156 return E_NOTIMPL;
1159 static HRESULT WINAPI HTMLStyle_put_top(IHTMLStyle *iface, VARIANT v)
1161 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1162 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1163 return E_NOTIMPL;
1166 static HRESULT WINAPI HTMLStyle_get_top(IHTMLStyle *iface, VARIANT *p)
1168 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1169 FIXME("(%p)->(%p)\n", This, p);
1170 return E_NOTIMPL;
1173 static HRESULT WINAPI HTMLStyle_put_left(IHTMLStyle *iface, VARIANT v)
1175 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1176 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1177 return E_NOTIMPL;
1180 static HRESULT WINAPI HTMLStyle_get_left(IHTMLStyle *iface, VARIANT *p)
1182 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1183 FIXME("(%p)->(%p)\n", This, p);
1184 return E_NOTIMPL;
1187 static HRESULT WINAPI HTMLStyle_get_position(IHTMLStyle *iface, BSTR *p)
1189 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1190 FIXME("(%p)->(%p)\n", This, p);
1191 return E_NOTIMPL;
1194 static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v)
1196 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1197 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1198 return E_NOTIMPL;
1201 static HRESULT WINAPI HTMLStyle_get_zIndex(IHTMLStyle *iface, VARIANT *p)
1203 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1204 FIXME("(%p)->(%p)\n", This, p);
1205 return E_NOTIMPL;
1208 static HRESULT WINAPI HTMLStyle_put_overflow(IHTMLStyle *iface, BSTR v)
1210 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1211 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1212 return E_NOTIMPL;
1215 static HRESULT WINAPI HTMLStyle_get_overflow(IHTMLStyle *iface, BSTR *p)
1217 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1218 FIXME("(%p)->(%p)\n", This, p);
1219 return E_NOTIMPL;
1222 static HRESULT WINAPI HTMLStyle_put_pageBreakBefore(IHTMLStyle *iface, BSTR v)
1224 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1225 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1226 return E_NOTIMPL;
1229 static HRESULT WINAPI HTMLStyle_get_pageBreakBefore(IHTMLStyle *iface, BSTR *p)
1231 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1232 FIXME("(%p)->(%p)\n", This, p);
1233 return E_NOTIMPL;
1236 static HRESULT WINAPI HTMLStyle_put_pageBreakAfter(IHTMLStyle *iface, BSTR v)
1238 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1239 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1240 return E_NOTIMPL;
1243 static HRESULT WINAPI HTMLStyle_get_pageBreakAfter(IHTMLStyle *iface, BSTR *p)
1245 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1246 FIXME("(%p)->(%p)\n", This, p);
1247 return E_NOTIMPL;
1250 static HRESULT WINAPI HTMLStyle_put_cssText(IHTMLStyle *iface, BSTR v)
1252 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1253 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1254 return E_NOTIMPL;
1257 static HRESULT WINAPI HTMLStyle_get_cssText(IHTMLStyle *iface, BSTR *p)
1259 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1260 FIXME("(%p)->(%p)\n", This, p);
1261 return E_NOTIMPL;
1264 static HRESULT WINAPI HTMLStyle_put_pixelTop(IHTMLStyle *iface, long v)
1266 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1267 FIXME("(%p)->()\n", This);
1268 return E_NOTIMPL;
1271 static HRESULT WINAPI HTMLStyle_get_pixelTop(IHTMLStyle *iface, long *p)
1273 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1274 FIXME("(%p)->()\n", This);
1275 return E_NOTIMPL;
1278 static HRESULT WINAPI HTMLStyle_put_pixelLeft(IHTMLStyle *iface, long v)
1280 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1281 FIXME("(%p)->()\n", This);
1282 return E_NOTIMPL;
1285 static HRESULT WINAPI HTMLStyle_get_pixelLeft(IHTMLStyle *iface, long *p)
1287 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1288 FIXME("(%p)->()\n", This);
1289 return E_NOTIMPL;
1292 static HRESULT WINAPI HTMLStyle_put_pixelWidth(IHTMLStyle *iface, long v)
1294 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1295 FIXME("(%p)->()\n", This);
1296 return E_NOTIMPL;
1299 static HRESULT WINAPI HTMLStyle_get_pixelWidth(IHTMLStyle *iface, long *p)
1301 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1302 FIXME("(%p)->()\n", This);
1303 return E_NOTIMPL;
1306 static HRESULT WINAPI HTMLStyle_put_pixelHeight(IHTMLStyle *iface, long v)
1308 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1309 FIXME("(%p)->()\n", This);
1310 return E_NOTIMPL;
1313 static HRESULT WINAPI HTMLStyle_get_pixelHeight(IHTMLStyle *iface, long *p)
1315 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1316 FIXME("(%p)->()\n", This);
1317 return E_NOTIMPL;
1320 static HRESULT WINAPI HTMLStyle_put_posTop(IHTMLStyle *iface, float v)
1322 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1323 FIXME("(%p)->()\n", This);
1324 return E_NOTIMPL;
1327 static HRESULT WINAPI HTMLStyle_get_posTop(IHTMLStyle *iface, float *p)
1329 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1330 FIXME("(%p)->()\n", This);
1331 return E_NOTIMPL;
1334 static HRESULT WINAPI HTMLStyle_put_posLeft(IHTMLStyle *iface, float v)
1336 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1337 FIXME("(%p)->()\n", This);
1338 return E_NOTIMPL;
1341 static HRESULT WINAPI HTMLStyle_get_posLeft(IHTMLStyle *iface, float *p)
1343 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1344 FIXME("(%p)->()\n", This);
1345 return E_NOTIMPL;
1348 static HRESULT WINAPI HTMLStyle_put_posWidth(IHTMLStyle *iface, float v)
1350 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1351 FIXME("(%p)->()\n", This);
1352 return E_NOTIMPL;
1355 static HRESULT WINAPI HTMLStyle_get_posWidth(IHTMLStyle *iface, float *p)
1357 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1358 FIXME("(%p)->()\n", This);
1359 return E_NOTIMPL;
1362 static HRESULT WINAPI HTMLStyle_put_posHeight(IHTMLStyle *iface, float v)
1364 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1365 FIXME("(%p)->()\n", This);
1366 return E_NOTIMPL;
1369 static HRESULT WINAPI HTMLStyle_get_posHeight(IHTMLStyle *iface, float *p)
1371 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1372 FIXME("(%p)->()\n", This);
1373 return E_NOTIMPL;
1376 static HRESULT WINAPI HTMLStyle_put_cursor(IHTMLStyle *iface, BSTR v)
1378 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1379 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1380 return E_NOTIMPL;
1383 static HRESULT WINAPI HTMLStyle_get_cursor(IHTMLStyle *iface, BSTR *p)
1385 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1386 FIXME("(%p)->(%p)\n", This, p);
1387 return E_NOTIMPL;
1390 static HRESULT WINAPI HTMLStyle_put_clip(IHTMLStyle *iface, BSTR v)
1392 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1393 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1394 return E_NOTIMPL;
1397 static HRESULT WINAPI HTMLStyle_get_clip(IHTMLStyle *iface, BSTR *p)
1399 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1400 FIXME("(%p)->(%p)\n", This, p);
1401 return E_NOTIMPL;
1404 static HRESULT WINAPI HTMLStyle_put_filter(IHTMLStyle *iface, BSTR v)
1406 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1407 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1408 return E_NOTIMPL;
1411 static HRESULT WINAPI HTMLStyle_get_filter(IHTMLStyle *iface, BSTR *p)
1413 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1414 FIXME("(%p)->(%p)\n", This, p);
1415 return E_NOTIMPL;
1418 static HRESULT WINAPI HTMLStyle_setAttribute(IHTMLStyle *iface, BSTR strAttributeName,
1419 VARIANT AttributeValue, LONG lFlags)
1421 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1422 FIXME("(%p)->(%s v%d %08x)\n", This, debugstr_w(strAttributeName),
1423 V_VT(&AttributeValue), lFlags);
1424 return E_NOTIMPL;
1427 static HRESULT WINAPI HTMLStyle_getAttribute(IHTMLStyle *iface, BSTR strAttributeName,
1428 LONG lFlags, VARIANT *AttributeValue)
1430 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1431 FIXME("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName),
1432 lFlags, AttributeValue);
1433 return E_NOTIMPL;
1436 static HRESULT WINAPI HTMLStyle_removeAttribute(IHTMLStyle *iface, BSTR strAttributeName,
1437 LONG lFlags, VARIANT_BOOL *pfSuccess)
1439 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1440 FIXME("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName),
1441 lFlags, pfSuccess);
1442 return E_NOTIMPL;
1445 static HRESULT WINAPI HTMLStyle_toString(IHTMLStyle *iface, BSTR *String)
1447 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1448 FIXME("(%p)->(%p)\n", This, String);
1449 return E_NOTIMPL;
1452 static const IHTMLStyleVtbl HTMLStyleVtbl = {
1453 HTMLStyle_QueryInterface,
1454 HTMLStyle_AddRef,
1455 HTMLStyle_Release,
1456 HTMLStyle_GetTypeInfoCount,
1457 HTMLStyle_GetTypeInfo,
1458 HTMLStyle_GetIDsOfNames,
1459 HTMLStyle_Invoke,
1460 HTMLStyle_put_fontFamily,
1461 HTMLStyle_get_fontFamily,
1462 HTMLStyle_put_fontStyle,
1463 HTMLStyle_get_fontStyle,
1464 HTMLStyle_put_fontVariant,
1465 HTMLStyle_get_fontVariant,
1466 HTMLStyle_put_fontWeight,
1467 HTMLStyle_get_fontWeight,
1468 HTMLStyle_put_fontSize,
1469 HTMLStyle_get_fontSize,
1470 HTMLStyle_put_font,
1471 HTMLStyle_get_font,
1472 HTMLStyle_put_color,
1473 HTMLStyle_get_color,
1474 HTMLStyle_put_background,
1475 HTMLStyle_get_background,
1476 HTMLStyle_put_backgroundColor,
1477 HTMLStyle_get_backgroundColor,
1478 HTMLStyle_put_backgroundImage,
1479 HTMLStyle_get_backgroundImage,
1480 HTMLStyle_put_backgroundRepeat,
1481 HTMLStyle_get_backgroundRepeat,
1482 HTMLStyle_put_backgroundAttachment,
1483 HTMLStyle_get_backgroundAttachment,
1484 HTMLStyle_put_backgroundPosition,
1485 HTMLStyle_get_backgroundPosition,
1486 HTMLStyle_put_backgroundPositionX,
1487 HTMLStyle_get_backgroundPositionX,
1488 HTMLStyle_put_backgroundPositionY,
1489 HTMLStyle_get_backgroundPositionY,
1490 HTMLStyle_put_wordSpacing,
1491 HTMLStyle_get_wordSpacing,
1492 HTMLStyle_put_letterSpacing,
1493 HTMLStyle_get_letterSpacing,
1494 HTMLStyle_put_textDecoration,
1495 HTMLStyle_get_textDecoration,
1496 HTMLStyle_put_textDecorationNone,
1497 HTMLStyle_get_textDecorationNone,
1498 HTMLStyle_put_textDecorationUnderline,
1499 HTMLStyle_get_textDecorationUnderline,
1500 HTMLStyle_put_textDecorationOverline,
1501 HTMLStyle_get_textDecorationOverline,
1502 HTMLStyle_put_textDecorationLineThrough,
1503 HTMLStyle_get_textDecorationLineThrough,
1504 HTMLStyle_put_textDecorationBlink,
1505 HTMLStyle_get_textDecorationBlink,
1506 HTMLStyle_put_verticalAlign,
1507 HTMLStyle_get_verticalAlign,
1508 HTMLStyle_put_textTransform,
1509 HTMLStyle_get_textTransform,
1510 HTMLStyle_put_textAlign,
1511 HTMLStyle_get_textAlign,
1512 HTMLStyle_put_textIndent,
1513 HTMLStyle_get_textIndent,
1514 HTMLStyle_put_lineHeight,
1515 HTMLStyle_get_lineHeight,
1516 HTMLStyle_put_marginTop,
1517 HTMLStyle_get_marginTop,
1518 HTMLStyle_put_marginRight,
1519 HTMLStyle_get_marginRight,
1520 HTMLStyle_put_marginBottom,
1521 HTMLStyle_get_marginBottom,
1522 HTMLStyle_put_marginLeft,
1523 HTMLStyle_get_marginLeft,
1524 HTMLStyle_put_margin,
1525 HTMLStyle_get_margin,
1526 HTMLStyle_put_paddingTop,
1527 HTMLStyle_get_paddingTop,
1528 HTMLStyle_put_paddingRight,
1529 HTMLStyle_get_paddingRight,
1530 HTMLStyle_put_paddingBottom,
1531 HTMLStyle_get_paddingBottom,
1532 HTMLStyle_put_paddingLeft,
1533 HTMLStyle_get_paddingLeft,
1534 HTMLStyle_put_padding,
1535 HTMLStyle_get_padding,
1536 HTMLStyle_put_border,
1537 HTMLStyle_get_border,
1538 HTMLStyle_put_borderTop,
1539 HTMLStyle_get_borderTop,
1540 HTMLStyle_put_borderRight,
1541 HTMLStyle_get_borderRight,
1542 HTMLStyle_put_borderBottom,
1543 HTMLStyle_get_borderBottom,
1544 HTMLStyle_put_borderLeft,
1545 HTMLStyle_get_borderLeft,
1546 HTMLStyle_put_borderColor,
1547 HTMLStyle_get_borderColor,
1548 HTMLStyle_put_borderTopColor,
1549 HTMLStyle_get_borderTopColor,
1550 HTMLStyle_put_borderRightColor,
1551 HTMLStyle_get_borderRightColor,
1552 HTMLStyle_put_borderBottomColor,
1553 HTMLStyle_get_borderBottomColor,
1554 HTMLStyle_put_borderLeftColor,
1555 HTMLStyle_get_borderLeftColor,
1556 HTMLStyle_put_borderWidth,
1557 HTMLStyle_get_borderWidth,
1558 HTMLStyle_put_borderTopWidth,
1559 HTMLStyle_get_borderTopWidth,
1560 HTMLStyle_put_borderRightWidth,
1561 HTMLStyle_get_borderRightWidth,
1562 HTMLStyle_put_borderBottomWidth,
1563 HTMLStyle_get_borderBottomWidth,
1564 HTMLStyle_put_borderLeftWidth,
1565 HTMLStyle_get_borderLeftWidth,
1566 HTMLStyle_put_borderStyle,
1567 HTMLStyle_get_borderStyle,
1568 HTMLStyle_put_borderTopStyle,
1569 HTMLStyle_get_borderTopStyle,
1570 HTMLStyle_put_borderRightStyle,
1571 HTMLStyle_get_borderRightStyle,
1572 HTMLStyle_put_borderBottomStyle,
1573 HTMLStyle_get_borderBottomStyle,
1574 HTMLStyle_put_borderLeftStyle,
1575 HTMLStyle_get_borderLeftStyle,
1576 HTMLStyle_put_width,
1577 HTMLStyle_get_width,
1578 HTMLStyle_put_height,
1579 HTMLStyle_get_height,
1580 HTMLStyle_put_styleFloat,
1581 HTMLStyle_get_styleFloat,
1582 HTMLStyle_put_clear,
1583 HTMLStyle_get_clear,
1584 HTMLStyle_put_display,
1585 HTMLStyle_get_display,
1586 HTMLStyle_put_visibility,
1587 HTMLStyle_get_visibility,
1588 HTMLStyle_put_listStyleType,
1589 HTMLStyle_get_listStyleType,
1590 HTMLStyle_put_listStylePosition,
1591 HTMLStyle_get_listStylePosition,
1592 HTMLStyle_put_listStyleImage,
1593 HTMLStyle_get_listStyleImage,
1594 HTMLStyle_put_listStyle,
1595 HTMLStyle_get_listStyle,
1596 HTMLStyle_put_whiteSpace,
1597 HTMLStyle_get_whiteSpace,
1598 HTMLStyle_put_top,
1599 HTMLStyle_get_top,
1600 HTMLStyle_put_left,
1601 HTMLStyle_get_left,
1602 HTMLStyle_get_position,
1603 HTMLStyle_put_zIndex,
1604 HTMLStyle_get_zIndex,
1605 HTMLStyle_put_overflow,
1606 HTMLStyle_get_overflow,
1607 HTMLStyle_put_pageBreakBefore,
1608 HTMLStyle_get_pageBreakBefore,
1609 HTMLStyle_put_pageBreakAfter,
1610 HTMLStyle_get_pageBreakAfter,
1611 HTMLStyle_put_cssText,
1612 HTMLStyle_get_cssText,
1613 HTMLStyle_put_pixelTop,
1614 HTMLStyle_get_pixelTop,
1615 HTMLStyle_put_pixelLeft,
1616 HTMLStyle_get_pixelLeft,
1617 HTMLStyle_put_pixelWidth,
1618 HTMLStyle_get_pixelWidth,
1619 HTMLStyle_put_pixelHeight,
1620 HTMLStyle_get_pixelHeight,
1621 HTMLStyle_put_posTop,
1622 HTMLStyle_get_posTop,
1623 HTMLStyle_put_posLeft,
1624 HTMLStyle_get_posLeft,
1625 HTMLStyle_put_posWidth,
1626 HTMLStyle_get_posWidth,
1627 HTMLStyle_put_posHeight,
1628 HTMLStyle_get_posHeight,
1629 HTMLStyle_put_cursor,
1630 HTMLStyle_get_cursor,
1631 HTMLStyle_put_clip,
1632 HTMLStyle_get_clip,
1633 HTMLStyle_put_filter,
1634 HTMLStyle_get_filter,
1635 HTMLStyle_setAttribute,
1636 HTMLStyle_getAttribute,
1637 HTMLStyle_removeAttribute,
1638 HTMLStyle_toString
1641 IHTMLStyle *HTMLStyle_Create(nsIDOMCSSStyleDeclaration *nsstyle)
1643 HTMLStyle *ret = mshtml_alloc(sizeof(HTMLStyle));
1645 ret->lpHTMLStyleVtbl = &HTMLStyleVtbl;
1646 ret->ref = 1;
1647 ret->nsstyle = nsstyle;
1649 nsIDOMCSSStyleDeclaration_AddRef(nsstyle);
1651 return HTMLSTYLE(ret);