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 static HRESULT
get_style_attr(HTMLStyle
*This
, LPCWSTR name
, BSTR
*p
)
82 nsAString str_name
, str_value
;
83 const PRUnichar
*value
;
86 nsAString_Init(&str_name
, name
);
87 nsAString_Init(&str_value
, NULL
);
89 nsres
= nsIDOMCSSStyleDeclaration_GetPropertyValue(This
->nsstyle
, &str_name
, &str_value
);
91 ERR("SetProperty failed: %08x\n", nsres
);
93 nsAString_GetData(&str_value
, &value
, NULL
);
94 *p
= SysAllocString(value
);
96 nsAString_Finish(&str_name
);
97 nsAString_Finish(&str_value
);
99 TRACE("%s -> %s\n", debugstr_w(name
), debugstr_w(*p
));
104 #define HTMLSTYLE_THIS(iface) DEFINE_THIS(HTMLStyle, HTMLStyle, iface)
106 static HRESULT WINAPI
HTMLStyle_QueryInterface(IHTMLStyle
*iface
, REFIID riid
, void **ppv
)
108 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
112 if(IsEqualGUID(&IID_IUnknown
, riid
)) {
113 TRACE("(%p)->(IID_IUnknown %p)\n", This
, ppv
);
114 *ppv
= HTMLSTYLE(This
);
115 }else if(IsEqualGUID(&IID_IDispatch
, riid
)) {
116 TRACE("(%p)->(IID_IDispatch %p)\n", This
, ppv
);
117 *ppv
= HTMLSTYLE(This
);
118 }else if(IsEqualGUID(&IID_IHTMLStyle
, riid
)) {
119 TRACE("(%p)->(IID_IHTMLStyle %p)\n", This
, ppv
);
120 *ppv
= HTMLSTYLE(This
);
124 IUnknown_AddRef((IUnknown
*)*ppv
);
128 WARN("unsupported %s\n", debugstr_guid(riid
));
129 return E_NOINTERFACE
;
132 static ULONG WINAPI
HTMLStyle_AddRef(IHTMLStyle
*iface
)
134 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
135 LONG ref
= InterlockedIncrement(&This
->ref
);
137 TRACE("(%p) ref=%d\n", This
, ref
);
142 static ULONG WINAPI
HTMLStyle_Release(IHTMLStyle
*iface
)
144 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
145 LONG ref
= InterlockedDecrement(&This
->ref
);
147 TRACE("(%p) ref=%d\n", This
, ref
);
155 static HRESULT WINAPI
HTMLStyle_GetTypeInfoCount(IHTMLStyle
*iface
, UINT
*pctinfo
)
157 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
158 FIXME("(%p)->(%p)\n", This
, pctinfo
);
162 static HRESULT WINAPI
HTMLStyle_GetTypeInfo(IHTMLStyle
*iface
, UINT iTInfo
,
163 LCID lcid
, ITypeInfo
**ppTInfo
)
165 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
166 FIXME("(%p)->(%u %u %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
170 static HRESULT WINAPI
HTMLStyle_GetIDsOfNames(IHTMLStyle
*iface
, REFIID riid
,
171 LPOLESTR
*rgszNames
, UINT cNames
,
172 LCID lcid
, DISPID
*rgDispId
)
174 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
175 FIXME("(%p)->(%s %p %u %u %p)\n", This
, debugstr_guid(riid
), rgszNames
, cNames
,
180 static HRESULT WINAPI
HTMLStyle_Invoke(IHTMLStyle
*iface
, DISPID dispIdMember
,
181 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
182 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
184 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
185 FIXME("(%p)->(%d %s %d %d %p %p %p %p)\n", This
, dispIdMember
, debugstr_guid(riid
),
186 lcid
, wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
190 static HRESULT WINAPI
HTMLStyle_put_fontFamily(IHTMLStyle
*iface
, BSTR v
)
192 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
194 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
196 return set_style_attr(This
, attrFontFamily
, v
);
199 static HRESULT WINAPI
HTMLStyle_get_fontFamily(IHTMLStyle
*iface
, BSTR
*p
)
201 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
203 TRACE("(%p)->(%p)\n", This
, p
);
205 return get_style_attr(This
, attrFontFamily
, p
);
208 static HRESULT WINAPI
HTMLStyle_put_fontStyle(IHTMLStyle
*iface
, BSTR v
)
210 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
211 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
215 static HRESULT WINAPI
HTMLStyle_get_fontStyle(IHTMLStyle
*iface
, BSTR
*p
)
217 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
218 FIXME("(%p)->(%p)\n", This
, p
);
222 static HRESULT WINAPI
HTMLStyle_put_fontVariant(IHTMLStyle
*iface
, BSTR v
)
224 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
225 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
229 static HRESULT WINAPI
HTMLStyle_get_fontVariant(IHTMLStyle
*iface
, BSTR
*p
)
231 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
232 FIXME("(%p)->(%p)\n", This
, p
);
236 static HRESULT WINAPI
HTMLStyle_put_fontWeight(IHTMLStyle
*iface
, BSTR v
)
238 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
239 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
243 static HRESULT WINAPI
HTMLStyle_get_fontWeight(IHTMLStyle
*iface
, BSTR
*p
)
245 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
246 FIXME("(%p)->(%p)\n", This
, p
);
250 static HRESULT WINAPI
HTMLStyle_put_fontSize(IHTMLStyle
*iface
, VARIANT v
)
252 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
254 TRACE("(%p)->(v%d)\n", This
, V_VT(&v
));
258 return set_style_attr(This
, attrFontSize
, V_BSTR(&v
));
260 FIXME("not supported vt %d\n", V_VT(&v
));
266 static HRESULT WINAPI
HTMLStyle_get_fontSize(IHTMLStyle
*iface
, VARIANT
*p
)
268 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
269 FIXME("(%p)->(%p)\n", This
, p
);
273 static HRESULT WINAPI
HTMLStyle_put_font(IHTMLStyle
*iface
, BSTR v
)
275 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
276 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
280 static HRESULT WINAPI
HTMLStyle_get_font(IHTMLStyle
*iface
, BSTR
*p
)
282 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
283 FIXME("(%p)->(%p)\n", This
, p
);
287 static HRESULT WINAPI
HTMLStyle_put_color(IHTMLStyle
*iface
, VARIANT v
)
289 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
290 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
294 static HRESULT WINAPI
HTMLStyle_get_color(IHTMLStyle
*iface
, VARIANT
*p
)
296 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
297 FIXME("(%p)->(%p)\n", This
, p
);
301 static HRESULT WINAPI
HTMLStyle_put_background(IHTMLStyle
*iface
, BSTR v
)
303 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
304 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
308 static HRESULT WINAPI
HTMLStyle_get_background(IHTMLStyle
*iface
, BSTR
*p
)
310 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
311 FIXME("(%p)->(%p)\n", This
, p
);
315 static HRESULT WINAPI
HTMLStyle_put_backgroundColor(IHTMLStyle
*iface
, VARIANT v
)
317 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
319 TRACE("(%p)->(v%d)\n", This
, V_VT(&v
));
323 return set_style_attr(This
, attrBackgroundColor
, V_BSTR(&v
));
326 static const WCHAR format
[] = {'#','%','0','6','x',0};
328 wsprintfW(value
, format
, V_I4(&v
));
329 return set_style_attr(This
, attrBackgroundColor
, value
);
332 FIXME("unsupported vt %d\n", V_VT(&v
));
338 static HRESULT WINAPI
HTMLStyle_get_backgroundColor(IHTMLStyle
*iface
, VARIANT
*p
)
340 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
341 FIXME("(%p)->(%p)\n", This
, p
);
345 static HRESULT WINAPI
HTMLStyle_put_backgroundImage(IHTMLStyle
*iface
, BSTR v
)
347 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
348 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
352 static HRESULT WINAPI
HTMLStyle_get_backgroundImage(IHTMLStyle
*iface
, BSTR
*p
)
354 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
355 FIXME("(%p)->(%p)\n", This
, p
);
359 static HRESULT WINAPI
HTMLStyle_put_backgroundRepeat(IHTMLStyle
*iface
, BSTR v
)
361 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
362 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
366 static HRESULT WINAPI
HTMLStyle_get_backgroundRepeat(IHTMLStyle
*iface
, BSTR
*p
)
368 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
369 FIXME("(%p)->(%p)\n", This
, p
);
373 static HRESULT WINAPI
HTMLStyle_put_backgroundAttachment(IHTMLStyle
*iface
, BSTR v
)
375 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
376 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
380 static HRESULT WINAPI
HTMLStyle_get_backgroundAttachment(IHTMLStyle
*iface
, BSTR
*p
)
382 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
383 FIXME("(%p)->(%p)\n", This
, p
);
387 static HRESULT WINAPI
HTMLStyle_put_backgroundPosition(IHTMLStyle
*iface
, BSTR v
)
389 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
390 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
394 static HRESULT WINAPI
HTMLStyle_get_backgroundPosition(IHTMLStyle
*iface
, BSTR
*p
)
396 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
397 FIXME("(%p)->(%p)\n", This
, p
);
401 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionX(IHTMLStyle
*iface
, VARIANT v
)
403 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
404 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
408 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionX(IHTMLStyle
*iface
, VARIANT
*p
)
410 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
411 FIXME("(%p)->(%p)\n", This
, p
);
415 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionY(IHTMLStyle
*iface
, VARIANT v
)
417 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
418 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
422 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionY(IHTMLStyle
*iface
, VARIANT
*p
)
424 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
425 FIXME("(%p)->(%p)\n", This
, p
);
429 static HRESULT WINAPI
HTMLStyle_put_wordSpacing(IHTMLStyle
*iface
, VARIANT v
)
431 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
432 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
436 static HRESULT WINAPI
HTMLStyle_get_wordSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
438 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
439 FIXME("(%p)->(%p)\n", This
, p
);
443 static HRESULT WINAPI
HTMLStyle_put_letterSpacing(IHTMLStyle
*iface
, VARIANT v
)
445 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
446 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
450 static HRESULT WINAPI
HTMLStyle_get_letterSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
452 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
453 FIXME("(%p)->(%p)\n", This
, p
);
457 static HRESULT WINAPI
HTMLStyle_put_textDecoration(IHTMLStyle
*iface
, BSTR v
)
459 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
460 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
464 static HRESULT WINAPI
HTMLStyle_get_textDecoration(IHTMLStyle
*iface
, BSTR
*p
)
466 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
467 FIXME("(%p)->(%p)\n", This
, p
);
471 static HRESULT WINAPI
HTMLStyle_put_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL v
)
473 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
474 FIXME("(%p)->(%x)\n", This
, v
);
478 static HRESULT WINAPI
HTMLStyle_get_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
480 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
481 FIXME("(%p)->(%p)\n", This
, p
);
485 static HRESULT WINAPI
HTMLStyle_put_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
487 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
488 FIXME("(%p)->(%x)\n", This
, v
);
492 static HRESULT WINAPI
HTMLStyle_get_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
494 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
495 FIXME("(%p)->(%p)\n", This
, p
);
499 static HRESULT WINAPI
HTMLStyle_put_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
501 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
502 FIXME("(%p)->(%x)\n", This
, v
);
506 static HRESULT WINAPI
HTMLStyle_get_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
508 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
509 FIXME("(%p)->(%p)\n", This
, p
);
513 static HRESULT WINAPI
HTMLStyle_put_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL v
)
515 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
516 FIXME("(%p)->(%x)\n", This
, v
);
520 static HRESULT WINAPI
HTMLStyle_get_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
522 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
523 FIXME("(%p)->(%p)\n", This
, p
);
527 static HRESULT WINAPI
HTMLStyle_put_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL v
)
529 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
530 FIXME("(%p)->(%x)\n", This
, v
);
534 static HRESULT WINAPI
HTMLStyle_get_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
536 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
537 FIXME("(%p)->(%p)\n", This
, p
);
541 static HRESULT WINAPI
HTMLStyle_put_verticalAlign(IHTMLStyle
*iface
, VARIANT v
)
543 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
544 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
548 static HRESULT WINAPI
HTMLStyle_get_verticalAlign(IHTMLStyle
*iface
, VARIANT
*p
)
550 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
551 FIXME("(%p)->(%p)\n", This
, p
);
555 static HRESULT WINAPI
HTMLStyle_put_textTransform(IHTMLStyle
*iface
, BSTR v
)
557 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
558 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
562 static HRESULT WINAPI
HTMLStyle_get_textTransform(IHTMLStyle
*iface
, BSTR
*p
)
564 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
565 FIXME("(%p)->(%p)\n", This
, p
);
569 static HRESULT WINAPI
HTMLStyle_put_textAlign(IHTMLStyle
*iface
, BSTR v
)
571 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
572 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
576 static HRESULT WINAPI
HTMLStyle_get_textAlign(IHTMLStyle
*iface
, BSTR
*p
)
578 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
579 FIXME("(%p)->(%p)\n", This
, p
);
583 static HRESULT WINAPI
HTMLStyle_put_textIndent(IHTMLStyle
*iface
, VARIANT v
)
585 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
586 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
590 static HRESULT WINAPI
HTMLStyle_get_textIndent(IHTMLStyle
*iface
, VARIANT
*p
)
592 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
593 FIXME("(%p)->(%p)\n", This
, p
);
597 static HRESULT WINAPI
HTMLStyle_put_lineHeight(IHTMLStyle
*iface
, VARIANT v
)
599 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
600 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
604 static HRESULT WINAPI
HTMLStyle_get_lineHeight(IHTMLStyle
*iface
, VARIANT
*p
)
606 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
607 FIXME("(%p)->(%p)\n", This
, p
);
611 static HRESULT WINAPI
HTMLStyle_put_marginTop(IHTMLStyle
*iface
, VARIANT v
)
613 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
614 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
618 static HRESULT WINAPI
HTMLStyle_get_marginTop(IHTMLStyle
*iface
, VARIANT
*p
)
620 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
621 FIXME("(%p)->(%p)\n", This
, p
);
625 static HRESULT WINAPI
HTMLStyle_put_marginRight(IHTMLStyle
*iface
, VARIANT v
)
627 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
628 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
632 static HRESULT WINAPI
HTMLStyle_get_marginRight(IHTMLStyle
*iface
, VARIANT
*p
)
634 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
635 FIXME("(%p)->(%p)\n", This
, p
);
639 static HRESULT WINAPI
HTMLStyle_put_marginBottom(IHTMLStyle
*iface
, VARIANT v
)
641 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
642 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
646 static HRESULT WINAPI
HTMLStyle_get_marginBottom(IHTMLStyle
*iface
, VARIANT
*p
)
648 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
649 FIXME("(%p)->(%p)\n", This
, p
);
653 static HRESULT WINAPI
HTMLStyle_put_marginLeft(IHTMLStyle
*iface
, VARIANT v
)
655 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
656 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
660 static HRESULT WINAPI
HTMLStyle_put_margin(IHTMLStyle
*iface
, BSTR v
)
662 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
663 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
667 static HRESULT WINAPI
HTMLStyle_get_margin(IHTMLStyle
*iface
, BSTR
*p
)
669 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
670 FIXME("(%p)->(%p)\n", This
, p
);
674 static HRESULT WINAPI
HTMLStyle_get_marginLeft(IHTMLStyle
*iface
, VARIANT
*p
)
676 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
677 FIXME("(%p)->(%p)\n", This
, p
);
681 static HRESULT WINAPI
HTMLStyle_put_paddingTop(IHTMLStyle
*iface
, VARIANT v
)
683 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
684 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
688 static HRESULT WINAPI
HTMLStyle_get_paddingTop(IHTMLStyle
*iface
, VARIANT
*p
)
690 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
691 FIXME("(%p)->(%p)\n", This
, p
);
695 static HRESULT WINAPI
HTMLStyle_put_paddingRight(IHTMLStyle
*iface
, VARIANT v
)
697 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
698 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
702 static HRESULT WINAPI
HTMLStyle_get_paddingRight(IHTMLStyle
*iface
, VARIANT
*p
)
704 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
705 FIXME("(%p)->(%p)\n", This
, p
);
709 static HRESULT WINAPI
HTMLStyle_put_paddingBottom(IHTMLStyle
*iface
, VARIANT v
)
711 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
712 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
716 static HRESULT WINAPI
HTMLStyle_get_paddingBottom(IHTMLStyle
*iface
, VARIANT
*p
)
718 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
719 FIXME("(%p)->(%p)\n", This
, p
);
723 static HRESULT WINAPI
HTMLStyle_put_paddingLeft(IHTMLStyle
*iface
, VARIANT v
)
725 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
726 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
730 static HRESULT WINAPI
HTMLStyle_get_paddingLeft(IHTMLStyle
*iface
, VARIANT
*p
)
732 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
733 FIXME("(%p)->(%p)\n", This
, p
);
737 static HRESULT WINAPI
HTMLStyle_put_padding(IHTMLStyle
*iface
, BSTR v
)
739 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
740 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
744 static HRESULT WINAPI
HTMLStyle_get_padding(IHTMLStyle
*iface
, BSTR
*p
)
746 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
747 FIXME("(%p)->(%p)\n", This
, p
);
751 static HRESULT WINAPI
HTMLStyle_put_border(IHTMLStyle
*iface
, BSTR v
)
753 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
754 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
758 static HRESULT WINAPI
HTMLStyle_get_border(IHTMLStyle
*iface
, BSTR
*p
)
760 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
761 FIXME("(%p)->(%p)\n", This
, p
);
765 static HRESULT WINAPI
HTMLStyle_put_borderTop(IHTMLStyle
*iface
, BSTR v
)
767 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
768 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
772 static HRESULT WINAPI
HTMLStyle_get_borderTop(IHTMLStyle
*iface
, BSTR
*p
)
774 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
775 FIXME("(%p)->(%p)\n", This
, p
);
779 static HRESULT WINAPI
HTMLStyle_put_borderRight(IHTMLStyle
*iface
, BSTR v
)
781 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
782 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
786 static HRESULT WINAPI
HTMLStyle_get_borderRight(IHTMLStyle
*iface
, BSTR
*p
)
788 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
789 FIXME("(%p)->(%p)\n", This
, p
);
793 static HRESULT WINAPI
HTMLStyle_put_borderBottom(IHTMLStyle
*iface
, BSTR v
)
795 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
796 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
800 static HRESULT WINAPI
HTMLStyle_get_borderBottom(IHTMLStyle
*iface
, BSTR
*p
)
802 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
803 FIXME("(%p)->(%p)\n", This
, p
);
807 static HRESULT WINAPI
HTMLStyle_put_borderLeft(IHTMLStyle
*iface
, BSTR v
)
809 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
810 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
814 static HRESULT WINAPI
HTMLStyle_get_borderLeft(IHTMLStyle
*iface
, BSTR
*p
)
816 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
817 FIXME("(%p)->(%p)\n", This
, p
);
821 static HRESULT WINAPI
HTMLStyle_put_borderColor(IHTMLStyle
*iface
, BSTR v
)
823 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
824 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
828 static HRESULT WINAPI
HTMLStyle_get_borderColor(IHTMLStyle
*iface
, BSTR
*p
)
830 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
831 FIXME("(%p)->(%p)\n", This
, p
);
835 static HRESULT WINAPI
HTMLStyle_put_borderTopColor(IHTMLStyle
*iface
, VARIANT v
)
837 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
838 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
842 static HRESULT WINAPI
HTMLStyle_get_borderTopColor(IHTMLStyle
*iface
, VARIANT
*p
)
844 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
845 FIXME("(%p)->(%p)\n", This
, p
);
849 static HRESULT WINAPI
HTMLStyle_put_borderRightColor(IHTMLStyle
*iface
, VARIANT v
)
851 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
852 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
856 static HRESULT WINAPI
HTMLStyle_get_borderRightColor(IHTMLStyle
*iface
, VARIANT
*p
)
858 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
859 FIXME("(%p)->(%p)\n", This
, p
);
863 static HRESULT WINAPI
HTMLStyle_put_borderBottomColor(IHTMLStyle
*iface
, VARIANT v
)
865 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
866 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
870 static HRESULT WINAPI
HTMLStyle_get_borderBottomColor(IHTMLStyle
*iface
, VARIANT
*p
)
872 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
873 FIXME("(%p)->(%p)\n", This
, p
);
877 static HRESULT WINAPI
HTMLStyle_put_borderLeftColor(IHTMLStyle
*iface
, VARIANT v
)
879 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
880 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
884 static HRESULT WINAPI
HTMLStyle_get_borderLeftColor(IHTMLStyle
*iface
, VARIANT
*p
)
886 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
887 FIXME("(%p)->(%p)\n", This
, p
);
891 static HRESULT WINAPI
HTMLStyle_put_borderWidth(IHTMLStyle
*iface
, BSTR v
)
893 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
894 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
898 static HRESULT WINAPI
HTMLStyle_get_borderWidth(IHTMLStyle
*iface
, BSTR
*p
)
900 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
901 FIXME("(%p)->(%p)\n", This
, p
);
905 static HRESULT WINAPI
HTMLStyle_put_borderTopWidth(IHTMLStyle
*iface
, VARIANT v
)
907 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
908 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
912 static HRESULT WINAPI
HTMLStyle_get_borderTopWidth(IHTMLStyle
*iface
, VARIANT
*p
)
914 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
915 FIXME("(%p)->(%p)\n", This
, p
);
919 static HRESULT WINAPI
HTMLStyle_put_borderRightWidth(IHTMLStyle
*iface
, VARIANT v
)
921 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
922 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
926 static HRESULT WINAPI
HTMLStyle_get_borderRightWidth(IHTMLStyle
*iface
, VARIANT
*p
)
928 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
929 FIXME("(%p)->(%p)\n", This
, p
);
933 static HRESULT WINAPI
HTMLStyle_put_borderBottomWidth(IHTMLStyle
*iface
, VARIANT v
)
935 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
936 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
940 static HRESULT WINAPI
HTMLStyle_get_borderBottomWidth(IHTMLStyle
*iface
, VARIANT
*p
)
942 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
943 FIXME("(%p)->(%p)\n", This
, p
);
947 static HRESULT WINAPI
HTMLStyle_put_borderLeftWidth(IHTMLStyle
*iface
, VARIANT v
)
949 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
950 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
954 static HRESULT WINAPI
HTMLStyle_get_borderLeftWidth(IHTMLStyle
*iface
, VARIANT
*p
)
956 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
957 FIXME("(%p)->(%p)\n", This
, p
);
961 static HRESULT WINAPI
HTMLStyle_put_borderStyle(IHTMLStyle
*iface
, BSTR v
)
963 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
964 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
968 static HRESULT WINAPI
HTMLStyle_get_borderStyle(IHTMLStyle
*iface
, BSTR
*p
)
970 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
971 FIXME("(%p)->(%p)\n", This
, p
);
975 static HRESULT WINAPI
HTMLStyle_put_borderTopStyle(IHTMLStyle
*iface
, BSTR v
)
977 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
978 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
982 static HRESULT WINAPI
HTMLStyle_get_borderTopStyle(IHTMLStyle
*iface
, BSTR
*p
)
984 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
985 FIXME("(%p)->(%p)\n", This
, p
);
989 static HRESULT WINAPI
HTMLStyle_put_borderRightStyle(IHTMLStyle
*iface
, BSTR v
)
991 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
992 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
996 static HRESULT WINAPI
HTMLStyle_get_borderRightStyle(IHTMLStyle
*iface
, BSTR
*p
)
998 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
999 FIXME("(%p)->(%p)\n", This
, p
);
1003 static HRESULT WINAPI
HTMLStyle_put_borderBottomStyle(IHTMLStyle
*iface
, BSTR v
)
1005 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1006 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1010 static HRESULT WINAPI
HTMLStyle_get_borderBottomStyle(IHTMLStyle
*iface
, BSTR
*p
)
1012 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1013 FIXME("(%p)->(%p)\n", This
, p
);
1017 static HRESULT WINAPI
HTMLStyle_put_borderLeftStyle(IHTMLStyle
*iface
, BSTR v
)
1019 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1020 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1024 static HRESULT WINAPI
HTMLStyle_get_borderLeftStyle(IHTMLStyle
*iface
, BSTR
*p
)
1026 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1027 FIXME("(%p)->(%p)\n", This
, p
);
1031 static HRESULT WINAPI
HTMLStyle_put_width(IHTMLStyle
*iface
, VARIANT v
)
1033 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1034 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1038 static HRESULT WINAPI
HTMLStyle_get_width(IHTMLStyle
*iface
, VARIANT
*p
)
1040 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1041 FIXME("(%p)->(%p)\n", This
, p
);
1045 static HRESULT WINAPI
HTMLStyle_put_height(IHTMLStyle
*iface
, VARIANT v
)
1047 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1048 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1052 static HRESULT WINAPI
HTMLStyle_get_height(IHTMLStyle
*iface
, VARIANT
*p
)
1054 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1055 FIXME("(%p)->(%p)\n", This
, p
);
1059 static HRESULT WINAPI
HTMLStyle_put_styleFloat(IHTMLStyle
*iface
, BSTR v
)
1061 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1062 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1066 static HRESULT WINAPI
HTMLStyle_get_styleFloat(IHTMLStyle
*iface
, BSTR
*p
)
1068 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1069 FIXME("(%p)->(%p)\n", This
, p
);
1073 static HRESULT WINAPI
HTMLStyle_put_clear(IHTMLStyle
*iface
, BSTR v
)
1075 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1076 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1080 static HRESULT WINAPI
HTMLStyle_get_clear(IHTMLStyle
*iface
, BSTR
*p
)
1082 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1083 FIXME("(%p)->(%p)\n", This
, p
);
1087 static HRESULT WINAPI
HTMLStyle_put_display(IHTMLStyle
*iface
, BSTR v
)
1089 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1090 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1094 static HRESULT WINAPI
HTMLStyle_get_display(IHTMLStyle
*iface
, BSTR
*p
)
1096 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1097 FIXME("(%p)->(%p)\n", This
, p
);
1101 static HRESULT WINAPI
HTMLStyle_put_visibility(IHTMLStyle
*iface
, BSTR v
)
1103 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1104 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1108 static HRESULT WINAPI
HTMLStyle_get_visibility(IHTMLStyle
*iface
, BSTR
*p
)
1110 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1111 FIXME("(%p)->(%p)\n", This
, p
);
1115 static HRESULT WINAPI
HTMLStyle_put_listStyleType(IHTMLStyle
*iface
, BSTR v
)
1117 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1118 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1122 static HRESULT WINAPI
HTMLStyle_get_listStyleType(IHTMLStyle
*iface
, BSTR
*p
)
1124 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1125 FIXME("(%p)->(%p)\n", This
, p
);
1129 static HRESULT WINAPI
HTMLStyle_put_listStylePosition(IHTMLStyle
*iface
, BSTR v
)
1131 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1132 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1136 static HRESULT WINAPI
HTMLStyle_get_listStylePosition(IHTMLStyle
*iface
, BSTR
*p
)
1138 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1139 FIXME("(%p)->(%p)\n", This
, p
);
1143 static HRESULT WINAPI
HTMLStyle_put_listStyleImage(IHTMLStyle
*iface
, BSTR v
)
1145 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1146 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1150 static HRESULT WINAPI
HTMLStyle_get_listStyleImage(IHTMLStyle
*iface
, BSTR
*p
)
1152 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1153 FIXME("(%p)->(%p)\n", This
, p
);
1157 static HRESULT WINAPI
HTMLStyle_put_listStyle(IHTMLStyle
*iface
, BSTR v
)
1159 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1160 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1164 static HRESULT WINAPI
HTMLStyle_get_listStyle(IHTMLStyle
*iface
, BSTR
*p
)
1166 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1167 FIXME("(%p)->(%p)\n", This
, p
);
1171 static HRESULT WINAPI
HTMLStyle_put_whiteSpace(IHTMLStyle
*iface
, BSTR v
)
1173 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1174 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1178 static HRESULT WINAPI
HTMLStyle_get_whiteSpace(IHTMLStyle
*iface
, BSTR
*p
)
1180 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1181 FIXME("(%p)->(%p)\n", This
, p
);
1185 static HRESULT WINAPI
HTMLStyle_put_top(IHTMLStyle
*iface
, VARIANT v
)
1187 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1188 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1192 static HRESULT WINAPI
HTMLStyle_get_top(IHTMLStyle
*iface
, VARIANT
*p
)
1194 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1195 FIXME("(%p)->(%p)\n", This
, p
);
1199 static HRESULT WINAPI
HTMLStyle_put_left(IHTMLStyle
*iface
, VARIANT v
)
1201 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1202 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1206 static HRESULT WINAPI
HTMLStyle_get_left(IHTMLStyle
*iface
, VARIANT
*p
)
1208 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1209 FIXME("(%p)->(%p)\n", This
, p
);
1213 static HRESULT WINAPI
HTMLStyle_get_position(IHTMLStyle
*iface
, BSTR
*p
)
1215 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1216 FIXME("(%p)->(%p)\n", This
, p
);
1220 static HRESULT WINAPI
HTMLStyle_put_zIndex(IHTMLStyle
*iface
, VARIANT v
)
1222 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1223 FIXME("(%p)->(v%d)\n", This
, V_VT(&v
));
1227 static HRESULT WINAPI
HTMLStyle_get_zIndex(IHTMLStyle
*iface
, VARIANT
*p
)
1229 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1230 FIXME("(%p)->(%p)\n", This
, p
);
1234 static HRESULT WINAPI
HTMLStyle_put_overflow(IHTMLStyle
*iface
, BSTR v
)
1236 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1237 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1241 static HRESULT WINAPI
HTMLStyle_get_overflow(IHTMLStyle
*iface
, BSTR
*p
)
1243 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1244 FIXME("(%p)->(%p)\n", This
, p
);
1248 static HRESULT WINAPI
HTMLStyle_put_pageBreakBefore(IHTMLStyle
*iface
, BSTR v
)
1250 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1251 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1255 static HRESULT WINAPI
HTMLStyle_get_pageBreakBefore(IHTMLStyle
*iface
, BSTR
*p
)
1257 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1258 FIXME("(%p)->(%p)\n", This
, p
);
1262 static HRESULT WINAPI
HTMLStyle_put_pageBreakAfter(IHTMLStyle
*iface
, BSTR v
)
1264 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1265 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1269 static HRESULT WINAPI
HTMLStyle_get_pageBreakAfter(IHTMLStyle
*iface
, BSTR
*p
)
1271 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1272 FIXME("(%p)->(%p)\n", This
, p
);
1276 static HRESULT WINAPI
HTMLStyle_put_cssText(IHTMLStyle
*iface
, BSTR v
)
1278 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1279 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1283 static HRESULT WINAPI
HTMLStyle_get_cssText(IHTMLStyle
*iface
, BSTR
*p
)
1285 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1286 FIXME("(%p)->(%p)\n", This
, p
);
1290 static HRESULT WINAPI
HTMLStyle_put_pixelTop(IHTMLStyle
*iface
, long v
)
1292 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1293 FIXME("(%p)->()\n", This
);
1297 static HRESULT WINAPI
HTMLStyle_get_pixelTop(IHTMLStyle
*iface
, long *p
)
1299 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1300 FIXME("(%p)->()\n", This
);
1304 static HRESULT WINAPI
HTMLStyle_put_pixelLeft(IHTMLStyle
*iface
, long v
)
1306 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1307 FIXME("(%p)->()\n", This
);
1311 static HRESULT WINAPI
HTMLStyle_get_pixelLeft(IHTMLStyle
*iface
, long *p
)
1313 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1314 FIXME("(%p)->()\n", This
);
1318 static HRESULT WINAPI
HTMLStyle_put_pixelWidth(IHTMLStyle
*iface
, long v
)
1320 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1321 FIXME("(%p)->()\n", This
);
1325 static HRESULT WINAPI
HTMLStyle_get_pixelWidth(IHTMLStyle
*iface
, long *p
)
1327 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1328 FIXME("(%p)->()\n", This
);
1332 static HRESULT WINAPI
HTMLStyle_put_pixelHeight(IHTMLStyle
*iface
, long v
)
1334 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1335 FIXME("(%p)->()\n", This
);
1339 static HRESULT WINAPI
HTMLStyle_get_pixelHeight(IHTMLStyle
*iface
, long *p
)
1341 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1342 FIXME("(%p)->()\n", This
);
1346 static HRESULT WINAPI
HTMLStyle_put_posTop(IHTMLStyle
*iface
, float v
)
1348 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1349 FIXME("(%p)->()\n", This
);
1353 static HRESULT WINAPI
HTMLStyle_get_posTop(IHTMLStyle
*iface
, float *p
)
1355 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1356 FIXME("(%p)->()\n", This
);
1360 static HRESULT WINAPI
HTMLStyle_put_posLeft(IHTMLStyle
*iface
, float v
)
1362 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1363 FIXME("(%p)->()\n", This
);
1367 static HRESULT WINAPI
HTMLStyle_get_posLeft(IHTMLStyle
*iface
, float *p
)
1369 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1370 FIXME("(%p)->()\n", This
);
1374 static HRESULT WINAPI
HTMLStyle_put_posWidth(IHTMLStyle
*iface
, float v
)
1376 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1377 FIXME("(%p)->()\n", This
);
1381 static HRESULT WINAPI
HTMLStyle_get_posWidth(IHTMLStyle
*iface
, float *p
)
1383 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1384 FIXME("(%p)->()\n", This
);
1388 static HRESULT WINAPI
HTMLStyle_put_posHeight(IHTMLStyle
*iface
, float v
)
1390 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1391 FIXME("(%p)->()\n", This
);
1395 static HRESULT WINAPI
HTMLStyle_get_posHeight(IHTMLStyle
*iface
, float *p
)
1397 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1398 FIXME("(%p)->()\n", This
);
1402 static HRESULT WINAPI
HTMLStyle_put_cursor(IHTMLStyle
*iface
, BSTR v
)
1404 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1405 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1409 static HRESULT WINAPI
HTMLStyle_get_cursor(IHTMLStyle
*iface
, BSTR
*p
)
1411 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1412 FIXME("(%p)->(%p)\n", This
, p
);
1416 static HRESULT WINAPI
HTMLStyle_put_clip(IHTMLStyle
*iface
, BSTR v
)
1418 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1419 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1423 static HRESULT WINAPI
HTMLStyle_get_clip(IHTMLStyle
*iface
, BSTR
*p
)
1425 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1426 FIXME("(%p)->(%p)\n", This
, p
);
1430 static HRESULT WINAPI
HTMLStyle_put_filter(IHTMLStyle
*iface
, BSTR v
)
1432 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1433 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1437 static HRESULT WINAPI
HTMLStyle_get_filter(IHTMLStyle
*iface
, BSTR
*p
)
1439 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1440 FIXME("(%p)->(%p)\n", This
, p
);
1444 static HRESULT WINAPI
HTMLStyle_setAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
1445 VARIANT AttributeValue
, LONG lFlags
)
1447 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1448 FIXME("(%p)->(%s v%d %08x)\n", This
, debugstr_w(strAttributeName
),
1449 V_VT(&AttributeValue
), lFlags
);
1453 static HRESULT WINAPI
HTMLStyle_getAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
1454 LONG lFlags
, VARIANT
*AttributeValue
)
1456 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1457 FIXME("(%p)->(%s %08x %p)\n", This
, debugstr_w(strAttributeName
),
1458 lFlags
, AttributeValue
);
1462 static HRESULT WINAPI
HTMLStyle_removeAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
1463 LONG lFlags
, VARIANT_BOOL
*pfSuccess
)
1465 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1466 FIXME("(%p)->(%s %08x %p)\n", This
, debugstr_w(strAttributeName
),
1471 static HRESULT WINAPI
HTMLStyle_toString(IHTMLStyle
*iface
, BSTR
*String
)
1473 HTMLStyle
*This
= HTMLSTYLE_THIS(iface
);
1474 FIXME("(%p)->(%p)\n", This
, String
);
1478 static const IHTMLStyleVtbl HTMLStyleVtbl
= {
1479 HTMLStyle_QueryInterface
,
1482 HTMLStyle_GetTypeInfoCount
,
1483 HTMLStyle_GetTypeInfo
,
1484 HTMLStyle_GetIDsOfNames
,
1486 HTMLStyle_put_fontFamily
,
1487 HTMLStyle_get_fontFamily
,
1488 HTMLStyle_put_fontStyle
,
1489 HTMLStyle_get_fontStyle
,
1490 HTMLStyle_put_fontVariant
,
1491 HTMLStyle_get_fontVariant
,
1492 HTMLStyle_put_fontWeight
,
1493 HTMLStyle_get_fontWeight
,
1494 HTMLStyle_put_fontSize
,
1495 HTMLStyle_get_fontSize
,
1498 HTMLStyle_put_color
,
1499 HTMLStyle_get_color
,
1500 HTMLStyle_put_background
,
1501 HTMLStyle_get_background
,
1502 HTMLStyle_put_backgroundColor
,
1503 HTMLStyle_get_backgroundColor
,
1504 HTMLStyle_put_backgroundImage
,
1505 HTMLStyle_get_backgroundImage
,
1506 HTMLStyle_put_backgroundRepeat
,
1507 HTMLStyle_get_backgroundRepeat
,
1508 HTMLStyle_put_backgroundAttachment
,
1509 HTMLStyle_get_backgroundAttachment
,
1510 HTMLStyle_put_backgroundPosition
,
1511 HTMLStyle_get_backgroundPosition
,
1512 HTMLStyle_put_backgroundPositionX
,
1513 HTMLStyle_get_backgroundPositionX
,
1514 HTMLStyle_put_backgroundPositionY
,
1515 HTMLStyle_get_backgroundPositionY
,
1516 HTMLStyle_put_wordSpacing
,
1517 HTMLStyle_get_wordSpacing
,
1518 HTMLStyle_put_letterSpacing
,
1519 HTMLStyle_get_letterSpacing
,
1520 HTMLStyle_put_textDecoration
,
1521 HTMLStyle_get_textDecoration
,
1522 HTMLStyle_put_textDecorationNone
,
1523 HTMLStyle_get_textDecorationNone
,
1524 HTMLStyle_put_textDecorationUnderline
,
1525 HTMLStyle_get_textDecorationUnderline
,
1526 HTMLStyle_put_textDecorationOverline
,
1527 HTMLStyle_get_textDecorationOverline
,
1528 HTMLStyle_put_textDecorationLineThrough
,
1529 HTMLStyle_get_textDecorationLineThrough
,
1530 HTMLStyle_put_textDecorationBlink
,
1531 HTMLStyle_get_textDecorationBlink
,
1532 HTMLStyle_put_verticalAlign
,
1533 HTMLStyle_get_verticalAlign
,
1534 HTMLStyle_put_textTransform
,
1535 HTMLStyle_get_textTransform
,
1536 HTMLStyle_put_textAlign
,
1537 HTMLStyle_get_textAlign
,
1538 HTMLStyle_put_textIndent
,
1539 HTMLStyle_get_textIndent
,
1540 HTMLStyle_put_lineHeight
,
1541 HTMLStyle_get_lineHeight
,
1542 HTMLStyle_put_marginTop
,
1543 HTMLStyle_get_marginTop
,
1544 HTMLStyle_put_marginRight
,
1545 HTMLStyle_get_marginRight
,
1546 HTMLStyle_put_marginBottom
,
1547 HTMLStyle_get_marginBottom
,
1548 HTMLStyle_put_marginLeft
,
1549 HTMLStyle_get_marginLeft
,
1550 HTMLStyle_put_margin
,
1551 HTMLStyle_get_margin
,
1552 HTMLStyle_put_paddingTop
,
1553 HTMLStyle_get_paddingTop
,
1554 HTMLStyle_put_paddingRight
,
1555 HTMLStyle_get_paddingRight
,
1556 HTMLStyle_put_paddingBottom
,
1557 HTMLStyle_get_paddingBottom
,
1558 HTMLStyle_put_paddingLeft
,
1559 HTMLStyle_get_paddingLeft
,
1560 HTMLStyle_put_padding
,
1561 HTMLStyle_get_padding
,
1562 HTMLStyle_put_border
,
1563 HTMLStyle_get_border
,
1564 HTMLStyle_put_borderTop
,
1565 HTMLStyle_get_borderTop
,
1566 HTMLStyle_put_borderRight
,
1567 HTMLStyle_get_borderRight
,
1568 HTMLStyle_put_borderBottom
,
1569 HTMLStyle_get_borderBottom
,
1570 HTMLStyle_put_borderLeft
,
1571 HTMLStyle_get_borderLeft
,
1572 HTMLStyle_put_borderColor
,
1573 HTMLStyle_get_borderColor
,
1574 HTMLStyle_put_borderTopColor
,
1575 HTMLStyle_get_borderTopColor
,
1576 HTMLStyle_put_borderRightColor
,
1577 HTMLStyle_get_borderRightColor
,
1578 HTMLStyle_put_borderBottomColor
,
1579 HTMLStyle_get_borderBottomColor
,
1580 HTMLStyle_put_borderLeftColor
,
1581 HTMLStyle_get_borderLeftColor
,
1582 HTMLStyle_put_borderWidth
,
1583 HTMLStyle_get_borderWidth
,
1584 HTMLStyle_put_borderTopWidth
,
1585 HTMLStyle_get_borderTopWidth
,
1586 HTMLStyle_put_borderRightWidth
,
1587 HTMLStyle_get_borderRightWidth
,
1588 HTMLStyle_put_borderBottomWidth
,
1589 HTMLStyle_get_borderBottomWidth
,
1590 HTMLStyle_put_borderLeftWidth
,
1591 HTMLStyle_get_borderLeftWidth
,
1592 HTMLStyle_put_borderStyle
,
1593 HTMLStyle_get_borderStyle
,
1594 HTMLStyle_put_borderTopStyle
,
1595 HTMLStyle_get_borderTopStyle
,
1596 HTMLStyle_put_borderRightStyle
,
1597 HTMLStyle_get_borderRightStyle
,
1598 HTMLStyle_put_borderBottomStyle
,
1599 HTMLStyle_get_borderBottomStyle
,
1600 HTMLStyle_put_borderLeftStyle
,
1601 HTMLStyle_get_borderLeftStyle
,
1602 HTMLStyle_put_width
,
1603 HTMLStyle_get_width
,
1604 HTMLStyle_put_height
,
1605 HTMLStyle_get_height
,
1606 HTMLStyle_put_styleFloat
,
1607 HTMLStyle_get_styleFloat
,
1608 HTMLStyle_put_clear
,
1609 HTMLStyle_get_clear
,
1610 HTMLStyle_put_display
,
1611 HTMLStyle_get_display
,
1612 HTMLStyle_put_visibility
,
1613 HTMLStyle_get_visibility
,
1614 HTMLStyle_put_listStyleType
,
1615 HTMLStyle_get_listStyleType
,
1616 HTMLStyle_put_listStylePosition
,
1617 HTMLStyle_get_listStylePosition
,
1618 HTMLStyle_put_listStyleImage
,
1619 HTMLStyle_get_listStyleImage
,
1620 HTMLStyle_put_listStyle
,
1621 HTMLStyle_get_listStyle
,
1622 HTMLStyle_put_whiteSpace
,
1623 HTMLStyle_get_whiteSpace
,
1628 HTMLStyle_get_position
,
1629 HTMLStyle_put_zIndex
,
1630 HTMLStyle_get_zIndex
,
1631 HTMLStyle_put_overflow
,
1632 HTMLStyle_get_overflow
,
1633 HTMLStyle_put_pageBreakBefore
,
1634 HTMLStyle_get_pageBreakBefore
,
1635 HTMLStyle_put_pageBreakAfter
,
1636 HTMLStyle_get_pageBreakAfter
,
1637 HTMLStyle_put_cssText
,
1638 HTMLStyle_get_cssText
,
1639 HTMLStyle_put_pixelTop
,
1640 HTMLStyle_get_pixelTop
,
1641 HTMLStyle_put_pixelLeft
,
1642 HTMLStyle_get_pixelLeft
,
1643 HTMLStyle_put_pixelWidth
,
1644 HTMLStyle_get_pixelWidth
,
1645 HTMLStyle_put_pixelHeight
,
1646 HTMLStyle_get_pixelHeight
,
1647 HTMLStyle_put_posTop
,
1648 HTMLStyle_get_posTop
,
1649 HTMLStyle_put_posLeft
,
1650 HTMLStyle_get_posLeft
,
1651 HTMLStyle_put_posWidth
,
1652 HTMLStyle_get_posWidth
,
1653 HTMLStyle_put_posHeight
,
1654 HTMLStyle_get_posHeight
,
1655 HTMLStyle_put_cursor
,
1656 HTMLStyle_get_cursor
,
1659 HTMLStyle_put_filter
,
1660 HTMLStyle_get_filter
,
1661 HTMLStyle_setAttribute
,
1662 HTMLStyle_getAttribute
,
1663 HTMLStyle_removeAttribute
,
1667 IHTMLStyle
*HTMLStyle_Create(nsIDOMCSSStyleDeclaration
*nsstyle
)
1669 HTMLStyle
*ret
= mshtml_alloc(sizeof(HTMLStyle
));
1671 ret
->lpHTMLStyleVtbl
= &HTMLStyleVtbl
;
1673 ret
->nsstyle
= nsstyle
;
1675 nsIDOMCSSStyleDeclaration_AddRef(nsstyle
);
1677 return HTMLSTYLE(ret
);