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 attrColor
[] =
52 {'c','o','l','o','r',0};
53 static const WCHAR attrFontFamily
[] =
54 {'f','o','n','t','-','f','a','m','i','l','y',0};
55 static const WCHAR attrFontSize
[] =
56 {'f','o','n','t','-','s','i','z','e',0};
57 static const WCHAR attrFontStyle
[] =
58 {'f','o','n','t','-','s','t','y','l','e',0};
59 static const WCHAR attrFontWeight
[] =
60 {'f','o','n','t','-','w','e','i','g','h','t',0};
61 static const WCHAR attrTextDecoration
[] =
62 {'t','e','x','t','-','d','e','c','o','r','a','t','i','o','n',0};
64 static const WCHAR valLineThrough
[] =
65 {'l','i','n','e','-','t','h','r','o','u','g','h',0};
66 static const WCHAR valUnderline
[] =
67 {'u','n','d','e','r','l','i','n','e',0};
69 static HRESULT
set_style_attr(HTMLStyle
*This
, LPCWSTR name
, LPCWSTR value
)
71 nsAString str_name
, str_value
, str_empty
;
74 static const PRUnichar wszEmpty
[] = {0};
76 TRACE("(%p)->(%s %s)\n", This
, debugstr_w(name
), debugstr_w(value
));
78 nsAString_Init(&str_name
, name
);
79 nsAString_Init(&str_value
, value
);
80 nsAString_Init(&str_empty
, wszEmpty
);
82 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(This
->nsstyle
, &str_name
, &str_value
, &str_empty
);
84 ERR("SetProperty failed: %08x\n", nsres
);
86 nsAString_Finish(&str_name
);
87 nsAString_Finish(&str_value
);
88 nsAString_Finish(&str_empty
);
93 static HRESULT
get_style_attr_nsval(HTMLStyle
*This
, LPCWSTR name
, nsAString
*value
)
98 nsAString_Init(&str_name
, name
);
100 nsres
= nsIDOMCSSStyleDeclaration_GetPropertyValue(This
->nsstyle
, &str_name
, value
);
101 if(NS_FAILED(nsres
)) {
102 ERR("SetProperty failed: %08x\n", nsres
);
106 nsAString_Finish(&str_name
);
111 static HRESULT
get_style_attr(HTMLStyle
*This
, LPCWSTR name
, BSTR
*p
)
114 const PRUnichar
*value
;
116 nsAString_Init(&str_value
, NULL
);
118 get_style_attr_nsval(This
, name
, &str_value
);
120 nsAString_GetData(&str_value
, &value
, NULL
);
121 *p
= *value
? SysAllocString(value
) : NULL
;
123 nsAString_Finish(&str_value
);
125 TRACE("%s -> %s\n", debugstr_w(name
), debugstr_w(*p
));
129 static HRESULT
check_style_attr_value(HTMLStyle
*This
, LPCWSTR name
, LPCWSTR exval
, VARIANT_BOOL
*p
)
132 const PRUnichar
*value
;
134 nsAString_Init(&str_value
, NULL
);
136 get_style_attr_nsval(This
, name
, &str_value
);
138 nsAString_GetData(&str_value
, &value
, NULL
);
139 *p
= strcmpW(value
, exval
) ? VARIANT_FALSE
: VARIANT_TRUE
;
140 nsAString_Finish(&str_value
);
142 TRACE("%s -> %x\n", debugstr_w(name
), *p
);
146 #define HTMLSTYLE_THIS(iface) DEFINE_THIS(HTMLStyle, HTMLStyle, iface)
148 static HRESULT WINAPI
HTMLStyle_QueryInterface(IHTMLStyle
*iface
, REFIID riid
, void **ppv
)
150 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
154 if(IsEqualGUID(&IID_IUnknown
, riid
)) {
155 TRACE("(%p)->(IID_IUnknown %p)\n", This
, ppv
);
156 *ppv
= HTMLSTYLE(This
);
157 }else if(IsEqualGUID(&IID_IDispatch
, riid
)) {
158 TRACE("(%p)->(IID_IDispatch %p)\n", This
, ppv
);
159 *ppv
= HTMLSTYLE(This
);
160 }else if(IsEqualGUID(&IID_IHTMLStyle
, riid
)) {
161 TRACE("(%p)->(IID_IHTMLStyle %p)\n", This
, ppv
);
162 *ppv
= HTMLSTYLE(This
);
166 IUnknown_AddRef((IUnknown
*)*ppv
);
170 WARN("unsupported %s\n", debugstr_guid(riid
));
171 return E_NOINTERFACE
;
174 static ULONG WINAPI
HTMLStyle_AddRef(IHTMLStyle
*iface
)
176 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
177 LONG ref
= InterlockedIncrement(&This
->ref
);
179 TRACE("(%p) ref=%d\n", This
, ref
);
184 static ULONG WINAPI
HTMLStyle_Release(IHTMLStyle
*iface
)
186 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
187 LONG ref
= InterlockedDecrement(&This
->ref
);
189 TRACE("(%p) ref=%d\n", This
, ref
);
197 static HRESULT WINAPI
HTMLStyle_GetTypeInfoCount(IHTMLStyle
*iface
, UINT
*pctinfo
)
199 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
200 FIXME("(%p)->(%p)\n", This
, pctinfo
);
204 static HRESULT WINAPI
HTMLStyle_GetTypeInfo(IHTMLStyle
*iface
, UINT iTInfo
,
205 LCID lcid
, ITypeInfo
**ppTInfo
)
207 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
208 FIXME("(%p)->(%u %u %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
212 static HRESULT WINAPI
HTMLStyle_GetIDsOfNames(IHTMLStyle
*iface
, REFIID riid
,
213 LPOLESTR
*rgszNames
, UINT cNames
,
214 LCID lcid
, DISPID
*rgDispId
)
216 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
217 FIXME("(%p)->(%s %p %u %u %p)\n", This
, debugstr_guid(riid
), rgszNames
, cNames
,
222 static HRESULT WINAPI
HTMLStyle_Invoke(IHTMLStyle
*iface
, DISPID dispIdMember
,
223 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
224 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
226 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
227 FIXME("(%p)->(%d %s %d %d %p %p %p %p)\n", This
, dispIdMember
, debugstr_guid(riid
),
228 lcid
, wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
232 static HRESULT WINAPI
HTMLStyle_put_fontFamily(IHTMLStyle
*iface
, BSTR v
)
234 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
236 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
238 return set_style_attr(This
, attrFontFamily
, v
);
241 static HRESULT WINAPI
HTMLStyle_get_fontFamily(IHTMLStyle
*iface
, BSTR
*p
)
243 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
245 TRACE("(%p)->(%p)\n", This
, p
);
247 return get_style_attr(This
, attrFontFamily
, p
);
250 static HRESULT WINAPI
HTMLStyle_put_fontStyle(IHTMLStyle
*iface
, BSTR v
)
252 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
253 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
257 static HRESULT WINAPI
HTMLStyle_get_fontStyle(IHTMLStyle
*iface
, BSTR
*p
)
259 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
261 TRACE("(%p)->(%p)\n", This
, p
);
263 return get_style_attr(This
, attrFontStyle
, p
);
266 static HRESULT WINAPI
HTMLStyle_put_fontVariant(IHTMLStyle
*iface
, BSTR v
)
268 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
269 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
273 static HRESULT WINAPI
HTMLStyle_get_fontVariant(IHTMLStyle
*iface
, BSTR
*p
)
275 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
276 FIXME("(%p)->(%p)\n", This
, p
);
280 static HRESULT WINAPI
HTMLStyle_put_fontWeight(IHTMLStyle
*iface
, BSTR v
)
282 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
283 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
287 static HRESULT WINAPI
HTMLStyle_get_fontWeight(IHTMLStyle
*iface
, BSTR
*p
)
289 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
291 TRACE("(%p)->(%p)\n", This
, p
);
293 return get_style_attr(This
, attrFontWeight
, p
);
296 static HRESULT WINAPI
HTMLStyle_put_fontSize(IHTMLStyle
*iface
, VARIANT v
)
298 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
300 TRACE("(%p)->(v%d)\n", This
, V_VT(&v
));
304 return set_style_attr(This
, attrFontSize
, V_BSTR(&v
));
306 FIXME("not supported vt %d\n", V_VT(&v
));
312 static HRESULT WINAPI
HTMLStyle_get_fontSize(IHTMLStyle
*iface
, VARIANT
*p
)
314 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
316 TRACE("(%p)->(%p)\n", This
, p
);
319 return get_style_attr(This
, attrFontSize
, &V_BSTR(p
));
322 static HRESULT WINAPI
HTMLStyle_put_font(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_font(IHTMLStyle
*iface
, BSTR
*p
)
331 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
332 FIXME("(%p)->(%p)\n", This
, p
);
336 static HRESULT WINAPI
HTMLStyle_put_color(IHTMLStyle
*iface
, VARIANT v
)
338 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
339 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
343 static HRESULT WINAPI
HTMLStyle_get_color(IHTMLStyle
*iface
, VARIANT
*p
)
345 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
347 TRACE("(%p)->(%p)\n", This
, p
);
350 return get_style_attr(This
, attrColor
, &V_BSTR(p
));
353 static HRESULT WINAPI
HTMLStyle_put_background(IHTMLStyle
*iface
, BSTR v
)
355 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
356 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
360 static HRESULT WINAPI
HTMLStyle_get_background(IHTMLStyle
*iface
, BSTR
*p
)
362 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
363 FIXME("(%p)->(%p)\n", This
, p
);
367 static HRESULT WINAPI
HTMLStyle_put_backgroundColor(IHTMLStyle
*iface
, VARIANT v
)
369 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
371 TRACE("(%p)->(v%d)\n", This
, V_VT(&v
));
375 return set_style_attr(This
, attrBackgroundColor
, V_BSTR(&v
));
378 static const WCHAR format
[] = {'#','%','0','6','x',0};
380 wsprintfW(value
, format
, V_I4(&v
));
381 return set_style_attr(This
, attrBackgroundColor
, value
);
384 FIXME("unsupported vt %d\n", V_VT(&v
));
390 static HRESULT WINAPI
HTMLStyle_get_backgroundColor(IHTMLStyle
*iface
, VARIANT
*p
)
392 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
393 FIXME("(%p)->(%p)\n", This
, p
);
397 static HRESULT WINAPI
HTMLStyle_put_backgroundImage(IHTMLStyle
*iface
, BSTR v
)
399 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
400 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
404 static HRESULT WINAPI
HTMLStyle_get_backgroundImage(IHTMLStyle
*iface
, BSTR
*p
)
406 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
407 FIXME("(%p)->(%p)\n", This
, p
);
411 static HRESULT WINAPI
HTMLStyle_put_backgroundRepeat(IHTMLStyle
*iface
, BSTR v
)
413 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
414 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
418 static HRESULT WINAPI
HTMLStyle_get_backgroundRepeat(IHTMLStyle
*iface
, BSTR
*p
)
420 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
421 FIXME("(%p)->(%p)\n", This
, p
);
425 static HRESULT WINAPI
HTMLStyle_put_backgroundAttachment(IHTMLStyle
*iface
, BSTR v
)
427 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
428 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
432 static HRESULT WINAPI
HTMLStyle_get_backgroundAttachment(IHTMLStyle
*iface
, BSTR
*p
)
434 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
435 FIXME("(%p)->(%p)\n", This
, p
);
439 static HRESULT WINAPI
HTMLStyle_put_backgroundPosition(IHTMLStyle
*iface
, BSTR v
)
441 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
442 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
446 static HRESULT WINAPI
HTMLStyle_get_backgroundPosition(IHTMLStyle
*iface
, BSTR
*p
)
448 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
449 FIXME("(%p)->(%p)\n", This
, p
);
453 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionX(IHTMLStyle
*iface
, VARIANT v
)
455 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
456 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
460 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionX(IHTMLStyle
*iface
, VARIANT
*p
)
462 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
463 FIXME("(%p)->(%p)\n", This
, p
);
467 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionY(IHTMLStyle
*iface
, VARIANT v
)
469 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
470 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
474 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionY(IHTMLStyle
*iface
, VARIANT
*p
)
476 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
477 FIXME("(%p)->(%p)\n", This
, p
);
481 static HRESULT WINAPI
HTMLStyle_put_wordSpacing(IHTMLStyle
*iface
, VARIANT v
)
483 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
484 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
488 static HRESULT WINAPI
HTMLStyle_get_wordSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
490 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
491 FIXME("(%p)->(%p)\n", This
, p
);
495 static HRESULT WINAPI
HTMLStyle_put_letterSpacing(IHTMLStyle
*iface
, VARIANT v
)
497 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
498 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
502 static HRESULT WINAPI
HTMLStyle_get_letterSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
504 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
505 FIXME("(%p)->(%p)\n", This
, p
);
509 static HRESULT WINAPI
HTMLStyle_put_textDecoration(IHTMLStyle
*iface
, BSTR v
)
511 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
512 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
516 static HRESULT WINAPI
HTMLStyle_get_textDecoration(IHTMLStyle
*iface
, BSTR
*p
)
518 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
520 TRACE("(%p)->(%p)\n", This
, p
);
522 return get_style_attr(This
, attrTextDecoration
, p
);
525 static HRESULT WINAPI
HTMLStyle_put_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL v
)
527 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
528 FIXME("(%p)->(%x)\n", This
, v
);
532 static HRESULT WINAPI
HTMLStyle_get_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
534 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
535 FIXME("(%p)->(%p)\n", This
, p
);
539 static HRESULT WINAPI
HTMLStyle_put_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
541 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
542 FIXME("(%p)->(%x)\n", This
, v
);
546 static HRESULT WINAPI
HTMLStyle_get_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
548 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
550 TRACE("(%p)->(%p)\n", This
, p
);
552 return check_style_attr_value(This
, attrTextDecoration
, valUnderline
, p
);
555 static HRESULT WINAPI
HTMLStyle_put_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
557 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
558 FIXME("(%p)->(%x)\n", This
, v
);
562 static HRESULT WINAPI
HTMLStyle_get_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
564 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
565 FIXME("(%p)->(%p)\n", This
, p
);
569 static HRESULT WINAPI
HTMLStyle_put_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL v
)
571 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
572 FIXME("(%p)->(%x)\n", This
, v
);
576 static HRESULT WINAPI
HTMLStyle_get_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
578 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
580 TRACE("(%p)->(%p)\n", This
, p
);
582 return check_style_attr_value(This
, attrTextDecoration
, valLineThrough
, p
);
585 static HRESULT WINAPI
HTMLStyle_put_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL v
)
587 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
588 FIXME("(%p)->(%x)\n", This
, v
);
592 static HRESULT WINAPI
HTMLStyle_get_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
594 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
595 FIXME("(%p)->(%p)\n", This
, p
);
599 static HRESULT WINAPI
HTMLStyle_put_verticalAlign(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_verticalAlign(IHTMLStyle
*iface
, VARIANT
*p
)
608 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
609 FIXME("(%p)->(%p)\n", This
, p
);
613 static HRESULT WINAPI
HTMLStyle_put_textTransform(IHTMLStyle
*iface
, BSTR v
)
615 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
616 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
620 static HRESULT WINAPI
HTMLStyle_get_textTransform(IHTMLStyle
*iface
, BSTR
*p
)
622 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
623 FIXME("(%p)->(%p)\n", This
, p
);
627 static HRESULT WINAPI
HTMLStyle_put_textAlign(IHTMLStyle
*iface
, BSTR v
)
629 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
630 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
634 static HRESULT WINAPI
HTMLStyle_get_textAlign(IHTMLStyle
*iface
, BSTR
*p
)
636 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
637 FIXME("(%p)->(%p)\n", This
, p
);
641 static HRESULT WINAPI
HTMLStyle_put_textIndent(IHTMLStyle
*iface
, VARIANT v
)
643 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
644 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
648 static HRESULT WINAPI
HTMLStyle_get_textIndent(IHTMLStyle
*iface
, VARIANT
*p
)
650 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
651 FIXME("(%p)->(%p)\n", This
, p
);
655 static HRESULT WINAPI
HTMLStyle_put_lineHeight(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_lineHeight(IHTMLStyle
*iface
, VARIANT
*p
)
664 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
665 FIXME("(%p)->(%p)\n", This
, p
);
669 static HRESULT WINAPI
HTMLStyle_put_marginTop(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_marginTop(IHTMLStyle
*iface
, VARIANT
*p
)
678 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
679 FIXME("(%p)->(%p)\n", This
, p
);
683 static HRESULT WINAPI
HTMLStyle_put_marginRight(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_marginRight(IHTMLStyle
*iface
, VARIANT
*p
)
692 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
693 FIXME("(%p)->(%p)\n", This
, p
);
697 static HRESULT WINAPI
HTMLStyle_put_marginBottom(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_marginBottom(IHTMLStyle
*iface
, VARIANT
*p
)
706 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
707 FIXME("(%p)->(%p)\n", This
, p
);
711 static HRESULT WINAPI
HTMLStyle_put_marginLeft(IHTMLStyle
*iface
, VARIANT v
)
713 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
714 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
718 static HRESULT WINAPI
HTMLStyle_put_margin(IHTMLStyle
*iface
, BSTR v
)
720 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
721 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
725 static HRESULT WINAPI
HTMLStyle_get_margin(IHTMLStyle
*iface
, BSTR
*p
)
727 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
728 FIXME("(%p)->(%p)\n", This
, p
);
732 static HRESULT WINAPI
HTMLStyle_get_marginLeft(IHTMLStyle
*iface
, VARIANT
*p
)
734 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
735 FIXME("(%p)->(%p)\n", This
, p
);
739 static HRESULT WINAPI
HTMLStyle_put_paddingTop(IHTMLStyle
*iface
, VARIANT v
)
741 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
742 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
746 static HRESULT WINAPI
HTMLStyle_get_paddingTop(IHTMLStyle
*iface
, VARIANT
*p
)
748 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
749 FIXME("(%p)->(%p)\n", This
, p
);
753 static HRESULT WINAPI
HTMLStyle_put_paddingRight(IHTMLStyle
*iface
, VARIANT v
)
755 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
756 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
760 static HRESULT WINAPI
HTMLStyle_get_paddingRight(IHTMLStyle
*iface
, VARIANT
*p
)
762 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
763 FIXME("(%p)->(%p)\n", This
, p
);
767 static HRESULT WINAPI
HTMLStyle_put_paddingBottom(IHTMLStyle
*iface
, VARIANT v
)
769 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
770 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
774 static HRESULT WINAPI
HTMLStyle_get_paddingBottom(IHTMLStyle
*iface
, VARIANT
*p
)
776 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
777 FIXME("(%p)->(%p)\n", This
, p
);
781 static HRESULT WINAPI
HTMLStyle_put_paddingLeft(IHTMLStyle
*iface
, VARIANT v
)
783 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
784 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
788 static HRESULT WINAPI
HTMLStyle_get_paddingLeft(IHTMLStyle
*iface
, VARIANT
*p
)
790 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
791 FIXME("(%p)->(%p)\n", This
, p
);
795 static HRESULT WINAPI
HTMLStyle_put_padding(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_padding(IHTMLStyle
*iface
, BSTR
*p
)
804 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
805 FIXME("(%p)->(%p)\n", This
, p
);
809 static HRESULT WINAPI
HTMLStyle_put_border(IHTMLStyle
*iface
, BSTR v
)
811 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
812 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
816 static HRESULT WINAPI
HTMLStyle_get_border(IHTMLStyle
*iface
, BSTR
*p
)
818 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
819 FIXME("(%p)->(%p)\n", This
, p
);
823 static HRESULT WINAPI
HTMLStyle_put_borderTop(IHTMLStyle
*iface
, BSTR v
)
825 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
826 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
830 static HRESULT WINAPI
HTMLStyle_get_borderTop(IHTMLStyle
*iface
, BSTR
*p
)
832 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
833 FIXME("(%p)->(%p)\n", This
, p
);
837 static HRESULT WINAPI
HTMLStyle_put_borderRight(IHTMLStyle
*iface
, BSTR v
)
839 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
840 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
844 static HRESULT WINAPI
HTMLStyle_get_borderRight(IHTMLStyle
*iface
, BSTR
*p
)
846 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
847 FIXME("(%p)->(%p)\n", This
, p
);
851 static HRESULT WINAPI
HTMLStyle_put_borderBottom(IHTMLStyle
*iface
, BSTR v
)
853 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
854 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
858 static HRESULT WINAPI
HTMLStyle_get_borderBottom(IHTMLStyle
*iface
, BSTR
*p
)
860 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
861 FIXME("(%p)->(%p)\n", This
, p
);
865 static HRESULT WINAPI
HTMLStyle_put_borderLeft(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_borderLeft(IHTMLStyle
*iface
, BSTR
*p
)
874 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
875 FIXME("(%p)->(%p)\n", This
, p
);
879 static HRESULT WINAPI
HTMLStyle_put_borderColor(IHTMLStyle
*iface
, BSTR v
)
881 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
882 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
886 static HRESULT WINAPI
HTMLStyle_get_borderColor(IHTMLStyle
*iface
, BSTR
*p
)
888 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
889 FIXME("(%p)->(%p)\n", This
, p
);
893 static HRESULT WINAPI
HTMLStyle_put_borderTopColor(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_borderTopColor(IHTMLStyle
*iface
, VARIANT
*p
)
902 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
903 FIXME("(%p)->(%p)\n", This
, p
);
907 static HRESULT WINAPI
HTMLStyle_put_borderRightColor(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_borderRightColor(IHTMLStyle
*iface
, VARIANT
*p
)
916 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
917 FIXME("(%p)->(%p)\n", This
, p
);
921 static HRESULT WINAPI
HTMLStyle_put_borderBottomColor(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_borderBottomColor(IHTMLStyle
*iface
, VARIANT
*p
)
930 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
931 FIXME("(%p)->(%p)\n", This
, p
);
935 static HRESULT WINAPI
HTMLStyle_put_borderLeftColor(IHTMLStyle
*iface
, VARIANT v
)
937 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
938 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
942 static HRESULT WINAPI
HTMLStyle_get_borderLeftColor(IHTMLStyle
*iface
, VARIANT
*p
)
944 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
945 FIXME("(%p)->(%p)\n", This
, p
);
949 static HRESULT WINAPI
HTMLStyle_put_borderWidth(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_borderWidth(IHTMLStyle
*iface
, BSTR
*p
)
958 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
959 FIXME("(%p)->(%p)\n", This
, p
);
963 static HRESULT WINAPI
HTMLStyle_put_borderTopWidth(IHTMLStyle
*iface
, VARIANT v
)
965 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
966 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
970 static HRESULT WINAPI
HTMLStyle_get_borderTopWidth(IHTMLStyle
*iface
, VARIANT
*p
)
972 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
973 FIXME("(%p)->(%p)\n", This
, p
);
977 static HRESULT WINAPI
HTMLStyle_put_borderRightWidth(IHTMLStyle
*iface
, VARIANT v
)
979 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
980 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
984 static HRESULT WINAPI
HTMLStyle_get_borderRightWidth(IHTMLStyle
*iface
, VARIANT
*p
)
986 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
987 FIXME("(%p)->(%p)\n", This
, p
);
991 static HRESULT WINAPI
HTMLStyle_put_borderBottomWidth(IHTMLStyle
*iface
, VARIANT v
)
993 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
994 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
998 static HRESULT WINAPI
HTMLStyle_get_borderBottomWidth(IHTMLStyle
*iface
, VARIANT
*p
)
1000 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1001 FIXME("(%p)->(%p)\n", This
, p
);
1005 static HRESULT WINAPI
HTMLStyle_put_borderLeftWidth(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_borderLeftWidth(IHTMLStyle
*iface
, VARIANT
*p
)
1014 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1015 FIXME("(%p)->(%p)\n", This
, p
);
1019 static HRESULT WINAPI
HTMLStyle_put_borderStyle(IHTMLStyle
*iface
, BSTR v
)
1021 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1022 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1026 static HRESULT WINAPI
HTMLStyle_get_borderStyle(IHTMLStyle
*iface
, BSTR
*p
)
1028 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1029 FIXME("(%p)->(%p)\n", This
, p
);
1033 static HRESULT WINAPI
HTMLStyle_put_borderTopStyle(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_borderTopStyle(IHTMLStyle
*iface
, BSTR
*p
)
1042 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1043 FIXME("(%p)->(%p)\n", This
, p
);
1047 static HRESULT WINAPI
HTMLStyle_put_borderRightStyle(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_borderRightStyle(IHTMLStyle
*iface
, BSTR
*p
)
1056 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1057 FIXME("(%p)->(%p)\n", This
, p
);
1061 static HRESULT WINAPI
HTMLStyle_put_borderBottomStyle(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_borderBottomStyle(IHTMLStyle
*iface
, BSTR
*p
)
1070 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1071 FIXME("(%p)->(%p)\n", This
, p
);
1075 static HRESULT WINAPI
HTMLStyle_put_borderLeftStyle(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_borderLeftStyle(IHTMLStyle
*iface
, BSTR
*p
)
1084 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1085 FIXME("(%p)->(%p)\n", This
, p
);
1089 static HRESULT WINAPI
HTMLStyle_put_width(IHTMLStyle
*iface
, VARIANT v
)
1091 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1092 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1096 static HRESULT WINAPI
HTMLStyle_get_width(IHTMLStyle
*iface
, VARIANT
*p
)
1098 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1099 FIXME("(%p)->(%p)\n", This
, p
);
1103 static HRESULT WINAPI
HTMLStyle_put_height(IHTMLStyle
*iface
, VARIANT v
)
1105 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1106 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1110 static HRESULT WINAPI
HTMLStyle_get_height(IHTMLStyle
*iface
, VARIANT
*p
)
1112 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1113 FIXME("(%p)->(%p)\n", This
, p
);
1117 static HRESULT WINAPI
HTMLStyle_put_styleFloat(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_styleFloat(IHTMLStyle
*iface
, BSTR
*p
)
1126 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1127 FIXME("(%p)->(%p)\n", This
, p
);
1131 static HRESULT WINAPI
HTMLStyle_put_clear(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_clear(IHTMLStyle
*iface
, BSTR
*p
)
1140 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1141 FIXME("(%p)->(%p)\n", This
, p
);
1145 static HRESULT WINAPI
HTMLStyle_put_display(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_display(IHTMLStyle
*iface
, BSTR
*p
)
1154 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1155 FIXME("(%p)->(%p)\n", This
, p
);
1159 static HRESULT WINAPI
HTMLStyle_put_visibility(IHTMLStyle
*iface
, BSTR v
)
1161 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1162 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1166 static HRESULT WINAPI
HTMLStyle_get_visibility(IHTMLStyle
*iface
, BSTR
*p
)
1168 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1169 FIXME("(%p)->(%p)\n", This
, p
);
1173 static HRESULT WINAPI
HTMLStyle_put_listStyleType(IHTMLStyle
*iface
, BSTR v
)
1175 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1176 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1180 static HRESULT WINAPI
HTMLStyle_get_listStyleType(IHTMLStyle
*iface
, BSTR
*p
)
1182 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1183 FIXME("(%p)->(%p)\n", This
, p
);
1187 static HRESULT WINAPI
HTMLStyle_put_listStylePosition(IHTMLStyle
*iface
, BSTR v
)
1189 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1190 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1194 static HRESULT WINAPI
HTMLStyle_get_listStylePosition(IHTMLStyle
*iface
, BSTR
*p
)
1196 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1197 FIXME("(%p)->(%p)\n", This
, p
);
1201 static HRESULT WINAPI
HTMLStyle_put_listStyleImage(IHTMLStyle
*iface
, BSTR v
)
1203 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1204 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1208 static HRESULT WINAPI
HTMLStyle_get_listStyleImage(IHTMLStyle
*iface
, BSTR
*p
)
1210 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1211 FIXME("(%p)->(%p)\n", This
, p
);
1215 static HRESULT WINAPI
HTMLStyle_put_listStyle(IHTMLStyle
*iface
, BSTR v
)
1217 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1218 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1222 static HRESULT WINAPI
HTMLStyle_get_listStyle(IHTMLStyle
*iface
, BSTR
*p
)
1224 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1225 FIXME("(%p)->(%p)\n", This
, p
);
1229 static HRESULT WINAPI
HTMLStyle_put_whiteSpace(IHTMLStyle
*iface
, BSTR v
)
1231 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1232 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1236 static HRESULT WINAPI
HTMLStyle_get_whiteSpace(IHTMLStyle
*iface
, BSTR
*p
)
1238 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1239 FIXME("(%p)->(%p)\n", This
, p
);
1243 static HRESULT WINAPI
HTMLStyle_put_top(IHTMLStyle
*iface
, VARIANT v
)
1245 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1246 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1250 static HRESULT WINAPI
HTMLStyle_get_top(IHTMLStyle
*iface
, VARIANT
*p
)
1252 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1253 FIXME("(%p)->(%p)\n", This
, p
);
1257 static HRESULT WINAPI
HTMLStyle_put_left(IHTMLStyle
*iface
, VARIANT v
)
1259 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1260 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1264 static HRESULT WINAPI
HTMLStyle_get_left(IHTMLStyle
*iface
, VARIANT
*p
)
1266 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1267 FIXME("(%p)->(%p)\n", This
, p
);
1271 static HRESULT WINAPI
HTMLStyle_get_position(IHTMLStyle
*iface
, BSTR
*p
)
1273 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1274 FIXME("(%p)->(%p)\n", This
, p
);
1278 static HRESULT WINAPI
HTMLStyle_put_zIndex(IHTMLStyle
*iface
, VARIANT v
)
1280 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1281 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1285 static HRESULT WINAPI
HTMLStyle_get_zIndex(IHTMLStyle
*iface
, VARIANT
*p
)
1287 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1288 FIXME("(%p)->(%p)\n", This
, p
);
1292 static HRESULT WINAPI
HTMLStyle_put_overflow(IHTMLStyle
*iface
, BSTR v
)
1294 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1295 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1299 static HRESULT WINAPI
HTMLStyle_get_overflow(IHTMLStyle
*iface
, BSTR
*p
)
1301 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1302 FIXME("(%p)->(%p)\n", This
, p
);
1306 static HRESULT WINAPI
HTMLStyle_put_pageBreakBefore(IHTMLStyle
*iface
, BSTR v
)
1308 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1309 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1313 static HRESULT WINAPI
HTMLStyle_get_pageBreakBefore(IHTMLStyle
*iface
, BSTR
*p
)
1315 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1316 FIXME("(%p)->(%p)\n", This
, p
);
1320 static HRESULT WINAPI
HTMLStyle_put_pageBreakAfter(IHTMLStyle
*iface
, BSTR v
)
1322 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1323 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1327 static HRESULT WINAPI
HTMLStyle_get_pageBreakAfter(IHTMLStyle
*iface
, BSTR
*p
)
1329 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1330 FIXME("(%p)->(%p)\n", This
, p
);
1334 static HRESULT WINAPI
HTMLStyle_put_cssText(IHTMLStyle
*iface
, BSTR v
)
1336 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1337 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1341 static HRESULT WINAPI
HTMLStyle_get_cssText(IHTMLStyle
*iface
, BSTR
*p
)
1343 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1344 FIXME("(%p)->(%p)\n", This
, p
);
1348 static HRESULT WINAPI
HTMLStyle_put_pixelTop(IHTMLStyle
*iface
, long v
)
1350 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1351 FIXME("(%p)->()\n", This
);
1355 static HRESULT WINAPI
HTMLStyle_get_pixelTop(IHTMLStyle
*iface
, long *p
)
1357 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1358 FIXME("(%p)->()\n", This
);
1362 static HRESULT WINAPI
HTMLStyle_put_pixelLeft(IHTMLStyle
*iface
, long v
)
1364 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1365 FIXME("(%p)->()\n", This
);
1369 static HRESULT WINAPI
HTMLStyle_get_pixelLeft(IHTMLStyle
*iface
, long *p
)
1371 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1372 FIXME("(%p)->()\n", This
);
1376 static HRESULT WINAPI
HTMLStyle_put_pixelWidth(IHTMLStyle
*iface
, long v
)
1378 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1379 FIXME("(%p)->()\n", This
);
1383 static HRESULT WINAPI
HTMLStyle_get_pixelWidth(IHTMLStyle
*iface
, long *p
)
1385 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1386 FIXME("(%p)->()\n", This
);
1390 static HRESULT WINAPI
HTMLStyle_put_pixelHeight(IHTMLStyle
*iface
, long v
)
1392 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1393 FIXME("(%p)->()\n", This
);
1397 static HRESULT WINAPI
HTMLStyle_get_pixelHeight(IHTMLStyle
*iface
, long *p
)
1399 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1400 FIXME("(%p)->()\n", This
);
1404 static HRESULT WINAPI
HTMLStyle_put_posTop(IHTMLStyle
*iface
, float v
)
1406 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1407 FIXME("(%p)->()\n", This
);
1411 static HRESULT WINAPI
HTMLStyle_get_posTop(IHTMLStyle
*iface
, float *p
)
1413 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1414 FIXME("(%p)->()\n", This
);
1418 static HRESULT WINAPI
HTMLStyle_put_posLeft(IHTMLStyle
*iface
, float v
)
1420 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1421 FIXME("(%p)->()\n", This
);
1425 static HRESULT WINAPI
HTMLStyle_get_posLeft(IHTMLStyle
*iface
, float *p
)
1427 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1428 FIXME("(%p)->()\n", This
);
1432 static HRESULT WINAPI
HTMLStyle_put_posWidth(IHTMLStyle
*iface
, float v
)
1434 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1435 FIXME("(%p)->()\n", This
);
1439 static HRESULT WINAPI
HTMLStyle_get_posWidth(IHTMLStyle
*iface
, float *p
)
1441 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1442 FIXME("(%p)->()\n", This
);
1446 static HRESULT WINAPI
HTMLStyle_put_posHeight(IHTMLStyle
*iface
, float v
)
1448 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1449 FIXME("(%p)->()\n", This
);
1453 static HRESULT WINAPI
HTMLStyle_get_posHeight(IHTMLStyle
*iface
, float *p
)
1455 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1456 FIXME("(%p)->()\n", This
);
1460 static HRESULT WINAPI
HTMLStyle_put_cursor(IHTMLStyle
*iface
, BSTR v
)
1462 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1463 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1467 static HRESULT WINAPI
HTMLStyle_get_cursor(IHTMLStyle
*iface
, BSTR
*p
)
1469 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1470 FIXME("(%p)->(%p)\n", This
, p
);
1474 static HRESULT WINAPI
HTMLStyle_put_clip(IHTMLStyle
*iface
, BSTR v
)
1476 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1477 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1481 static HRESULT WINAPI
HTMLStyle_get_clip(IHTMLStyle
*iface
, BSTR
*p
)
1483 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1484 FIXME("(%p)->(%p)\n", This
, p
);
1488 static HRESULT WINAPI
HTMLStyle_put_filter(IHTMLStyle
*iface
, BSTR v
)
1490 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1491 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1495 static HRESULT WINAPI
HTMLStyle_get_filter(IHTMLStyle
*iface
, BSTR
*p
)
1497 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1498 FIXME("(%p)->(%p)\n", This
, p
);
1502 static HRESULT WINAPI
HTMLStyle_setAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
1503 VARIANT AttributeValue
, LONG lFlags
)
1505 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1506 FIXME("(%p)->(%s v%d %08x)\n", This
, debugstr_w(strAttributeName
),
1507 V_VT(&AttributeValue
), lFlags
);
1511 static HRESULT WINAPI
HTMLStyle_getAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
1512 LONG lFlags
, VARIANT
*AttributeValue
)
1514 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1515 FIXME("(%p)->(%s %08x %p)\n", This
, debugstr_w(strAttributeName
),
1516 lFlags
, AttributeValue
);
1520 static HRESULT WINAPI
HTMLStyle_removeAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
1521 LONG lFlags
, VARIANT_BOOL
*pfSuccess
)
1523 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1524 FIXME("(%p)->(%s %08x %p)\n", This
, debugstr_w(strAttributeName
),
1529 static HRESULT WINAPI
HTMLStyle_toString(IHTMLStyle
*iface
, BSTR
*String
)
1531 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1532 FIXME("(%p)->(%p)\n", This
, String
);
1536 static const IHTMLStyleVtbl HTMLStyleVtbl
= {
1537 HTMLStyle_QueryInterface
,
1540 HTMLStyle_GetTypeInfoCount
,
1541 HTMLStyle_GetTypeInfo
,
1542 HTMLStyle_GetIDsOfNames
,
1544 HTMLStyle_put_fontFamily
,
1545 HTMLStyle_get_fontFamily
,
1546 HTMLStyle_put_fontStyle
,
1547 HTMLStyle_get_fontStyle
,
1548 HTMLStyle_put_fontVariant
,
1549 HTMLStyle_get_fontVariant
,
1550 HTMLStyle_put_fontWeight
,
1551 HTMLStyle_get_fontWeight
,
1552 HTMLStyle_put_fontSize
,
1553 HTMLStyle_get_fontSize
,
1556 HTMLStyle_put_color
,
1557 HTMLStyle_get_color
,
1558 HTMLStyle_put_background
,
1559 HTMLStyle_get_background
,
1560 HTMLStyle_put_backgroundColor
,
1561 HTMLStyle_get_backgroundColor
,
1562 HTMLStyle_put_backgroundImage
,
1563 HTMLStyle_get_backgroundImage
,
1564 HTMLStyle_put_backgroundRepeat
,
1565 HTMLStyle_get_backgroundRepeat
,
1566 HTMLStyle_put_backgroundAttachment
,
1567 HTMLStyle_get_backgroundAttachment
,
1568 HTMLStyle_put_backgroundPosition
,
1569 HTMLStyle_get_backgroundPosition
,
1570 HTMLStyle_put_backgroundPositionX
,
1571 HTMLStyle_get_backgroundPositionX
,
1572 HTMLStyle_put_backgroundPositionY
,
1573 HTMLStyle_get_backgroundPositionY
,
1574 HTMLStyle_put_wordSpacing
,
1575 HTMLStyle_get_wordSpacing
,
1576 HTMLStyle_put_letterSpacing
,
1577 HTMLStyle_get_letterSpacing
,
1578 HTMLStyle_put_textDecoration
,
1579 HTMLStyle_get_textDecoration
,
1580 HTMLStyle_put_textDecorationNone
,
1581 HTMLStyle_get_textDecorationNone
,
1582 HTMLStyle_put_textDecorationUnderline
,
1583 HTMLStyle_get_textDecorationUnderline
,
1584 HTMLStyle_put_textDecorationOverline
,
1585 HTMLStyle_get_textDecorationOverline
,
1586 HTMLStyle_put_textDecorationLineThrough
,
1587 HTMLStyle_get_textDecorationLineThrough
,
1588 HTMLStyle_put_textDecorationBlink
,
1589 HTMLStyle_get_textDecorationBlink
,
1590 HTMLStyle_put_verticalAlign
,
1591 HTMLStyle_get_verticalAlign
,
1592 HTMLStyle_put_textTransform
,
1593 HTMLStyle_get_textTransform
,
1594 HTMLStyle_put_textAlign
,
1595 HTMLStyle_get_textAlign
,
1596 HTMLStyle_put_textIndent
,
1597 HTMLStyle_get_textIndent
,
1598 HTMLStyle_put_lineHeight
,
1599 HTMLStyle_get_lineHeight
,
1600 HTMLStyle_put_marginTop
,
1601 HTMLStyle_get_marginTop
,
1602 HTMLStyle_put_marginRight
,
1603 HTMLStyle_get_marginRight
,
1604 HTMLStyle_put_marginBottom
,
1605 HTMLStyle_get_marginBottom
,
1606 HTMLStyle_put_marginLeft
,
1607 HTMLStyle_get_marginLeft
,
1608 HTMLStyle_put_margin
,
1609 HTMLStyle_get_margin
,
1610 HTMLStyle_put_paddingTop
,
1611 HTMLStyle_get_paddingTop
,
1612 HTMLStyle_put_paddingRight
,
1613 HTMLStyle_get_paddingRight
,
1614 HTMLStyle_put_paddingBottom
,
1615 HTMLStyle_get_paddingBottom
,
1616 HTMLStyle_put_paddingLeft
,
1617 HTMLStyle_get_paddingLeft
,
1618 HTMLStyle_put_padding
,
1619 HTMLStyle_get_padding
,
1620 HTMLStyle_put_border
,
1621 HTMLStyle_get_border
,
1622 HTMLStyle_put_borderTop
,
1623 HTMLStyle_get_borderTop
,
1624 HTMLStyle_put_borderRight
,
1625 HTMLStyle_get_borderRight
,
1626 HTMLStyle_put_borderBottom
,
1627 HTMLStyle_get_borderBottom
,
1628 HTMLStyle_put_borderLeft
,
1629 HTMLStyle_get_borderLeft
,
1630 HTMLStyle_put_borderColor
,
1631 HTMLStyle_get_borderColor
,
1632 HTMLStyle_put_borderTopColor
,
1633 HTMLStyle_get_borderTopColor
,
1634 HTMLStyle_put_borderRightColor
,
1635 HTMLStyle_get_borderRightColor
,
1636 HTMLStyle_put_borderBottomColor
,
1637 HTMLStyle_get_borderBottomColor
,
1638 HTMLStyle_put_borderLeftColor
,
1639 HTMLStyle_get_borderLeftColor
,
1640 HTMLStyle_put_borderWidth
,
1641 HTMLStyle_get_borderWidth
,
1642 HTMLStyle_put_borderTopWidth
,
1643 HTMLStyle_get_borderTopWidth
,
1644 HTMLStyle_put_borderRightWidth
,
1645 HTMLStyle_get_borderRightWidth
,
1646 HTMLStyle_put_borderBottomWidth
,
1647 HTMLStyle_get_borderBottomWidth
,
1648 HTMLStyle_put_borderLeftWidth
,
1649 HTMLStyle_get_borderLeftWidth
,
1650 HTMLStyle_put_borderStyle
,
1651 HTMLStyle_get_borderStyle
,
1652 HTMLStyle_put_borderTopStyle
,
1653 HTMLStyle_get_borderTopStyle
,
1654 HTMLStyle_put_borderRightStyle
,
1655 HTMLStyle_get_borderRightStyle
,
1656 HTMLStyle_put_borderBottomStyle
,
1657 HTMLStyle_get_borderBottomStyle
,
1658 HTMLStyle_put_borderLeftStyle
,
1659 HTMLStyle_get_borderLeftStyle
,
1660 HTMLStyle_put_width
,
1661 HTMLStyle_get_width
,
1662 HTMLStyle_put_height
,
1663 HTMLStyle_get_height
,
1664 HTMLStyle_put_styleFloat
,
1665 HTMLStyle_get_styleFloat
,
1666 HTMLStyle_put_clear
,
1667 HTMLStyle_get_clear
,
1668 HTMLStyle_put_display
,
1669 HTMLStyle_get_display
,
1670 HTMLStyle_put_visibility
,
1671 HTMLStyle_get_visibility
,
1672 HTMLStyle_put_listStyleType
,
1673 HTMLStyle_get_listStyleType
,
1674 HTMLStyle_put_listStylePosition
,
1675 HTMLStyle_get_listStylePosition
,
1676 HTMLStyle_put_listStyleImage
,
1677 HTMLStyle_get_listStyleImage
,
1678 HTMLStyle_put_listStyle
,
1679 HTMLStyle_get_listStyle
,
1680 HTMLStyle_put_whiteSpace
,
1681 HTMLStyle_get_whiteSpace
,
1686 HTMLStyle_get_position
,
1687 HTMLStyle_put_zIndex
,
1688 HTMLStyle_get_zIndex
,
1689 HTMLStyle_put_overflow
,
1690 HTMLStyle_get_overflow
,
1691 HTMLStyle_put_pageBreakBefore
,
1692 HTMLStyle_get_pageBreakBefore
,
1693 HTMLStyle_put_pageBreakAfter
,
1694 HTMLStyle_get_pageBreakAfter
,
1695 HTMLStyle_put_cssText
,
1696 HTMLStyle_get_cssText
,
1697 HTMLStyle_put_pixelTop
,
1698 HTMLStyle_get_pixelTop
,
1699 HTMLStyle_put_pixelLeft
,
1700 HTMLStyle_get_pixelLeft
,
1701 HTMLStyle_put_pixelWidth
,
1702 HTMLStyle_get_pixelWidth
,
1703 HTMLStyle_put_pixelHeight
,
1704 HTMLStyle_get_pixelHeight
,
1705 HTMLStyle_put_posTop
,
1706 HTMLStyle_get_posTop
,
1707 HTMLStyle_put_posLeft
,
1708 HTMLStyle_get_posLeft
,
1709 HTMLStyle_put_posWidth
,
1710 HTMLStyle_get_posWidth
,
1711 HTMLStyle_put_posHeight
,
1712 HTMLStyle_get_posHeight
,
1713 HTMLStyle_put_cursor
,
1714 HTMLStyle_get_cursor
,
1717 HTMLStyle_put_filter
,
1718 HTMLStyle_get_filter
,
1719 HTMLStyle_setAttribute
,
1720 HTMLStyle_getAttribute
,
1721 HTMLStyle_removeAttribute
,
1725 IHTMLStyle
*HTMLStyle_Create(nsIDOMCSSStyleDeclaration
*nsstyle
)
1727 HTMLStyle
*ret
= mshtml_alloc(sizeof(HTMLStyle
));
1729 ret
->lpHTMLStyleVtbl
= &HTMLStyleVtbl
;
1731 ret
->nsstyle
= nsstyle
;
1733 nsIDOMCSSStyleDeclaration_AddRef(nsstyle
);
1735 return HTMLSTYLE(ret
);