mshtml: Added get_style implementation.
[wine.git] / dlls / mshtml / htmlstyle.c
blob57000d782efe8dfd927fd44ec804e16a9847250c
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;
43 } HTMLStyle;
45 #define HTMLSTYLE(x) ((IHTMLStyle*) &(x)->lpHTMLStyleVtbl);
47 #define HTMLSTYLE_THIS(iface) DEFINE_THIS(HTMLStyle, HTMLStyle, iface)
49 static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, void **ppv)
51 HTMLStyle *This = HTMLSTYLE_THIS(iface);
53 *ppv = NULL;
55 if(IsEqualGUID(&IID_IUnknown, riid)) {
56 TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
57 *ppv = HTMLSTYLE(This);
58 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
59 TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
60 *ppv = HTMLSTYLE(This);
61 }else if(IsEqualGUID(&IID_IHTMLStyle, riid)) {
62 TRACE("(%p)->(IID_IHTMLStyle %p)\n", This, ppv);
63 *ppv = HTMLSTYLE(This);
66 if(*ppv) {
67 IUnknown_AddRef((IUnknown*)*ppv);
68 return S_OK;
71 WARN("unsupported %s\n", debugstr_guid(riid));
72 return E_NOINTERFACE;
75 static ULONG WINAPI HTMLStyle_AddRef(IHTMLStyle *iface)
77 HTMLStyle *This = HTMLSTYLE_THIS(iface);
78 LONG ref = InterlockedIncrement(&This->ref);
80 TRACE("(%p) ref=%d\n", This, ref);
82 return ref;
85 static ULONG WINAPI HTMLStyle_Release(IHTMLStyle *iface)
87 HTMLStyle *This = HTMLSTYLE_THIS(iface);
88 LONG ref = InterlockedDecrement(&This->ref);
90 TRACE("(%p) ref=%d\n", This, ref);
92 if(!ref)
93 mshtml_free(This);
95 return ref;
98 static HRESULT WINAPI HTMLStyle_GetTypeInfoCount(IHTMLStyle *iface, UINT *pctinfo)
100 HTMLStyle *This = HTMLSTYLE_THIS(iface);
101 FIXME("(%p)->(%p)\n", This, pctinfo);
102 return E_NOTIMPL;
105 static HRESULT WINAPI HTMLStyle_GetTypeInfo(IHTMLStyle *iface, UINT iTInfo,
106 LCID lcid, ITypeInfo **ppTInfo)
108 HTMLStyle *This = HTMLSTYLE_THIS(iface);
109 FIXME("(%p)->(%u %u %p)\n", This, iTInfo, lcid, ppTInfo);
110 return E_NOTIMPL;
113 static HRESULT WINAPI HTMLStyle_GetIDsOfNames(IHTMLStyle *iface, REFIID riid,
114 LPOLESTR *rgszNames, UINT cNames,
115 LCID lcid, DISPID *rgDispId)
117 HTMLStyle *This = HTMLSTYLE_THIS(iface);
118 FIXME("(%p)->(%s %p %u %u %p)\n", This, debugstr_guid(riid), rgszNames, cNames,
119 lcid, rgDispId);
120 return E_NOTIMPL;
123 static HRESULT WINAPI HTMLStyle_Invoke(IHTMLStyle *iface, DISPID dispIdMember,
124 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
125 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
127 HTMLStyle *This = HTMLSTYLE_THIS(iface);
128 FIXME("(%p)->(%d %s %d %d %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid),
129 lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
130 return E_NOTIMPL;
133 static HRESULT WINAPI HTMLStyle_put_fontFamily(IHTMLStyle *iface, BSTR v)
135 HTMLStyle *This = HTMLSTYLE_THIS(iface);
136 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
137 return E_NOTIMPL;
140 static HRESULT WINAPI HTMLStyle_get_fontFamily(IHTMLStyle *iface, BSTR *p)
142 HTMLStyle *This = HTMLSTYLE_THIS(iface);
143 FIXME("(%p)->(%p)\n", This, p);
144 return E_NOTIMPL;
147 static HRESULT WINAPI HTMLStyle_put_fontStyle(IHTMLStyle *iface, BSTR v)
149 HTMLStyle *This = HTMLSTYLE_THIS(iface);
150 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
151 return E_NOTIMPL;
154 static HRESULT WINAPI HTMLStyle_get_fontStyle(IHTMLStyle *iface, BSTR *p)
156 HTMLStyle *This = HTMLSTYLE_THIS(iface);
157 FIXME("(%p)->(%p)\n", This, p);
158 return E_NOTIMPL;
161 static HRESULT WINAPI HTMLStyle_put_fontVariant(IHTMLStyle *iface, BSTR v)
163 HTMLStyle *This = HTMLSTYLE_THIS(iface);
164 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
165 return E_NOTIMPL;
168 static HRESULT WINAPI HTMLStyle_get_fontVariant(IHTMLStyle *iface, BSTR *p)
170 HTMLStyle *This = HTMLSTYLE_THIS(iface);
171 FIXME("(%p)->(%p)\n", This, p);
172 return E_NOTIMPL;
175 static HRESULT WINAPI HTMLStyle_put_fontWeight(IHTMLStyle *iface, BSTR v)
177 HTMLStyle *This = HTMLSTYLE_THIS(iface);
178 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
179 return E_NOTIMPL;
182 static HRESULT WINAPI HTMLStyle_get_fontWeight(IHTMLStyle *iface, BSTR *p)
184 HTMLStyle *This = HTMLSTYLE_THIS(iface);
185 FIXME("(%p)->(%p)\n", This, p);
186 return E_NOTIMPL;
189 static HRESULT WINAPI HTMLStyle_put_fontSize(IHTMLStyle *iface, VARIANT v)
191 HTMLStyle *This = HTMLSTYLE_THIS(iface);
192 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
193 return E_NOTIMPL;
196 static HRESULT WINAPI HTMLStyle_get_fontSize(IHTMLStyle *iface, VARIANT *p)
198 HTMLStyle *This = HTMLSTYLE_THIS(iface);
199 FIXME("(%p)->(%p)\n", This, p);
200 return E_NOTIMPL;
203 static HRESULT WINAPI HTMLStyle_put_font(IHTMLStyle *iface, BSTR v)
205 HTMLStyle *This = HTMLSTYLE_THIS(iface);
206 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
207 return E_NOTIMPL;
210 static HRESULT WINAPI HTMLStyle_get_font(IHTMLStyle *iface, BSTR *p)
212 HTMLStyle *This = HTMLSTYLE_THIS(iface);
213 FIXME("(%p)->(%p)\n", This, p);
214 return E_NOTIMPL;
217 static HRESULT WINAPI HTMLStyle_put_color(IHTMLStyle *iface, VARIANT v)
219 HTMLStyle *This = HTMLSTYLE_THIS(iface);
220 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
221 return E_NOTIMPL;
224 static HRESULT WINAPI HTMLStyle_get_color(IHTMLStyle *iface, VARIANT *p)
226 HTMLStyle *This = HTMLSTYLE_THIS(iface);
227 FIXME("(%p)->(%p)\n", This, p);
228 return E_NOTIMPL;
231 static HRESULT WINAPI HTMLStyle_put_background(IHTMLStyle *iface, BSTR v)
233 HTMLStyle *This = HTMLSTYLE_THIS(iface);
234 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
235 return E_NOTIMPL;
238 static HRESULT WINAPI HTMLStyle_get_background(IHTMLStyle *iface, BSTR *p)
240 HTMLStyle *This = HTMLSTYLE_THIS(iface);
241 FIXME("(%p)->(%p)\n", This, p);
242 return E_NOTIMPL;
245 static HRESULT WINAPI HTMLStyle_put_backgroundColor(IHTMLStyle *iface, VARIANT v)
247 HTMLStyle *This = HTMLSTYLE_THIS(iface);
248 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
249 return E_NOTIMPL;
252 static HRESULT WINAPI HTMLStyle_get_backgroundColor(IHTMLStyle *iface, VARIANT *p)
254 HTMLStyle *This = HTMLSTYLE_THIS(iface);
255 FIXME("(%p)->(%p)\n", This, p);
256 return E_NOTIMPL;
259 static HRESULT WINAPI HTMLStyle_put_backgroundImage(IHTMLStyle *iface, BSTR v)
261 HTMLStyle *This = HTMLSTYLE_THIS(iface);
262 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
263 return E_NOTIMPL;
266 static HRESULT WINAPI HTMLStyle_get_backgroundImage(IHTMLStyle *iface, BSTR *p)
268 HTMLStyle *This = HTMLSTYLE_THIS(iface);
269 FIXME("(%p)->(%p)\n", This, p);
270 return E_NOTIMPL;
273 static HRESULT WINAPI HTMLStyle_put_backgroundRepeat(IHTMLStyle *iface, BSTR v)
275 HTMLStyle *This = HTMLSTYLE_THIS(iface);
276 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
277 return E_NOTIMPL;
280 static HRESULT WINAPI HTMLStyle_get_backgroundRepeat(IHTMLStyle *iface, BSTR *p)
282 HTMLStyle *This = HTMLSTYLE_THIS(iface);
283 FIXME("(%p)->(%p)\n", This, p);
284 return E_NOTIMPL;
287 static HRESULT WINAPI HTMLStyle_put_backgroundAttachment(IHTMLStyle *iface, BSTR v)
289 HTMLStyle *This = HTMLSTYLE_THIS(iface);
290 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
291 return E_NOTIMPL;
294 static HRESULT WINAPI HTMLStyle_get_backgroundAttachment(IHTMLStyle *iface, BSTR *p)
296 HTMLStyle *This = HTMLSTYLE_THIS(iface);
297 FIXME("(%p)->(%p)\n", This, p);
298 return E_NOTIMPL;
301 static HRESULT WINAPI HTMLStyle_put_backgroundPosition(IHTMLStyle *iface, BSTR v)
303 HTMLStyle *This = HTMLSTYLE_THIS(iface);
304 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
305 return E_NOTIMPL;
308 static HRESULT WINAPI HTMLStyle_get_backgroundPosition(IHTMLStyle *iface, BSTR *p)
310 HTMLStyle *This = HTMLSTYLE_THIS(iface);
311 FIXME("(%p)->(%p)\n", This, p);
312 return E_NOTIMPL;
315 static HRESULT WINAPI HTMLStyle_put_backgroundPositionX(IHTMLStyle *iface, VARIANT v)
317 HTMLStyle *This = HTMLSTYLE_THIS(iface);
318 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
319 return E_NOTIMPL;
322 static HRESULT WINAPI HTMLStyle_get_backgroundPositionX(IHTMLStyle *iface, VARIANT *p)
324 HTMLStyle *This = HTMLSTYLE_THIS(iface);
325 FIXME("(%p)->(%p)\n", This, p);
326 return E_NOTIMPL;
329 static HRESULT WINAPI HTMLStyle_put_backgroundPositionY(IHTMLStyle *iface, VARIANT v)
331 HTMLStyle *This = HTMLSTYLE_THIS(iface);
332 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
333 return E_NOTIMPL;
336 static HRESULT WINAPI HTMLStyle_get_backgroundPositionY(IHTMLStyle *iface, VARIANT *p)
338 HTMLStyle *This = HTMLSTYLE_THIS(iface);
339 FIXME("(%p)->(%p)\n", This, p);
340 return E_NOTIMPL;
343 static HRESULT WINAPI HTMLStyle_put_wordSpacing(IHTMLStyle *iface, VARIANT v)
345 HTMLStyle *This = HTMLSTYLE_THIS(iface);
346 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
347 return E_NOTIMPL;
350 static HRESULT WINAPI HTMLStyle_get_wordSpacing(IHTMLStyle *iface, VARIANT *p)
352 HTMLStyle *This = HTMLSTYLE_THIS(iface);
353 FIXME("(%p)->(%p)\n", This, p);
354 return E_NOTIMPL;
357 static HRESULT WINAPI HTMLStyle_put_letterSpacing(IHTMLStyle *iface, VARIANT v)
359 HTMLStyle *This = HTMLSTYLE_THIS(iface);
360 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
361 return E_NOTIMPL;
364 static HRESULT WINAPI HTMLStyle_get_letterSpacing(IHTMLStyle *iface, VARIANT *p)
366 HTMLStyle *This = HTMLSTYLE_THIS(iface);
367 FIXME("(%p)->(%p)\n", This, p);
368 return E_NOTIMPL;
371 static HRESULT WINAPI HTMLStyle_put_textDecoration(IHTMLStyle *iface, BSTR v)
373 HTMLStyle *This = HTMLSTYLE_THIS(iface);
374 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
375 return E_NOTIMPL;
378 static HRESULT WINAPI HTMLStyle_get_textDecoration(IHTMLStyle *iface, BSTR *p)
380 HTMLStyle *This = HTMLSTYLE_THIS(iface);
381 FIXME("(%p)->(%p)\n", This, p);
382 return E_NOTIMPL;
385 static HRESULT WINAPI HTMLStyle_put_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL v)
387 HTMLStyle *This = HTMLSTYLE_THIS(iface);
388 FIXME("(%p)->(%x)\n", This, v);
389 return E_NOTIMPL;
392 static HRESULT WINAPI HTMLStyle_get_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL *p)
394 HTMLStyle *This = HTMLSTYLE_THIS(iface);
395 FIXME("(%p)->(%p)\n", This, p);
396 return E_NOTIMPL;
399 static HRESULT WINAPI HTMLStyle_put_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL v)
401 HTMLStyle *This = HTMLSTYLE_THIS(iface);
402 FIXME("(%p)->(%x)\n", This, v);
403 return E_NOTIMPL;
406 static HRESULT WINAPI HTMLStyle_get_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL *p)
408 HTMLStyle *This = HTMLSTYLE_THIS(iface);
409 FIXME("(%p)->(%p)\n", This, p);
410 return E_NOTIMPL;
413 static HRESULT WINAPI HTMLStyle_put_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL v)
415 HTMLStyle *This = HTMLSTYLE_THIS(iface);
416 FIXME("(%p)->(%x)\n", This, v);
417 return E_NOTIMPL;
420 static HRESULT WINAPI HTMLStyle_get_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL *p)
422 HTMLStyle *This = HTMLSTYLE_THIS(iface);
423 FIXME("(%p)->(%p)\n", This, p);
424 return E_NOTIMPL;
427 static HRESULT WINAPI HTMLStyle_put_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL v)
429 HTMLStyle *This = HTMLSTYLE_THIS(iface);
430 FIXME("(%p)->(%x)\n", This, v);
431 return E_NOTIMPL;
434 static HRESULT WINAPI HTMLStyle_get_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL *p)
436 HTMLStyle *This = HTMLSTYLE_THIS(iface);
437 FIXME("(%p)->(%p)\n", This, p);
438 return E_NOTIMPL;
441 static HRESULT WINAPI HTMLStyle_put_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL v)
443 HTMLStyle *This = HTMLSTYLE_THIS(iface);
444 FIXME("(%p)->(%x)\n", This, v);
445 return E_NOTIMPL;
448 static HRESULT WINAPI HTMLStyle_get_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL *p)
450 HTMLStyle *This = HTMLSTYLE_THIS(iface);
451 FIXME("(%p)->(%p)\n", This, p);
452 return E_NOTIMPL;
455 static HRESULT WINAPI HTMLStyle_put_verticalAlign(IHTMLStyle *iface, VARIANT v)
457 HTMLStyle *This = HTMLSTYLE_THIS(iface);
458 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
459 return E_NOTIMPL;
462 static HRESULT WINAPI HTMLStyle_get_verticalAlign(IHTMLStyle *iface, VARIANT *p)
464 HTMLStyle *This = HTMLSTYLE_THIS(iface);
465 FIXME("(%p)->(%p)\n", This, p);
466 return E_NOTIMPL;
469 static HRESULT WINAPI HTMLStyle_put_textTransform(IHTMLStyle *iface, BSTR v)
471 HTMLStyle *This = HTMLSTYLE_THIS(iface);
472 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
473 return E_NOTIMPL;
476 static HRESULT WINAPI HTMLStyle_get_textTransform(IHTMLStyle *iface, BSTR *p)
478 HTMLStyle *This = HTMLSTYLE_THIS(iface);
479 FIXME("(%p)->(%p)\n", This, p);
480 return E_NOTIMPL;
483 static HRESULT WINAPI HTMLStyle_put_textAlign(IHTMLStyle *iface, BSTR v)
485 HTMLStyle *This = HTMLSTYLE_THIS(iface);
486 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
487 return E_NOTIMPL;
490 static HRESULT WINAPI HTMLStyle_get_textAlign(IHTMLStyle *iface, BSTR *p)
492 HTMLStyle *This = HTMLSTYLE_THIS(iface);
493 FIXME("(%p)->(%p)\n", This, p);
494 return E_NOTIMPL;
497 static HRESULT WINAPI HTMLStyle_put_textIndent(IHTMLStyle *iface, VARIANT v)
499 HTMLStyle *This = HTMLSTYLE_THIS(iface);
500 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
501 return E_NOTIMPL;
504 static HRESULT WINAPI HTMLStyle_get_textIndent(IHTMLStyle *iface, VARIANT *p)
506 HTMLStyle *This = HTMLSTYLE_THIS(iface);
507 FIXME("(%p)->(%p)\n", This, p);
508 return E_NOTIMPL;
511 static HRESULT WINAPI HTMLStyle_put_lineHeight(IHTMLStyle *iface, VARIANT v)
513 HTMLStyle *This = HTMLSTYLE_THIS(iface);
514 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
515 return E_NOTIMPL;
518 static HRESULT WINAPI HTMLStyle_get_lineHeight(IHTMLStyle *iface, VARIANT *p)
520 HTMLStyle *This = HTMLSTYLE_THIS(iface);
521 FIXME("(%p)->(%p)\n", This, p);
522 return E_NOTIMPL;
525 static HRESULT WINAPI HTMLStyle_put_marginTop(IHTMLStyle *iface, VARIANT v)
527 HTMLStyle *This = HTMLSTYLE_THIS(iface);
528 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
529 return E_NOTIMPL;
532 static HRESULT WINAPI HTMLStyle_get_marginTop(IHTMLStyle *iface, VARIANT *p)
534 HTMLStyle *This = HTMLSTYLE_THIS(iface);
535 FIXME("(%p)->(%p)\n", This, p);
536 return E_NOTIMPL;
539 static HRESULT WINAPI HTMLStyle_put_marginRight(IHTMLStyle *iface, VARIANT v)
541 HTMLStyle *This = HTMLSTYLE_THIS(iface);
542 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
543 return E_NOTIMPL;
546 static HRESULT WINAPI HTMLStyle_get_marginRight(IHTMLStyle *iface, VARIANT *p)
548 HTMLStyle *This = HTMLSTYLE_THIS(iface);
549 FIXME("(%p)->(%p)\n", This, p);
550 return E_NOTIMPL;
553 static HRESULT WINAPI HTMLStyle_put_marginBottom(IHTMLStyle *iface, VARIANT v)
555 HTMLStyle *This = HTMLSTYLE_THIS(iface);
556 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
557 return E_NOTIMPL;
560 static HRESULT WINAPI HTMLStyle_get_marginBottom(IHTMLStyle *iface, VARIANT *p)
562 HTMLStyle *This = HTMLSTYLE_THIS(iface);
563 FIXME("(%p)->(%p)\n", This, p);
564 return E_NOTIMPL;
567 static HRESULT WINAPI HTMLStyle_put_marginLeft(IHTMLStyle *iface, VARIANT v)
569 HTMLStyle *This = HTMLSTYLE_THIS(iface);
570 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
571 return E_NOTIMPL;
574 static HRESULT WINAPI HTMLStyle_put_margin(IHTMLStyle *iface, BSTR v)
576 HTMLStyle *This = HTMLSTYLE_THIS(iface);
577 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
578 return E_NOTIMPL;
581 static HRESULT WINAPI HTMLStyle_get_margin(IHTMLStyle *iface, BSTR *p)
583 HTMLStyle *This = HTMLSTYLE_THIS(iface);
584 FIXME("(%p)->(%p)\n", This, p);
585 return E_NOTIMPL;
588 static HRESULT WINAPI HTMLStyle_get_marginLeft(IHTMLStyle *iface, VARIANT *p)
590 HTMLStyle *This = HTMLSTYLE_THIS(iface);
591 FIXME("(%p)->(%p)\n", This, p);
592 return E_NOTIMPL;
595 static HRESULT WINAPI HTMLStyle_put_paddingTop(IHTMLStyle *iface, VARIANT v)
597 HTMLStyle *This = HTMLSTYLE_THIS(iface);
598 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
599 return E_NOTIMPL;
602 static HRESULT WINAPI HTMLStyle_get_paddingTop(IHTMLStyle *iface, VARIANT *p)
604 HTMLStyle *This = HTMLSTYLE_THIS(iface);
605 FIXME("(%p)->(%p)\n", This, p);
606 return E_NOTIMPL;
609 static HRESULT WINAPI HTMLStyle_put_paddingRight(IHTMLStyle *iface, VARIANT v)
611 HTMLStyle *This = HTMLSTYLE_THIS(iface);
612 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
613 return E_NOTIMPL;
616 static HRESULT WINAPI HTMLStyle_get_paddingRight(IHTMLStyle *iface, VARIANT *p)
618 HTMLStyle *This = HTMLSTYLE_THIS(iface);
619 FIXME("(%p)->(%p)\n", This, p);
620 return E_NOTIMPL;
623 static HRESULT WINAPI HTMLStyle_put_paddingBottom(IHTMLStyle *iface, VARIANT v)
625 HTMLStyle *This = HTMLSTYLE_THIS(iface);
626 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
627 return E_NOTIMPL;
630 static HRESULT WINAPI HTMLStyle_get_paddingBottom(IHTMLStyle *iface, VARIANT *p)
632 HTMLStyle *This = HTMLSTYLE_THIS(iface);
633 FIXME("(%p)->(%p)\n", This, p);
634 return E_NOTIMPL;
637 static HRESULT WINAPI HTMLStyle_put_paddingLeft(IHTMLStyle *iface, VARIANT v)
639 HTMLStyle *This = HTMLSTYLE_THIS(iface);
640 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
641 return E_NOTIMPL;
644 static HRESULT WINAPI HTMLStyle_get_paddingLeft(IHTMLStyle *iface, VARIANT *p)
646 HTMLStyle *This = HTMLSTYLE_THIS(iface);
647 FIXME("(%p)->(%p)\n", This, p);
648 return E_NOTIMPL;
651 static HRESULT WINAPI HTMLStyle_put_padding(IHTMLStyle *iface, BSTR v)
653 HTMLStyle *This = HTMLSTYLE_THIS(iface);
654 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
655 return E_NOTIMPL;
658 static HRESULT WINAPI HTMLStyle_get_padding(IHTMLStyle *iface, BSTR *p)
660 HTMLStyle *This = HTMLSTYLE_THIS(iface);
661 FIXME("(%p)->(%p)\n", This, p);
662 return E_NOTIMPL;
665 static HRESULT WINAPI HTMLStyle_put_border(IHTMLStyle *iface, BSTR v)
667 HTMLStyle *This = HTMLSTYLE_THIS(iface);
668 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
669 return E_NOTIMPL;
672 static HRESULT WINAPI HTMLStyle_get_border(IHTMLStyle *iface, BSTR *p)
674 HTMLStyle *This = HTMLSTYLE_THIS(iface);
675 FIXME("(%p)->(%p)\n", This, p);
676 return E_NOTIMPL;
679 static HRESULT WINAPI HTMLStyle_put_borderTop(IHTMLStyle *iface, BSTR v)
681 HTMLStyle *This = HTMLSTYLE_THIS(iface);
682 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
683 return E_NOTIMPL;
686 static HRESULT WINAPI HTMLStyle_get_borderTop(IHTMLStyle *iface, BSTR *p)
688 HTMLStyle *This = HTMLSTYLE_THIS(iface);
689 FIXME("(%p)->(%p)\n", This, p);
690 return E_NOTIMPL;
693 static HRESULT WINAPI HTMLStyle_put_borderRight(IHTMLStyle *iface, BSTR v)
695 HTMLStyle *This = HTMLSTYLE_THIS(iface);
696 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
697 return E_NOTIMPL;
700 static HRESULT WINAPI HTMLStyle_get_borderRight(IHTMLStyle *iface, BSTR *p)
702 HTMLStyle *This = HTMLSTYLE_THIS(iface);
703 FIXME("(%p)->(%p)\n", This, p);
704 return E_NOTIMPL;
707 static HRESULT WINAPI HTMLStyle_put_borderBottom(IHTMLStyle *iface, BSTR v)
709 HTMLStyle *This = HTMLSTYLE_THIS(iface);
710 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
711 return E_NOTIMPL;
714 static HRESULT WINAPI HTMLStyle_get_borderBottom(IHTMLStyle *iface, BSTR *p)
716 HTMLStyle *This = HTMLSTYLE_THIS(iface);
717 FIXME("(%p)->(%p)\n", This, p);
718 return E_NOTIMPL;
721 static HRESULT WINAPI HTMLStyle_put_borderLeft(IHTMLStyle *iface, BSTR v)
723 HTMLStyle *This = HTMLSTYLE_THIS(iface);
724 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
725 return E_NOTIMPL;
728 static HRESULT WINAPI HTMLStyle_get_borderLeft(IHTMLStyle *iface, BSTR *p)
730 HTMLStyle *This = HTMLSTYLE_THIS(iface);
731 FIXME("(%p)->(%p)\n", This, p);
732 return E_NOTIMPL;
735 static HRESULT WINAPI HTMLStyle_put_borderColor(IHTMLStyle *iface, BSTR v)
737 HTMLStyle *This = HTMLSTYLE_THIS(iface);
738 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
739 return E_NOTIMPL;
742 static HRESULT WINAPI HTMLStyle_get_borderColor(IHTMLStyle *iface, BSTR *p)
744 HTMLStyle *This = HTMLSTYLE_THIS(iface);
745 FIXME("(%p)->(%p)\n", This, p);
746 return E_NOTIMPL;
749 static HRESULT WINAPI HTMLStyle_put_borderTopColor(IHTMLStyle *iface, VARIANT v)
751 HTMLStyle *This = HTMLSTYLE_THIS(iface);
752 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
753 return E_NOTIMPL;
756 static HRESULT WINAPI HTMLStyle_get_borderTopColor(IHTMLStyle *iface, VARIANT *p)
758 HTMLStyle *This = HTMLSTYLE_THIS(iface);
759 FIXME("(%p)->(%p)\n", This, p);
760 return E_NOTIMPL;
763 static HRESULT WINAPI HTMLStyle_put_borderRightColor(IHTMLStyle *iface, VARIANT v)
765 HTMLStyle *This = HTMLSTYLE_THIS(iface);
766 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
767 return E_NOTIMPL;
770 static HRESULT WINAPI HTMLStyle_get_borderRightColor(IHTMLStyle *iface, VARIANT *p)
772 HTMLStyle *This = HTMLSTYLE_THIS(iface);
773 FIXME("(%p)->(%p)\n", This, p);
774 return E_NOTIMPL;
777 static HRESULT WINAPI HTMLStyle_put_borderBottomColor(IHTMLStyle *iface, VARIANT v)
779 HTMLStyle *This = HTMLSTYLE_THIS(iface);
780 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
781 return E_NOTIMPL;
784 static HRESULT WINAPI HTMLStyle_get_borderBottomColor(IHTMLStyle *iface, VARIANT *p)
786 HTMLStyle *This = HTMLSTYLE_THIS(iface);
787 FIXME("(%p)->(%p)\n", This, p);
788 return E_NOTIMPL;
791 static HRESULT WINAPI HTMLStyle_put_borderLeftColor(IHTMLStyle *iface, VARIANT v)
793 HTMLStyle *This = HTMLSTYLE_THIS(iface);
794 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
795 return E_NOTIMPL;
798 static HRESULT WINAPI HTMLStyle_get_borderLeftColor(IHTMLStyle *iface, VARIANT *p)
800 HTMLStyle *This = HTMLSTYLE_THIS(iface);
801 FIXME("(%p)->(%p)\n", This, p);
802 return E_NOTIMPL;
805 static HRESULT WINAPI HTMLStyle_put_borderWidth(IHTMLStyle *iface, BSTR v)
807 HTMLStyle *This = HTMLSTYLE_THIS(iface);
808 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
809 return E_NOTIMPL;
812 static HRESULT WINAPI HTMLStyle_get_borderWidth(IHTMLStyle *iface, BSTR *p)
814 HTMLStyle *This = HTMLSTYLE_THIS(iface);
815 FIXME("(%p)->(%p)\n", This, p);
816 return E_NOTIMPL;
819 static HRESULT WINAPI HTMLStyle_put_borderTopWidth(IHTMLStyle *iface, VARIANT v)
821 HTMLStyle *This = HTMLSTYLE_THIS(iface);
822 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
823 return E_NOTIMPL;
826 static HRESULT WINAPI HTMLStyle_get_borderTopWidth(IHTMLStyle *iface, VARIANT *p)
828 HTMLStyle *This = HTMLSTYLE_THIS(iface);
829 FIXME("(%p)->(%p)\n", This, p);
830 return E_NOTIMPL;
833 static HRESULT WINAPI HTMLStyle_put_borderRightWidth(IHTMLStyle *iface, VARIANT v)
835 HTMLStyle *This = HTMLSTYLE_THIS(iface);
836 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
837 return E_NOTIMPL;
840 static HRESULT WINAPI HTMLStyle_get_borderRightWidth(IHTMLStyle *iface, VARIANT *p)
842 HTMLStyle *This = HTMLSTYLE_THIS(iface);
843 FIXME("(%p)->(%p)\n", This, p);
844 return E_NOTIMPL;
847 static HRESULT WINAPI HTMLStyle_put_borderBottomWidth(IHTMLStyle *iface, VARIANT v)
849 HTMLStyle *This = HTMLSTYLE_THIS(iface);
850 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
851 return E_NOTIMPL;
854 static HRESULT WINAPI HTMLStyle_get_borderBottomWidth(IHTMLStyle *iface, VARIANT *p)
856 HTMLStyle *This = HTMLSTYLE_THIS(iface);
857 FIXME("(%p)->(%p)\n", This, p);
858 return E_NOTIMPL;
861 static HRESULT WINAPI HTMLStyle_put_borderLeftWidth(IHTMLStyle *iface, VARIANT v)
863 HTMLStyle *This = HTMLSTYLE_THIS(iface);
864 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
865 return E_NOTIMPL;
868 static HRESULT WINAPI HTMLStyle_get_borderLeftWidth(IHTMLStyle *iface, VARIANT *p)
870 HTMLStyle *This = HTMLSTYLE_THIS(iface);
871 FIXME("(%p)->(%p)\n", This, p);
872 return E_NOTIMPL;
875 static HRESULT WINAPI HTMLStyle_put_borderStyle(IHTMLStyle *iface, BSTR v)
877 HTMLStyle *This = HTMLSTYLE_THIS(iface);
878 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
879 return E_NOTIMPL;
882 static HRESULT WINAPI HTMLStyle_get_borderStyle(IHTMLStyle *iface, BSTR *p)
884 HTMLStyle *This = HTMLSTYLE_THIS(iface);
885 FIXME("(%p)->(%p)\n", This, p);
886 return E_NOTIMPL;
889 static HRESULT WINAPI HTMLStyle_put_borderTopStyle(IHTMLStyle *iface, BSTR v)
891 HTMLStyle *This = HTMLSTYLE_THIS(iface);
892 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
893 return E_NOTIMPL;
896 static HRESULT WINAPI HTMLStyle_get_borderTopStyle(IHTMLStyle *iface, BSTR *p)
898 HTMLStyle *This = HTMLSTYLE_THIS(iface);
899 FIXME("(%p)->(%p)\n", This, p);
900 return E_NOTIMPL;
903 static HRESULT WINAPI HTMLStyle_put_borderRightStyle(IHTMLStyle *iface, BSTR v)
905 HTMLStyle *This = HTMLSTYLE_THIS(iface);
906 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
907 return E_NOTIMPL;
910 static HRESULT WINAPI HTMLStyle_get_borderRightStyle(IHTMLStyle *iface, BSTR *p)
912 HTMLStyle *This = HTMLSTYLE_THIS(iface);
913 FIXME("(%p)->(%p)\n", This, p);
914 return E_NOTIMPL;
917 static HRESULT WINAPI HTMLStyle_put_borderBottomStyle(IHTMLStyle *iface, BSTR v)
919 HTMLStyle *This = HTMLSTYLE_THIS(iface);
920 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
921 return E_NOTIMPL;
924 static HRESULT WINAPI HTMLStyle_get_borderBottomStyle(IHTMLStyle *iface, BSTR *p)
926 HTMLStyle *This = HTMLSTYLE_THIS(iface);
927 FIXME("(%p)->(%p)\n", This, p);
928 return E_NOTIMPL;
931 static HRESULT WINAPI HTMLStyle_put_borderLeftStyle(IHTMLStyle *iface, BSTR v)
933 HTMLStyle *This = HTMLSTYLE_THIS(iface);
934 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
935 return E_NOTIMPL;
938 static HRESULT WINAPI HTMLStyle_get_borderLeftStyle(IHTMLStyle *iface, BSTR *p)
940 HTMLStyle *This = HTMLSTYLE_THIS(iface);
941 FIXME("(%p)->(%p)\n", This, p);
942 return E_NOTIMPL;
945 static HRESULT WINAPI HTMLStyle_put_width(IHTMLStyle *iface, VARIANT v)
947 HTMLStyle *This = HTMLSTYLE_THIS(iface);
948 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
949 return E_NOTIMPL;
952 static HRESULT WINAPI HTMLStyle_get_width(IHTMLStyle *iface, VARIANT *p)
954 HTMLStyle *This = HTMLSTYLE_THIS(iface);
955 FIXME("(%p)->(%p)\n", This, p);
956 return E_NOTIMPL;
959 static HRESULT WINAPI HTMLStyle_put_height(IHTMLStyle *iface, VARIANT v)
961 HTMLStyle *This = HTMLSTYLE_THIS(iface);
962 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
963 return E_NOTIMPL;
966 static HRESULT WINAPI HTMLStyle_get_height(IHTMLStyle *iface, VARIANT *p)
968 HTMLStyle *This = HTMLSTYLE_THIS(iface);
969 FIXME("(%p)->(%p)\n", This, p);
970 return E_NOTIMPL;
973 static HRESULT WINAPI HTMLStyle_put_styleFloat(IHTMLStyle *iface, BSTR v)
975 HTMLStyle *This = HTMLSTYLE_THIS(iface);
976 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
977 return E_NOTIMPL;
980 static HRESULT WINAPI HTMLStyle_get_styleFloat(IHTMLStyle *iface, BSTR *p)
982 HTMLStyle *This = HTMLSTYLE_THIS(iface);
983 FIXME("(%p)->(%p)\n", This, p);
984 return E_NOTIMPL;
987 static HRESULT WINAPI HTMLStyle_put_clear(IHTMLStyle *iface, BSTR v)
989 HTMLStyle *This = HTMLSTYLE_THIS(iface);
990 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
991 return E_NOTIMPL;
994 static HRESULT WINAPI HTMLStyle_get_clear(IHTMLStyle *iface, BSTR *p)
996 HTMLStyle *This = HTMLSTYLE_THIS(iface);
997 FIXME("(%p)->(%p)\n", This, p);
998 return E_NOTIMPL;
1001 static HRESULT WINAPI HTMLStyle_put_display(IHTMLStyle *iface, BSTR v)
1003 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1004 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1005 return E_NOTIMPL;
1008 static HRESULT WINAPI HTMLStyle_get_display(IHTMLStyle *iface, BSTR *p)
1010 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1011 FIXME("(%p)->(%p)\n", This, p);
1012 return E_NOTIMPL;
1015 static HRESULT WINAPI HTMLStyle_put_visibility(IHTMLStyle *iface, BSTR v)
1017 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1018 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1019 return E_NOTIMPL;
1022 static HRESULT WINAPI HTMLStyle_get_visibility(IHTMLStyle *iface, BSTR *p)
1024 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1025 FIXME("(%p)->(%p)\n", This, p);
1026 return E_NOTIMPL;
1029 static HRESULT WINAPI HTMLStyle_put_listStyleType(IHTMLStyle *iface, BSTR v)
1031 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1032 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1033 return E_NOTIMPL;
1036 static HRESULT WINAPI HTMLStyle_get_listStyleType(IHTMLStyle *iface, BSTR *p)
1038 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1039 FIXME("(%p)->(%p)\n", This, p);
1040 return E_NOTIMPL;
1043 static HRESULT WINAPI HTMLStyle_put_listStylePosition(IHTMLStyle *iface, BSTR v)
1045 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1046 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1047 return E_NOTIMPL;
1050 static HRESULT WINAPI HTMLStyle_get_listStylePosition(IHTMLStyle *iface, BSTR *p)
1052 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1053 FIXME("(%p)->(%p)\n", This, p);
1054 return E_NOTIMPL;
1057 static HRESULT WINAPI HTMLStyle_put_listStyleImage(IHTMLStyle *iface, BSTR v)
1059 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1060 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1061 return E_NOTIMPL;
1064 static HRESULT WINAPI HTMLStyle_get_listStyleImage(IHTMLStyle *iface, BSTR *p)
1066 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1067 FIXME("(%p)->(%p)\n", This, p);
1068 return E_NOTIMPL;
1071 static HRESULT WINAPI HTMLStyle_put_listStyle(IHTMLStyle *iface, BSTR v)
1073 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1074 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1075 return E_NOTIMPL;
1078 static HRESULT WINAPI HTMLStyle_get_listStyle(IHTMLStyle *iface, BSTR *p)
1080 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1081 FIXME("(%p)->(%p)\n", This, p);
1082 return E_NOTIMPL;
1085 static HRESULT WINAPI HTMLStyle_put_whiteSpace(IHTMLStyle *iface, BSTR v)
1087 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1088 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1089 return E_NOTIMPL;
1092 static HRESULT WINAPI HTMLStyle_get_whiteSpace(IHTMLStyle *iface, BSTR *p)
1094 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1095 FIXME("(%p)->(%p)\n", This, p);
1096 return E_NOTIMPL;
1099 static HRESULT WINAPI HTMLStyle_put_top(IHTMLStyle *iface, VARIANT v)
1101 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1102 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1103 return E_NOTIMPL;
1106 static HRESULT WINAPI HTMLStyle_get_top(IHTMLStyle *iface, VARIANT *p)
1108 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1109 FIXME("(%p)->(%p)\n", This, p);
1110 return E_NOTIMPL;
1113 static HRESULT WINAPI HTMLStyle_put_left(IHTMLStyle *iface, VARIANT v)
1115 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1116 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1117 return E_NOTIMPL;
1120 static HRESULT WINAPI HTMLStyle_get_left(IHTMLStyle *iface, VARIANT *p)
1122 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1123 FIXME("(%p)->(%p)\n", This, p);
1124 return E_NOTIMPL;
1127 static HRESULT WINAPI HTMLStyle_get_position(IHTMLStyle *iface, BSTR *p)
1129 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1130 FIXME("(%p)->(%p)\n", This, p);
1131 return E_NOTIMPL;
1134 static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v)
1136 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1137 FIXME("(%p)->(v%d)\n", This, V_VT(&v));
1138 return E_NOTIMPL;
1141 static HRESULT WINAPI HTMLStyle_get_zIndex(IHTMLStyle *iface, VARIANT *p)
1143 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1144 FIXME("(%p)->(%p)\n", This, p);
1145 return E_NOTIMPL;
1148 static HRESULT WINAPI HTMLStyle_put_overflow(IHTMLStyle *iface, BSTR v)
1150 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1151 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1152 return E_NOTIMPL;
1155 static HRESULT WINAPI HTMLStyle_get_overflow(IHTMLStyle *iface, BSTR *p)
1157 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1158 FIXME("(%p)->(%p)\n", This, p);
1159 return E_NOTIMPL;
1162 static HRESULT WINAPI HTMLStyle_put_pageBreakBefore(IHTMLStyle *iface, BSTR v)
1164 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1165 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1166 return E_NOTIMPL;
1169 static HRESULT WINAPI HTMLStyle_get_pageBreakBefore(IHTMLStyle *iface, BSTR *p)
1171 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1172 FIXME("(%p)->(%p)\n", This, p);
1173 return E_NOTIMPL;
1176 static HRESULT WINAPI HTMLStyle_put_pageBreakAfter(IHTMLStyle *iface, BSTR v)
1178 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1179 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1180 return E_NOTIMPL;
1183 static HRESULT WINAPI HTMLStyle_get_pageBreakAfter(IHTMLStyle *iface, BSTR *p)
1185 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1186 FIXME("(%p)->(%p)\n", This, p);
1187 return E_NOTIMPL;
1190 static HRESULT WINAPI HTMLStyle_put_cssText(IHTMLStyle *iface, BSTR v)
1192 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1193 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1194 return E_NOTIMPL;
1197 static HRESULT WINAPI HTMLStyle_get_cssText(IHTMLStyle *iface, BSTR *p)
1199 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1200 FIXME("(%p)->(%p)\n", This, p);
1201 return E_NOTIMPL;
1204 static HRESULT WINAPI HTMLStyle_put_pixelTop(IHTMLStyle *iface, long v)
1206 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1207 FIXME("(%p)->()\n", This);
1208 return E_NOTIMPL;
1211 static HRESULT WINAPI HTMLStyle_get_pixelTop(IHTMLStyle *iface, long *p)
1213 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1214 FIXME("(%p)->()\n", This);
1215 return E_NOTIMPL;
1218 static HRESULT WINAPI HTMLStyle_put_pixelLeft(IHTMLStyle *iface, long v)
1220 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1221 FIXME("(%p)->()\n", This);
1222 return E_NOTIMPL;
1225 static HRESULT WINAPI HTMLStyle_get_pixelLeft(IHTMLStyle *iface, long *p)
1227 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1228 FIXME("(%p)->()\n", This);
1229 return E_NOTIMPL;
1232 static HRESULT WINAPI HTMLStyle_put_pixelWidth(IHTMLStyle *iface, long v)
1234 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1235 FIXME("(%p)->()\n", This);
1236 return E_NOTIMPL;
1239 static HRESULT WINAPI HTMLStyle_get_pixelWidth(IHTMLStyle *iface, long *p)
1241 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1242 FIXME("(%p)->()\n", This);
1243 return E_NOTIMPL;
1246 static HRESULT WINAPI HTMLStyle_put_pixelHeight(IHTMLStyle *iface, long v)
1248 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1249 FIXME("(%p)->()\n", This);
1250 return E_NOTIMPL;
1253 static HRESULT WINAPI HTMLStyle_get_pixelHeight(IHTMLStyle *iface, long *p)
1255 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1256 FIXME("(%p)->()\n", This);
1257 return E_NOTIMPL;
1260 static HRESULT WINAPI HTMLStyle_put_posTop(IHTMLStyle *iface, float v)
1262 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1263 FIXME("(%p)->()\n", This);
1264 return E_NOTIMPL;
1267 static HRESULT WINAPI HTMLStyle_get_posTop(IHTMLStyle *iface, float *p)
1269 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1270 FIXME("(%p)->()\n", This);
1271 return E_NOTIMPL;
1274 static HRESULT WINAPI HTMLStyle_put_posLeft(IHTMLStyle *iface, float v)
1276 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1277 FIXME("(%p)->()\n", This);
1278 return E_NOTIMPL;
1281 static HRESULT WINAPI HTMLStyle_get_posLeft(IHTMLStyle *iface, float *p)
1283 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1284 FIXME("(%p)->()\n", This);
1285 return E_NOTIMPL;
1288 static HRESULT WINAPI HTMLStyle_put_posWidth(IHTMLStyle *iface, float v)
1290 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1291 FIXME("(%p)->()\n", This);
1292 return E_NOTIMPL;
1295 static HRESULT WINAPI HTMLStyle_get_posWidth(IHTMLStyle *iface, float *p)
1297 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1298 FIXME("(%p)->()\n", This);
1299 return E_NOTIMPL;
1302 static HRESULT WINAPI HTMLStyle_put_posHeight(IHTMLStyle *iface, float v)
1304 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1305 FIXME("(%p)->()\n", This);
1306 return E_NOTIMPL;
1309 static HRESULT WINAPI HTMLStyle_get_posHeight(IHTMLStyle *iface, float *p)
1311 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1312 FIXME("(%p)->()\n", This);
1313 return E_NOTIMPL;
1316 static HRESULT WINAPI HTMLStyle_put_cursor(IHTMLStyle *iface, BSTR v)
1318 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1319 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1320 return E_NOTIMPL;
1323 static HRESULT WINAPI HTMLStyle_get_cursor(IHTMLStyle *iface, BSTR *p)
1325 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1326 FIXME("(%p)->(%p)\n", This, p);
1327 return E_NOTIMPL;
1330 static HRESULT WINAPI HTMLStyle_put_clip(IHTMLStyle *iface, BSTR v)
1332 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1333 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1334 return E_NOTIMPL;
1337 static HRESULT WINAPI HTMLStyle_get_clip(IHTMLStyle *iface, BSTR *p)
1339 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1340 FIXME("(%p)->(%p)\n", This, p);
1341 return E_NOTIMPL;
1344 static HRESULT WINAPI HTMLStyle_put_filter(IHTMLStyle *iface, BSTR v)
1346 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1347 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1348 return E_NOTIMPL;
1351 static HRESULT WINAPI HTMLStyle_get_filter(IHTMLStyle *iface, BSTR *p)
1353 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1354 FIXME("(%p)->(%p)\n", This, p);
1355 return E_NOTIMPL;
1358 static HRESULT WINAPI HTMLStyle_setAttribute(IHTMLStyle *iface, BSTR strAttributeName,
1359 VARIANT AttributeValue, LONG lFlags)
1361 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1362 FIXME("(%p)->(%s v%d %08x)\n", This, debugstr_w(strAttributeName),
1363 V_VT(&AttributeValue), lFlags);
1364 return E_NOTIMPL;
1367 static HRESULT WINAPI HTMLStyle_getAttribute(IHTMLStyle *iface, BSTR strAttributeName,
1368 LONG lFlags, VARIANT *AttributeValue)
1370 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1371 FIXME("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName),
1372 lFlags, AttributeValue);
1373 return E_NOTIMPL;
1376 static HRESULT WINAPI HTMLStyle_removeAttribute(IHTMLStyle *iface, BSTR strAttributeName,
1377 LONG lFlags, VARIANT_BOOL *pfSuccess)
1379 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1380 FIXME("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName),
1381 lFlags, pfSuccess);
1382 return E_NOTIMPL;
1385 static HRESULT WINAPI HTMLStyle_toString(IHTMLStyle *iface, BSTR *String)
1387 HTMLStyle *This = HTMLSTYLE_THIS(iface);
1388 FIXME("(%p)->(%p)\n", This, String);
1389 return E_NOTIMPL;
1392 static const IHTMLStyleVtbl HTMLStyleVtbl = {
1393 HTMLStyle_QueryInterface,
1394 HTMLStyle_AddRef,
1395 HTMLStyle_Release,
1396 HTMLStyle_GetTypeInfoCount,
1397 HTMLStyle_GetTypeInfo,
1398 HTMLStyle_GetIDsOfNames,
1399 HTMLStyle_Invoke,
1400 HTMLStyle_put_fontFamily,
1401 HTMLStyle_get_fontFamily,
1402 HTMLStyle_put_fontStyle,
1403 HTMLStyle_get_fontStyle,
1404 HTMLStyle_put_fontVariant,
1405 HTMLStyle_get_fontVariant,
1406 HTMLStyle_put_fontWeight,
1407 HTMLStyle_get_fontWeight,
1408 HTMLStyle_put_fontSize,
1409 HTMLStyle_get_fontSize,
1410 HTMLStyle_put_font,
1411 HTMLStyle_get_font,
1412 HTMLStyle_put_color,
1413 HTMLStyle_get_color,
1414 HTMLStyle_put_background,
1415 HTMLStyle_get_background,
1416 HTMLStyle_put_backgroundColor,
1417 HTMLStyle_get_backgroundColor,
1418 HTMLStyle_put_backgroundImage,
1419 HTMLStyle_get_backgroundImage,
1420 HTMLStyle_put_backgroundRepeat,
1421 HTMLStyle_get_backgroundRepeat,
1422 HTMLStyle_put_backgroundAttachment,
1423 HTMLStyle_get_backgroundAttachment,
1424 HTMLStyle_put_backgroundPosition,
1425 HTMLStyle_get_backgroundPosition,
1426 HTMLStyle_put_backgroundPositionX,
1427 HTMLStyle_get_backgroundPositionX,
1428 HTMLStyle_put_backgroundPositionY,
1429 HTMLStyle_get_backgroundPositionY,
1430 HTMLStyle_put_wordSpacing,
1431 HTMLStyle_get_wordSpacing,
1432 HTMLStyle_put_letterSpacing,
1433 HTMLStyle_get_letterSpacing,
1434 HTMLStyle_put_textDecoration,
1435 HTMLStyle_get_textDecoration,
1436 HTMLStyle_put_textDecorationNone,
1437 HTMLStyle_get_textDecorationNone,
1438 HTMLStyle_put_textDecorationUnderline,
1439 HTMLStyle_get_textDecorationUnderline,
1440 HTMLStyle_put_textDecorationOverline,
1441 HTMLStyle_get_textDecorationOverline,
1442 HTMLStyle_put_textDecorationLineThrough,
1443 HTMLStyle_get_textDecorationLineThrough,
1444 HTMLStyle_put_textDecorationBlink,
1445 HTMLStyle_get_textDecorationBlink,
1446 HTMLStyle_put_verticalAlign,
1447 HTMLStyle_get_verticalAlign,
1448 HTMLStyle_put_textTransform,
1449 HTMLStyle_get_textTransform,
1450 HTMLStyle_put_textAlign,
1451 HTMLStyle_get_textAlign,
1452 HTMLStyle_put_textIndent,
1453 HTMLStyle_get_textIndent,
1454 HTMLStyle_put_lineHeight,
1455 HTMLStyle_get_lineHeight,
1456 HTMLStyle_put_marginTop,
1457 HTMLStyle_get_marginTop,
1458 HTMLStyle_put_marginRight,
1459 HTMLStyle_get_marginRight,
1460 HTMLStyle_put_marginBottom,
1461 HTMLStyle_get_marginBottom,
1462 HTMLStyle_put_marginLeft,
1463 HTMLStyle_get_marginLeft,
1464 HTMLStyle_put_margin,
1465 HTMLStyle_get_margin,
1466 HTMLStyle_put_paddingTop,
1467 HTMLStyle_get_paddingTop,
1468 HTMLStyle_put_paddingRight,
1469 HTMLStyle_get_paddingRight,
1470 HTMLStyle_put_paddingBottom,
1471 HTMLStyle_get_paddingBottom,
1472 HTMLStyle_put_paddingLeft,
1473 HTMLStyle_get_paddingLeft,
1474 HTMLStyle_put_padding,
1475 HTMLStyle_get_padding,
1476 HTMLStyle_put_border,
1477 HTMLStyle_get_border,
1478 HTMLStyle_put_borderTop,
1479 HTMLStyle_get_borderTop,
1480 HTMLStyle_put_borderRight,
1481 HTMLStyle_get_borderRight,
1482 HTMLStyle_put_borderBottom,
1483 HTMLStyle_get_borderBottom,
1484 HTMLStyle_put_borderLeft,
1485 HTMLStyle_get_borderLeft,
1486 HTMLStyle_put_borderColor,
1487 HTMLStyle_get_borderColor,
1488 HTMLStyle_put_borderTopColor,
1489 HTMLStyle_get_borderTopColor,
1490 HTMLStyle_put_borderRightColor,
1491 HTMLStyle_get_borderRightColor,
1492 HTMLStyle_put_borderBottomColor,
1493 HTMLStyle_get_borderBottomColor,
1494 HTMLStyle_put_borderLeftColor,
1495 HTMLStyle_get_borderLeftColor,
1496 HTMLStyle_put_borderWidth,
1497 HTMLStyle_get_borderWidth,
1498 HTMLStyle_put_borderTopWidth,
1499 HTMLStyle_get_borderTopWidth,
1500 HTMLStyle_put_borderRightWidth,
1501 HTMLStyle_get_borderRightWidth,
1502 HTMLStyle_put_borderBottomWidth,
1503 HTMLStyle_get_borderBottomWidth,
1504 HTMLStyle_put_borderLeftWidth,
1505 HTMLStyle_get_borderLeftWidth,
1506 HTMLStyle_put_borderStyle,
1507 HTMLStyle_get_borderStyle,
1508 HTMLStyle_put_borderTopStyle,
1509 HTMLStyle_get_borderTopStyle,
1510 HTMLStyle_put_borderRightStyle,
1511 HTMLStyle_get_borderRightStyle,
1512 HTMLStyle_put_borderBottomStyle,
1513 HTMLStyle_get_borderBottomStyle,
1514 HTMLStyle_put_borderLeftStyle,
1515 HTMLStyle_get_borderLeftStyle,
1516 HTMLStyle_put_width,
1517 HTMLStyle_get_width,
1518 HTMLStyle_put_height,
1519 HTMLStyle_get_height,
1520 HTMLStyle_put_styleFloat,
1521 HTMLStyle_get_styleFloat,
1522 HTMLStyle_put_clear,
1523 HTMLStyle_get_clear,
1524 HTMLStyle_put_display,
1525 HTMLStyle_get_display,
1526 HTMLStyle_put_visibility,
1527 HTMLStyle_get_visibility,
1528 HTMLStyle_put_listStyleType,
1529 HTMLStyle_get_listStyleType,
1530 HTMLStyle_put_listStylePosition,
1531 HTMLStyle_get_listStylePosition,
1532 HTMLStyle_put_listStyleImage,
1533 HTMLStyle_get_listStyleImage,
1534 HTMLStyle_put_listStyle,
1535 HTMLStyle_get_listStyle,
1536 HTMLStyle_put_whiteSpace,
1537 HTMLStyle_get_whiteSpace,
1538 HTMLStyle_put_top,
1539 HTMLStyle_get_top,
1540 HTMLStyle_put_left,
1541 HTMLStyle_get_left,
1542 HTMLStyle_get_position,
1543 HTMLStyle_put_zIndex,
1544 HTMLStyle_get_zIndex,
1545 HTMLStyle_put_overflow,
1546 HTMLStyle_get_overflow,
1547 HTMLStyle_put_pageBreakBefore,
1548 HTMLStyle_get_pageBreakBefore,
1549 HTMLStyle_put_pageBreakAfter,
1550 HTMLStyle_get_pageBreakAfter,
1551 HTMLStyle_put_cssText,
1552 HTMLStyle_get_cssText,
1553 HTMLStyle_put_pixelTop,
1554 HTMLStyle_get_pixelTop,
1555 HTMLStyle_put_pixelLeft,
1556 HTMLStyle_get_pixelLeft,
1557 HTMLStyle_put_pixelWidth,
1558 HTMLStyle_get_pixelWidth,
1559 HTMLStyle_put_pixelHeight,
1560 HTMLStyle_get_pixelHeight,
1561 HTMLStyle_put_posTop,
1562 HTMLStyle_get_posTop,
1563 HTMLStyle_put_posLeft,
1564 HTMLStyle_get_posLeft,
1565 HTMLStyle_put_posWidth,
1566 HTMLStyle_get_posWidth,
1567 HTMLStyle_put_posHeight,
1568 HTMLStyle_get_posHeight,
1569 HTMLStyle_put_cursor,
1570 HTMLStyle_get_cursor,
1571 HTMLStyle_put_clip,
1572 HTMLStyle_get_clip,
1573 HTMLStyle_put_filter,
1574 HTMLStyle_get_filter,
1575 HTMLStyle_setAttribute,
1576 HTMLStyle_getAttribute,
1577 HTMLStyle_removeAttribute,
1578 HTMLStyle_toString
1581 IHTMLStyle *HTMLStyle_Create(void)
1583 HTMLStyle *ret = mshtml_alloc(sizeof(HTMLStyle));
1585 ret->lpHTMLStyleVtbl = &HTMLStyleVtbl;
1586 ret->ref = 1;
1588 return HTMLSTYLE(ret);