ReactOS  0.4.14-dev-115-g4576127
htmlcurstyle.c
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Jacek Caban for CodeWeavers
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 
23  IHTMLCurrentStyle IHTMLCurrentStyle_iface;
24  IHTMLCurrentStyle2 IHTMLCurrentStyle2_iface;
25  IHTMLCurrentStyle3 IHTMLCurrentStyle3_iface;
26  IHTMLCurrentStyle4 IHTMLCurrentStyle4_iface;
27 
29 
32 };
33 
34 static inline HTMLCurrentStyle *impl_from_IHTMLCurrentStyle(IHTMLCurrentStyle *iface)
35 {
36  return CONTAINING_RECORD(iface, HTMLCurrentStyle, IHTMLCurrentStyle_iface);
37 }
38 
39 static inline HTMLCurrentStyle *impl_from_IHTMLCurrentStyle2(IHTMLCurrentStyle2 *iface)
40 {
41  return CONTAINING_RECORD(iface, HTMLCurrentStyle, IHTMLCurrentStyle2_iface);
42 }
43 
44 static inline HTMLCurrentStyle *impl_from_IHTMLCurrentStyle3(IHTMLCurrentStyle3 *iface)
45 {
46  return CONTAINING_RECORD(iface, HTMLCurrentStyle, IHTMLCurrentStyle3_iface);
47 }
48 
49 static inline HTMLCurrentStyle *impl_from_IHTMLCurrentStyle4(IHTMLCurrentStyle4 *iface)
50 {
51  return CONTAINING_RECORD(iface, HTMLCurrentStyle, IHTMLCurrentStyle4_iface);
52 }
53 
54 static HRESULT WINAPI HTMLCurrentStyle_QueryInterface(IHTMLCurrentStyle *iface, REFIID riid, void **ppv)
55 {
57 
58  TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
59 
61  *ppv = &This->IHTMLCurrentStyle_iface;
62  }else if(IsEqualGUID(&IID_IHTMLCurrentStyle, riid)) {
63  *ppv = &This->IHTMLCurrentStyle_iface;
64  }else if(IsEqualGUID(&IID_IHTMLCurrentStyle2, riid)) {
65  *ppv = &This->IHTMLCurrentStyle2_iface;
66  }else if(IsEqualGUID(&IID_IHTMLCurrentStyle3, riid)) {
67  *ppv = &This->IHTMLCurrentStyle3_iface;
68  }else if(IsEqualGUID(&IID_IHTMLCurrentStyle4, riid)) {
69  *ppv = &This->IHTMLCurrentStyle4_iface;
70  }else if(dispex_query_interface(&This->dispex, riid, ppv)) {
71  return *ppv ? S_OK : E_NOINTERFACE;
72  }else {
73  *ppv = NULL;
74  WARN("unsupported %s\n", debugstr_mshtml_guid(riid));
75  return E_NOINTERFACE;
76  }
77 
78  IUnknown_AddRef((IUnknown*)*ppv);
79  return S_OK;
80 }
81 
82 static ULONG WINAPI HTMLCurrentStyle_AddRef(IHTMLCurrentStyle *iface)
83 {
86 
87  TRACE("(%p) ref=%d\n", This, ref);
88 
89  return ref;
90 }
91 
92 static ULONG WINAPI HTMLCurrentStyle_Release(IHTMLCurrentStyle *iface)
93 {
96 
97  TRACE("(%p) ref=%d\n", This, ref);
98 
99  if(!ref) {
100  if(This->nsstyle)
101  nsIDOMCSSStyleDeclaration_Release(This->nsstyle);
102  IHTMLElement_Release(&This->elem->IHTMLElement_iface);
103  release_dispex(&This->dispex);
104  heap_free(This);
105  }
106 
107  return ref;
108 }
109 
110 static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfoCount(IHTMLCurrentStyle *iface, UINT *pctinfo)
111 {
113  return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
114 }
115 
116 static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfo(IHTMLCurrentStyle *iface, UINT iTInfo,
117  LCID lcid, ITypeInfo **ppTInfo)
118 {
120  return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
121 }
122 
123 static HRESULT WINAPI HTMLCurrentStyle_GetIDsOfNames(IHTMLCurrentStyle *iface, REFIID riid,
124  LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
125 {
127  return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
128  lcid, rgDispId);
129 }
130 
131 static HRESULT WINAPI HTMLCurrentStyle_Invoke(IHTMLCurrentStyle *iface, DISPID dispIdMember,
132  REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
133  VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
134 {
136  return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
137  wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
138 }
139 
140 static HRESULT WINAPI HTMLCurrentStyle_get_position(IHTMLCurrentStyle *iface, BSTR *p)
141 {
143 
144  TRACE("(%p)->(%p)\n", This, p);
145 
146  return get_nsstyle_attr(This->nsstyle, STYLEID_POSITION, p, 0);
147 }
148 
149 static HRESULT WINAPI HTMLCurrentStyle_get_styleFloat(IHTMLCurrentStyle *iface, BSTR *p)
150 {
152  FIXME("(%p)->(%p)\n", This, p);
153  return E_NOTIMPL;
154 }
155 
156 static HRESULT WINAPI HTMLCurrentStyle_get_color(IHTMLCurrentStyle *iface, VARIANT *p)
157 {
159  TRACE("(%p)->(%p)\n", This, p);
160  return get_nsstyle_attr_var(This->nsstyle, STYLEID_COLOR, p, 0);
161 }
162 
163 static HRESULT WINAPI HTMLCurrentStyle_get_backgroundColor(IHTMLCurrentStyle *iface, VARIANT *p)
164 {
166  TRACE("(%p)->(%p)\n", This, p);
167  return get_nsstyle_attr_var(This->nsstyle, STYLEID_BACKGROUND_COLOR, p, 0);
168 }
169 
170 static HRESULT WINAPI HTMLCurrentStyle_get_fontFamily(IHTMLCurrentStyle *iface, BSTR *p)
171 {
173 
174  TRACE("(%p)->(%p)\n", This, p);
175 
176  return get_nsstyle_attr(This->nsstyle, STYLEID_FONT_FAMILY, p, 0);
177 }
178 
179 static HRESULT WINAPI HTMLCurrentStyle_get_fontStyle(IHTMLCurrentStyle *iface, BSTR *p)
180 {
182  TRACE("(%p)->(%p)\n", This, p);
183  return get_nsstyle_attr(This->nsstyle, STYLEID_FONT_STYLE, p, 0);
184 }
185 
186 static HRESULT WINAPI HTMLCurrentStyle_get_fontVariant(IHTMLCurrentStyle *iface, BSTR *p)
187 {
189  TRACE("(%p)->(%p)\n", This, p);
190  return get_nsstyle_attr(This->nsstyle, STYLEID_FONT_VARIANT, p, 0);
191 }
192 
193 static HRESULT WINAPI HTMLCurrentStyle_get_fontWeight(IHTMLCurrentStyle *iface, VARIANT *p)
194 {
196  TRACE("(%p)->(%p)\n", This, p);
198 }
199 
200 static HRESULT WINAPI HTMLCurrentStyle_get_fontSize(IHTMLCurrentStyle *iface, VARIANT *p)
201 {
203  TRACE("(%p)->(%p)\n", This, p);
204  return get_nsstyle_attr_var(This->nsstyle, STYLEID_FONT_SIZE, p, 0);
205 }
206 
207 static HRESULT WINAPI HTMLCurrentStyle_get_backgroundImage(IHTMLCurrentStyle *iface, BSTR *p)
208 {
210  TRACE("(%p)->(%p)\n", This, p);
211  return get_nsstyle_attr(This->nsstyle, STYLEID_BACKGROUND_IMAGE, p, 0);
212 }
213 
215 {
217  FIXME("(%p)->(%p)\n", This, p);
218  return E_NOTIMPL;
219 }
220 
222 {
224  FIXME("(%p)->(%p)\n", This, p);
225  return E_NOTIMPL;
226 }
227 
228 static HRESULT WINAPI HTMLCurrentStyle_get_backgroundRepeat(IHTMLCurrentStyle *iface, BSTR *p)
229 {
231  TRACE("(%p)->(%p)\n", This, p);
232  return get_nsstyle_attr(This->nsstyle, STYLEID_BACKGROUND_REPEAT, p, 0);
233 }
234 
235 static HRESULT WINAPI HTMLCurrentStyle_get_borderLeftColor(IHTMLCurrentStyle *iface, VARIANT *p)
236 {
238  TRACE("(%p)->(%p)\n", This, p);
240 }
241 
242 static HRESULT WINAPI HTMLCurrentStyle_get_borderTopColor(IHTMLCurrentStyle *iface, VARIANT *p)
243 {
245  TRACE("(%p)->(%p)\n", This, p);
246  return get_nsstyle_attr_var(This->nsstyle, STYLEID_BORDER_TOP_COLOR, p, 0);
247 }
248 
250 {
252  TRACE("(%p)->(%p)\n", This, p);
254 }
255 
257 {
259  TRACE("(%p)->(%p)\n", This, p);
261 }
262 
263 static HRESULT WINAPI HTMLCurrentStyle_get_borderTopStyle(IHTMLCurrentStyle *iface, BSTR *p)
264 {
266  TRACE("(%p)->(%p)\n", This, p);
267  return get_nsstyle_attr(This->nsstyle, STYLEID_BORDER_TOP_STYLE, p, 0);
268 }
269 
270 static HRESULT WINAPI HTMLCurrentStyle_get_borderRightStyle(IHTMLCurrentStyle *iface, BSTR *p)
271 {
273  TRACE("(%p)->(%p)\n", This, p);
274  return get_nsstyle_attr(This->nsstyle, STYLEID_BORDER_RIGHT_STYLE, p, 0);
275 }
276 
277 static HRESULT WINAPI HTMLCurrentStyle_get_borderBottomStyle(IHTMLCurrentStyle *iface, BSTR *p)
278 {
280  TRACE("(%p)->(%p)\n", This, p);
281  return get_nsstyle_attr(This->nsstyle, STYLEID_BORDER_BOTTOM_STYLE, p, 0);
282 }
283 
284 static HRESULT WINAPI HTMLCurrentStyle_get_borderLeftStyle(IHTMLCurrentStyle *iface, BSTR *p)
285 {
287  TRACE("(%p)->(%p)\n", This, p);
288  return get_nsstyle_attr(This->nsstyle, STYLEID_BORDER_LEFT_STYLE, p, 0);
289 }
290 
291 static HRESULT WINAPI HTMLCurrentStyle_get_borderTopWidth(IHTMLCurrentStyle *iface, VARIANT *p)
292 {
294  TRACE("(%p)->(%p)\n", This, p);
295  return get_nsstyle_attr_var(This->nsstyle, STYLEID_BORDER_TOP_WIDTH, p, 0);
296 }
297 
299 {
301  TRACE("(%p)->(%p)\n", This, p);
303 }
304 
306 {
308  TRACE("(%p)->(%p)\n", This, p);
310 }
311 
312 static HRESULT WINAPI HTMLCurrentStyle_get_borderLeftWidth(IHTMLCurrentStyle *iface, VARIANT *p)
313 {
315  TRACE("(%p)->(%p)\n", This, p);
317 }
318 
319 static HRESULT WINAPI HTMLCurrentStyle_get_left(IHTMLCurrentStyle *iface, VARIANT *p)
320 {
322  TRACE("(%p)->(%p)\n", This, p);
323  return get_nsstyle_attr_var(This->nsstyle, STYLEID_LEFT, p, 0);
324 }
325 
326 static HRESULT WINAPI HTMLCurrentStyle_get_top(IHTMLCurrentStyle *iface, VARIANT *p)
327 {
329  TRACE("(%p)->(%p)\n", This, p);
330  return get_nsstyle_attr_var(This->nsstyle, STYLEID_TOP, p, 0);
331 }
332 
333 static HRESULT WINAPI HTMLCurrentStyle_get_width(IHTMLCurrentStyle *iface, VARIANT *p)
334 {
336  TRACE("(%p)->(%p)\n", This, p);
337  return get_nsstyle_attr_var(This->nsstyle, STYLEID_WIDTH, p, 0);
338 }
339 
340 static HRESULT WINAPI HTMLCurrentStyle_get_height(IHTMLCurrentStyle *iface, VARIANT *p)
341 {
343  TRACE("(%p)->(%p)\n", This, p);
344  return get_nsstyle_attr_var(This->nsstyle, STYLEID_HEIGHT, p, 0);
345 }
346 
347 static HRESULT WINAPI HTMLCurrentStyle_get_paddingLeft(IHTMLCurrentStyle *iface, VARIANT *p)
348 {
350  TRACE("(%p)->(%p)\n", This, p);
351  return get_nsstyle_attr_var(This->nsstyle, STYLEID_PADDING_LEFT, p, 0);
352 }
353 
354 static HRESULT WINAPI HTMLCurrentStyle_get_paddingTop(IHTMLCurrentStyle *iface, VARIANT *p)
355 {
357  TRACE("(%p)->(%p)\n", This, p);
358  return get_nsstyle_attr_var(This->nsstyle, STYLEID_PADDING_TOP, p, 0);
359 }
360 
361 static HRESULT WINAPI HTMLCurrentStyle_get_paddingRight(IHTMLCurrentStyle *iface, VARIANT *p)
362 {
364  TRACE("(%p)->(%p)\n", This, p);
365  return get_nsstyle_attr_var(This->nsstyle, STYLEID_PADDING_RIGHT, p, 0);
366 }
367 
368 static HRESULT WINAPI HTMLCurrentStyle_get_paddingBottom(IHTMLCurrentStyle *iface, VARIANT *p)
369 {
371  TRACE("(%p)->(%p)\n", This, p);
372  return get_nsstyle_attr_var(This->nsstyle, STYLEID_PADDING_BOTTOM, p, 0);
373 }
374 
375 static HRESULT WINAPI HTMLCurrentStyle_get_textAlign(IHTMLCurrentStyle *iface, BSTR *p)
376 {
378  TRACE("(%p)->(%p)\n", This, p);
379  return get_nsstyle_attr(This->nsstyle, STYLEID_TEXT_ALIGN, p, 0);
380 }
381 
382 static HRESULT WINAPI HTMLCurrentStyle_get_textDecoration(IHTMLCurrentStyle *iface, BSTR *p)
383 {
385  TRACE("(%p)->(%p)\n", This, p);
386  return get_nsstyle_attr(This->nsstyle, STYLEID_TEXT_DECORATION, p, 0);
387 }
388 
389 static HRESULT WINAPI HTMLCurrentStyle_get_display(IHTMLCurrentStyle *iface, BSTR *p)
390 {
392 
393  TRACE("(%p)->(%p)\n", This, p);
394 
395  return get_nsstyle_attr(This->nsstyle, STYLEID_DISPLAY, p, 0);
396 }
397 
398 static HRESULT WINAPI HTMLCurrentStyle_get_visibility(IHTMLCurrentStyle *iface, BSTR *p)
399 {
401 
402  TRACE("(%p)->(%p)\n", This, p);
403 
404  return get_nsstyle_attr(This->nsstyle, STYLEID_VISIBILITY, p, 0);
405 }
406 
407 static HRESULT WINAPI HTMLCurrentStyle_get_zIndex(IHTMLCurrentStyle *iface, VARIANT *p)
408 {
410  TRACE("(%p)->(%p)\n", This, p);
412 }
413 
414 static HRESULT WINAPI HTMLCurrentStyle_get_letterSpacing(IHTMLCurrentStyle *iface, VARIANT *p)
415 {
417  TRACE("(%p)->(%p)\n", This, p);
418  return get_nsstyle_attr_var(This->nsstyle, STYLEID_LETTER_SPACING, p, 0);
419 }
420 
421 static HRESULT WINAPI HTMLCurrentStyle_get_lineHeight(IHTMLCurrentStyle *iface, VARIANT *p)
422 {
424  TRACE("(%p)->(%p)\n", This, p);
425  return get_nsstyle_attr_var(This->nsstyle, STYLEID_LINE_HEIGHT, p, 0);
426 }
427 
428 static HRESULT WINAPI HTMLCurrentStyle_get_textIndent(IHTMLCurrentStyle *iface, VARIANT *p)
429 {
431  TRACE("(%p)->(%p)\n", This, p);
432  return get_nsstyle_attr_var(This->nsstyle, STYLEID_TEXT_INDENT, p, 0);
433 }
434 
435 static HRESULT WINAPI HTMLCurrentStyle_get_verticalAlign(IHTMLCurrentStyle *iface, VARIANT *p)
436 {
438  TRACE("(%p)->(%p)\n", This, p);
439  return get_nsstyle_attr_var(This->nsstyle, STYLEID_VERTICAL_ALIGN, p, 0);
440 }
441 
443 {
445  FIXME("(%p)->(%p)\n", This, p);
446  return E_NOTIMPL;
447 }
448 
449 static HRESULT WINAPI HTMLCurrentStyle_get_marginTop(IHTMLCurrentStyle *iface, VARIANT *p)
450 {
452  TRACE("(%p)->(%p)\n", This, p);
453  return get_nsstyle_attr_var(This->nsstyle, STYLEID_MARGIN_TOP, p, 0);
454 }
455 
456 static HRESULT WINAPI HTMLCurrentStyle_get_marginRight(IHTMLCurrentStyle *iface, VARIANT *p)
457 {
459  TRACE("(%p)->(%p)\n", This, p);
460  return get_nsstyle_attr_var(This->nsstyle, STYLEID_MARGIN_RIGHT, p, 0);
461 }
462 
463 static HRESULT WINAPI HTMLCurrentStyle_get_marginBottom(IHTMLCurrentStyle *iface, VARIANT *p)
464 {
466  TRACE("(%p)->(%p)\n", This, p);
467  return get_nsstyle_attr_var(This->nsstyle, STYLEID_MARGIN_BOTTOM, p, 0);
468 }
469 
470 static HRESULT WINAPI HTMLCurrentStyle_get_marginLeft(IHTMLCurrentStyle *iface, VARIANT *p)
471 {
473  TRACE("(%p)->(%p)\n", This, p);
474  return get_nsstyle_attr_var(This->nsstyle, STYLEID_MARGIN_LEFT, p, 0);
475 }
476 
477 static HRESULT WINAPI HTMLCurrentStyle_get_clear(IHTMLCurrentStyle *iface, BSTR *p)
478 {
480  FIXME("(%p)->(%p)\n", This, p);
481  return E_NOTIMPL;
482 }
483 
484 static HRESULT WINAPI HTMLCurrentStyle_get_listStyleType(IHTMLCurrentStyle *iface, BSTR *p)
485 {
487  FIXME("(%p)->(%p)\n", This, p);
488  return E_NOTIMPL;
489 }
490 
491 static HRESULT WINAPI HTMLCurrentStyle_get_listStylePosition(IHTMLCurrentStyle *iface, BSTR *p)
492 {
494  FIXME("(%p)->(%p)\n", This, p);
495  return E_NOTIMPL;
496 }
497 
498 static HRESULT WINAPI HTMLCurrentStyle_get_listStyleImage(IHTMLCurrentStyle *iface, BSTR *p)
499 {
501  FIXME("(%p)->(%p)\n", This, p);
502  return E_NOTIMPL;
503 }
504 
505 static HRESULT WINAPI HTMLCurrentStyle_get_clipTop(IHTMLCurrentStyle *iface, VARIANT *p)
506 {
508  FIXME("(%p)->(%p)\n", This, p);
509  return E_NOTIMPL;
510 }
511 
512 static HRESULT WINAPI HTMLCurrentStyle_get_clipRight(IHTMLCurrentStyle *iface, VARIANT *p)
513 {
515  FIXME("(%p)->(%p)\n", This, p);
516  return E_NOTIMPL;
517 }
518 
519 static HRESULT WINAPI HTMLCurrentStyle_get_clipBottom(IHTMLCurrentStyle *iface, VARIANT *p)
520 {
522  FIXME("(%p)->(%p)\n", This, p);
523  return E_NOTIMPL;
524 }
525 
526 static HRESULT WINAPI HTMLCurrentStyle_get_clipLeft(IHTMLCurrentStyle *iface, VARIANT *p)
527 {
529  FIXME("(%p)->(%p)\n", This, p);
530  return E_NOTIMPL;
531 }
532 
533 static HRESULT WINAPI HTMLCurrentStyle_get_overflow(IHTMLCurrentStyle *iface, BSTR *p)
534 {
536  TRACE("(%p)->(%p)\n", This, p);
537  return get_nsstyle_attr(This->nsstyle, STYLEID_OVERFLOW, p, 0);
538 }
539 
540 static HRESULT WINAPI HTMLCurrentStyle_get_pageBreakBefore(IHTMLCurrentStyle *iface, BSTR *p)
541 {
543  FIXME("(%p)->(%p)\n", This, p);
544  return E_NOTIMPL;
545 }
546 
547 static HRESULT WINAPI HTMLCurrentStyle_get_pageBreakAfter(IHTMLCurrentStyle *iface, BSTR *p)
548 {
550  FIXME("(%p)->(%p)\n", This, p);
551  return E_NOTIMPL;
552 }
553 
554 static HRESULT WINAPI HTMLCurrentStyle_get_cursor(IHTMLCurrentStyle *iface, BSTR *p)
555 {
557  TRACE("(%p)->(%p)\n", This, p);
558  return get_nsstyle_attr(This->nsstyle, STYLEID_CURSOR, p, 0);
559 }
560 
561 static HRESULT WINAPI HTMLCurrentStyle_get_tableLayout(IHTMLCurrentStyle *iface, BSTR *p)
562 {
564  FIXME("(%p)->(%p)\n", This, p);
565  return E_NOTIMPL;
566 }
567 
568 static HRESULT WINAPI HTMLCurrentStyle_get_borderCollapse(IHTMLCurrentStyle *iface, BSTR *p)
569 {
571  FIXME("(%p)->(%p)\n", This, p);
572  return E_NOTIMPL;
573 }
574 
575 static HRESULT WINAPI HTMLCurrentStyle_get_direction(IHTMLCurrentStyle *iface, BSTR *p)
576 {
578  FIXME("(%p)->(%p)\n", This, p);
579  return E_NOTIMPL;
580 }
581 
582 static HRESULT WINAPI HTMLCurrentStyle_get_behavior(IHTMLCurrentStyle *iface, BSTR *p)
583 {
585  FIXME("(%p)->(%p)\n", This, p);
586  return E_NOTIMPL;
587 }
588 
589 static HRESULT WINAPI HTMLCurrentStyle_getAttribute(IHTMLCurrentStyle *iface, BSTR strAttributeName,
590  LONG lFlags, VARIANT *AttributeValue)
591 {
593  FIXME("(%p)->(%s %x %p)\n", This, debugstr_w(strAttributeName), lFlags, AttributeValue);
594  return E_NOTIMPL;
595 }
596 
597 static HRESULT WINAPI HTMLCurrentStyle_get_unicodeBidi(IHTMLCurrentStyle *iface, BSTR *p)
598 {
600  FIXME("(%p)->(%p)\n", This, p);
601  return E_NOTIMPL;
602 }
603 
604 static HRESULT WINAPI HTMLCurrentStyle_get_right(IHTMLCurrentStyle *iface, VARIANT *p)
605 {
607  TRACE("(%p)->(%p)\n", This, p);
608  return get_nsstyle_attr_var(This->nsstyle, STYLEID_RIGHT, p, 0);
609 }
610 
611 static HRESULT WINAPI HTMLCurrentStyle_get_bottom(IHTMLCurrentStyle *iface, VARIANT *p)
612 {
614  TRACE("(%p)->(%p)\n", This, p);
615  return get_nsstyle_attr_var(This->nsstyle, STYLEID_BOTTOM, p, 0);
616 }
617 
618 static HRESULT WINAPI HTMLCurrentStyle_get_imeMode(IHTMLCurrentStyle *iface, BSTR *p)
619 {
621  FIXME("(%p)->(%p)\n", This, p);
622  return E_NOTIMPL;
623 }
624 
625 static HRESULT WINAPI HTMLCurrentStyle_get_rubyAlign(IHTMLCurrentStyle *iface, BSTR *p)
626 {
628  FIXME("(%p)->(%p)\n", This, p);
629  return E_NOTIMPL;
630 }
631 
632 static HRESULT WINAPI HTMLCurrentStyle_get_rubyPosition(IHTMLCurrentStyle *iface, BSTR *p)
633 {
635  FIXME("(%p)->(%p)\n", This, p);
636  return E_NOTIMPL;
637 }
638 
639 static HRESULT WINAPI HTMLCurrentStyle_get_rubyOverhang(IHTMLCurrentStyle *iface, BSTR *p)
640 {
642  FIXME("(%p)->(%p)\n", This, p);
643  return E_NOTIMPL;
644 }
645 
646 static HRESULT WINAPI HTMLCurrentStyle_get_textAutospace(IHTMLCurrentStyle *iface, BSTR *p)
647 {
649  FIXME("(%p)->(%p)\n", This, p);
650  return E_NOTIMPL;
651 }
652 
653 static HRESULT WINAPI HTMLCurrentStyle_get_lineBreak(IHTMLCurrentStyle *iface, BSTR *p)
654 {
656  FIXME("(%p)->(%p)\n", This, p);
657  return E_NOTIMPL;
658 }
659 
660 static HRESULT WINAPI HTMLCurrentStyle_get_wordBreak(IHTMLCurrentStyle *iface, BSTR *p)
661 {
663  FIXME("(%p)->(%p)\n", This, p);
664  return E_NOTIMPL;
665 }
666 
667 static HRESULT WINAPI HTMLCurrentStyle_get_textJustify(IHTMLCurrentStyle *iface, BSTR *p)
668 {
670  FIXME("(%p)->(%p)\n", This, p);
671  return E_NOTIMPL;
672 }
673 
674 static HRESULT WINAPI HTMLCurrentStyle_get_textJustifyTrim(IHTMLCurrentStyle *iface, BSTR *p)
675 {
677  FIXME("(%p)->(%p)\n", This, p);
678  return E_NOTIMPL;
679 }
680 
681 static HRESULT WINAPI HTMLCurrentStyle_get_textKashida(IHTMLCurrentStyle *iface, VARIANT *p)
682 {
684  FIXME("(%p)->(%p)\n", This, p);
685  return E_NOTIMPL;
686 }
687 
688 static HRESULT WINAPI HTMLCurrentStyle_get_blockDirection(IHTMLCurrentStyle *iface, BSTR *p)
689 {
691  FIXME("(%p)->(%p)\n", This, p);
692  return E_NOTIMPL;
693 }
694 
695 static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridChar(IHTMLCurrentStyle *iface, VARIANT *p)
696 {
698  FIXME("(%p)->(%p)\n", This, p);
699  return E_NOTIMPL;
700 }
701 
702 static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridLine(IHTMLCurrentStyle *iface, VARIANT *p)
703 {
705  FIXME("(%p)->(%p)\n", This, p);
706  return E_NOTIMPL;
707 }
708 
709 static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridMode(IHTMLCurrentStyle *iface, BSTR *p)
710 {
712  FIXME("(%p)->(%p)\n", This, p);
713  return E_NOTIMPL;
714 }
715 
716 static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridType(IHTMLCurrentStyle *iface, BSTR *p)
717 {
719  FIXME("(%p)->(%p)\n", This, p);
720  return E_NOTIMPL;
721 }
722 
723 static HRESULT WINAPI HTMLCurrentStyle_get_borderStyle(IHTMLCurrentStyle *iface, BSTR *p)
724 {
726  TRACE("(%p)->(%p)\n", This, p);
727  return get_nsstyle_attr(This->nsstyle, STYLEID_BORDER_STYLE, p, 0);
728 }
729 
730 static HRESULT WINAPI HTMLCurrentStyle_get_borderColor(IHTMLCurrentStyle *iface, BSTR *p)
731 {
733  TRACE("(%p)->(%p)\n", This, p);
734  return get_nsstyle_attr(This->nsstyle, STYLEID_BORDER_COLOR, p, 0);
735 }
736 
737 static HRESULT WINAPI HTMLCurrentStyle_get_borderWidth(IHTMLCurrentStyle *iface, BSTR *p)
738 {
740  TRACE("(%p)->(%p)\n", This, p);
741  return get_nsstyle_attr(This->nsstyle, STYLEID_BORDER_WIDTH, p, 0);
742 }
743 
744 static HRESULT WINAPI HTMLCurrentStyle_get_padding(IHTMLCurrentStyle *iface, BSTR *p)
745 {
747  TRACE("(%p)->(%p)\n", This, p);
748  return get_nsstyle_attr(This->nsstyle, STYLEID_PADDING, p, 0);
749 }
750 
751 static HRESULT WINAPI HTMLCurrentStyle_get_margin(IHTMLCurrentStyle *iface, BSTR *p)
752 {
754  TRACE("(%p)->(%p)\n", This, p);
755  return get_nsstyle_attr(This->nsstyle, STYLEID_MARGIN, p, 0);
756 }
757 
758 static HRESULT WINAPI HTMLCurrentStyle_get_accelerator(IHTMLCurrentStyle *iface, BSTR *p)
759 {
761  FIXME("(%p)->(%p)\n", This, p);
762  return E_NOTIMPL;
763 }
764 
765 static HRESULT WINAPI HTMLCurrentStyle_get_overflowX(IHTMLCurrentStyle *iface, BSTR *p)
766 {
768  FIXME("(%p)->(%p)\n", This, p);
769  return E_NOTIMPL;
770 }
771 
772 static HRESULT WINAPI HTMLCurrentStyle_get_overflowY(IHTMLCurrentStyle *iface, BSTR *p)
773 {
775  FIXME("(%p)->(%p)\n", This, p);
776  return E_NOTIMPL;
777 }
778 
779 static HRESULT WINAPI HTMLCurrentStyle_get_textTransform(IHTMLCurrentStyle *iface, BSTR *p)
780 {
782  TRACE("(%p)->(%p)\n", This, p);
783  return get_nsstyle_attr(This->nsstyle, STYLEID_TEXT_TRANSFORM, p, 0);
784 }
785 
786 static const IHTMLCurrentStyleVtbl HTMLCurrentStyleVtbl = {
885 };
886 
887 /* IHTMLCurrentStyle2 */
888 static HRESULT WINAPI HTMLCurrentStyle2_QueryInterface(IHTMLCurrentStyle2 *iface, REFIID riid, void **ppv)
889 {
891 
892  return IHTMLCurrentStyle_QueryInterface(&This->IHTMLCurrentStyle_iface, riid, ppv);
893 }
894 
895 static ULONG WINAPI HTMLCurrentStyle2_AddRef(IHTMLCurrentStyle2 *iface)
896 {
898 
899  return IHTMLCurrentStyle_AddRef(&This->IHTMLCurrentStyle_iface);
900 }
901 
902 static ULONG WINAPI HTMLCurrentStyle2_Release(IHTMLCurrentStyle2 *iface)
903 {
905  return IHTMLCurrentStyle_Release(&This->IHTMLCurrentStyle_iface);
906 }
907 
908 static HRESULT WINAPI HTMLCurrentStyle2_GetTypeInfoCount(IHTMLCurrentStyle2 *iface, UINT *pctinfo)
909 {
911  return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
912 }
913 
914 static HRESULT WINAPI HTMLCurrentStyle2_GetTypeInfo(IHTMLCurrentStyle2 *iface, UINT iTInfo,
915  LCID lcid, ITypeInfo **ppTInfo)
916 {
918  return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
919 }
920 
921 static HRESULT WINAPI HTMLCurrentStyle2_GetIDsOfNames(IHTMLCurrentStyle2 *iface, REFIID riid,
922  LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
923 {
925  return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
926  lcid, rgDispId);
927 }
928 
929 static HRESULT WINAPI HTMLCurrentStyle2_Invoke(IHTMLCurrentStyle2 *iface, DISPID dispIdMember,
930  REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
931  VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
932 {
934  return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
935  wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
936 }
937 
938 static HRESULT WINAPI HTMLCurrentStyle2_get_layoutFlow(IHTMLCurrentStyle2 *iface, BSTR *p)
939 {
941  FIXME("(%p)->(%p)\n", This, p);
942  return E_NOTIMPL;
943 }
944 
945 static HRESULT WINAPI HTMLCurrentStyle2_get_wordWrap(IHTMLCurrentStyle2 *iface, BSTR *p)
946 {
948  FIXME("(%p)->(%p)\n", This, p);
949  return E_NOTIMPL;
950 }
951 
953 {
955  FIXME("(%p)->(%p)\n", This, p);
956  return E_NOTIMPL;
957 }
958 
959 static HRESULT WINAPI HTMLCurrentStyle2_get_hasLayout(IHTMLCurrentStyle2 *iface, VARIANT_BOOL *p)
960 {
962 
963  FIXME("(%p)->(%p) returning true\n", This, p);
964 
965  *p = VARIANT_TRUE;
966  return S_OK;
967 }
968 
970 {
972  FIXME("(%p)->(%p)\n", This, p);
973  return E_NOTIMPL;
974 }
975 
977 {
979  FIXME("(%p)->(%p)\n", This, p);
980  return E_NOTIMPL;
981 }
982 
984 {
986  FIXME("(%p)->(%p)\n", This, p);
987  return E_NOTIMPL;
988 }
989 
991 {
993  FIXME("(%p)->(%p)\n", This, p);
994  return E_NOTIMPL;
995 }
996 
998 {
1000  FIXME("(%p)->(%p)\n", This, p);
1001  return E_NOTIMPL;
1002 }
1003 
1005 {
1007  FIXME("(%p)->(%p)\n", This, p);
1008  return E_NOTIMPL;
1009 }
1010 
1012 {
1014  FIXME("(%p)->(%p)\n", This, p);
1015  return E_NOTIMPL;
1016 }
1017 
1019 {
1021  FIXME("(%p)->(%p)\n", This, p);
1022  return E_NOTIMPL;
1023 }
1024 
1025 static HRESULT WINAPI HTMLCurrentStyle2_get_writingMode(IHTMLCurrentStyle2 *iface, BSTR *p)
1026 {
1028  FIXME("(%p)->(%p)\n", This, p);
1029  return E_NOTIMPL;
1030 }
1031 
1032 static HRESULT WINAPI HTMLCurrentStyle2_get_zoom(IHTMLCurrentStyle2 *iface, VARIANT *p)
1033 {
1035  FIXME("(%p)->(%p)\n", This, p);
1036  return E_NOTIMPL;
1037 }
1038 
1039 static HRESULT WINAPI HTMLCurrentStyle2_get_filter(IHTMLCurrentStyle2 *iface, BSTR *p)
1040 {
1042 
1043  TRACE("(%p)->(%p)\n", This, p);
1044 
1045  if(This->elem->filter) {
1046  *p = SysAllocString(This->elem->filter);
1047  if(!*p)
1048  return E_OUTOFMEMORY;
1049  }else {
1050  *p = NULL;
1051  }
1052 
1053  return S_OK;
1054 }
1055 
1056 static HRESULT WINAPI HTMLCurrentStyle2_get_textAlignLast(IHTMLCurrentStyle2 *iface, BSTR *p)
1057 {
1059  FIXME("(%p)->(%p)\n", This, p);
1060  return E_NOTIMPL;
1061 }
1062 
1064 {
1066  FIXME("(%p)->(%p)\n", This, p);
1067  return E_NOTIMPL;
1068 }
1069 
1070 static HRESULT WINAPI HTMLCurrentStyle2_get_isBlock(IHTMLCurrentStyle2 *iface, VARIANT_BOOL *p)
1071 {
1073  FIXME("(%p)->(%p)\n", This, p);
1074  return E_NOTIMPL;
1075 }
1076 
1077 static const IHTMLCurrentStyle2Vtbl HTMLCurrentStyle2Vtbl = {
1103 };
1104 
1105 /* IHTMLCurrentStyle3 */
1106 static HRESULT WINAPI HTMLCurrentStyle3_QueryInterface(IHTMLCurrentStyle3 *iface, REFIID riid, void **ppv)
1107 {
1109 
1110  return IHTMLCurrentStyle_QueryInterface(&This->IHTMLCurrentStyle_iface, riid, ppv);
1111 }
1112 
1113 static ULONG WINAPI HTMLCurrentStyle3_AddRef(IHTMLCurrentStyle3 *iface)
1114 {
1116 
1117  return IHTMLCurrentStyle_AddRef(&This->IHTMLCurrentStyle_iface);
1118 }
1119 
1120 static ULONG WINAPI HTMLCurrentStyle3_Release(IHTMLCurrentStyle3 *iface)
1121 {
1123  return IHTMLCurrentStyle_Release(&This->IHTMLCurrentStyle_iface);
1124 }
1125 
1126 static HRESULT WINAPI HTMLCurrentStyle3_GetTypeInfoCount(IHTMLCurrentStyle3 *iface, UINT *pctinfo)
1127 {
1129  return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
1130 }
1131 
1132 static HRESULT WINAPI HTMLCurrentStyle3_GetTypeInfo(IHTMLCurrentStyle3 *iface, UINT iTInfo,
1133  LCID lcid, ITypeInfo **ppTInfo)
1134 {
1136  return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
1137 }
1138 
1139 static HRESULT WINAPI HTMLCurrentStyle3_GetIDsOfNames(IHTMLCurrentStyle3 *iface, REFIID riid,
1140  LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
1141 {
1143  return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
1144  lcid, rgDispId);
1145 }
1146 
1147 static HRESULT WINAPI HTMLCurrentStyle3_Invoke(IHTMLCurrentStyle3 *iface, DISPID dispIdMember,
1148  REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
1149  VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
1150 {
1152  return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
1153  wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
1154 }
1155 
1156 static HRESULT WINAPI HTMLCurrentStyle3_get_textOverflow(IHTMLCurrentStyle3 *iface, BSTR *p)
1157 {
1159  FIXME("(%p)->(%p)\n", This, p);
1160  return E_NOTIMPL;
1161 }
1162 
1163 static HRESULT WINAPI HTMLCurrentStyle3_get_minHeight(IHTMLCurrentStyle3 *iface, VARIANT *p)
1164 {
1166  FIXME("(%p)->(%p)\n", This, p);
1167  return E_NOTIMPL;
1168 }
1169 
1170 static HRESULT WINAPI HTMLCurrentStyle3_get_wordSpacing(IHTMLCurrentStyle3 *iface, VARIANT *p)
1171 {
1173  FIXME("(%p)->(%p)\n", This, p);
1174  return E_NOTIMPL;
1175 }
1176 
1177 static HRESULT WINAPI HTMLCurrentStyle3_get_whiteSpace(IHTMLCurrentStyle3 *iface, BSTR *p)
1178 {
1180 
1181  TRACE("(%p)->(%p)\n", This, p);
1182 
1183  return get_nsstyle_attr(This->nsstyle, STYLEID_WHITE_SPACE, p, 0);
1184 }
1185 
1186 static const IHTMLCurrentStyle3Vtbl HTMLCurrentStyle3Vtbl = {
1198 };
1199 
1200 /* IHTMLCurrentStyle4 */
1201 static HRESULT WINAPI HTMLCurrentStyle4_QueryInterface(IHTMLCurrentStyle4 *iface, REFIID riid, void **ppv)
1202 {
1204 
1205  return IHTMLCurrentStyle_QueryInterface(&This->IHTMLCurrentStyle_iface, riid, ppv);
1206 }
1207 
1208 static ULONG WINAPI HTMLCurrentStyle4_AddRef(IHTMLCurrentStyle4 *iface)
1209 {
1211 
1212  return IHTMLCurrentStyle_AddRef(&This->IHTMLCurrentStyle_iface);
1213 }
1214 
1215 static ULONG WINAPI HTMLCurrentStyle4_Release(IHTMLCurrentStyle4 *iface)
1216 {
1218  return IHTMLCurrentStyle_Release(&This->IHTMLCurrentStyle_iface);
1219 }
1220 
1221 static HRESULT WINAPI HTMLCurrentStyle4_GetTypeInfoCount(IHTMLCurrentStyle4 *iface, UINT *pctinfo)
1222 {
1224  return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
1225 }
1226 
1227 static HRESULT WINAPI HTMLCurrentStyle4_GetTypeInfo(IHTMLCurrentStyle4 *iface, UINT iTInfo,
1228  LCID lcid, ITypeInfo **ppTInfo)
1229 {
1231  return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
1232 }
1233 
1234 static HRESULT WINAPI HTMLCurrentStyle4_GetIDsOfNames(IHTMLCurrentStyle4 *iface, REFIID riid,
1235  LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
1236 {
1238  return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
1239  lcid, rgDispId);
1240 }
1241 
1242 static HRESULT WINAPI HTMLCurrentStyle4_Invoke(IHTMLCurrentStyle4 *iface, DISPID dispIdMember,
1243  REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
1244  VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
1245 {
1247  return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
1248  wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
1249 }
1250 
1251 static HRESULT WINAPI HTMLCurrentStyle4_msInterpolationMode(IHTMLCurrentStyle4 *iface, BSTR *p)
1252 {
1254  FIXME("(%p)->(%p)\n", This, p);
1255  return E_NOTIMPL;
1256 }
1257 
1258 static HRESULT WINAPI HTMLCurrentStyle4_get_maxHeight(IHTMLCurrentStyle4 *iface, VARIANT *p)
1259 {
1261  FIXME("(%p)->(%p)\n", This, p);
1262  return E_NOTIMPL;
1263 }
1264 
1265 static HRESULT WINAPI HTMLCurrentStyle4_get_minWidth(IHTMLCurrentStyle4 *iface, VARIANT *p)
1266 {
1268  FIXME("(%p)->(%p)\n", This, p);
1269  return E_NOTIMPL;
1270 }
1271 
1272 static HRESULT WINAPI HTMLCurrentStyle4_get_maxWidth(IHTMLCurrentStyle4 *iface, VARIANT *p)
1273 {
1275  FIXME("(%p)->(%p)\n", This, p);
1276  return E_NOTIMPL;
1277 }
1278 
1279 static const IHTMLCurrentStyle4Vtbl HTMLCurrentStyle4Vtbl = {
1291 };
1292 
1294  IHTMLCurrentStyle_tid,
1295  IHTMLCurrentStyle2_tid,
1296  IHTMLCurrentStyle3_tid,
1297  IHTMLCurrentStyle4_tid,
1298  0
1299 };
1301  NULL,
1302  DispHTMLCurrentStyle_tid,
1303  NULL,
1305 };
1306 
1308 {
1309  nsIDOMCSSStyleDeclaration *nsstyle;
1310  nsIDOMWindow *nsview;
1311  nsAString nsempty_str;
1313  nsresult nsres;
1314 
1315  if(!elem->node.doc->nsdoc) {
1316  WARN("NULL nsdoc\n");
1317  return E_UNEXPECTED;
1318  }
1319 
1320  nsres = nsIDOMHTMLDocument_GetDefaultView(elem->node.doc->nsdoc, &nsview);
1321  if(NS_FAILED(nsres)) {
1322  ERR("GetDefaultView failed: %08x\n", nsres);
1323  return E_FAIL;
1324  }
1325 
1326  nsAString_Init(&nsempty_str, NULL);
1327  nsres = nsIDOMWindow_GetComputedStyle(nsview, (nsIDOMElement*)elem->nselem, &nsempty_str, &nsstyle);
1328  nsAString_Finish(&nsempty_str);
1329  nsIDOMWindow_Release(nsview);
1330  if(NS_FAILED(nsres)) {
1331  ERR("GetComputedStyle failed: %08x\n", nsres);
1332  return E_FAIL;
1333  }
1334 
1335  if(!nsstyle) {
1336  ERR("GetComputedStyle returned NULL nsstyle\n");
1337  return E_FAIL;
1338  }
1339 
1340  ret = heap_alloc_zero(sizeof(HTMLCurrentStyle));
1341  if(!ret) {
1342  nsIDOMCSSStyleDeclaration_Release(nsstyle);
1343  return E_OUTOFMEMORY;
1344  }
1345 
1346  ret->IHTMLCurrentStyle_iface.lpVtbl = &HTMLCurrentStyleVtbl;
1347  ret->IHTMLCurrentStyle2_iface.lpVtbl = &HTMLCurrentStyle2Vtbl;
1348  ret->IHTMLCurrentStyle3_iface.lpVtbl = &HTMLCurrentStyle3Vtbl;
1349  ret->IHTMLCurrentStyle4_iface.lpVtbl = &HTMLCurrentStyle4Vtbl;
1350  ret->ref = 1;
1351  ret->nsstyle = nsstyle;
1352 
1353  init_dispex(&ret->dispex, (IUnknown*)&ret->IHTMLCurrentStyle_iface, &HTMLCurrentStyle_dispex);
1354 
1355  IHTMLElement_AddRef(&elem->IHTMLElement_iface);
1356  ret->elem = elem;
1357 
1358  *p = &ret->IHTMLCurrentStyle_iface;
1359  return S_OK;
1360 }
static HRESULT WINAPI HTMLCurrentStyle_get_borderBottomColor(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:256
static HRESULT WINAPI HTMLCurrentStyle_get_borderLeftWidth(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:312
static HRESULT WINAPI HTMLCurrentStyle_get_tableLayout(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:561
static ULONG WINAPI HTMLCurrentStyle2_Release(IHTMLCurrentStyle2 *iface)
Definition: htmlcurstyle.c:902
static HRESULT WINAPI HTMLCurrentStyle3_GetIDsOfNames(IHTMLCurrentStyle3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLCurrentStyle4_GetIDsOfNames(IHTMLCurrentStyle4 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridLine(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:702
static HRESULT WINAPI HTMLCurrentStyle_get_pageBreakAfter(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:547
static HRESULT WINAPI HTMLCurrentStyle_get_borderRightColor(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:249
static HRESULT WINAPI HTMLCurrentStyle_get_direction(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:575
static HRESULT WINAPI HTMLCurrentStyle_get_lineBreak(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:653
static HRESULT WINAPI HTMLCurrentStyle_get_height(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:340
static HRESULT WINAPI HTMLCurrentStyle4_Invoke(IHTMLCurrentStyle4 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
#define REFIID
Definition: guiddef.h:118
static HRESULT WINAPI HTMLCurrentStyle2_get_layoutFlow(IHTMLCurrentStyle2 *iface, BSTR *p)
Definition: htmlcurstyle.c:938
static HRESULT WINAPI HTMLCurrentStyle_get_borderTopStyle(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:263
#define E_NOINTERFACE
Definition: winerror.h:2364
static HRESULT WINAPI HTMLCurrentStyle_get_behavior(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:582
static HRESULT WINAPI HTMLCurrentStyle2_get_zoom(IHTMLCurrentStyle2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLCurrentStyle3_Invoke(IHTMLCurrentStyle3 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static const IHTMLCurrentStyle3Vtbl HTMLCurrentStyle3Vtbl
static HRESULT WINAPI HTMLCurrentStyle_get_paddingBottom(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:368
static HRESULT WINAPI HTMLCurrentStyle3_get_textOverflow(IHTMLCurrentStyle3 *iface, BSTR *p)
static HRESULT WINAPI HTMLCurrentStyle_get_left(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:319
static HRESULT WINAPI HTMLCurrentStyle_get_overflowX(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:765
static HTMLCurrentStyle * impl_from_IHTMLCurrentStyle4(IHTMLCurrentStyle4 *iface)
Definition: htmlcurstyle.c:49
static HRESULT WINAPI HTMLCurrentStyle_get_margin(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:751
static HRESULT WINAPI HTMLCurrentStyle_get_backgroundImage(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:207
static HRESULT WINAPI HTMLCurrentStyle_get_textDecoration(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:382
static HRESULT WINAPI HTMLCurrentStyle_get_bottom(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:611
static HRESULT WINAPI HTMLCurrentStyle2_GetIDsOfNames(IHTMLCurrentStyle2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmlcurstyle.c:921
REFIID riid
Definition: precomp.h:44
static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfoCount(IHTMLCurrentStyle *iface, UINT *pctinfo)
Definition: htmlcurstyle.c:110
static HRESULT WINAPI HTMLCurrentStyle_get_visibility(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:398
static HRESULT WINAPI HTMLCurrentStyle_get_borderWidth(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:737
tid_t
Definition: ieframe.h:311
static HRESULT WINAPI HTMLCurrentStyle_get_position(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:140
#define WARN(fmt,...)
Definition: debug.h:111
static HRESULT WINAPI HTMLCurrentStyle_get_borderBottomWidth(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:305
static HRESULT WINAPI HTMLCurrentStyle_get_paddingTop(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:354
static HRESULT WINAPI HTMLCurrentStyle_get_borderCollapse(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:568
static HRESULT WINAPI HTMLCurrentStyle_get_imeMode(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:618
REFIID LPVOID * ppv
Definition: atlbase.h:39
static HRESULT WINAPI HTMLCurrentStyle_get_listStyleType(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:484
#define ATTR_STR_TO_INT
Definition: htmlstyle.h:141
static ULONG WINAPI HTMLCurrentStyle3_Release(IHTMLCurrentStyle3 *iface)
static HRESULT WINAPI HTMLCurrentStyle3_QueryInterface(IHTMLCurrentStyle3 *iface, REFIID riid, void **ppv)
DWORD LCID
Definition: nls.h:13
OLECHAR * BSTR
Definition: compat.h:1934
static HRESULT WINAPI HTMLCurrentStyle_get_backgroundAttachment(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:442
static HRESULT WINAPI HTMLCurrentStyle_GetIDsOfNames(IHTMLCurrentStyle *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmlcurstyle.c:123
static ULONG WINAPI HTMLCurrentStyle3_AddRef(IHTMLCurrentStyle3 *iface)
IHTMLCurrentStyle4 IHTMLCurrentStyle4_iface
Definition: htmlcurstyle.c:26
static LPOLESTR
Definition: stg_prop.c:27
#define E_FAIL
Definition: ddrawi.h:102
short VARIANT_BOOL
Definition: compat.h:1931
static HRESULT WINAPI HTMLCurrentStyle_get_borderRightStyle(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:270
Definition: send.c:47
static HRESULT WINAPI HTMLCurrentStyle4_get_minWidth(IHTMLCurrentStyle4 *iface, VARIANT *p)
static HRESULT WINAPI HTMLCurrentStyle_QueryInterface(IHTMLCurrentStyle *iface, REFIID riid, void **ppv)
Definition: htmlcurstyle.c:54
static HRESULT WINAPI HTMLCurrentStyle_get_zIndex(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:407
static HRESULT WINAPI HTMLCurrentStyle_get_unicodeBidi(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:597
static HRESULT WINAPI HTMLCurrentStyle_get_overflowY(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:772
static HRESULT WINAPI HTMLCurrentStyle_get_overflow(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:533
HRESULT get_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, BSTR *p, DWORD flags)
Definition: htmlstyle.c:529
static HRESULT WINAPI HTMLCurrentStyle_get_textAlign(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:375
static HRESULT WINAPI HTMLCurrentStyle2_QueryInterface(IHTMLCurrentStyle2 *iface, REFIID riid, void **ppv)
Definition: htmlcurstyle.c:888
static HRESULT WINAPI HTMLCurrentStyle_get_borderLeftStyle(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:284
static HRESULT WINAPI HTMLCurrentStyle2_Invoke(IHTMLCurrentStyle2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmlcurstyle.c:929
static HRESULT WINAPI HTMLCurrentStyle_get_right(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:604
const char * debugstr_mshtml_guid(const GUID *iid)
Definition: main.c:535
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags)
Definition: htmlstyle.c:547
static HRESULT WINAPI HTMLCurrentStyle_get_backgroundColor(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:163
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static HRESULT WINAPI HTMLCurrentStyle_get_textJustifyTrim(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:674
static HRESULT WINAPI HTMLCurrentStyle_get_letterSpacing(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:414
static HRESULT WINAPI HTMLCurrentStyle_get_listStyleImage(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:498
static HRESULT WINAPI HTMLCurrentStyle2_get_writingMode(IHTMLCurrentStyle2 *iface, BSTR *p)
long LONG
Definition: pedump.c:60
static HRESULT WINAPI HTMLCurrentStyle_get_accelerator(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:758
nsIDOMCSSStyleDeclaration * nsstyle
Definition: htmlcurstyle.c:30
#define debugstr_w
Definition: kernel32.h:32
static size_t elem
Definition: string.c:68
static ULONG WINAPI HTMLCurrentStyle2_AddRef(IHTMLCurrentStyle2 *iface)
Definition: htmlcurstyle.c:895
GLenum GLint ref
Definition: glext.h:6028
#define FIXME(fmt,...)
Definition: debug.h:110
static const IHTMLCurrentStyle2Vtbl HTMLCurrentStyle2Vtbl
static HRESULT WINAPI HTMLCurrentStyle4_msInterpolationMode(IHTMLCurrentStyle4 *iface, BSTR *p)
static HRESULT WINAPI HTMLCurrentStyle_get_verticalAlign(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:435
static HRESULT WINAPI HTMLCurrentStyle_get_backgroundPositionX(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:214
static HRESULT WINAPI HTMLCurrentStyle2_get_filter(IHTMLCurrentStyle2 *iface, BSTR *p)
static HTMLCurrentStyle * impl_from_IHTMLCurrentStyle3(IHTMLCurrentStyle3 *iface)
Definition: htmlcurstyle.c:44
static HRESULT WINAPI HTMLCurrentStyle2_get_scrollbarArrowColor(IHTMLCurrentStyle2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLCurrentStyle_get_rubyOverhang(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:639
static HRESULT WINAPI HTMLCurrentStyle_get_marginLeft(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:470
smooth NULL
Definition: ftsmooth.c:416
static HRESULT WINAPI HTMLCurrentStyle2_get_textUnderlinePosition(IHTMLCurrentStyle2 *iface, BSTR *p)
Definition: htmlcurstyle.c:952
static HRESULT WINAPI HTMLCurrentStyle_get_marginRight(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:456
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
static HRESULT WINAPI HTMLCurrentStyle3_GetTypeInfoCount(IHTMLCurrentStyle3 *iface, UINT *pctinfo)
static ULONG WINAPI HTMLCurrentStyle4_Release(IHTMLCurrentStyle4 *iface)
static HRESULT WINAPI HTMLCurrentStyle_get_backgroundPositionY(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:221
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
static HRESULT WINAPI HTMLCurrentStyle_get_fontStyle(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:179
#define NS_FAILED(res)
static HRESULT WINAPI HTMLCurrentStyle2_get_textKashidaSpace(IHTMLCurrentStyle2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLCurrentStyle_get_borderStyle(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:723
static HRESULT WINAPI HTMLCurrentStyle_get_styleFloat(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:149
static HRESULT WINAPI HTMLCurrentStyle2_get_scrollbarShadowColor(IHTMLCurrentStyle2 *iface, VARIANT *p)
Definition: htmlcurstyle.c:990
static HRESULT WINAPI HTMLCurrentStyle_get_clipBottom(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:519
static HTMLCurrentStyle * impl_from_IHTMLCurrentStyle(IHTMLCurrentStyle *iface)
Definition: htmlcurstyle.c:34
#define TRACE(s)
Definition: solgame.cpp:4
static HRESULT WINAPI HTMLCurrentStyle4_QueryInterface(IHTMLCurrentStyle4 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLCurrentStyle2_get_hasLayout(IHTMLCurrentStyle2 *iface, VARIANT_BOOL *p)
Definition: htmlcurstyle.c:959
static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfo(IHTMLCurrentStyle *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmlcurstyle.c:116
static HRESULT WINAPI HTMLCurrentStyle_get_paddingRight(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:361
static HTMLCurrentStyle * impl_from_IHTMLCurrentStyle2(IHTMLCurrentStyle2 *iface)
Definition: htmlcurstyle.c:39
static HRESULT WINAPI HTMLCurrentStyle_get_blockDirection(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:688
static HRESULT WINAPI HTMLCurrentStyle3_get_whiteSpace(IHTMLCurrentStyle3 *iface, BSTR *p)
static const tid_t HTMLCurrentStyle_iface_tids[]
static HRESULT WINAPI HTMLCurrentStyle_get_display(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:389
LONG HRESULT
Definition: typedefs.h:77
static HRESULT WINAPI HTMLCurrentStyle_get_rubyPosition(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:632
const GUID IID_IUnknown
#define WINAPI
Definition: msvc.h:8
static HRESULT WINAPI HTMLCurrentStyle2_GetTypeInfo(IHTMLCurrentStyle2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmlcurstyle.c:914
static HRESULT WINAPI HTMLCurrentStyle_get_borderTopWidth(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:291
unsigned short WORD
Definition: ntddk_ex.h:93
static HRESULT WINAPI HTMLCurrentStyle_get_wordBreak(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:660
static HRESULT WINAPI HTMLCurrentStyle_get_backgroundRepeat(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:228
static HRESULT WINAPI HTMLCurrentStyle2_get_scrollbarTrackColor(IHTMLCurrentStyle2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLCurrentStyle2_GetTypeInfoCount(IHTMLCurrentStyle2 *iface, UINT *pctinfo)
Definition: htmlcurstyle.c:908
HTMLElement * elem
Definition: htmlcurstyle.c:31
static HRESULT WINAPI HTMLCurrentStyle_get_borderTopColor(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:242
static HRESULT WINAPI HTMLCurrentStyle_get_marginTop(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:449
static dispex_static_data_t HTMLCurrentStyle_dispex
static HRESULT WINAPI HTMLCurrentStyle_get_textKashida(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:681
int ret
static HRESULT WINAPI HTMLCurrentStyle_get_clipRight(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:512
static ULONG WINAPI HTMLCurrentStyle_Release(IHTMLCurrentStyle *iface)
Definition: htmlcurstyle.c:92
static HRESULT WINAPI HTMLCurrentStyle_get_fontSize(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:200
#define InterlockedDecrement
Definition: armddk.h:52
DispatchEx dispex
Definition: htmlcurstyle.c:22
static HRESULT WINAPI HTMLCurrentStyle_get_borderColor(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:730
static HRESULT WINAPI HTMLCurrentStyle_get_width(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:333
static HRESULT WINAPI HTMLCurrentStyle3_GetTypeInfo(IHTMLCurrentStyle3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLCurrentStyle_get_textAutospace(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:646
static HRESULT WINAPI HTMLCurrentStyle3_get_wordSpacing(IHTMLCurrentStyle3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLCurrentStyle2_get_scrollbar3dLightColor(IHTMLCurrentStyle2 *iface, VARIANT *p)
Definition: htmlcurstyle.c:983
static const IHTMLCurrentStyleVtbl HTMLCurrentStyleVtbl
Definition: htmlcurstyle.c:786
static HRESULT WINAPI HTMLCurrentStyle_get_cursor(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:554
IHTMLCurrentStyle2 IHTMLCurrentStyle2_iface
Definition: htmlcurstyle.c:24
IHTMLCurrentStyle IHTMLCurrentStyle_iface
Definition: htmlcurstyle.c:23
static HRESULT WINAPI HTMLCurrentStyle_get_lineHeight(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:421
HRESULT HTMLCurrentStyle_Create(HTMLElement *elem, IHTMLCurrentStyle **p)
static HRESULT WINAPI HTMLCurrentStyle2_get_scrollbarDarkShadowColor(IHTMLCurrentStyle2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLCurrentStyle_get_marginBottom(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:463
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519
#define ERR(fmt,...)
Definition: debug.h:109
static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridMode(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:709
static HRESULT WINAPI HTMLCurrentStyle_Invoke(IHTMLCurrentStyle *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmlcurstyle.c:131
struct stdole::EXCEPINFO EXCEPINFO
static VARIANTARG static DISPID
Definition: ordinal.c:49
#define S_OK
Definition: intsafe.h:59
static HRESULT WINAPI HTMLCurrentStyle_get_top(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:326
#define InterlockedIncrement
Definition: armddk.h:53
static HRESULT WINAPI HTMLCurrentStyle2_get_scrollbarFaceColor(IHTMLCurrentStyle2 *iface, VARIANT *p)
Definition: htmlcurstyle.c:976
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
Definition: dispex.c:1656
static const IHTMLCurrentStyle4Vtbl HTMLCurrentStyle4Vtbl
IHTMLCurrentStyle3 IHTMLCurrentStyle3_iface
Definition: htmlcurstyle.c:25
static HRESULT WINAPI HTMLCurrentStyle_get_borderBottomStyle(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:277
static HRESULT WINAPI HTMLCurrentStyle2_get_isBlock(IHTMLCurrentStyle2 *iface, VARIANT_BOOL *p)
#define E_NOTIMPL
Definition: ddrawi.h:99
static HRESULT WINAPI HTMLCurrentStyle_get_fontFamily(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:170
static HRESULT WINAPI HTMLCurrentStyle_get_color(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:156
static HRESULT WINAPI HTMLCurrentStyle4_get_maxHeight(IHTMLCurrentStyle4 *iface, VARIANT *p)
static HRESULT WINAPI HTMLCurrentStyle_get_textTransform(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:779
unsigned int UINT
Definition: ndis.h:50
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
static HRESULT WINAPI HTMLCurrentStyle_get_fontWeight(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:193
static HRESULT WINAPI HTMLCurrentStyle4_GetTypeInfo(IHTMLCurrentStyle4 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLCurrentStyle2_get_scrollbarHighlightColor(IHTMLCurrentStyle2 *iface, VARIANT *p)
Definition: htmlcurstyle.c:997
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
Definition: dispex.c:940
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
static HRESULT WINAPI HTMLCurrentStyle_get_clipLeft(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:526
static HRESULT WINAPI HTMLCurrentStyle_get_borderLeftColor(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:235
#define E_UNEXPECTED
Definition: winerror.h:2456
static HRESULT WINAPI HTMLCurrentStyle2_get_scrollbarBaseColor(IHTMLCurrentStyle2 *iface, VARIANT *p)
Definition: htmlcurstyle.c:969
static ULONG WINAPI HTMLCurrentStyle4_AddRef(IHTMLCurrentStyle4 *iface)
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
static ULONG WINAPI HTMLCurrentStyle_AddRef(IHTMLCurrentStyle *iface)
Definition: htmlcurstyle.c:82
struct stdole::DISPPARAMS DISPPARAMS
static HRESULT WINAPI HTMLCurrentStyle3_get_minHeight(IHTMLCurrentStyle3 *iface, VARIANT *p)
HRESULT nsresult
Definition: nsiface.idl:39
unsigned int ULONG
Definition: retypes.h:1
static HRESULT WINAPI HTMLCurrentStyle_get_pageBreakBefore(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:540
static HRESULT WINAPI HTMLCurrentStyle_get_clipTop(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:505
static HRESULT WINAPI HTMLCurrentStyle_get_clear(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:477
static HRESULT WINAPI HTMLCurrentStyle_get_textJustify(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:667
static HRESULT WINAPI HTMLCurrentStyle4_GetTypeInfoCount(IHTMLCurrentStyle4 *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLCurrentStyle_get_padding(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:744
static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridType(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:716
static HRESULT WINAPI HTMLCurrentStyle_get_paddingLeft(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:347
GLfloat GLfloat p
Definition: glext.h:8902
static HRESULT WINAPI HTMLCurrentStyle_get_borderRightWidth(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:298
static HRESULT WINAPI HTMLCurrentStyle2_get_wordWrap(IHTMLCurrentStyle2 *iface, BSTR *p)
Definition: htmlcurstyle.c:945
static HRESULT WINAPI HTMLCurrentStyle4_get_maxWidth(IHTMLCurrentStyle4 *iface, VARIANT *p)
static HRESULT WINAPI HTMLCurrentStyle_get_fontVariant(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:186
void release_dispex(DispatchEx *This)
Definition: dispex.c:1706
static HRESULT WINAPI HTMLCurrentStyle_get_layoutGridChar(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:695
static HRESULT WINAPI HTMLCurrentStyle_getAttribute(IHTMLCurrentStyle *iface, BSTR strAttributeName, LONG lFlags, VARIANT *AttributeValue)
Definition: htmlcurstyle.c:589
static HRESULT WINAPI HTMLCurrentStyle_get_textIndent(IHTMLCurrentStyle *iface, VARIANT *p)
Definition: htmlcurstyle.c:428
static HRESULT WINAPI HTMLCurrentStyle_get_rubyAlign(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:625
static BOOL heap_free(void *mem)
Definition: appwiz.h:75
static HRESULT WINAPI HTMLCurrentStyle_get_listStylePosition(IHTMLCurrentStyle *iface, BSTR *p)
Definition: htmlcurstyle.c:491
static HRESULT WINAPI HTMLCurrentStyle2_get_textAlignLast(IHTMLCurrentStyle2 *iface, BSTR *p)