ReactOS 0.4.15-dev-5666-gc548b97
htmlstyle3.c
Go to the documentation of this file.
1/*
2 * Copyright 2009 Alistair Leslie-Hughes
3 *
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.
8 *
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.
13 *
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
17 */
18
19#include "mshtml_private.h"
20
21static inline HTMLStyle *impl_from_IHTMLStyle3(IHTMLStyle3 *iface)
22{
23 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle3_iface);
24}
25
26static HRESULT WINAPI HTMLStyle3_QueryInterface(IHTMLStyle3 *iface, REFIID riid, void **ppv)
27{
29
30 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
31}
32
33static ULONG WINAPI HTMLStyle3_AddRef(IHTMLStyle3 *iface)
34{
36
37 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
38}
39
40static ULONG WINAPI HTMLStyle3_Release(IHTMLStyle3 *iface)
41{
43
44 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
45}
46
47static HRESULT WINAPI HTMLStyle3_GetTypeInfoCount(IHTMLStyle3 *iface, UINT *pctinfo)
48{
50 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
51}
52
53static HRESULT WINAPI HTMLStyle3_GetTypeInfo(IHTMLStyle3 *iface, UINT iTInfo,
54 LCID lcid, ITypeInfo **ppTInfo)
55{
57 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
58}
59
61 LPOLESTR *rgszNames, UINT cNames,
62 LCID lcid, DISPID *rgDispId)
63{
65 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
66 lcid, rgDispId);
67}
68
69static HRESULT WINAPI HTMLStyle3_Invoke(IHTMLStyle3 *iface, DISPID dispIdMember,
70 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
71 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
72{
74 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
75 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
76}
77
78static HRESULT WINAPI HTMLStyle3_put_layoutFlow(IHTMLStyle3 *iface, BSTR v)
79{
81 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
82 return E_NOTIMPL;
83}
84
85static HRESULT WINAPI HTMLStyle3_get_layoutFlow(IHTMLStyle3 *iface, BSTR *p)
86{
88 FIXME("(%p)->(%p)\n", This, p);
89 return E_NOTIMPL;
90}
91
92static const WCHAR zoomW[] = {'z','o','o','m',0};
93
94static HRESULT WINAPI HTMLStyle3_put_zoom(IHTMLStyle3 *iface, VARIANT v)
95{
97 VARIANT *var;
99
100 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
101
102 /* zoom property is IE CSS extension that is mostly used as a hack to workaround IE bugs.
103 * The value is set to 1 then. We can safely ignore setting zoom to 1. */
104 if(V_VT(&v) != VT_I4 || V_I4(&v) != 1)
105 WARN("stub for %s\n", debugstr_variant(&v));
106
107 hres = dispex_get_dprop_ref(&This->dispex, zoomW, TRUE, &var);
108 if(FAILED(hres))
109 return hres;
110
111 return VariantChangeType(var, &v, 0, VT_BSTR);
112}
113
114static HRESULT WINAPI HTMLStyle3_get_zoom(IHTMLStyle3 *iface, VARIANT *p)
115{
117 VARIANT *var;
119
120 TRACE("(%p)->(%p)\n", This, p);
121
123 if(hres == DISP_E_UNKNOWNNAME) {
124 V_VT(p) = VT_BSTR;
125 V_BSTR(p) = NULL;
126 return S_OK;
127 }
128 if(FAILED(hres))
129 return hres;
130
131 return VariantCopy(p, var);
132}
133
134static HRESULT WINAPI HTMLStyle3_put_wordWrap(IHTMLStyle3 *iface, BSTR v)
135{
137
138 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
139
140 return set_nsstyle_attr(This->nsstyle, STYLEID_WORD_WRAP, v, 0);
141}
142
143static HRESULT WINAPI HTMLStyle3_get_wordWrap(IHTMLStyle3 *iface, BSTR *p)
144{
146
147 TRACE("(%p)->(%p)\n", This, p);
148
149 return get_nsstyle_attr(This->nsstyle, STYLEID_WORD_WRAP, p, 0);
150}
151
153{
155 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
156 return E_NOTIMPL;
157}
158
160{
162 FIXME("(%p)->(%p)\n", This, p);
163 return E_NOTIMPL;
164}
165
167{
169 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
170 return E_NOTIMPL;
171}
172
174{
176 FIXME("(%p)->(%p)\n", This, p);
177 return E_NOTIMPL;
178}
179
181{
183 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
184 return E_NOTIMPL;
185}
186
188{
190 FIXME("(%p)->(%p)\n", This, p);
191 return E_NOTIMPL;
192}
193
195{
197 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
198 return E_NOTIMPL;
199}
200
202{
204 FIXME("(%p)->(%p)\n", This, p);
205 return E_NOTIMPL;
206}
207
209{
211 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
212 return E_NOTIMPL;
213}
214
216{
218 FIXME("(%p)->(%p)\n", This, p);
219 return E_NOTIMPL;
220}
221
223{
225 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
226 return E_NOTIMPL;
227}
228
230{
232 FIXME("(%p)->(%p)\n", This, p);
233 return E_NOTIMPL;
234}
235
237{
239 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
240 return E_NOTIMPL;
241}
242
244{
246 FIXME("(%p)->(%p)\n", This, p);
247 return E_NOTIMPL;
248}
249
251{
253 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
254 return E_NOTIMPL;
255}
256
258{
260 FIXME("(%p)->(%p)\n", This, p);
261 return E_NOTIMPL;
262}
263
265{
267 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
268 return E_NOTIMPL;
269}
270
272{
274 FIXME("(%p)->(%p)\n", This, p);
275 return E_NOTIMPL;
276}
277
278static HRESULT WINAPI HTMLStyle3_put_writingMode(IHTMLStyle3 *iface, BSTR v)
279{
281 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
282 return E_NOTIMPL;
283}
284
285static HRESULT WINAPI HTMLStyle3_get_writingMode(IHTMLStyle3 *iface, BSTR *p)
286{
288 FIXME("(%p)->(%p)\n", This, p);
289 return E_NOTIMPL;
290}
291
293{
295 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
296 return E_NOTIMPL;
297}
298
300{
302 FIXME("(%p)->(%p)\n", This, p);
303 return E_NOTIMPL;
304}
305
307{
309 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
310 return E_NOTIMPL;
311}
312
314{
316 FIXME("(%p)->(%p)\n", This, p);
317 return E_NOTIMPL;
318}
319
320static const IHTMLStyle3Vtbl HTMLStyle3Vtbl = {
358};
359
360/*
361 * IHTMLStyle4 Interface
362 */
363static inline HTMLStyle *impl_from_IHTMLStyle4(IHTMLStyle4 *iface)
364{
365 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle4_iface);
366}
367
368static HRESULT WINAPI HTMLStyle4_QueryInterface(IHTMLStyle4 *iface, REFIID riid, void **ppv)
369{
371
372 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
373}
374
375static ULONG WINAPI HTMLStyle4_AddRef(IHTMLStyle4 *iface)
376{
378
379 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
380}
381
382static ULONG WINAPI HTMLStyle4_Release(IHTMLStyle4 *iface)
383{
385
386 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
387}
388
389static HRESULT WINAPI HTMLStyle4_GetTypeInfoCount(IHTMLStyle4 *iface, UINT *pctinfo)
390{
392 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
393}
394
395static HRESULT WINAPI HTMLStyle4_GetTypeInfo(IHTMLStyle4 *iface, UINT iTInfo,
396 LCID lcid, ITypeInfo **ppTInfo)
397{
399 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
400}
401
403 LPOLESTR *rgszNames, UINT cNames,
404 LCID lcid, DISPID *rgDispId)
405{
407 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
408 lcid, rgDispId);
409}
410
411static HRESULT WINAPI HTMLStyle4_Invoke(IHTMLStyle4 *iface, DISPID dispIdMember,
412 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
413 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
414{
416 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
417 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
418}
419
421{
423 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
424 return E_NOTIMPL;
425}
426
427static HRESULT WINAPI HTMLStyle4_get_textOverflow(IHTMLStyle4 *iface, BSTR *p)
428{
430 FIXME("(%p)->(%p)\n", This, p);
431 return E_NOTIMPL;
432}
433
435{
437
438 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
439
440 return set_nsstyle_attr_var(This->nsstyle, STYLEID_MIN_HEIGHT, &v, 0);
441}
442
443static HRESULT WINAPI HTMLStyle4_get_minHeight(IHTMLStyle4 *iface, VARIANT *p)
444{
446
447 TRACE("(%p)->(%p)\n", This, p);
448
449 return get_nsstyle_attr_var(This->nsstyle, STYLEID_MIN_HEIGHT, p, 0);
450}
451
452static const IHTMLStyle4Vtbl HTMLStyle4Vtbl = {
464};
465
466static inline HTMLStyle *impl_from_IHTMLStyle5(IHTMLStyle5 *iface)
467{
468 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle5_iface);
469}
470
471static HRESULT WINAPI HTMLStyle5_QueryInterface(IHTMLStyle5 *iface, REFIID riid, void **ppv)
472{
474
475 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
476}
477
478static ULONG WINAPI HTMLStyle5_AddRef(IHTMLStyle5 *iface)
479{
481
482 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
483}
484
485static ULONG WINAPI HTMLStyle5_Release(IHTMLStyle5 *iface)
486{
488
489 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
490}
491
492static HRESULT WINAPI HTMLStyle5_GetTypeInfoCount(IHTMLStyle5 *iface, UINT *pctinfo)
493{
495 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
496}
497
498static HRESULT WINAPI HTMLStyle5_GetTypeInfo(IHTMLStyle5 *iface, UINT iTInfo,
499 LCID lcid, ITypeInfo **ppTInfo)
500{
502 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
503}
504
506 LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
507{
509 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
510 lcid, rgDispId);
511}
512
513static HRESULT WINAPI HTMLStyle5_Invoke(IHTMLStyle5 *iface, DISPID dispIdMember,
514 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
515 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
516{
518 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
519 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
520}
521
523{
525 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
526 return E_NOTIMPL;
527}
528
530{
532 FIXME("(%p)->(%p)\n", This, p);
533 return E_NOTIMPL;
534}
535
537{
539
540 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
541
543}
544
545static HRESULT WINAPI HTMLStyle5_get_maxHeight(IHTMLStyle5 *iface, VARIANT *p)
546{
548
549 TRACE("(%p)->(%s)\n", This, debugstr_variant(p));
550
551 return get_nsstyle_attr_var(This->nsstyle, STYLEID_MAX_HEIGHT, p, 0);
552}
553
554static HRESULT WINAPI HTMLStyle5_put_minWidth(IHTMLStyle5 *iface, VARIANT v)
555{
557
558 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
559
561}
562
563static HRESULT WINAPI HTMLStyle5_get_minWidth(IHTMLStyle5 *iface, VARIANT *p)
564{
566
567 TRACE("(%p)->(%p)\n", This, p);
568
569 return get_nsstyle_attr_var(This->nsstyle, STYLEID_MIN_WIDTH, p, 0);
570}
571
572static HRESULT WINAPI HTMLStyle5_put_maxWidth(IHTMLStyle5 *iface, VARIANT v)
573{
575
576 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
577
579}
580
581static HRESULT WINAPI HTMLStyle5_get_maxWidth(IHTMLStyle5 *iface, VARIANT *p)
582{
584
585 TRACE("(%p)->(%p)\n", This, p);
586
587 return get_nsstyle_attr_var(This->nsstyle, STYLEID_MAX_WIDTH, p, 0);
588}
589
590static const IHTMLStyle5Vtbl HTMLStyle5Vtbl = {
606};
607
608static inline HTMLStyle *impl_from_IHTMLStyle6(IHTMLStyle6 *iface)
609{
610 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle6_iface);
611}
612
613static HRESULT WINAPI HTMLStyle6_QueryInterface(IHTMLStyle6 *iface, REFIID riid, void **ppv)
614{
616
617 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
618}
619
620static ULONG WINAPI HTMLStyle6_AddRef(IHTMLStyle6 *iface)
621{
623
624 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
625}
626
627static ULONG WINAPI HTMLStyle6_Release(IHTMLStyle6 *iface)
628{
630
631 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
632}
633
634static HRESULT WINAPI HTMLStyle6_GetTypeInfoCount(IHTMLStyle6 *iface, UINT *pctinfo)
635{
637 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
638}
639
640static HRESULT WINAPI HTMLStyle6_GetTypeInfo(IHTMLStyle6 *iface, UINT iTInfo,
641 LCID lcid, ITypeInfo **ppTInfo)
642{
644 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
645}
646
648 LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
649{
651 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
652 lcid, rgDispId);
653}
654
655static HRESULT WINAPI HTMLStyle6_Invoke(IHTMLStyle6 *iface, DISPID dispIdMember,
656 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
657 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
658{
660 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
661 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
662}
663
664static HRESULT WINAPI HTMLStyle6_put_content(IHTMLStyle6 *iface, BSTR v)
665{
667 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
668 return E_NOTIMPL;
669}
670
671static HRESULT WINAPI HTMLStyle6_get_content(IHTMLStyle6 *iface, BSTR *p)
672{
674 FIXME("(%p)->(%p)\n", This, p);
675 return E_NOTIMPL;
676}
677
678static HRESULT WINAPI HTMLStyle6_put_contentSide(IHTMLStyle6 *iface, BSTR v)
679{
681 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
682 return E_NOTIMPL;
683}
684
685static HRESULT WINAPI HTMLStyle6_get_contentSide(IHTMLStyle6 *iface, BSTR *p)
686{
688 FIXME("(%p)->(%p)\n", This, p);
689 return E_NOTIMPL;
690}
691
693{
695 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
696 return E_NOTIMPL;
697}
698
700{
702 FIXME("(%p)->(%p)\n", This, p);
703 return E_NOTIMPL;
704}
705
707{
709 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
710 return E_NOTIMPL;
711}
712
713static HRESULT WINAPI HTMLStyle6_get_counterReset(IHTMLStyle6 *iface, BSTR *p)
714{
716 FIXME("(%p)->(%p)\n", This, p);
717 return E_NOTIMPL;
718}
719
720static HRESULT WINAPI HTMLStyle6_put_outline(IHTMLStyle6 *iface, BSTR v)
721{
723
724 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
725
726 return set_nsstyle_attr(This->nsstyle, STYLEID_OUTLINE, v, 0);
727}
728
729static HRESULT WINAPI HTMLStyle6_get_outline(IHTMLStyle6 *iface, BSTR *p)
730{
732
733 TRACE("(%p)->(%p)\n", This, p);
734
736}
737
739{
741 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
742 return E_NOTIMPL;
743}
744
746{
748 FIXME("(%p)->(%p)\n", This, p);
749 return E_NOTIMPL;
750}
751
753{
755 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
756 return E_NOTIMPL;
757}
758
759static HRESULT WINAPI HTMLStyle6_get_outlineStyle(IHTMLStyle6 *iface, BSTR *p)
760{
762 FIXME("(%p)->(%p)\n", This, p);
763 return E_NOTIMPL;
764}
765
767{
769 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
770 return E_NOTIMPL;
771}
772
774{
776 FIXME("(%p)->(%p)\n", This, p);
777 return E_NOTIMPL;
778}
779
780static HRESULT WINAPI HTMLStyle6_put_boxSizing(IHTMLStyle6 *iface, BSTR v)
781{
783
784 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
785
786 return set_nsstyle_attr(This->nsstyle, STYLEID_BOX_SIZING, v, 0);
787}
788
789static HRESULT WINAPI HTMLStyle6_get_boxSizing(IHTMLStyle6 *iface, BSTR *p)
790{
792
793 TRACE("(%p)->(%p)\n", This, p);
794
795 return get_nsstyle_attr(This->nsstyle, STYLEID_BOX_SIZING, p, 0);
796}
797
798static HRESULT WINAPI HTMLStyle6_put_boxSpacing(IHTMLStyle6 *iface, BSTR v)
799{
801 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
802 return E_NOTIMPL;
803}
804
805static HRESULT WINAPI HTMLStyle6_get_boxSpacing(IHTMLStyle6 *iface, BSTR *p)
806{
808 FIXME("(%p)->(%p)\n", This, p);
809 return E_NOTIMPL;
810}
811
812static HRESULT WINAPI HTMLStyle6_put_orphans(IHTMLStyle6 *iface, VARIANT v)
813{
815 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
816 return E_NOTIMPL;
817}
818
819static HRESULT WINAPI HTMLStyle6_get_orphans(IHTMLStyle6 *iface, VARIANT *p)
820{
822 FIXME("(%p)->(%p)\n", This, p);
823 return E_NOTIMPL;
824}
825
826static HRESULT WINAPI HTMLStyle6_put_windows(IHTMLStyle6 *iface, VARIANT v)
827{
829 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
830 return E_NOTIMPL;
831}
832
833static HRESULT WINAPI HTMLStyle6_get_windows(IHTMLStyle6 *iface, VARIANT *p)
834{
836 FIXME("(%p)->(%p)\n", This, p);
837 return E_NOTIMPL;
838}
839
841{
843 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
844 return E_NOTIMPL;
845}
846
848{
850 FIXME("(%p)->(%p)\n", This, p);
851 return E_NOTIMPL;
852}
853
854static HRESULT WINAPI HTMLStyle6_put_emptyCells(IHTMLStyle6 *iface, BSTR v)
855{
857 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
858 return E_NOTIMPL;
859}
860
861static HRESULT WINAPI HTMLStyle6_get_emptyCells(IHTMLStyle6 *iface, BSTR *p)
862{
864 FIXME("(%p)->(%p)\n", This, p);
865 return E_NOTIMPL;
866}
867
869{
871 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
872 return E_NOTIMPL;
873}
874
876{
878 FIXME("(%p)->(%p)\n", This, p);
879 return E_NOTIMPL;
880}
881
882static HRESULT WINAPI HTMLStyle6_put_quotes(IHTMLStyle6 *iface, BSTR v)
883{
885 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
886 return E_NOTIMPL;
887}
888
889static HRESULT WINAPI HTMLStyle6_get_quotes(IHTMLStyle6 *iface, BSTR *p)
890{
892 FIXME("(%p)->(%p)\n", This, p);
893 return E_NOTIMPL;
894}
895
896static const IHTMLStyle6Vtbl HTMLStyle6Vtbl = {
936};
937
939{
940 This->IHTMLStyle3_iface.lpVtbl = &HTMLStyle3Vtbl;
941 This->IHTMLStyle4_iface.lpVtbl = &HTMLStyle4Vtbl;
942 This->IHTMLStyle5_iface.lpVtbl = &HTMLStyle5Vtbl;
943 This->IHTMLStyle6_iface.lpVtbl = &HTMLStyle6Vtbl;
944}
#define FIXME(fmt,...)
Definition: debug.h:111
#define WARN(fmt,...)
Definition: debug.h:112
#define E_NOTIMPL
Definition: ddrawi.h:99
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
OLECHAR * BSTR
Definition: compat.h:2293
@ VT_BSTR
Definition: compat.h:2303
@ VT_I4
Definition: compat.h:2298
unsigned short WORD
Definition: ntddk_ex.h:93
const GLdouble * v
Definition: gl.h:2040
GLfloat GLfloat p
Definition: glext.h:8902
static HTMLStyle * impl_from_IHTMLStyle6(IHTMLStyle6 *iface)
Definition: htmlstyle3.c:608
static HRESULT WINAPI HTMLStyle6_get_counterIncrement(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:699
static const WCHAR zoomW[]
Definition: htmlstyle3.c:92
static HRESULT WINAPI HTMLStyle6_put_windows(IHTMLStyle6 *iface, VARIANT v)
Definition: htmlstyle3.c:826
static HRESULT WINAPI HTMLStyle6_put_counterReset(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:706
static ULONG WINAPI HTMLStyle4_AddRef(IHTMLStyle4 *iface)
Definition: htmlstyle3.c:375
static HRESULT WINAPI HTMLStyle6_get_outline(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:729
static HRESULT WINAPI HTMLStyle4_GetTypeInfoCount(IHTMLStyle4 *iface, UINT *pctinfo)
Definition: htmlstyle3.c:389
static HRESULT WINAPI HTMLStyle6_get_counterReset(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:713
static HRESULT WINAPI HTMLStyle3_put_scrollbar3dLightColor(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:194
static HRESULT WINAPI HTMLStyle5_put_minWidth(IHTMLStyle5 *iface, VARIANT v)
Definition: htmlstyle3.c:554
static HRESULT WINAPI HTMLStyle3_get_wordWrap(IHTMLStyle3 *iface, BSTR *p)
Definition: htmlstyle3.c:143
static HRESULT WINAPI HTMLStyle5_get_maxHeight(IHTMLStyle5 *iface, VARIANT *p)
Definition: htmlstyle3.c:545
static ULONG WINAPI HTMLStyle5_AddRef(IHTMLStyle5 *iface)
Definition: htmlstyle3.c:478
static HRESULT WINAPI HTMLStyle6_get_content(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:671
static HRESULT WINAPI HTMLStyle5_GetTypeInfoCount(IHTMLStyle5 *iface, UINT *pctinfo)
Definition: htmlstyle3.c:492
void HTMLStyle3_Init(HTMLStyle *This)
Definition: htmlstyle3.c:938
static HRESULT WINAPI HTMLStyle4_put_minHeight(IHTMLStyle4 *iface, VARIANT v)
Definition: htmlstyle3.c:434
static HRESULT WINAPI HTMLStyle3_Invoke(IHTMLStyle3 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmlstyle3.c:69
static HRESULT WINAPI HTMLStyle3_get_textAlignLast(IHTMLStyle3 *iface, BSTR *p)
Definition: htmlstyle3.c:299
static HRESULT WINAPI HTMLStyle5_Invoke(IHTMLStyle5 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmlstyle3.c:513
static ULONG WINAPI HTMLStyle3_Release(IHTMLStyle3 *iface)
Definition: htmlstyle3.c:40
static HRESULT WINAPI HTMLStyle6_put_outlineColor(IHTMLStyle6 *iface, VARIANT v)
Definition: htmlstyle3.c:766
static HRESULT WINAPI HTMLStyle6_put_outline(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:720
static HRESULT WINAPI HTMLStyle3_get_zoom(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:114
static HRESULT WINAPI HTMLStyle3_GetTypeInfoCount(IHTMLStyle3 *iface, UINT *pctinfo)
Definition: htmlstyle3.c:47
static HRESULT WINAPI HTMLStyle3_GetTypeInfo(IHTMLStyle3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmlstyle3.c:53
static HRESULT WINAPI HTMLStyle4_QueryInterface(IHTMLStyle4 *iface, REFIID riid, void **ppv)
Definition: htmlstyle3.c:368
static HRESULT WINAPI HTMLStyle6_put_contentSide(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:678
static HRESULT WINAPI HTMLStyle3_get_scrollbarTrackColor(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:271
static HRESULT WINAPI HTMLStyle3_get_scrollbarShadowColor(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:215
static HRESULT WINAPI HTMLStyle3_put_scrollbarShadowColor(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:208
static HRESULT WINAPI HTMLStyle3_get_textKashidaSpace(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:313
static HTMLStyle * impl_from_IHTMLStyle5(IHTMLStyle5 *iface)
Definition: htmlstyle3.c:466
static HRESULT WINAPI HTMLStyle6_put_content(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:664
static HRESULT WINAPI HTMLStyle3_put_wordWrap(IHTMLStyle3 *iface, BSTR v)
Definition: htmlstyle3.c:134
static HRESULT WINAPI HTMLStyle5_put_maxWidth(IHTMLStyle5 *iface, VARIANT v)
Definition: htmlstyle3.c:572
static HRESULT WINAPI HTMLStyle6_Invoke(IHTMLStyle6 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmlstyle3.c:655
static HRESULT WINAPI HTMLStyle4_GetIDsOfNames(IHTMLStyle4 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmlstyle3.c:402
static HRESULT WINAPI HTMLStyle5_put_msInterpolationMode(IHTMLStyle5 *iface, BSTR v)
Definition: htmlstyle3.c:522
static const IHTMLStyle6Vtbl HTMLStyle6Vtbl
Definition: htmlstyle3.c:896
static HRESULT WINAPI HTMLStyle3_get_writingMode(IHTMLStyle3 *iface, BSTR *p)
Definition: htmlstyle3.c:285
static HRESULT WINAPI HTMLStyle3_get_textUnderlinePosition(IHTMLStyle3 *iface, BSTR *p)
Definition: htmlstyle3.c:159
static HRESULT WINAPI HTMLStyle3_get_scrollbarDarkShadowColor(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:243
static const IHTMLStyle3Vtbl HTMLStyle3Vtbl
Definition: htmlstyle3.c:320
static HRESULT WINAPI HTMLStyle6_put_outlineWidth(IHTMLStyle6 *iface, VARIANT v)
Definition: htmlstyle3.c:738
static HRESULT WINAPI HTMLStyle4_get_minHeight(IHTMLStyle4 *iface, VARIANT *p)
Definition: htmlstyle3.c:443
static HRESULT WINAPI HTMLStyle5_get_maxWidth(IHTMLStyle5 *iface, VARIANT *p)
Definition: htmlstyle3.c:581
static HRESULT WINAPI HTMLStyle5_QueryInterface(IHTMLStyle5 *iface, REFIID riid, void **ppv)
Definition: htmlstyle3.c:471
static HRESULT WINAPI HTMLStyle6_GetTypeInfoCount(IHTMLStyle6 *iface, UINT *pctinfo)
Definition: htmlstyle3.c:634
static HRESULT WINAPI HTMLStyle4_get_textOverflow(IHTMLStyle4 *iface, BSTR *p)
Definition: htmlstyle3.c:427
static HRESULT WINAPI HTMLStyle5_GetIDsOfNames(IHTMLStyle5 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmlstyle3.c:505
static HRESULT WINAPI HTMLStyle6_GetTypeInfo(IHTMLStyle6 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmlstyle3.c:640
static HRESULT WINAPI HTMLStyle3_put_scrollbarBaseColor(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:166
static HRESULT WINAPI HTMLStyle6_get_boxSizing(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:789
static HRESULT WINAPI HTMLStyle6_get_outlineColor(IHTMLStyle6 *iface, VARIANT *p)
Definition: htmlstyle3.c:773
static const IHTMLStyle4Vtbl HTMLStyle4Vtbl
Definition: htmlstyle3.c:452
static HRESULT WINAPI HTMLStyle6_put_orphans(IHTMLStyle6 *iface, VARIANT v)
Definition: htmlstyle3.c:812
static HRESULT WINAPI HTMLStyle3_put_writingMode(IHTMLStyle3 *iface, BSTR v)
Definition: htmlstyle3.c:278
static HRESULT WINAPI HTMLStyle5_GetTypeInfo(IHTMLStyle5 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmlstyle3.c:498
static HRESULT WINAPI HTMLStyle6_get_quotes(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:889
static HRESULT WINAPI HTMLStyle3_put_layoutFlow(IHTMLStyle3 *iface, BSTR v)
Definition: htmlstyle3.c:78
static ULONG WINAPI HTMLStyle5_Release(IHTMLStyle5 *iface)
Definition: htmlstyle3.c:485
static HTMLStyle * impl_from_IHTMLStyle3(IHTMLStyle3 *iface)
Definition: htmlstyle3.c:21
static HRESULT WINAPI HTMLStyle5_get_msInterpolationMode(IHTMLStyle5 *iface, BSTR *p)
Definition: htmlstyle3.c:529
static HRESULT WINAPI HTMLStyle6_put_msBlockProgression(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:868
static HRESULT WINAPI HTMLStyle4_Invoke(IHTMLStyle4 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmlstyle3.c:411
static HRESULT WINAPI HTMLStyle3_put_scrollbarArrowColor(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:250
static ULONG WINAPI HTMLStyle4_Release(IHTMLStyle4 *iface)
Definition: htmlstyle3.c:382
static HRESULT WINAPI HTMLStyle3_get_scrollbarHighlightColor(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:229
static HRESULT WINAPI HTMLStyle4_put_textOverflow(IHTMLStyle4 *iface, BSTR v)
Definition: htmlstyle3.c:420
static HRESULT WINAPI HTMLStyle6_put_quotes(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:882
static HRESULT WINAPI HTMLStyle6_get_windows(IHTMLStyle6 *iface, VARIANT *p)
Definition: htmlstyle3.c:833
static ULONG WINAPI HTMLStyle6_Release(IHTMLStyle6 *iface)
Definition: htmlstyle3.c:627
static const IHTMLStyle5Vtbl HTMLStyle5Vtbl
Definition: htmlstyle3.c:590
static HRESULT WINAPI HTMLStyle6_put_emptyCells(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:854
static HRESULT WINAPI HTMLStyle6_get_outlineStyle(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:759
static HRESULT WINAPI HTMLStyle3_get_scrollbar3dLightColor(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:201
static HRESULT WINAPI HTMLStyle5_get_minWidth(IHTMLStyle5 *iface, VARIANT *p)
Definition: htmlstyle3.c:563
static HRESULT WINAPI HTMLStyle6_get_msBlockProgression(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:875
static HRESULT WINAPI HTMLStyle3_get_scrollbarBaseColor(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:173
static HRESULT WINAPI HTMLStyle6_QueryInterface(IHTMLStyle6 *iface, REFIID riid, void **ppv)
Definition: htmlstyle3.c:613
static ULONG WINAPI HTMLStyle6_AddRef(IHTMLStyle6 *iface)
Definition: htmlstyle3.c:620
static HRESULT WINAPI HTMLStyle6_put_boxSpacing(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:798
static HRESULT WINAPI HTMLStyle3_get_layoutFlow(IHTMLStyle3 *iface, BSTR *p)
Definition: htmlstyle3.c:85
static HRESULT WINAPI HTMLStyle4_GetTypeInfo(IHTMLStyle4 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmlstyle3.c:395
static HRESULT WINAPI HTMLStyle3_get_scrollbarArrowColor(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:257
static HRESULT WINAPI HTMLStyle3_get_scrollbarFaceColor(IHTMLStyle3 *iface, VARIANT *p)
Definition: htmlstyle3.c:187
static ULONG WINAPI HTMLStyle3_AddRef(IHTMLStyle3 *iface)
Definition: htmlstyle3.c:33
static HRESULT WINAPI HTMLStyle3_put_zoom(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:94
static HRESULT WINAPI HTMLStyle6_put_counterIncrement(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:692
static HRESULT WINAPI HTMLStyle5_put_maxHeight(IHTMLStyle5 *iface, VARIANT v)
Definition: htmlstyle3.c:536
static HRESULT WINAPI HTMLStyle6_get_emptyCells(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:861
static HTMLStyle * impl_from_IHTMLStyle4(IHTMLStyle4 *iface)
Definition: htmlstyle3.c:363
static HRESULT WINAPI HTMLStyle3_put_textUnderlinePosition(IHTMLStyle3 *iface, BSTR v)
Definition: htmlstyle3.c:152
static HRESULT WINAPI HTMLStyle3_put_scrollbarHighlightColor(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:222
static HRESULT WINAPI HTMLStyle3_put_textAlignLast(IHTMLStyle3 *iface, BSTR v)
Definition: htmlstyle3.c:292
static HRESULT WINAPI HTMLStyle6_get_pageBreakInside(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:847
static HRESULT WINAPI HTMLStyle3_put_scrollbarDarkShadowColor(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:236
static HRESULT WINAPI HTMLStyle6_get_boxSpacing(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:805
static HRESULT WINAPI HTMLStyle3_put_textKashidaSpace(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:306
static HRESULT WINAPI HTMLStyle6_get_contentSide(IHTMLStyle6 *iface, BSTR *p)
Definition: htmlstyle3.c:685
static HRESULT WINAPI HTMLStyle6_put_boxSizing(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:780
static HRESULT WINAPI HTMLStyle6_get_orphans(IHTMLStyle6 *iface, VARIANT *p)
Definition: htmlstyle3.c:819
static HRESULT WINAPI HTMLStyle6_put_pageBreakInside(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:840
static HRESULT WINAPI HTMLStyle6_get_outlineWidth(IHTMLStyle6 *iface, VARIANT *p)
Definition: htmlstyle3.c:745
static HRESULT WINAPI HTMLStyle3_QueryInterface(IHTMLStyle3 *iface, REFIID riid, void **ppv)
Definition: htmlstyle3.c:26
static HRESULT WINAPI HTMLStyle6_put_outlineStyle(IHTMLStyle6 *iface, BSTR v)
Definition: htmlstyle3.c:752
static HRESULT WINAPI HTMLStyle6_GetIDsOfNames(IHTMLStyle6 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmlstyle3.c:647
static HRESULT WINAPI HTMLStyle3_put_scrollbarTrackColor(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:264
static HRESULT WINAPI HTMLStyle3_put_scrollbarFaceColor(IHTMLStyle3 *iface, VARIANT v)
Definition: htmlstyle3.c:180
static HRESULT WINAPI HTMLStyle3_GetIDsOfNames(IHTMLStyle3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmlstyle3.c:60
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags)
Definition: htmlstyle.c:547
HRESULT set_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *value, DWORD flags)
Definition: htmlstyle.c:447
HRESULT get_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, BSTR *p, DWORD flags)
Definition: htmlstyle.c:529
HRESULT set_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, const WCHAR *value, DWORD flags)
Definition: htmlstyle.c:382
@ STYLEID_OUTLINE
Definition: htmlstyle.h:97
@ STYLEID_BOX_SIZING
Definition: htmlstyle.h:67
@ STYLEID_MAX_WIDTH
Definition: htmlstyle.h:94
@ STYLEID_MIN_WIDTH
Definition: htmlstyle.h:96
@ STYLEID_MAX_HEIGHT
Definition: htmlstyle.h:93
@ STYLEID_MIN_HEIGHT
Definition: htmlstyle.h:95
@ STYLEID_WORD_WRAP
Definition: htmlstyle.h:121
#define ATTR_NO_NULL
Definition: htmlstyle.h:144
#define ATTR_FIX_PX
Definition: htmlstyle.h:139
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define S_OK
Definition: intsafe.h:52
#define FAILED(hr)
Definition: intsafe.h:51
#define debugstr_w
Definition: kernel32.h:32
unsigned int ULONG
Definition: retypes.h:1
const char * var
Definition: shader.c:5666
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
HRESULT hres
Definition: protocol.c:465
static LPOLESTR
Definition: stg_prop.c:27
static VARIANTARG static DISPID
Definition: ordinal.c:49
HRESULT dispex_get_dprop_ref(DispatchEx *This, const WCHAR *name, BOOL alloc, VARIANT **ret)
Definition: dispex.c:555
unsigned int UINT
Definition: ndis.h:50
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
#define V_I4(A)
Definition: oleauto.h:247
#define REFIID
Definition: guiddef.h:118
DWORD LCID
Definition: nls.h:13
#define TRACE(s)
Definition: solgame.cpp:4
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
HRESULT WINAPI DECLSPEC_HOTPATCH VariantChangeType(VARIANTARG *pvargDest, VARIANTARG *pvargSrc, USHORT wFlags, VARTYPE vt)
Definition: variant.c:962
HRESULT WINAPI VariantCopy(VARIANTARG *pvargDest, VARIANTARG *pvargSrc)
Definition: variant.c:748
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:531
#define WINAPI
Definition: msvc.h:6
#define DISP_E_UNKNOWNNAME
Definition: winerror.h:2515
__wchar_t WCHAR
Definition: xmlstorage.h:180