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};
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
;
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
);
71 ERR("SetProperty failed: %08x\n", nsres
);
73 nsAString_Finish(&str_name
);
74 nsAString_Finish(&str_value
);
75 nsAString_Finish(&str_empty
);
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
);
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
);
100 IUnknown_AddRef((IUnknown
*)*ppv
);
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
);
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
);
131 static HRESULT WINAPI
HTMLStyle_GetTypeInfoCount(IHTMLStyle
*iface
, UINT
*pctinfo
)
133 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
134 FIXME("(%p)->(%p)\n", This
, pctinfo
);
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
);
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
,
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
);
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
);
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
));
189 static HRESULT WINAPI
HTMLStyle_get_fontStyle(IHTMLStyle
*iface
, BSTR
*p
)
191 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
192 FIXME("(%p)->(%p)\n", This
, p
);
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
));
203 static HRESULT WINAPI
HTMLStyle_get_fontVariant(IHTMLStyle
*iface
, BSTR
*p
)
205 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
206 FIXME("(%p)->(%p)\n", This
, p
);
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
));
217 static HRESULT WINAPI
HTMLStyle_get_fontWeight(IHTMLStyle
*iface
, BSTR
*p
)
219 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
220 FIXME("(%p)->(%p)\n", This
, p
);
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
));
232 return set_style_attr(This
, attrFontSize
, V_BSTR(&v
));
234 FIXME("not supported vt %d\n", V_VT(&v
));
240 static HRESULT WINAPI
HTMLStyle_get_fontSize(IHTMLStyle
*iface
, VARIANT
*p
)
242 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
243 FIXME("(%p)->(%p)\n", This
, p
);
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
));
254 static HRESULT WINAPI
HTMLStyle_get_font(IHTMLStyle
*iface
, BSTR
*p
)
256 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
257 FIXME("(%p)->(%p)\n", This
, p
);
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
));
268 static HRESULT WINAPI
HTMLStyle_get_color(IHTMLStyle
*iface
, VARIANT
*p
)
270 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
271 FIXME("(%p)->(%p)\n", This
, p
);
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
));
282 static HRESULT WINAPI
HTMLStyle_get_background(IHTMLStyle
*iface
, BSTR
*p
)
284 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
285 FIXME("(%p)->(%p)\n", This
, p
);
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
));
297 return set_style_attr(This
, attrBackgroundColor
, V_BSTR(&v
));
300 static const WCHAR format
[] = {'#','%','0','6','x',0};
302 wsprintfW(value
, format
, V_I4(&v
));
303 return set_style_attr(This
, attrBackgroundColor
, value
);
306 FIXME("unsupported vt %d\n", V_VT(&v
));
312 static HRESULT WINAPI
HTMLStyle_get_backgroundColor(IHTMLStyle
*iface
, VARIANT
*p
)
314 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
315 FIXME("(%p)->(%p)\n", This
, p
);
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
));
326 static HRESULT WINAPI
HTMLStyle_get_backgroundImage(IHTMLStyle
*iface
, BSTR
*p
)
328 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
329 FIXME("(%p)->(%p)\n", This
, p
);
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
));
340 static HRESULT WINAPI
HTMLStyle_get_backgroundRepeat(IHTMLStyle
*iface
, BSTR
*p
)
342 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
343 FIXME("(%p)->(%p)\n", This
, p
);
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
));
354 static HRESULT WINAPI
HTMLStyle_get_backgroundAttachment(IHTMLStyle
*iface
, BSTR
*p
)
356 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
357 FIXME("(%p)->(%p)\n", This
, p
);
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
));
368 static HRESULT WINAPI
HTMLStyle_get_backgroundPosition(IHTMLStyle
*iface
, BSTR
*p
)
370 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
371 FIXME("(%p)->(%p)\n", This
, p
);
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
));
382 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionX(IHTMLStyle
*iface
, VARIANT
*p
)
384 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
385 FIXME("(%p)->(%p)\n", This
, p
);
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
));
396 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionY(IHTMLStyle
*iface
, VARIANT
*p
)
398 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
399 FIXME("(%p)->(%p)\n", This
, p
);
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
));
410 static HRESULT WINAPI
HTMLStyle_get_wordSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
412 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
413 FIXME("(%p)->(%p)\n", This
, p
);
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
));
424 static HRESULT WINAPI
HTMLStyle_get_letterSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
426 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
427 FIXME("(%p)->(%p)\n", This
, p
);
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
));
438 static HRESULT WINAPI
HTMLStyle_get_textDecoration(IHTMLStyle
*iface
, BSTR
*p
)
440 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
441 FIXME("(%p)->(%p)\n", This
, p
);
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
);
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
);
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
);
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
);
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
);
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
);
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
);
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
);
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
);
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
);
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
));
522 static HRESULT WINAPI
HTMLStyle_get_verticalAlign(IHTMLStyle
*iface
, VARIANT
*p
)
524 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
525 FIXME("(%p)->(%p)\n", This
, p
);
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
));
536 static HRESULT WINAPI
HTMLStyle_get_textTransform(IHTMLStyle
*iface
, BSTR
*p
)
538 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
539 FIXME("(%p)->(%p)\n", This
, p
);
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
));
550 static HRESULT WINAPI
HTMLStyle_get_textAlign(IHTMLStyle
*iface
, BSTR
*p
)
552 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
553 FIXME("(%p)->(%p)\n", This
, p
);
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
));
564 static HRESULT WINAPI
HTMLStyle_get_textIndent(IHTMLStyle
*iface
, VARIANT
*p
)
566 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
567 FIXME("(%p)->(%p)\n", This
, p
);
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
));
578 static HRESULT WINAPI
HTMLStyle_get_lineHeight(IHTMLStyle
*iface
, VARIANT
*p
)
580 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
581 FIXME("(%p)->(%p)\n", This
, p
);
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
));
592 static HRESULT WINAPI
HTMLStyle_get_marginTop(IHTMLStyle
*iface
, VARIANT
*p
)
594 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
595 FIXME("(%p)->(%p)\n", This
, p
);
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
));
606 static HRESULT WINAPI
HTMLStyle_get_marginRight(IHTMLStyle
*iface
, VARIANT
*p
)
608 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
609 FIXME("(%p)->(%p)\n", This
, p
);
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
));
620 static HRESULT WINAPI
HTMLStyle_get_marginBottom(IHTMLStyle
*iface
, VARIANT
*p
)
622 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
623 FIXME("(%p)->(%p)\n", This
, p
);
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
));
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
));
641 static HRESULT WINAPI
HTMLStyle_get_margin(IHTMLStyle
*iface
, BSTR
*p
)
643 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
644 FIXME("(%p)->(%p)\n", This
, p
);
648 static HRESULT WINAPI
HTMLStyle_get_marginLeft(IHTMLStyle
*iface
, VARIANT
*p
)
650 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
651 FIXME("(%p)->(%p)\n", This
, p
);
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
));
662 static HRESULT WINAPI
HTMLStyle_get_paddingTop(IHTMLStyle
*iface
, VARIANT
*p
)
664 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
665 FIXME("(%p)->(%p)\n", This
, p
);
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
));
676 static HRESULT WINAPI
HTMLStyle_get_paddingRight(IHTMLStyle
*iface
, VARIANT
*p
)
678 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
679 FIXME("(%p)->(%p)\n", This
, p
);
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
));
690 static HRESULT WINAPI
HTMLStyle_get_paddingBottom(IHTMLStyle
*iface
, VARIANT
*p
)
692 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
693 FIXME("(%p)->(%p)\n", This
, p
);
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
));
704 static HRESULT WINAPI
HTMLStyle_get_paddingLeft(IHTMLStyle
*iface
, VARIANT
*p
)
706 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
707 FIXME("(%p)->(%p)\n", This
, p
);
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
));
718 static HRESULT WINAPI
HTMLStyle_get_padding(IHTMLStyle
*iface
, BSTR
*p
)
720 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
721 FIXME("(%p)->(%p)\n", This
, p
);
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
));
732 static HRESULT WINAPI
HTMLStyle_get_border(IHTMLStyle
*iface
, BSTR
*p
)
734 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
735 FIXME("(%p)->(%p)\n", This
, p
);
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
));
746 static HRESULT WINAPI
HTMLStyle_get_borderTop(IHTMLStyle
*iface
, BSTR
*p
)
748 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
749 FIXME("(%p)->(%p)\n", This
, p
);
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
));
760 static HRESULT WINAPI
HTMLStyle_get_borderRight(IHTMLStyle
*iface
, BSTR
*p
)
762 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
763 FIXME("(%p)->(%p)\n", This
, p
);
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
));
774 static HRESULT WINAPI
HTMLStyle_get_borderBottom(IHTMLStyle
*iface
, BSTR
*p
)
776 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
777 FIXME("(%p)->(%p)\n", This
, p
);
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
));
788 static HRESULT WINAPI
HTMLStyle_get_borderLeft(IHTMLStyle
*iface
, BSTR
*p
)
790 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
791 FIXME("(%p)->(%p)\n", This
, p
);
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
));
802 static HRESULT WINAPI
HTMLStyle_get_borderColor(IHTMLStyle
*iface
, BSTR
*p
)
804 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
805 FIXME("(%p)->(%p)\n", This
, p
);
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
));
816 static HRESULT WINAPI
HTMLStyle_get_borderTopColor(IHTMLStyle
*iface
, VARIANT
*p
)
818 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
819 FIXME("(%p)->(%p)\n", This
, p
);
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
));
830 static HRESULT WINAPI
HTMLStyle_get_borderRightColor(IHTMLStyle
*iface
, VARIANT
*p
)
832 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
833 FIXME("(%p)->(%p)\n", This
, p
);
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
));
844 static HRESULT WINAPI
HTMLStyle_get_borderBottomColor(IHTMLStyle
*iface
, VARIANT
*p
)
846 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
847 FIXME("(%p)->(%p)\n", This
, p
);
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
));
858 static HRESULT WINAPI
HTMLStyle_get_borderLeftColor(IHTMLStyle
*iface
, VARIANT
*p
)
860 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
861 FIXME("(%p)->(%p)\n", This
, p
);
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
));
872 static HRESULT WINAPI
HTMLStyle_get_borderWidth(IHTMLStyle
*iface
, BSTR
*p
)
874 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
875 FIXME("(%p)->(%p)\n", This
, p
);
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
));
886 static HRESULT WINAPI
HTMLStyle_get_borderTopWidth(IHTMLStyle
*iface
, VARIANT
*p
)
888 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
889 FIXME("(%p)->(%p)\n", This
, p
);
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
));
900 static HRESULT WINAPI
HTMLStyle_get_borderRightWidth(IHTMLStyle
*iface
, VARIANT
*p
)
902 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
903 FIXME("(%p)->(%p)\n", This
, p
);
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
));
914 static HRESULT WINAPI
HTMLStyle_get_borderBottomWidth(IHTMLStyle
*iface
, VARIANT
*p
)
916 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
917 FIXME("(%p)->(%p)\n", This
, p
);
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
));
928 static HRESULT WINAPI
HTMLStyle_get_borderLeftWidth(IHTMLStyle
*iface
, VARIANT
*p
)
930 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
931 FIXME("(%p)->(%p)\n", This
, p
);
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
));
942 static HRESULT WINAPI
HTMLStyle_get_borderStyle(IHTMLStyle
*iface
, BSTR
*p
)
944 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
945 FIXME("(%p)->(%p)\n", This
, p
);
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
));
956 static HRESULT WINAPI
HTMLStyle_get_borderTopStyle(IHTMLStyle
*iface
, BSTR
*p
)
958 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
959 FIXME("(%p)->(%p)\n", This
, p
);
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
));
970 static HRESULT WINAPI
HTMLStyle_get_borderRightStyle(IHTMLStyle
*iface
, BSTR
*p
)
972 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
973 FIXME("(%p)->(%p)\n", This
, p
);
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
));
984 static HRESULT WINAPI
HTMLStyle_get_borderBottomStyle(IHTMLStyle
*iface
, BSTR
*p
)
986 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
987 FIXME("(%p)->(%p)\n", This
, p
);
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
));
998 static HRESULT WINAPI
HTMLStyle_get_borderLeftStyle(IHTMLStyle
*iface
, BSTR
*p
)
1000 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1001 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1012 static HRESULT WINAPI
HTMLStyle_get_width(IHTMLStyle
*iface
, VARIANT
*p
)
1014 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1015 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1026 static HRESULT WINAPI
HTMLStyle_get_height(IHTMLStyle
*iface
, VARIANT
*p
)
1028 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1029 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1040 static HRESULT WINAPI
HTMLStyle_get_styleFloat(IHTMLStyle
*iface
, BSTR
*p
)
1042 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1043 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1054 static HRESULT WINAPI
HTMLStyle_get_clear(IHTMLStyle
*iface
, BSTR
*p
)
1056 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1057 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1068 static HRESULT WINAPI
HTMLStyle_get_display(IHTMLStyle
*iface
, BSTR
*p
)
1070 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1071 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1082 static HRESULT WINAPI
HTMLStyle_get_visibility(IHTMLStyle
*iface
, BSTR
*p
)
1084 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1085 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1096 static HRESULT WINAPI
HTMLStyle_get_listStyleType(IHTMLStyle
*iface
, BSTR
*p
)
1098 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1099 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1110 static HRESULT WINAPI
HTMLStyle_get_listStylePosition(IHTMLStyle
*iface
, BSTR
*p
)
1112 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1113 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1124 static HRESULT WINAPI
HTMLStyle_get_listStyleImage(IHTMLStyle
*iface
, BSTR
*p
)
1126 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1127 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1138 static HRESULT WINAPI
HTMLStyle_get_listStyle(IHTMLStyle
*iface
, BSTR
*p
)
1140 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1141 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1152 static HRESULT WINAPI
HTMLStyle_get_whiteSpace(IHTMLStyle
*iface
, BSTR
*p
)
1154 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1155 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1166 static HRESULT WINAPI
HTMLStyle_get_top(IHTMLStyle
*iface
, VARIANT
*p
)
1168 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1169 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1180 static HRESULT WINAPI
HTMLStyle_get_left(IHTMLStyle
*iface
, VARIANT
*p
)
1182 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1183 FIXME("(%p)->(%p)\n", This
, p
);
1187 static HRESULT WINAPI
HTMLStyle_get_position(IHTMLStyle
*iface
, BSTR
*p
)
1189 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1190 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1201 static HRESULT WINAPI
HTMLStyle_get_zIndex(IHTMLStyle
*iface
, VARIANT
*p
)
1203 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1204 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1215 static HRESULT WINAPI
HTMLStyle_get_overflow(IHTMLStyle
*iface
, BSTR
*p
)
1217 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1218 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1229 static HRESULT WINAPI
HTMLStyle_get_pageBreakBefore(IHTMLStyle
*iface
, BSTR
*p
)
1231 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1232 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1243 static HRESULT WINAPI
HTMLStyle_get_pageBreakAfter(IHTMLStyle
*iface
, BSTR
*p
)
1245 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1246 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1257 static HRESULT WINAPI
HTMLStyle_get_cssText(IHTMLStyle
*iface
, BSTR
*p
)
1259 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1260 FIXME("(%p)->(%p)\n", This
, p
);
1264 static HRESULT WINAPI
HTMLStyle_put_pixelTop(IHTMLStyle
*iface
, long v
)
1266 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1267 FIXME("(%p)->()\n", This
);
1271 static HRESULT WINAPI
HTMLStyle_get_pixelTop(IHTMLStyle
*iface
, long *p
)
1273 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1274 FIXME("(%p)->()\n", This
);
1278 static HRESULT WINAPI
HTMLStyle_put_pixelLeft(IHTMLStyle
*iface
, long v
)
1280 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1281 FIXME("(%p)->()\n", This
);
1285 static HRESULT WINAPI
HTMLStyle_get_pixelLeft(IHTMLStyle
*iface
, long *p
)
1287 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1288 FIXME("(%p)->()\n", This
);
1292 static HRESULT WINAPI
HTMLStyle_put_pixelWidth(IHTMLStyle
*iface
, long v
)
1294 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1295 FIXME("(%p)->()\n", This
);
1299 static HRESULT WINAPI
HTMLStyle_get_pixelWidth(IHTMLStyle
*iface
, long *p
)
1301 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1302 FIXME("(%p)->()\n", This
);
1306 static HRESULT WINAPI
HTMLStyle_put_pixelHeight(IHTMLStyle
*iface
, long v
)
1308 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1309 FIXME("(%p)->()\n", This
);
1313 static HRESULT WINAPI
HTMLStyle_get_pixelHeight(IHTMLStyle
*iface
, long *p
)
1315 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1316 FIXME("(%p)->()\n", This
);
1320 static HRESULT WINAPI
HTMLStyle_put_posTop(IHTMLStyle
*iface
, float v
)
1322 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1323 FIXME("(%p)->()\n", This
);
1327 static HRESULT WINAPI
HTMLStyle_get_posTop(IHTMLStyle
*iface
, float *p
)
1329 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1330 FIXME("(%p)->()\n", This
);
1334 static HRESULT WINAPI
HTMLStyle_put_posLeft(IHTMLStyle
*iface
, float v
)
1336 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1337 FIXME("(%p)->()\n", This
);
1341 static HRESULT WINAPI
HTMLStyle_get_posLeft(IHTMLStyle
*iface
, float *p
)
1343 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1344 FIXME("(%p)->()\n", This
);
1348 static HRESULT WINAPI
HTMLStyle_put_posWidth(IHTMLStyle
*iface
, float v
)
1350 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1351 FIXME("(%p)->()\n", This
);
1355 static HRESULT WINAPI
HTMLStyle_get_posWidth(IHTMLStyle
*iface
, float *p
)
1357 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1358 FIXME("(%p)->()\n", This
);
1362 static HRESULT WINAPI
HTMLStyle_put_posHeight(IHTMLStyle
*iface
, float v
)
1364 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1365 FIXME("(%p)->()\n", This
);
1369 static HRESULT WINAPI
HTMLStyle_get_posHeight(IHTMLStyle
*iface
, float *p
)
1371 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1372 FIXME("(%p)->()\n", This
);
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
));
1383 static HRESULT WINAPI
HTMLStyle_get_cursor(IHTMLStyle
*iface
, BSTR
*p
)
1385 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1386 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1397 static HRESULT WINAPI
HTMLStyle_get_clip(IHTMLStyle
*iface
, BSTR
*p
)
1399 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1400 FIXME("(%p)->(%p)\n", This
, p
);
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
));
1411 static HRESULT WINAPI
HTMLStyle_get_filter(IHTMLStyle
*iface
, BSTR
*p
)
1413 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1414 FIXME("(%p)->(%p)\n", This
, p
);
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
);
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
);
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
),
1445 static HRESULT WINAPI
HTMLStyle_toString(IHTMLStyle
*iface
, BSTR
*String
)
1447 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1448 FIXME("(%p)->(%p)\n", This
, String
);
1452 static const IHTMLStyleVtbl HTMLStyleVtbl
= {
1453 HTMLStyle_QueryInterface
,
1456 HTMLStyle_GetTypeInfoCount
,
1457 HTMLStyle_GetTypeInfo
,
1458 HTMLStyle_GetIDsOfNames
,
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
,
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
,
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
,
1633 HTMLStyle_put_filter
,
1634 HTMLStyle_get_filter
,
1635 HTMLStyle_setAttribute
,
1636 HTMLStyle_getAttribute
,
1637 HTMLStyle_removeAttribute
,
1641 IHTMLStyle
*HTMLStyle_Create(nsIDOMCSSStyleDeclaration
*nsstyle
)
1643 HTMLStyle
*ret
= mshtml_alloc(sizeof(HTMLStyle
));
1645 ret
->lpHTMLStyleVtbl
= &HTMLStyleVtbl
;
1647 ret
->nsstyle
= nsstyle
;
1649 nsIDOMCSSStyleDeclaration_AddRef(nsstyle
);
1651 return HTMLSTYLE(ret
);