2 * Copyright 2008 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
28 #include "wine/debug.h"
29 #include "wine/unicode.h"
31 #include "mshtml_private.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
36 const IHTMLCurrentStyleVtbl *lpIHTMLCurrentStyleVtbl;
41 #define HTMLCURSTYLE(x) ((IHTMLCurrentStyle*) &(x)->lpIHTMLCurrentStyleVtbl)
43 #define HTMLCURSTYLE_THIS(iface) DEFINE_THIS(HTMLCurrentStyle, IHTMLCurrentStyle, iface)
45 static HRESULT WINAPI HTMLCurrentStyle_QueryInterface(IHTMLCurrentStyle *iface, REFIID riid, void **ppv)
47 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
51 if(IsEqualGUID(&IID_IUnknown, riid)) {
52 TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
53 *ppv = HTMLCURSTYLE(This);
54 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
55 TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
56 *ppv = HTMLCURSTYLE(This);
57 }else if(IsEqualGUID(&IID_IHTMLCurrentStyle, riid)) {
58 TRACE("(%p)->(IID_IHTMLCurrentStyle %p)\n", This, ppv);
59 *ppv = HTMLCURSTYLE(This);
63 IUnknown_AddRef((IUnknown*)*ppv);
67 WARN("unsupported %s\n", debugstr_guid(riid));
71 static ULONG WINAPI HTMLCurrentStyle_AddRef(IHTMLCurrentStyle *iface)
73 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
74 LONG ref = InterlockedIncrement(&This->ref);
76 TRACE("(%p) ref=%d\n", This, ref);
81 static ULONG WINAPI HTMLCurrentStyle_Release(IHTMLCurrentStyle *iface)
83 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
84 LONG ref = InterlockedDecrement(&This->ref);
86 TRACE("(%p) ref=%d\n", This, ref);
94 static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfoCount(IHTMLCurrentStyle *iface, UINT *pctinfo)
96 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
97 FIXME("(%p)\n", This);
101 static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfo(IHTMLCurrentStyle *iface, UINT iTInfo,
102 LCID lcid, ITypeInfo **ppTInfo)
104 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
105 FIXME("(%p)\n", This);
109 static HRESULT WINAPI HTMLCurrentStyle_GetIDsOfNames(IHTMLCurrentStyle *iface, REFIID riid,
110 LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
112 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
113 FIXME("(%p)\n", This);
117 static HRESULT WINAPI HTMLCurrentStyle_Invoke(IHTMLCurrentStyle *iface, DISPID dispIdMember,
118 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
119 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
121 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
122 FIXME("(%p)\n", This);
126 static HRESULT WINAPI HTMLCurrentStyle_get_position(IHTMLCurrentStyle *iface, BSTR *p)
128 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
129 FIXME("(%p)->(%p)\n", This, p);
133 static HRESULT WINAPI HTMLCurrentStyle_get_styleFloat(IHTMLCurrentStyle *iface, BSTR *p)
135 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
136 FIXME("(%p)->(%p)\n", This, p);
140 static HRESULT WINAPI HTMLCurrentStyle_get_color(IHTMLCurrentStyle *iface, VARIANT *p)
142 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
143 FIXME("(%p)->(%p)\n", This, p);
147 static HRESULT WINAPI HTMLCurrentStyle_get_backgroundColor(IHTMLCurrentStyle *iface, VARIANT *p)
149 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
150 FIXME("(%p)->(%p)\n", This, p);
154 static HRESULT WINAPI HTMLCurrentStyle_get_fontFamily(IHTMLCurrentStyle *iface, BSTR *p)
156 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
157 FIXME("(%p)->(%p)\n", This, p);
161 static HRESULT WINAPI HTMLCurrentStyle_get_fontStyle(IHTMLCurrentStyle *iface, BSTR *p)
163 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
164 FIXME("(%p)->(%p)\n", This, p);
168 static HRESULT WINAPI HTMLCurrentStyle_get_fontVariant(IHTMLCurrentStyle *iface, BSTR *p)
170 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
171 FIXME("(%p)->(%p)\n", This, p);
175 static HRESULT WINAPI HTMLCurrentStyle_get_fontWeight(IHTMLCurrentStyle *iface, VARIANT *p)
177 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
178 FIXME("(%p)->(%p)\n", This, p);
182 static HRESULT WINAPI HTMLCurrentStyle_get_fontSize(IHTMLCurrentStyle *iface, VARIANT *p)
184 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
185 FIXME("(%p)->(%p)\n", This, p);
189 static HRESULT WINAPI HTMLCurrentStyle_get_backgroundImage(IHTMLCurrentStyle *iface, BSTR *p)
191 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
192 FIXME("(%p)->(%p)\n", This, p);
196 static HRESULT WINAPI HTMLCurrentStyle_get_backgroundPositionX(IHTMLCurrentStyle *iface, VARIANT *p)
198 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
199 FIXME("(%p)->(%p)\n", This, p);
203 static HRESULT WINAPI HTMLCurrentStyle_get_backgroundPositionY(IHTMLCurrentStyle *iface, VARIANT *p)
205 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
206 FIXME("(%p)->(%p)\n", This, p);
210 static HRESULT WINAPI HTMLCurrentStyle_get_backgroundRepeat(IHTMLCurrentStyle *iface, BSTR *p)
212 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
213 FIXME("(%p)->(%p)\n", This, p);
217 static HRESULT WINAPI HTMLCurrentStyle_get_borderLeftColor(IHTMLCurrentStyle *iface, VARIANT *p)
219 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
220 FIXME("(%p)->(%p)\n", This, p);
224 static HRESULT WINAPI HTMLCurrentStyle_get_borderTopColor(IHTMLCurrentStyle *iface, VARIANT *p)
226 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
227 FIXME("(%p)->(%p)\n", This, p);
231 static HRESULT WINAPI HTMLCurrentStyle_get_borderRightColor(IHTMLCurrentStyle *iface, VARIANT *p)
233 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
234 FIXME("(%p)->(%p)\n", This, p);
238 static HRESULT WINAPI HTMLCurrentStyle_get_borderBottomColor(IHTMLCurrentStyle *iface, VARIANT *p)
240 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
241 FIXME("(%p)->(%p)\n", This, p);
245 static HRESULT WINAPI HTMLCurrentStyle_get_borderTopStyle(IHTMLCurrentStyle *iface, BSTR *p)
247 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
248 FIXME("(%p)->(%p)\n", This, p);
252 static HRESULT WINAPI HTMLCurrentStyle_get_borderRightStyle(IHTMLCurrentStyle *iface, BSTR *p)
254 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
255 FIXME("(%p)->(%p)\n", This, p);
259 static HRESULT WINAPI HTMLCurrentStyle_get_borderBottomStyle(IHTMLCurrentStyle *iface, BSTR *p)
261 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
262 FIXME("(%p)->(%p)\n", This, p);
266 static HRESULT WINAPI HTMLCurrentStyle_get_borderLeftStyle(IHTMLCurrentStyle *iface, BSTR *p)
268 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
269 FIXME("(%p)->(%p)\n", This, p);
273 static HRESULT WINAPI HTMLCurrentStyle_get_borderTopWidth(IHTMLCurrentStyle *iface, VARIANT *p)
275 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
276 FIXME("(%p)->(%p)\n", This, p);
280 static HRESULT WINAPI HTMLCurrentStyle_get_borderRightWidth(IHTMLCurrentStyle *iface, VARIANT *p)
282 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
283 FIXME("(%p)->(%p)\n", This, p);
287 static HRESULT WINAPI HTMLCurrentStyle_get_borderBottomWidth(IHTMLCurrentStyle *iface, VARIANT *p)
289 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
290 FIXME("(%p)->(%p)\n", This, p);
294 static HRESULT WINAPI HTMLCurrentStyle_get_borderLeftWidth(IHTMLCurrentStyle *iface, VARIANT *p)
296 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
297 FIXME("(%p)->(%p)\n", This, p);
301 static HRESULT WINAPI HTMLCurrentStyle_get_left(IHTMLCurrentStyle *iface, VARIANT *p)
303 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
304 FIXME("(%p)->(%p)\n", This, p);
308 static HRESULT WINAPI HTMLCurrentStyle_get_top(IHTMLCurrentStyle *iface, VARIANT *p)
310 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
311 FIXME("(%p)->(%p)\n", This, p);
315 static HRESULT WINAPI HTMLCurrentStyle_get_width(IHTMLCurrentStyle *iface, VARIANT *p)
317 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
318 FIXME("(%p)->(%p)\n", This, p);
322 static HRESULT WINAPI HTMLCurrentStyle_get_height(IHTMLCurrentStyle *iface, VARIANT *p)
324 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
325 FIXME("(%p)->(%p)\n", This, p);
329 static HRESULT WINAPI HTMLCurrentStyle_get_paddingLeft(IHTMLCurrentStyle *iface, VARIANT *p)
331 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
332 FIXME("(%p)->(%p)\n", This, p);
336 static HRESULT WINAPI HTMLCurrentStyle_get_paddingTop(IHTMLCurrentStyle *iface, VARIANT *p)
338 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
339 FIXME("(%p)->(%p)\n", This, p);
343 static HRESULT WINAPI HTMLCurrentStyle_get_paddingRight(IHTMLCurrentStyle *iface, VARIANT *p)
345 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
346 FIXME("(%p)->(%p)\n", This, p);
350 static HRESULT WINAPI HTMLCurrentStyle_get_paddingBottom(IHTMLCurrentStyle *iface, VARIANT *p)
352 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
353 FIXME("(%p)->(%p)\n", This, p);
357 static HRESULT WINAPI HTMLCurrentStyle_get_textAlign(IHTMLCurrentStyle *iface, BSTR *p)
359 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
360 FIXME("(%p)->(%p)\n", This, p);
364 static HRESULT WINAPI HTMLCurrentStyle_get_textDecoration(IHTMLCurrentStyle *iface, BSTR *p)
366 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
367 FIXME("(%p)->(%p)\n", This, p);
371 static HRESULT WINAPI HTMLCurrentStyle_get_display(IHTMLCurrentStyle *iface, BSTR *p)
373 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
374 FIXME("(%p)->(%p)\n", This, p);
378 static HRESULT WINAPI HTMLCurrentStyle_get_visibility(IHTMLCurrentStyle *iface, BSTR *p)
380 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
381 FIXME("(%p)->(%p)\n", This, p);
385 static HRESULT WINAPI HTMLCurrentStyle_get_zIndex(IHTMLCurrentStyle *iface, VARIANT *p)
387 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
388 FIXME("(%p)->(%p)\n", This, p);
392 static HRESULT WINAPI HTMLCurrentStyle_get_letterSpacing(IHTMLCurrentStyle *iface, VARIANT *p)
394 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
395 FIXME("(%p)->(%p)\n", This, p);
399 static HRESULT WINAPI HTMLCurrentStyle_get_lineHeight(IHTMLCurrentStyle *iface, VARIANT *p)
401 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
402 FIXME("(%p)->(%p)\n", This, p);
406 static HRESULT WINAPI HTMLCurrentStyle_get_textIndent(IHTMLCurrentStyle *iface, VARIANT *p)
408 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
409 FIXME("(%p)->(%p)\n", This, p);
413 static HRESULT WINAPI HTMLCurrentStyle_get_verticalAlign(IHTMLCurrentStyle *iface, VARIANT *p)
415 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
416 FIXME("(%p)->(%p)\n", This, p);
420 static HRESULT WINAPI HTMLCurrentStyle_get_backgroundAttachment(IHTMLCurrentStyle *iface, BSTR *p)
422 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
423 FIXME("(%p)->(%p)\n", This, p);
427 static HRESULT WINAPI HTMLCurrentStyle_get_marginTop(IHTMLCurrentStyle *iface, VARIANT *p)
429 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
430 FIXME("(%p)->(%p)\n", This, p);
434 static HRESULT WINAPI HTMLCurrentStyle_get_marginRight(IHTMLCurrentStyle *iface, VARIANT *p)
436 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
437 FIXME("(%p)->(%p)\n", This, p);
441 static HRESULT WINAPI HTMLCurrentStyle_get_marginBottom(IHTMLCurrentStyle *iface, VARIANT *p)
443 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
444 FIXME("(%p)->(%p)\n", This, p);
448 static HRESULT WINAPI HTMLCurrentStyle_get_marginLeft(IHTMLCurrentStyle *iface, VARIANT *p)
450 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
451 FIXME("(%p)->(%p)\n", This, p);
455 static HRESULT WINAPI HTMLCurrentStyle_get_clear(IHTMLCurrentStyle *iface, BSTR *p)
457 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
458 FIXME("(%p)->(%p)\n", This, p);
462 static HRESULT WINAPI HTMLCurrentStyle_get_listStyleType(IHTMLCurrentStyle *iface, BSTR *p)
464 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
465 FIXME("(%p)->(%p)\n", This, p);
469 static HRESULT WINAPI HTMLCurrentStyle_get_listStylePosition(IHTMLCurrentStyle *iface, BSTR *p)
471 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
472 FIXME("(%p)->(%p)\n", This, p);
476 static HRESULT WINAPI HTMLCurrentStyle_get_listStyleImage(IHTMLCurrentStyle *iface, BSTR *p)
478 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
479 FIXME("(%p)->(%p)\n", This, p);
483 static HRESULT WINAPI HTMLCurrentStyle_get_clipTop(IHTMLCurrentStyle *iface, VARIANT *p)
485 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
486 FIXME("(%p)->(%p)\n", This, p);
490 static HRESULT WINAPI HTMLCurrentStyle_get_clipRight(IHTMLCurrentStyle *iface, VARIANT *p)
492 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
493 FIXME("(%p)->(%p)\n", This, p);
497 static HRESULT WINAPI HTMLCurrentStyle_get_clipBottom(IHTMLCurrentStyle *iface, VARIANT *p)
499 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
500 FIXME("(%p)->(%p)\n", This, p);
504 static HRESULT WINAPI HTMLCurrentStyle_get_clipLeft(IHTMLCurrentStyle *iface, VARIANT *p)
506 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
507 FIXME("(%p)->(%p)\n", This, p);
511 static HRESULT WINAPI HTMLCurrentStyle_get_overflow(IHTMLCurrentStyle *iface, BSTR *p)
513 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
514 FIXME("(%p)->(%p)\n", This, p);
518 static HRESULT WINAPI HTMLCurrentStyle_get_pageBreakBefore(IHTMLCurrentStyle *iface, BSTR *p)
520 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
521 FIXME("(%p)->(%p)\n", This, p);
525 static HRESULT WINAPI HTMLCurrentStyle_get_pageBreakAfter(IHTMLCurrentStyle *iface, BSTR *p)
527 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
528 FIXME("(%p)->(%p)\n", This, p);
532 static HRESULT WINAPI HTMLCurrentStyle_get_cursor(IHTMLCurrentStyle *iface, BSTR *p)
534 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
535 FIXME("(%p)->(%p)\n", This, p);
539 static HRESULT WINAPI HTMLCurrentStyle_get_tableLayout(IHTMLCurrentStyle *iface, BSTR *p)
541 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
542 FIXME("(%p)->(%p)\n", This, p);
546 static HRESULT WINAPI HTMLCurrentStyle_get_borderCollapse(IHTMLCurrentStyle *iface, BSTR *p)
548 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
549 FIXME("(%p)->(%p)\n", This, p);
553 static HRESULT WINAPI HTMLCurrentStyle_get_direction(IHTMLCurrentStyle *iface, BSTR *p)
555 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
556 FIXME("(%p)->(%p)\n", This, p);
560 static HRESULT WINAPI HTMLCurrentStyle_get_behavior(IHTMLCurrentStyle *iface, BSTR *p)
562 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
563 FIXME("(%p)->(%p)\n", This, p);
567 static HRESULT WINAPI HTMLCurrentStyle_getAttribute(IHTMLCurrentStyle *iface, BSTR strAttributeName,
568 LONG lFlags, VARIANT *AttributeValue)
570 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
571 FIXME("(%p)->(%s %x %p)\n", This, debugstr_w(strAttributeName), lFlags, AttributeValue);
575 static HRESULT WINAPI HTMLCurrentStyle_get_unicodeBidi(IHTMLCurrentStyle *iface, BSTR *p)
577 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
578 FIXME("(%p)->(%p)\n", This, p);
582 static HRESULT WINAPI HTMLCurrentStyle_get_right(IHTMLCurrentStyle *iface, VARIANT *p)
584 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
585 FIXME("(%p)->(%p)\n", This, p);
589 static HRESULT WINAPI HTMLCurrentStyle_get_bottom(IHTMLCurrentStyle *iface, VARIANT *p)
591 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
592 FIXME("(%p)->(%p)\n", This, p);
596 static HRESULT WINAPI HTMLCurrentStyle_get_imeMode(IHTMLCurrentStyle *iface, BSTR *p)
598 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
599 FIXME("(%p)->(%p)\n", This, p);
603 static HRESULT WINAPI HTMLCurrentStyle_get_rubyAlign(IHTMLCurrentStyle *iface, BSTR *p)
605 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
606 FIXME("(%p)->(%p)\n", This, p);
610 static HRESULT WINAPI HTMLCurrentStyle_get_rubyPosition(IHTMLCurrentStyle *iface, BSTR *p)
612 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
613 FIXME("(%p)->(%p)\n", This, p);
617 static HRESULT WINAPI HTMLCurrentStyle_get_rubyOverhang(IHTMLCurrentStyle *iface, BSTR *p)
619 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
620 FIXME("(%p)->(%p)\n", This, p);
624 static HRESULT WINAPI HTMLCurrentStyle_get_textAutospace(IHTMLCurrentStyle *iface, BSTR *p)
626 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
627 FIXME("(%p)->(%p)\n", This, p);
631 static HRESULT WINAPI HTMLCurrentStyle_get_lineBreak(IHTMLCurrentStyle *iface, BSTR *p)
633 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
634 FIXME("(%p)->(%p)\n", This, p);
638 static HRESULT WINAPI HTMLCurrentStyle_get_wordBreak(IHTMLCurrentStyle *iface, BSTR *p)
640 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
641 FIXME("(%p)->(%p)\n", This, p);
645 static HRESULT WINAPI HTMLCurrentStyle_get_textJustify(IHTMLCurrentStyle *iface, BSTR *p)
647 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
648 FIXME("(%p)->(%p)\n", This, p);
652 static HRESULT WINAPI HTMLCurrentStyle_get_textJustifyTrim(IHTMLCurrentStyle *iface, BSTR *p)
654 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
655 FIXME("(%p)->(%p)\n", This, p);
659 static HRESULT WINAPI HTMLCurrentStyle_get_textKashida(IHTMLCurrentStyle *iface, VARIANT *p)
661 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
662 FIXME("(%p)->(%p)\n", This, p);
666 static HRESULT WINAPI HTMLCurrentStyle_get_blockDirection(IHTMLCurrentStyle *iface, BSTR *p)
668 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
669 FIXME("(%p)->(%p)\n", This, p);
673 static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridChar(IHTMLCurrentStyle *iface, VARIANT *p)
675 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
676 FIXME("(%p)->(%p)\n", This, p);
680 static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridLine(IHTMLCurrentStyle *iface, VARIANT *p)
682 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
683 FIXME("(%p)->(%p)\n", This, p);
687 static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridMode(IHTMLCurrentStyle *iface, BSTR *p)
689 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
690 FIXME("(%p)->(%p)\n", This, p);
694 static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridType(IHTMLCurrentStyle *iface, BSTR *p)
696 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
697 FIXME("(%p)->(%p)\n", This, p);
701 static HRESULT WINAPI HTMLCurrentStyle_get_borderStyle(IHTMLCurrentStyle *iface, BSTR *p)
703 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
704 FIXME("(%p)->(%p)\n", This, p);
708 static HRESULT WINAPI HTMLCurrentStyle_get_borderColor(IHTMLCurrentStyle *iface, BSTR *p)
710 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
711 FIXME("(%p)->(%p)\n", This, p);
715 static HRESULT WINAPI HTMLCurrentStyle_get_borderWidth(IHTMLCurrentStyle *iface, BSTR *p)
717 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
718 FIXME("(%p)->(%p)\n", This, p);
722 static HRESULT WINAPI HTMLCurrentStyle_get_padding(IHTMLCurrentStyle *iface, BSTR *p)
724 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
725 FIXME("(%p)->(%p)\n", This, p);
729 static HRESULT WINAPI HTMLCurrentStyle_get_margin(IHTMLCurrentStyle *iface, BSTR *p)
731 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
732 FIXME("(%p)->(%p)\n", This, p);
736 static HRESULT WINAPI HTMLCurrentStyle_get_accelerator(IHTMLCurrentStyle *iface, BSTR *p)
738 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
739 FIXME("(%p)->(%p)\n", This, p);
743 static HRESULT WINAPI HTMLCurrentStyle_get_overflowX(IHTMLCurrentStyle *iface, BSTR *p)
745 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
746 FIXME("(%p)->(%p)\n", This, p);
750 static HRESULT WINAPI HTMLCurrentStyle_get_overflowY(IHTMLCurrentStyle *iface, BSTR *p)
752 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
753 FIXME("(%p)->(%p)\n", This, p);
757 static HRESULT WINAPI HTMLCurrentStyle_get_textTransform(IHTMLCurrentStyle *iface, BSTR *p)
759 HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
760 FIXME("(%p)->(%p)\n", This, p);
764 #undef HTMLCURSTYLE_THIS
766 static const IHTMLCurrentStyleVtbl HTMLCurrentStyleVtbl = {
767 HTMLCurrentStyle_QueryInterface,
768 HTMLCurrentStyle_AddRef,
769 HTMLCurrentStyle_Release,
770 HTMLCurrentStyle_GetTypeInfoCount,
771 HTMLCurrentStyle_GetTypeInfo,
772 HTMLCurrentStyle_GetIDsOfNames,
773 HTMLCurrentStyle_Invoke,
774 HTMLCurrentStyle_get_position,
775 HTMLCurrentStyle_get_styleFloat,
776 HTMLCurrentStyle_get_color,
777 HTMLCurrentStyle_get_backgroundColor,
778 HTMLCurrentStyle_get_fontFamily,
779 HTMLCurrentStyle_get_fontStyle,
780 HTMLCurrentStyle_get_fontVariant,
781 HTMLCurrentStyle_get_fontWeight,
782 HTMLCurrentStyle_get_fontSize,
783 HTMLCurrentStyle_get_backgroundImage,
784 HTMLCurrentStyle_get_backgroundPositionX,
785 HTMLCurrentStyle_get_backgroundPositionY,
786 HTMLCurrentStyle_get_backgroundRepeat,
787 HTMLCurrentStyle_get_borderLeftColor,
788 HTMLCurrentStyle_get_borderTopColor,
789 HTMLCurrentStyle_get_borderRightColor,
790 HTMLCurrentStyle_get_borderBottomColor,
791 HTMLCurrentStyle_get_borderTopStyle,
792 HTMLCurrentStyle_get_borderRightStyle,
793 HTMLCurrentStyle_get_borderBottomStyle,
794 HTMLCurrentStyle_get_borderLeftStyle,
795 HTMLCurrentStyle_get_borderTopWidth,
796 HTMLCurrentStyle_get_borderRightWidth,
797 HTMLCurrentStyle_get_borderBottomWidth,
798 HTMLCurrentStyle_get_borderLeftWidth,
799 HTMLCurrentStyle_get_left,
800 HTMLCurrentStyle_get_top,
801 HTMLCurrentStyle_get_width,
802 HTMLCurrentStyle_get_height,
803 HTMLCurrentStyle_get_paddingLeft,
804 HTMLCurrentStyle_get_paddingTop,
805 HTMLCurrentStyle_get_paddingRight,
806 HTMLCurrentStyle_get_paddingBottom,
807 HTMLCurrentStyle_get_textAlign,
808 HTMLCurrentStyle_get_textDecoration,
809 HTMLCurrentStyle_get_display,
810 HTMLCurrentStyle_get_visibility,
811 HTMLCurrentStyle_get_zIndex,
812 HTMLCurrentStyle_get_letterSpacing,
813 HTMLCurrentStyle_get_lineHeight,
814 HTMLCurrentStyle_get_textIndent,
815 HTMLCurrentStyle_get_verticalAlign,
816 HTMLCurrentStyle_get_backgroundAttachment,
817 HTMLCurrentStyle_get_marginTop,
818 HTMLCurrentStyle_get_marginRight,
819 HTMLCurrentStyle_get_marginBottom,
820 HTMLCurrentStyle_get_marginLeft,
821 HTMLCurrentStyle_get_clear,
822 HTMLCurrentStyle_get_listStyleType,
823 HTMLCurrentStyle_get_listStylePosition,
824 HTMLCurrentStyle_get_listStyleImage,
825 HTMLCurrentStyle_get_clipTop,
826 HTMLCurrentStyle_get_clipRight,
827 HTMLCurrentStyle_get_clipBottom,
828 HTMLCurrentStyle_get_clipLeft,
829 HTMLCurrentStyle_get_overflow,
830 HTMLCurrentStyle_get_pageBreakBefore,
831 HTMLCurrentStyle_get_pageBreakAfter,
832 HTMLCurrentStyle_get_cursor,
833 HTMLCurrentStyle_get_tableLayout,
834 HTMLCurrentStyle_get_borderCollapse,
835 HTMLCurrentStyle_get_direction,
836 HTMLCurrentStyle_get_behavior,
837 HTMLCurrentStyle_getAttribute,
838 HTMLCurrentStyle_get_unicodeBidi,
839 HTMLCurrentStyle_get_right,
840 HTMLCurrentStyle_get_bottom,
841 HTMLCurrentStyle_get_imeMode,
842 HTMLCurrentStyle_get_rubyAlign,
843 HTMLCurrentStyle_get_rubyPosition,
844 HTMLCurrentStyle_get_rubyOverhang,
845 HTMLCurrentStyle_get_textAutospace,
846 HTMLCurrentStyle_get_lineBreak,
847 HTMLCurrentStyle_get_wordBreak,
848 HTMLCurrentStyle_get_textJustify,
849 HTMLCurrentStyle_get_textJustifyTrim,
850 HTMLCurrentStyle_get_textKashida,
851 HTMLCurrentStyle_get_blockDirection,
852 HTMLCurrentStyle_get_layoutGridChar,
853 HTMLCurrentStyle_get_layoutGridLine,
854 HTMLCurrentStyle_get_layoutGridMode,
855 HTMLCurrentStyle_get_layoutGridType,
856 HTMLCurrentStyle_get_borderStyle,
857 HTMLCurrentStyle_get_borderColor,
858 HTMLCurrentStyle_get_borderWidth,
859 HTMLCurrentStyle_get_padding,
860 HTMLCurrentStyle_get_margin,
861 HTMLCurrentStyle_get_accelerator,
862 HTMLCurrentStyle_get_overflowX,
863 HTMLCurrentStyle_get_overflowY,
864 HTMLCurrentStyle_get_textTransform
867 HRESULT HTMLCurrentStyle_Create(IHTMLCurrentStyle **p)
869 HTMLCurrentStyle *ret;
871 ret = heap_alloc_zero(sizeof(HTMLCurrentStyle));
873 return E_OUTOFMEMORY;
875 ret->lpIHTMLCurrentStyleVtbl = &HTMLCurrentStyleVtbl;
878 *p = HTMLCURSTYLE(ret);