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
32 #include "wine/debug.h"
33 #include "wine/unicode.h"
35 #include "mshtml_private.h"
37 WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
40 const IHTMLStyleVtbl *lpHTMLStyleVtbl;
44 nsIDOMCSSStyleDeclaration *nsstyle;
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};
54 static HRESULT set_style_attr(HTMLStyle *This, LPCWSTR name, LPCWSTR value)
56 nsAString str_name, str_value, str_empty;
59 static const PRUnichar wszEmpty[] = {0};
61 TRACE("(%p)->(%s %s)\n", This, debugstr_w(name), debugstr_w(value));
63 nsAString_Init(&str_name, name);
64 nsAString_Init(&str_value, value);
65 nsAString_Init(&str_empty, wszEmpty);
67 nsres = nsIDOMCSSStyleDeclaration_SetProperty(This->nsstyle, &str_name, &str_value, &str_empty);
69 ERR("SetProperty failed: %08x\n", nsres);
71 nsAString_Finish(&str_name);
72 nsAString_Finish(&str_value);
73 nsAString_Finish(&str_empty);
78 #define HTMLSTYLE_THIS(iface) DEFINE_THIS(HTMLStyle, HTMLStyle, iface)
80 static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, void **ppv)
82 HTMLStyle *This = HTMLSTYLE_THIS(iface);
86 if(IsEqualGUID(&IID_IUnknown, riid)) {
87 TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
88 *ppv = HTMLSTYLE(This);
89 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
90 TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
91 *ppv = HTMLSTYLE(This);
92 }else if(IsEqualGUID(&IID_IHTMLStyle, riid)) {
93 TRACE("(%p)->(IID_IHTMLStyle %p)\n", This, ppv);
94 *ppv = HTMLSTYLE(This);
98 IUnknown_AddRef((IUnknown*)*ppv);
102 WARN("unsupported %s\n", debugstr_guid(riid));
103 return E_NOINTERFACE;
106 static ULONG WINAPI HTMLStyle_AddRef(IHTMLStyle *iface)
108 HTMLStyle *This = HTMLSTYLE_THIS(iface);
109 LONG ref = InterlockedIncrement(&This->ref);
111 TRACE("(%p) ref=%d\n", This, ref);
116 static ULONG WINAPI HTMLStyle_Release(IHTMLStyle *iface)
118 HTMLStyle *This = HTMLSTYLE_THIS(iface);
119 LONG ref = InterlockedDecrement(&This->ref);
121 TRACE("(%p) ref=%d\n", This, ref);
129 static HRESULT WINAPI HTMLStyle_GetTypeInfoCount(IHTMLStyle *iface, UINT *pctinfo)
131 HTMLStyle *This = HTMLSTYLE_THIS(iface);
132 FIXME("(%p)->(%p)\n", This, pctinfo);
136 static HRESULT WINAPI HTMLStyle_GetTypeInfo(IHTMLStyle *iface, UINT iTInfo,
137 LCID lcid, ITypeInfo **ppTInfo)
139 HTMLStyle *This = HTMLSTYLE_THIS(iface);
140 FIXME("(%p)->(%u %u %p)\n", This, iTInfo, lcid, ppTInfo);
144 static HRESULT WINAPI HTMLStyle_GetIDsOfNames(IHTMLStyle *iface, REFIID riid,
145 LPOLESTR *rgszNames, UINT cNames,
146 LCID lcid, DISPID *rgDispId)
148 HTMLStyle *This = HTMLSTYLE_THIS(iface);
149 FIXME("(%p)->(%s %p %u %u %p)\n", This, debugstr_guid(riid), rgszNames, cNames,
154 static HRESULT WINAPI HTMLStyle_Invoke(IHTMLStyle *iface, DISPID dispIdMember,
155 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
156 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
158 HTMLStyle *This = HTMLSTYLE_THIS(iface);
159 FIXME("(%p)->(%d %s %d %d %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid),
160 lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
164 static HRESULT WINAPI HTMLStyle_put_fontFamily(IHTMLStyle *iface, BSTR v)
166 HTMLStyle *This = HTMLSTYLE_THIS(iface);
168 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
170 return set_style_attr(This, attrFontFamily, v);
173 static HRESULT WINAPI HTMLStyle_get_fontFamily(IHTMLStyle *iface, BSTR *p)
175 HTMLStyle *This = HTMLSTYLE_THIS(iface);
176 FIXME("(%p)->(%p)\n", This, p);
180 static HRESULT WINAPI HTMLStyle_put_fontStyle(IHTMLStyle *iface, BSTR v)
182 HTMLStyle *This = HTMLSTYLE_THIS(iface);
183 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
187 static HRESULT WINAPI HTMLStyle_get_fontStyle(IHTMLStyle *iface, BSTR *p)
189 HTMLStyle *This = HTMLSTYLE_THIS(iface);
190 FIXME("(%p)->(%p)\n", This, p);
194 static HRESULT WINAPI HTMLStyle_put_fontVariant(IHTMLStyle *iface, BSTR v)
196 HTMLStyle *This = HTMLSTYLE_THIS(iface);
197 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
201 static HRESULT WINAPI HTMLStyle_get_fontVariant(IHTMLStyle *iface, BSTR *p)
203 HTMLStyle *This = HTMLSTYLE_THIS(iface);
204 FIXME("(%p)->(%p)\n", This, p);
208 static HRESULT WINAPI HTMLStyle_put_fontWeight(IHTMLStyle *iface, BSTR v)
210 HTMLStyle *This = HTMLSTYLE_THIS(iface);
211 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
215 static HRESULT WINAPI HTMLStyle_get_fontWeight(IHTMLStyle *iface, BSTR *p)
217 HTMLStyle *This = HTMLSTYLE_THIS(iface);
218 FIXME("(%p)->(%p)\n", This, p);
222 static HRESULT WINAPI HTMLStyle_put_fontSize(IHTMLStyle *iface, VARIANT v)
224 HTMLStyle *This = HTMLSTYLE_THIS(iface);
225 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
229 static HRESULT WINAPI HTMLStyle_get_fontSize(IHTMLStyle *iface, VARIANT *p)
231 HTMLStyle *This = HTMLSTYLE_THIS(iface);
232 FIXME("(%p)->(%p)\n", This, p);
236 static HRESULT WINAPI HTMLStyle_put_font(IHTMLStyle *iface, BSTR v)
238 HTMLStyle *This = HTMLSTYLE_THIS(iface);
239 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
243 static HRESULT WINAPI HTMLStyle_get_font(IHTMLStyle *iface, BSTR *p)
245 HTMLStyle *This = HTMLSTYLE_THIS(iface);
246 FIXME("(%p)->(%p)\n", This, p);
250 static HRESULT WINAPI HTMLStyle_put_color(IHTMLStyle *iface, VARIANT v)
252 HTMLStyle *This = HTMLSTYLE_THIS(iface);
253 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
257 static HRESULT WINAPI HTMLStyle_get_color(IHTMLStyle *iface, VARIANT *p)
259 HTMLStyle *This = HTMLSTYLE_THIS(iface);
260 FIXME("(%p)->(%p)\n", This, p);
264 static HRESULT WINAPI HTMLStyle_put_background(IHTMLStyle *iface, BSTR v)
266 HTMLStyle *This = HTMLSTYLE_THIS(iface);
267 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
271 static HRESULT WINAPI HTMLStyle_get_background(IHTMLStyle *iface, BSTR *p)
273 HTMLStyle *This = HTMLSTYLE_THIS(iface);
274 FIXME("(%p)->(%p)\n", This, p);
278 static HRESULT WINAPI HTMLStyle_put_backgroundColor(IHTMLStyle *iface, VARIANT v)
280 HTMLStyle *This = HTMLSTYLE_THIS(iface);
282 TRACE("(%p)->(v%d)\n", This, V_VT(&v));
286 return set_style_attr(This, attrBackgroundColor, V_BSTR(&v));
289 static const WCHAR format[] = {'#','%','0','6','x',0};
291 wsprintfW(value, format, V_I4(&v));
292 return set_style_attr(This, attrBackgroundColor, value);
295 FIXME("unsupported vt %d\n", V_VT(&v));
301 static HRESULT WINAPI HTMLStyle_get_backgroundColor(IHTMLStyle *iface, VARIANT *p)
303 HTMLStyle *This = HTMLSTYLE_THIS(iface);
304 FIXME("(%p)->(%p)\n", This, p);
308 static HRESULT WINAPI HTMLStyle_put_backgroundImage(IHTMLStyle *iface, BSTR v)
310 HTMLStyle *This = HTMLSTYLE_THIS(iface);
311 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
315 static HRESULT WINAPI HTMLStyle_get_backgroundImage(IHTMLStyle *iface, BSTR *p)
317 HTMLStyle *This = HTMLSTYLE_THIS(iface);
318 FIXME("(%p)->(%p)\n", This, p);
322 static HRESULT WINAPI HTMLStyle_put_backgroundRepeat(IHTMLStyle *iface, BSTR v)
324 HTMLStyle *This = HTMLSTYLE_THIS(iface);
325 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
329 static HRESULT WINAPI HTMLStyle_get_backgroundRepeat(IHTMLStyle *iface, BSTR *p)
331 HTMLStyle *This = HTMLSTYLE_THIS(iface);
332 FIXME("(%p)->(%p)\n", This, p);
336 static HRESULT WINAPI HTMLStyle_put_backgroundAttachment(IHTMLStyle *iface, BSTR v)
338 HTMLStyle *This = HTMLSTYLE_THIS(iface);
339 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
343 static HRESULT WINAPI HTMLStyle_get_backgroundAttachment(IHTMLStyle *iface, BSTR *p)
345 HTMLStyle *This = HTMLSTYLE_THIS(iface);
346 FIXME("(%p)->(%p)\n", This, p);
350 static HRESULT WINAPI HTMLStyle_put_backgroundPosition(IHTMLStyle *iface, BSTR v)
352 HTMLStyle *This = HTMLSTYLE_THIS(iface);
353 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
357 static HRESULT WINAPI HTMLStyle_get_backgroundPosition(IHTMLStyle *iface, BSTR *p)
359 HTMLStyle *This = HTMLSTYLE_THIS(iface);
360 FIXME("(%p)->(%p)\n", This, p);
364 static HRESULT WINAPI HTMLStyle_put_backgroundPositionX(IHTMLStyle *iface, VARIANT v)
366 HTMLStyle *This = HTMLSTYLE_THIS(iface);
367 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
371 static HRESULT WINAPI HTMLStyle_get_backgroundPositionX(IHTMLStyle *iface, VARIANT *p)
373 HTMLStyle *This = HTMLSTYLE_THIS(iface);
374 FIXME("(%p)->(%p)\n", This, p);
378 static HRESULT WINAPI HTMLStyle_put_backgroundPositionY(IHTMLStyle *iface, VARIANT v)
380 HTMLStyle *This = HTMLSTYLE_THIS(iface);
381 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
385 static HRESULT WINAPI HTMLStyle_get_backgroundPositionY(IHTMLStyle *iface, VARIANT *p)
387 HTMLStyle *This = HTMLSTYLE_THIS(iface);
388 FIXME("(%p)->(%p)\n", This, p);
392 static HRESULT WINAPI HTMLStyle_put_wordSpacing(IHTMLStyle *iface, VARIANT v)
394 HTMLStyle *This = HTMLSTYLE_THIS(iface);
395 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
399 static HRESULT WINAPI HTMLStyle_get_wordSpacing(IHTMLStyle *iface, VARIANT *p)
401 HTMLStyle *This = HTMLSTYLE_THIS(iface);
402 FIXME("(%p)->(%p)\n", This, p);
406 static HRESULT WINAPI HTMLStyle_put_letterSpacing(IHTMLStyle *iface, VARIANT v)
408 HTMLStyle *This = HTMLSTYLE_THIS(iface);
409 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
413 static HRESULT WINAPI HTMLStyle_get_letterSpacing(IHTMLStyle *iface, VARIANT *p)
415 HTMLStyle *This = HTMLSTYLE_THIS(iface);
416 FIXME("(%p)->(%p)\n", This, p);
420 static HRESULT WINAPI HTMLStyle_put_textDecoration(IHTMLStyle *iface, BSTR v)
422 HTMLStyle *This = HTMLSTYLE_THIS(iface);
423 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
427 static HRESULT WINAPI HTMLStyle_get_textDecoration(IHTMLStyle *iface, BSTR *p)
429 HTMLStyle *This = HTMLSTYLE_THIS(iface);
430 FIXME("(%p)->(%p)\n", This, p);
434 static HRESULT WINAPI HTMLStyle_put_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL v)
436 HTMLStyle *This = HTMLSTYLE_THIS(iface);
437 FIXME("(%p)->(%x)\n", This, v);
441 static HRESULT WINAPI HTMLStyle_get_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL *p)
443 HTMLStyle *This = HTMLSTYLE_THIS(iface);
444 FIXME("(%p)->(%p)\n", This, p);
448 static HRESULT WINAPI HTMLStyle_put_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL v)
450 HTMLStyle *This = HTMLSTYLE_THIS(iface);
451 FIXME("(%p)->(%x)\n", This, v);
455 static HRESULT WINAPI HTMLStyle_get_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL *p)
457 HTMLStyle *This = HTMLSTYLE_THIS(iface);
458 FIXME("(%p)->(%p)\n", This, p);
462 static HRESULT WINAPI HTMLStyle_put_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL v)
464 HTMLStyle *This = HTMLSTYLE_THIS(iface);
465 FIXME("(%p)->(%x)\n", This, v);
469 static HRESULT WINAPI HTMLStyle_get_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL *p)
471 HTMLStyle *This = HTMLSTYLE_THIS(iface);
472 FIXME("(%p)->(%p)\n", This, p);
476 static HRESULT WINAPI HTMLStyle_put_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL v)
478 HTMLStyle *This = HTMLSTYLE_THIS(iface);
479 FIXME("(%p)->(%x)\n", This, v);
483 static HRESULT WINAPI HTMLStyle_get_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL *p)
485 HTMLStyle *This = HTMLSTYLE_THIS(iface);
486 FIXME("(%p)->(%p)\n", This, p);
490 static HRESULT WINAPI HTMLStyle_put_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL v)
492 HTMLStyle *This = HTMLSTYLE_THIS(iface);
493 FIXME("(%p)->(%x)\n", This, v);
497 static HRESULT WINAPI HTMLStyle_get_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL *p)
499 HTMLStyle *This = HTMLSTYLE_THIS(iface);
500 FIXME("(%p)->(%p)\n", This, p);
504 static HRESULT WINAPI HTMLStyle_put_verticalAlign(IHTMLStyle *iface, VARIANT v)
506 HTMLStyle *This = HTMLSTYLE_THIS(iface);
507 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
511 static HRESULT WINAPI HTMLStyle_get_verticalAlign(IHTMLStyle *iface, VARIANT *p)
513 HTMLStyle *This = HTMLSTYLE_THIS(iface);
514 FIXME("(%p)->(%p)\n", This, p);
518 static HRESULT WINAPI HTMLStyle_put_textTransform(IHTMLStyle *iface, BSTR v)
520 HTMLStyle *This = HTMLSTYLE_THIS(iface);
521 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
525 static HRESULT WINAPI HTMLStyle_get_textTransform(IHTMLStyle *iface, BSTR *p)
527 HTMLStyle *This = HTMLSTYLE_THIS(iface);
528 FIXME("(%p)->(%p)\n", This, p);
532 static HRESULT WINAPI HTMLStyle_put_textAlign(IHTMLStyle *iface, BSTR v)
534 HTMLStyle *This = HTMLSTYLE_THIS(iface);
535 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
539 static HRESULT WINAPI HTMLStyle_get_textAlign(IHTMLStyle *iface, BSTR *p)
541 HTMLStyle *This = HTMLSTYLE_THIS(iface);
542 FIXME("(%p)->(%p)\n", This, p);
546 static HRESULT WINAPI HTMLStyle_put_textIndent(IHTMLStyle *iface, VARIANT v)
548 HTMLStyle *This = HTMLSTYLE_THIS(iface);
549 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
553 static HRESULT WINAPI HTMLStyle_get_textIndent(IHTMLStyle *iface, VARIANT *p)
555 HTMLStyle *This = HTMLSTYLE_THIS(iface);
556 FIXME("(%p)->(%p)\n", This, p);
560 static HRESULT WINAPI HTMLStyle_put_lineHeight(IHTMLStyle *iface, VARIANT v)
562 HTMLStyle *This = HTMLSTYLE_THIS(iface);
563 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
567 static HRESULT WINAPI HTMLStyle_get_lineHeight(IHTMLStyle *iface, VARIANT *p)
569 HTMLStyle *This = HTMLSTYLE_THIS(iface);
570 FIXME("(%p)->(%p)\n", This, p);
574 static HRESULT WINAPI HTMLStyle_put_marginTop(IHTMLStyle *iface, VARIANT v)
576 HTMLStyle *This = HTMLSTYLE_THIS(iface);
577 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
581 static HRESULT WINAPI HTMLStyle_get_marginTop(IHTMLStyle *iface, VARIANT *p)
583 HTMLStyle *This = HTMLSTYLE_THIS(iface);
584 FIXME("(%p)->(%p)\n", This, p);
588 static HRESULT WINAPI HTMLStyle_put_marginRight(IHTMLStyle *iface, VARIANT v)
590 HTMLStyle *This = HTMLSTYLE_THIS(iface);
591 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
595 static HRESULT WINAPI HTMLStyle_get_marginRight(IHTMLStyle *iface, VARIANT *p)
597 HTMLStyle *This = HTMLSTYLE_THIS(iface);
598 FIXME("(%p)->(%p)\n", This, p);
602 static HRESULT WINAPI HTMLStyle_put_marginBottom(IHTMLStyle *iface, VARIANT v)
604 HTMLStyle *This = HTMLSTYLE_THIS(iface);
605 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
609 static HRESULT WINAPI HTMLStyle_get_marginBottom(IHTMLStyle *iface, VARIANT *p)
611 HTMLStyle *This = HTMLSTYLE_THIS(iface);
612 FIXME("(%p)->(%p)\n", This, p);
616 static HRESULT WINAPI HTMLStyle_put_marginLeft(IHTMLStyle *iface, VARIANT v)
618 HTMLStyle *This = HTMLSTYLE_THIS(iface);
619 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
623 static HRESULT WINAPI HTMLStyle_put_margin(IHTMLStyle *iface, BSTR v)
625 HTMLStyle *This = HTMLSTYLE_THIS(iface);
626 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
630 static HRESULT WINAPI HTMLStyle_get_margin(IHTMLStyle *iface, BSTR *p)
632 HTMLStyle *This = HTMLSTYLE_THIS(iface);
633 FIXME("(%p)->(%p)\n", This, p);
637 static HRESULT WINAPI HTMLStyle_get_marginLeft(IHTMLStyle *iface, VARIANT *p)
639 HTMLStyle *This = HTMLSTYLE_THIS(iface);
640 FIXME("(%p)->(%p)\n", This, p);
644 static HRESULT WINAPI HTMLStyle_put_paddingTop(IHTMLStyle *iface, VARIANT v)
646 HTMLStyle *This = HTMLSTYLE_THIS(iface);
647 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
651 static HRESULT WINAPI HTMLStyle_get_paddingTop(IHTMLStyle *iface, VARIANT *p)
653 HTMLStyle *This = HTMLSTYLE_THIS(iface);
654 FIXME("(%p)->(%p)\n", This, p);
658 static HRESULT WINAPI HTMLStyle_put_paddingRight(IHTMLStyle *iface, VARIANT v)
660 HTMLStyle *This = HTMLSTYLE_THIS(iface);
661 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
665 static HRESULT WINAPI HTMLStyle_get_paddingRight(IHTMLStyle *iface, VARIANT *p)
667 HTMLStyle *This = HTMLSTYLE_THIS(iface);
668 FIXME("(%p)->(%p)\n", This, p);
672 static HRESULT WINAPI HTMLStyle_put_paddingBottom(IHTMLStyle *iface, VARIANT v)
674 HTMLStyle *This = HTMLSTYLE_THIS(iface);
675 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
679 static HRESULT WINAPI HTMLStyle_get_paddingBottom(IHTMLStyle *iface, VARIANT *p)
681 HTMLStyle *This = HTMLSTYLE_THIS(iface);
682 FIXME("(%p)->(%p)\n", This, p);
686 static HRESULT WINAPI HTMLStyle_put_paddingLeft(IHTMLStyle *iface, VARIANT v)
688 HTMLStyle *This = HTMLSTYLE_THIS(iface);
689 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
693 static HRESULT WINAPI HTMLStyle_get_paddingLeft(IHTMLStyle *iface, VARIANT *p)
695 HTMLStyle *This = HTMLSTYLE_THIS(iface);
696 FIXME("(%p)->(%p)\n", This, p);
700 static HRESULT WINAPI HTMLStyle_put_padding(IHTMLStyle *iface, BSTR v)
702 HTMLStyle *This = HTMLSTYLE_THIS(iface);
703 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
707 static HRESULT WINAPI HTMLStyle_get_padding(IHTMLStyle *iface, BSTR *p)
709 HTMLStyle *This = HTMLSTYLE_THIS(iface);
710 FIXME("(%p)->(%p)\n", This, p);
714 static HRESULT WINAPI HTMLStyle_put_border(IHTMLStyle *iface, BSTR v)
716 HTMLStyle *This = HTMLSTYLE_THIS(iface);
717 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
721 static HRESULT WINAPI HTMLStyle_get_border(IHTMLStyle *iface, BSTR *p)
723 HTMLStyle *This = HTMLSTYLE_THIS(iface);
724 FIXME("(%p)->(%p)\n", This, p);
728 static HRESULT WINAPI HTMLStyle_put_borderTop(IHTMLStyle *iface, BSTR v)
730 HTMLStyle *This = HTMLSTYLE_THIS(iface);
731 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
735 static HRESULT WINAPI HTMLStyle_get_borderTop(IHTMLStyle *iface, BSTR *p)
737 HTMLStyle *This = HTMLSTYLE_THIS(iface);
738 FIXME("(%p)->(%p)\n", This, p);
742 static HRESULT WINAPI HTMLStyle_put_borderRight(IHTMLStyle *iface, BSTR v)
744 HTMLStyle *This = HTMLSTYLE_THIS(iface);
745 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
749 static HRESULT WINAPI HTMLStyle_get_borderRight(IHTMLStyle *iface, BSTR *p)
751 HTMLStyle *This = HTMLSTYLE_THIS(iface);
752 FIXME("(%p)->(%p)\n", This, p);
756 static HRESULT WINAPI HTMLStyle_put_borderBottom(IHTMLStyle *iface, BSTR v)
758 HTMLStyle *This = HTMLSTYLE_THIS(iface);
759 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
763 static HRESULT WINAPI HTMLStyle_get_borderBottom(IHTMLStyle *iface, BSTR *p)
765 HTMLStyle *This = HTMLSTYLE_THIS(iface);
766 FIXME("(%p)->(%p)\n", This, p);
770 static HRESULT WINAPI HTMLStyle_put_borderLeft(IHTMLStyle *iface, BSTR v)
772 HTMLStyle *This = HTMLSTYLE_THIS(iface);
773 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
777 static HRESULT WINAPI HTMLStyle_get_borderLeft(IHTMLStyle *iface, BSTR *p)
779 HTMLStyle *This = HTMLSTYLE_THIS(iface);
780 FIXME("(%p)->(%p)\n", This, p);
784 static HRESULT WINAPI HTMLStyle_put_borderColor(IHTMLStyle *iface, BSTR v)
786 HTMLStyle *This = HTMLSTYLE_THIS(iface);
787 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
791 static HRESULT WINAPI HTMLStyle_get_borderColor(IHTMLStyle *iface, BSTR *p)
793 HTMLStyle *This = HTMLSTYLE_THIS(iface);
794 FIXME("(%p)->(%p)\n", This, p);
798 static HRESULT WINAPI HTMLStyle_put_borderTopColor(IHTMLStyle *iface, VARIANT v)
800 HTMLStyle *This = HTMLSTYLE_THIS(iface);
801 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
805 static HRESULT WINAPI HTMLStyle_get_borderTopColor(IHTMLStyle *iface, VARIANT *p)
807 HTMLStyle *This = HTMLSTYLE_THIS(iface);
808 FIXME("(%p)->(%p)\n", This, p);
812 static HRESULT WINAPI HTMLStyle_put_borderRightColor(IHTMLStyle *iface, VARIANT v)
814 HTMLStyle *This = HTMLSTYLE_THIS(iface);
815 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
819 static HRESULT WINAPI HTMLStyle_get_borderRightColor(IHTMLStyle *iface, VARIANT *p)
821 HTMLStyle *This = HTMLSTYLE_THIS(iface);
822 FIXME("(%p)->(%p)\n", This, p);
826 static HRESULT WINAPI HTMLStyle_put_borderBottomColor(IHTMLStyle *iface, VARIANT v)
828 HTMLStyle *This = HTMLSTYLE_THIS(iface);
829 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
833 static HRESULT WINAPI HTMLStyle_get_borderBottomColor(IHTMLStyle *iface, VARIANT *p)
835 HTMLStyle *This = HTMLSTYLE_THIS(iface);
836 FIXME("(%p)->(%p)\n", This, p);
840 static HRESULT WINAPI HTMLStyle_put_borderLeftColor(IHTMLStyle *iface, VARIANT v)
842 HTMLStyle *This = HTMLSTYLE_THIS(iface);
843 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
847 static HRESULT WINAPI HTMLStyle_get_borderLeftColor(IHTMLStyle *iface, VARIANT *p)
849 HTMLStyle *This = HTMLSTYLE_THIS(iface);
850 FIXME("(%p)->(%p)\n", This, p);
854 static HRESULT WINAPI HTMLStyle_put_borderWidth(IHTMLStyle *iface, BSTR v)
856 HTMLStyle *This = HTMLSTYLE_THIS(iface);
857 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
861 static HRESULT WINAPI HTMLStyle_get_borderWidth(IHTMLStyle *iface, BSTR *p)
863 HTMLStyle *This = HTMLSTYLE_THIS(iface);
864 FIXME("(%p)->(%p)\n", This, p);
868 static HRESULT WINAPI HTMLStyle_put_borderTopWidth(IHTMLStyle *iface, VARIANT v)
870 HTMLStyle *This = HTMLSTYLE_THIS(iface);
871 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
875 static HRESULT WINAPI HTMLStyle_get_borderTopWidth(IHTMLStyle *iface, VARIANT *p)
877 HTMLStyle *This = HTMLSTYLE_THIS(iface);
878 FIXME("(%p)->(%p)\n", This, p);
882 static HRESULT WINAPI HTMLStyle_put_borderRightWidth(IHTMLStyle *iface, VARIANT v)
884 HTMLStyle *This = HTMLSTYLE_THIS(iface);
885 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
889 static HRESULT WINAPI HTMLStyle_get_borderRightWidth(IHTMLStyle *iface, VARIANT *p)
891 HTMLStyle *This = HTMLSTYLE_THIS(iface);
892 FIXME("(%p)->(%p)\n", This, p);
896 static HRESULT WINAPI HTMLStyle_put_borderBottomWidth(IHTMLStyle *iface, VARIANT v)
898 HTMLStyle *This = HTMLSTYLE_THIS(iface);
899 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
903 static HRESULT WINAPI HTMLStyle_get_borderBottomWidth(IHTMLStyle *iface, VARIANT *p)
905 HTMLStyle *This = HTMLSTYLE_THIS(iface);
906 FIXME("(%p)->(%p)\n", This, p);
910 static HRESULT WINAPI HTMLStyle_put_borderLeftWidth(IHTMLStyle *iface, VARIANT v)
912 HTMLStyle *This = HTMLSTYLE_THIS(iface);
913 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
917 static HRESULT WINAPI HTMLStyle_get_borderLeftWidth(IHTMLStyle *iface, VARIANT *p)
919 HTMLStyle *This = HTMLSTYLE_THIS(iface);
920 FIXME("(%p)->(%p)\n", This, p);
924 static HRESULT WINAPI HTMLStyle_put_borderStyle(IHTMLStyle *iface, BSTR v)
926 HTMLStyle *This = HTMLSTYLE_THIS(iface);
927 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
931 static HRESULT WINAPI HTMLStyle_get_borderStyle(IHTMLStyle *iface, BSTR *p)
933 HTMLStyle *This = HTMLSTYLE_THIS(iface);
934 FIXME("(%p)->(%p)\n", This, p);
938 static HRESULT WINAPI HTMLStyle_put_borderTopStyle(IHTMLStyle *iface, BSTR v)
940 HTMLStyle *This = HTMLSTYLE_THIS(iface);
941 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
945 static HRESULT WINAPI HTMLStyle_get_borderTopStyle(IHTMLStyle *iface, BSTR *p)
947 HTMLStyle *This = HTMLSTYLE_THIS(iface);
948 FIXME("(%p)->(%p)\n", This, p);
952 static HRESULT WINAPI HTMLStyle_put_borderRightStyle(IHTMLStyle *iface, BSTR v)
954 HTMLStyle *This = HTMLSTYLE_THIS(iface);
955 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
959 static HRESULT WINAPI HTMLStyle_get_borderRightStyle(IHTMLStyle *iface, BSTR *p)
961 HTMLStyle *This = HTMLSTYLE_THIS(iface);
962 FIXME("(%p)->(%p)\n", This, p);
966 static HRESULT WINAPI HTMLStyle_put_borderBottomStyle(IHTMLStyle *iface, BSTR v)
968 HTMLStyle *This = HTMLSTYLE_THIS(iface);
969 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
973 static HRESULT WINAPI HTMLStyle_get_borderBottomStyle(IHTMLStyle *iface, BSTR *p)
975 HTMLStyle *This = HTMLSTYLE_THIS(iface);
976 FIXME("(%p)->(%p)\n", This, p);
980 static HRESULT WINAPI HTMLStyle_put_borderLeftStyle(IHTMLStyle *iface, BSTR v)
982 HTMLStyle *This = HTMLSTYLE_THIS(iface);
983 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
987 static HRESULT WINAPI HTMLStyle_get_borderLeftStyle(IHTMLStyle *iface, BSTR *p)
989 HTMLStyle *This = HTMLSTYLE_THIS(iface);
990 FIXME("(%p)->(%p)\n", This, p);
994 static HRESULT WINAPI HTMLStyle_put_width(IHTMLStyle *iface, VARIANT v)
996 HTMLStyle *This = HTMLSTYLE_THIS(iface);
997 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1001 static HRESULT WINAPI HTMLStyle_get_width(IHTMLStyle *iface, VARIANT *p)
1003 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1004 FIXME("(%p)->(%p)\n", This, p);
1008 static HRESULT WINAPI HTMLStyle_put_height(IHTMLStyle *iface, VARIANT v)
1010 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1011 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1015 static HRESULT WINAPI HTMLStyle_get_height(IHTMLStyle *iface, VARIANT *p)
1017 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1018 FIXME("(%p)->(%p)\n", This, p);
1022 static HRESULT WINAPI HTMLStyle_put_styleFloat(IHTMLStyle *iface, BSTR v)
1024 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1025 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1029 static HRESULT WINAPI HTMLStyle_get_styleFloat(IHTMLStyle *iface, BSTR *p)
1031 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1032 FIXME("(%p)->(%p)\n", This, p);
1036 static HRESULT WINAPI HTMLStyle_put_clear(IHTMLStyle *iface, BSTR v)
1038 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1039 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1043 static HRESULT WINAPI HTMLStyle_get_clear(IHTMLStyle *iface, BSTR *p)
1045 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1046 FIXME("(%p)->(%p)\n", This, p);
1050 static HRESULT WINAPI HTMLStyle_put_display(IHTMLStyle *iface, BSTR v)
1052 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1053 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1057 static HRESULT WINAPI HTMLStyle_get_display(IHTMLStyle *iface, BSTR *p)
1059 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1060 FIXME("(%p)->(%p)\n", This, p);
1064 static HRESULT WINAPI HTMLStyle_put_visibility(IHTMLStyle *iface, BSTR v)
1066 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1067 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1071 static HRESULT WINAPI HTMLStyle_get_visibility(IHTMLStyle *iface, BSTR *p)
1073 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1074 FIXME("(%p)->(%p)\n", This, p);
1078 static HRESULT WINAPI HTMLStyle_put_listStyleType(IHTMLStyle *iface, BSTR v)
1080 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1081 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1085 static HRESULT WINAPI HTMLStyle_get_listStyleType(IHTMLStyle *iface, BSTR *p)
1087 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1088 FIXME("(%p)->(%p)\n", This, p);
1092 static HRESULT WINAPI HTMLStyle_put_listStylePosition(IHTMLStyle *iface, BSTR v)
1094 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1095 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1099 static HRESULT WINAPI HTMLStyle_get_listStylePosition(IHTMLStyle *iface, BSTR *p)
1101 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1102 FIXME("(%p)->(%p)\n", This, p);
1106 static HRESULT WINAPI HTMLStyle_put_listStyleImage(IHTMLStyle *iface, BSTR v)
1108 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1109 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1113 static HRESULT WINAPI HTMLStyle_get_listStyleImage(IHTMLStyle *iface, BSTR *p)
1115 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1116 FIXME("(%p)->(%p)\n", This, p);
1120 static HRESULT WINAPI HTMLStyle_put_listStyle(IHTMLStyle *iface, BSTR v)
1122 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1123 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1127 static HRESULT WINAPI HTMLStyle_get_listStyle(IHTMLStyle *iface, BSTR *p)
1129 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1130 FIXME("(%p)->(%p)\n", This, p);
1134 static HRESULT WINAPI HTMLStyle_put_whiteSpace(IHTMLStyle *iface, BSTR v)
1136 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1137 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1141 static HRESULT WINAPI HTMLStyle_get_whiteSpace(IHTMLStyle *iface, BSTR *p)
1143 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1144 FIXME("(%p)->(%p)\n", This, p);
1148 static HRESULT WINAPI HTMLStyle_put_top(IHTMLStyle *iface, VARIANT v)
1150 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1151 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1155 static HRESULT WINAPI HTMLStyle_get_top(IHTMLStyle *iface, VARIANT *p)
1157 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1158 FIXME("(%p)->(%p)\n", This, p);
1162 static HRESULT WINAPI HTMLStyle_put_left(IHTMLStyle *iface, VARIANT v)
1164 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1165 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1169 static HRESULT WINAPI HTMLStyle_get_left(IHTMLStyle *iface, VARIANT *p)
1171 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1172 FIXME("(%p)->(%p)\n", This, p);
1176 static HRESULT WINAPI HTMLStyle_get_position(IHTMLStyle *iface, BSTR *p)
1178 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1179 FIXME("(%p)->(%p)\n", This, p);
1183 static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v)
1185 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1186 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1190 static HRESULT WINAPI HTMLStyle_get_zIndex(IHTMLStyle *iface, VARIANT *p)
1192 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1193 FIXME("(%p)->(%p)\n", This, p);
1197 static HRESULT WINAPI HTMLStyle_put_overflow(IHTMLStyle *iface, BSTR v)
1199 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1200 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1204 static HRESULT WINAPI HTMLStyle_get_overflow(IHTMLStyle *iface, BSTR *p)
1206 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1207 FIXME("(%p)->(%p)\n", This, p);
1211 static HRESULT WINAPI HTMLStyle_put_pageBreakBefore(IHTMLStyle *iface, BSTR v)
1213 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1214 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1218 static HRESULT WINAPI HTMLStyle_get_pageBreakBefore(IHTMLStyle *iface, BSTR *p)
1220 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1221 FIXME("(%p)->(%p)\n", This, p);
1225 static HRESULT WINAPI HTMLStyle_put_pageBreakAfter(IHTMLStyle *iface, BSTR v)
1227 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1228 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1232 static HRESULT WINAPI HTMLStyle_get_pageBreakAfter(IHTMLStyle *iface, BSTR *p)
1234 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1235 FIXME("(%p)->(%p)\n", This, p);
1239 static HRESULT WINAPI HTMLStyle_put_cssText(IHTMLStyle *iface, BSTR v)
1241 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1242 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1246 static HRESULT WINAPI HTMLStyle_get_cssText(IHTMLStyle *iface, BSTR *p)
1248 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1249 FIXME("(%p)->(%p)\n", This, p);
1253 static HRESULT WINAPI HTMLStyle_put_pixelTop(IHTMLStyle *iface, long v)
1255 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1256 FIXME("(%p)->()\n", This);
1260 static HRESULT WINAPI HTMLStyle_get_pixelTop(IHTMLStyle *iface, long *p)
1262 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1263 FIXME("(%p)->()\n", This);
1267 static HRESULT WINAPI HTMLStyle_put_pixelLeft(IHTMLStyle *iface, long v)
1269 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1270 FIXME("(%p)->()\n", This);
1274 static HRESULT WINAPI HTMLStyle_get_pixelLeft(IHTMLStyle *iface, long *p)
1276 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1277 FIXME("(%p)->()\n", This);
1281 static HRESULT WINAPI HTMLStyle_put_pixelWidth(IHTMLStyle *iface, long v)
1283 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1284 FIXME("(%p)->()\n", This);
1288 static HRESULT WINAPI HTMLStyle_get_pixelWidth(IHTMLStyle *iface, long *p)
1290 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1291 FIXME("(%p)->()\n", This);
1295 static HRESULT WINAPI HTMLStyle_put_pixelHeight(IHTMLStyle *iface, long v)
1297 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1298 FIXME("(%p)->()\n", This);
1302 static HRESULT WINAPI HTMLStyle_get_pixelHeight(IHTMLStyle *iface, long *p)
1304 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1305 FIXME("(%p)->()\n", This);
1309 static HRESULT WINAPI HTMLStyle_put_posTop(IHTMLStyle *iface, float v)
1311 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1312 FIXME("(%p)->()\n", This);
1316 static HRESULT WINAPI HTMLStyle_get_posTop(IHTMLStyle *iface, float *p)
1318 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1319 FIXME("(%p)->()\n", This);
1323 static HRESULT WINAPI HTMLStyle_put_posLeft(IHTMLStyle *iface, float v)
1325 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1326 FIXME("(%p)->()\n", This);
1330 static HRESULT WINAPI HTMLStyle_get_posLeft(IHTMLStyle *iface, float *p)
1332 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1333 FIXME("(%p)->()\n", This);
1337 static HRESULT WINAPI HTMLStyle_put_posWidth(IHTMLStyle *iface, float v)
1339 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1340 FIXME("(%p)->()\n", This);
1344 static HRESULT WINAPI HTMLStyle_get_posWidth(IHTMLStyle *iface, float *p)
1346 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1347 FIXME("(%p)->()\n", This);
1351 static HRESULT WINAPI HTMLStyle_put_posHeight(IHTMLStyle *iface, float v)
1353 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1354 FIXME("(%p)->()\n", This);
1358 static HRESULT WINAPI HTMLStyle_get_posHeight(IHTMLStyle *iface, float *p)
1360 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1361 FIXME("(%p)->()\n", This);
1365 static HRESULT WINAPI HTMLStyle_put_cursor(IHTMLStyle *iface, BSTR v)
1367 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1368 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1372 static HRESULT WINAPI HTMLStyle_get_cursor(IHTMLStyle *iface, BSTR *p)
1374 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1375 FIXME("(%p)->(%p)\n", This, p);
1379 static HRESULT WINAPI HTMLStyle_put_clip(IHTMLStyle *iface, BSTR v)
1381 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1382 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1386 static HRESULT WINAPI HTMLStyle_get_clip(IHTMLStyle *iface, BSTR *p)
1388 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1389 FIXME("(%p)->(%p)\n", This, p);
1393 static HRESULT WINAPI HTMLStyle_put_filter(IHTMLStyle *iface, BSTR v)
1395 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1396 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1400 static HRESULT WINAPI HTMLStyle_get_filter(IHTMLStyle *iface, BSTR *p)
1402 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1403 FIXME("(%p)->(%p)\n", This, p);
1407 static HRESULT WINAPI HTMLStyle_setAttribute(IHTMLStyle *iface, BSTR strAttributeName,
1408 VARIANT AttributeValue, LONG lFlags)
1410 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1411 FIXME("(%p)->(%s v%d %08x)\n", This, debugstr_w(strAttributeName),
1412 V_VT(&AttributeValue), lFlags);
1416 static HRESULT WINAPI HTMLStyle_getAttribute(IHTMLStyle *iface, BSTR strAttributeName,
1417 LONG lFlags, VARIANT *AttributeValue)
1419 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1420 FIXME("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName),
1421 lFlags, AttributeValue);
1425 static HRESULT WINAPI HTMLStyle_removeAttribute(IHTMLStyle *iface, BSTR strAttributeName,
1426 LONG lFlags, VARIANT_BOOL *pfSuccess)
1428 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1429 FIXME("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName),
1434 static HRESULT WINAPI HTMLStyle_toString(IHTMLStyle *iface, BSTR *String)
1436 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1437 FIXME("(%p)->(%p)\n", This, String);
1441 static const IHTMLStyleVtbl HTMLStyleVtbl = {
1442 HTMLStyle_QueryInterface,
1445 HTMLStyle_GetTypeInfoCount,
1446 HTMLStyle_GetTypeInfo,
1447 HTMLStyle_GetIDsOfNames,
1449 HTMLStyle_put_fontFamily,
1450 HTMLStyle_get_fontFamily,
1451 HTMLStyle_put_fontStyle,
1452 HTMLStyle_get_fontStyle,
1453 HTMLStyle_put_fontVariant,
1454 HTMLStyle_get_fontVariant,
1455 HTMLStyle_put_fontWeight,
1456 HTMLStyle_get_fontWeight,
1457 HTMLStyle_put_fontSize,
1458 HTMLStyle_get_fontSize,
1461 HTMLStyle_put_color,
1462 HTMLStyle_get_color,
1463 HTMLStyle_put_background,
1464 HTMLStyle_get_background,
1465 HTMLStyle_put_backgroundColor,
1466 HTMLStyle_get_backgroundColor,
1467 HTMLStyle_put_backgroundImage,
1468 HTMLStyle_get_backgroundImage,
1469 HTMLStyle_put_backgroundRepeat,
1470 HTMLStyle_get_backgroundRepeat,
1471 HTMLStyle_put_backgroundAttachment,
1472 HTMLStyle_get_backgroundAttachment,
1473 HTMLStyle_put_backgroundPosition,
1474 HTMLStyle_get_backgroundPosition,
1475 HTMLStyle_put_backgroundPositionX,
1476 HTMLStyle_get_backgroundPositionX,
1477 HTMLStyle_put_backgroundPositionY,
1478 HTMLStyle_get_backgroundPositionY,
1479 HTMLStyle_put_wordSpacing,
1480 HTMLStyle_get_wordSpacing,
1481 HTMLStyle_put_letterSpacing,
1482 HTMLStyle_get_letterSpacing,
1483 HTMLStyle_put_textDecoration,
1484 HTMLStyle_get_textDecoration,
1485 HTMLStyle_put_textDecorationNone,
1486 HTMLStyle_get_textDecorationNone,
1487 HTMLStyle_put_textDecorationUnderline,
1488 HTMLStyle_get_textDecorationUnderline,
1489 HTMLStyle_put_textDecorationOverline,
1490 HTMLStyle_get_textDecorationOverline,
1491 HTMLStyle_put_textDecorationLineThrough,
1492 HTMLStyle_get_textDecorationLineThrough,
1493 HTMLStyle_put_textDecorationBlink,
1494 HTMLStyle_get_textDecorationBlink,
1495 HTMLStyle_put_verticalAlign,
1496 HTMLStyle_get_verticalAlign,
1497 HTMLStyle_put_textTransform,
1498 HTMLStyle_get_textTransform,
1499 HTMLStyle_put_textAlign,
1500 HTMLStyle_get_textAlign,
1501 HTMLStyle_put_textIndent,
1502 HTMLStyle_get_textIndent,
1503 HTMLStyle_put_lineHeight,
1504 HTMLStyle_get_lineHeight,
1505 HTMLStyle_put_marginTop,
1506 HTMLStyle_get_marginTop,
1507 HTMLStyle_put_marginRight,
1508 HTMLStyle_get_marginRight,
1509 HTMLStyle_put_marginBottom,
1510 HTMLStyle_get_marginBottom,
1511 HTMLStyle_put_marginLeft,
1512 HTMLStyle_get_marginLeft,
1513 HTMLStyle_put_margin,
1514 HTMLStyle_get_margin,
1515 HTMLStyle_put_paddingTop,
1516 HTMLStyle_get_paddingTop,
1517 HTMLStyle_put_paddingRight,
1518 HTMLStyle_get_paddingRight,
1519 HTMLStyle_put_paddingBottom,
1520 HTMLStyle_get_paddingBottom,
1521 HTMLStyle_put_paddingLeft,
1522 HTMLStyle_get_paddingLeft,
1523 HTMLStyle_put_padding,
1524 HTMLStyle_get_padding,
1525 HTMLStyle_put_border,
1526 HTMLStyle_get_border,
1527 HTMLStyle_put_borderTop,
1528 HTMLStyle_get_borderTop,
1529 HTMLStyle_put_borderRight,
1530 HTMLStyle_get_borderRight,
1531 HTMLStyle_put_borderBottom,
1532 HTMLStyle_get_borderBottom,
1533 HTMLStyle_put_borderLeft,
1534 HTMLStyle_get_borderLeft,
1535 HTMLStyle_put_borderColor,
1536 HTMLStyle_get_borderColor,
1537 HTMLStyle_put_borderTopColor,
1538 HTMLStyle_get_borderTopColor,
1539 HTMLStyle_put_borderRightColor,
1540 HTMLStyle_get_borderRightColor,
1541 HTMLStyle_put_borderBottomColor,
1542 HTMLStyle_get_borderBottomColor,
1543 HTMLStyle_put_borderLeftColor,
1544 HTMLStyle_get_borderLeftColor,
1545 HTMLStyle_put_borderWidth,
1546 HTMLStyle_get_borderWidth,
1547 HTMLStyle_put_borderTopWidth,
1548 HTMLStyle_get_borderTopWidth,
1549 HTMLStyle_put_borderRightWidth,
1550 HTMLStyle_get_borderRightWidth,
1551 HTMLStyle_put_borderBottomWidth,
1552 HTMLStyle_get_borderBottomWidth,
1553 HTMLStyle_put_borderLeftWidth,
1554 HTMLStyle_get_borderLeftWidth,
1555 HTMLStyle_put_borderStyle,
1556 HTMLStyle_get_borderStyle,
1557 HTMLStyle_put_borderTopStyle,
1558 HTMLStyle_get_borderTopStyle,
1559 HTMLStyle_put_borderRightStyle,
1560 HTMLStyle_get_borderRightStyle,
1561 HTMLStyle_put_borderBottomStyle,
1562 HTMLStyle_get_borderBottomStyle,
1563 HTMLStyle_put_borderLeftStyle,
1564 HTMLStyle_get_borderLeftStyle,
1565 HTMLStyle_put_width,
1566 HTMLStyle_get_width,
1567 HTMLStyle_put_height,
1568 HTMLStyle_get_height,
1569 HTMLStyle_put_styleFloat,
1570 HTMLStyle_get_styleFloat,
1571 HTMLStyle_put_clear,
1572 HTMLStyle_get_clear,
1573 HTMLStyle_put_display,
1574 HTMLStyle_get_display,
1575 HTMLStyle_put_visibility,
1576 HTMLStyle_get_visibility,
1577 HTMLStyle_put_listStyleType,
1578 HTMLStyle_get_listStyleType,
1579 HTMLStyle_put_listStylePosition,
1580 HTMLStyle_get_listStylePosition,
1581 HTMLStyle_put_listStyleImage,
1582 HTMLStyle_get_listStyleImage,
1583 HTMLStyle_put_listStyle,
1584 HTMLStyle_get_listStyle,
1585 HTMLStyle_put_whiteSpace,
1586 HTMLStyle_get_whiteSpace,
1591 HTMLStyle_get_position,
1592 HTMLStyle_put_zIndex,
1593 HTMLStyle_get_zIndex,
1594 HTMLStyle_put_overflow,
1595 HTMLStyle_get_overflow,
1596 HTMLStyle_put_pageBreakBefore,
1597 HTMLStyle_get_pageBreakBefore,
1598 HTMLStyle_put_pageBreakAfter,
1599 HTMLStyle_get_pageBreakAfter,
1600 HTMLStyle_put_cssText,
1601 HTMLStyle_get_cssText,
1602 HTMLStyle_put_pixelTop,
1603 HTMLStyle_get_pixelTop,
1604 HTMLStyle_put_pixelLeft,
1605 HTMLStyle_get_pixelLeft,
1606 HTMLStyle_put_pixelWidth,
1607 HTMLStyle_get_pixelWidth,
1608 HTMLStyle_put_pixelHeight,
1609 HTMLStyle_get_pixelHeight,
1610 HTMLStyle_put_posTop,
1611 HTMLStyle_get_posTop,
1612 HTMLStyle_put_posLeft,
1613 HTMLStyle_get_posLeft,
1614 HTMLStyle_put_posWidth,
1615 HTMLStyle_get_posWidth,
1616 HTMLStyle_put_posHeight,
1617 HTMLStyle_get_posHeight,
1618 HTMLStyle_put_cursor,
1619 HTMLStyle_get_cursor,
1622 HTMLStyle_put_filter,
1623 HTMLStyle_get_filter,
1624 HTMLStyle_setAttribute,
1625 HTMLStyle_getAttribute,
1626 HTMLStyle_removeAttribute,
1630 IHTMLStyle *HTMLStyle_Create(nsIDOMCSSStyleDeclaration *nsstyle)
1632 HTMLStyle *ret = mshtml_alloc(sizeof(HTMLStyle));
1634 ret->lpHTMLStyleVtbl = &HTMLStyleVtbl;
1636 ret->nsstyle = nsstyle;
1638 nsIDOMCSSStyleDeclaration_AddRef(nsstyle);
1640 return HTMLSTYLE(ret);