ReactOS  0.4.14-dev-1256-g2125fec
htmlstyle2.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 
21 static inline HTMLStyle *impl_from_IHTMLStyle2(IHTMLStyle2 *iface)
22 {
23  return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle2_iface);
24 }
25 
26 static HRESULT WINAPI HTMLStyle2_QueryInterface(IHTMLStyle2 *iface, REFIID riid, void **ppv)
27 {
29 
30  return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
31 }
32 
33 static ULONG WINAPI HTMLStyle2_AddRef(IHTMLStyle2 *iface)
34 {
36 
37  return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
38 }
39 
40 static ULONG WINAPI HTMLStyle2_Release(IHTMLStyle2 *iface)
41 {
43 
44  return IHTMLStyle_Release(&This->IHTMLStyle_iface);
45 }
46 
47 static HRESULT WINAPI HTMLStyle2_GetTypeInfoCount(IHTMLStyle2 *iface, UINT *pctinfo)
48 {
50  return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
51 }
52 
53 static HRESULT WINAPI HTMLStyle2_GetTypeInfo(IHTMLStyle2 *iface, UINT iTInfo,
54  LCID lcid, ITypeInfo **ppTInfo)
55 {
57  return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
58 }
59 
60 static HRESULT WINAPI HTMLStyle2_GetIDsOfNames(IHTMLStyle2 *iface, REFIID riid,
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 
69 static HRESULT WINAPI HTMLStyle2_Invoke(IHTMLStyle2 *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 
78 static HRESULT WINAPI HTMLStyle2_put_tableLayout(IHTMLStyle2 *iface, BSTR v)
79 {
81 
82  TRACE("(%p)->(%s)\n", This, debugstr_w(v));
83 
84  return set_nsstyle_attr(This->nsstyle, STYLEID_TABLE_LAYOUT, v, 0);
85 }
86 
87 static HRESULT WINAPI HTMLStyle2_get_tableLayout(IHTMLStyle2 *iface, BSTR *p)
88 {
90 
91  TRACE("(%p)->(%p)\n", This, p);
92 
93  return get_nsstyle_attr(This->nsstyle, STYLEID_TABLE_LAYOUT, p, 0);
94 }
95 
96 static HRESULT WINAPI HTMLStyle2_put_borderCollapse(IHTMLStyle2 *iface, BSTR v)
97 {
99  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
100  return E_NOTIMPL;
101 }
102 
103 static HRESULT WINAPI HTMLStyle2_get_borderCollapse(IHTMLStyle2 *iface, BSTR *p)
104 {
106  FIXME("(%p)->(%p)\n", This, p);
107  return E_NOTIMPL;
108 }
109 
110 static HRESULT WINAPI HTMLStyle2_put_direction(IHTMLStyle2 *iface, BSTR v)
111 {
113 
114  TRACE("(%p)->(%s)\n", This, debugstr_w(v));
115 
116  return set_nsstyle_attr(This->nsstyle, STYLEID_DIRECTION, v, 0);
117 }
118 
119 static HRESULT WINAPI HTMLStyle2_get_direction(IHTMLStyle2 *iface, BSTR *p)
120 {
122 
123  TRACE("(%p)->(%p)\n", This, p);
124 
125  return get_nsstyle_attr(This->nsstyle, STYLEID_DIRECTION, p, 0);
126 }
127 
128 static HRESULT WINAPI HTMLStyle2_put_behavior(IHTMLStyle2 *iface, BSTR v)
129 {
131  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
132  return E_NOTIMPL;
133 }
134 
135 static HRESULT WINAPI HTMLStyle2_get_behavior(IHTMLStyle2 *iface, BSTR *p)
136 {
138  FIXME("(%p)->(%p)\n", This, p);
139  return E_NOTIMPL;
140 }
141 
142 static HRESULT WINAPI HTMLStyle2_setExpression(IHTMLStyle2 *iface, BSTR propname, BSTR expression, BSTR language)
143 {
145  FIXME("(%p)->(%s %s %s)\n", This, debugstr_w(propname), debugstr_w(expression), debugstr_w(language));
146  return E_NOTIMPL;
147 }
148 
149 static HRESULT WINAPI HTMLStyle2_getExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT *expression)
150 {
152  FIXME("(%p)->(%s %p)\n", This, debugstr_w(propname), expression);
153  return E_NOTIMPL;
154 }
155 
156 static HRESULT WINAPI HTMLStyle2_removeExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT_BOOL *pfSuccess)
157 {
159  FIXME("(%p)->(%s %p)\n", This, debugstr_w(propname), pfSuccess);
160  return E_NOTIMPL;
161 }
162 
163 static HRESULT WINAPI HTMLStyle2_put_position(IHTMLStyle2 *iface, BSTR v)
164 {
166 
167  TRACE("(%p)->(%s)\n", This, debugstr_w(v));
168 
169  return set_nsstyle_attr(This->nsstyle, STYLEID_POSITION, v, 0);
170 }
171 
172 static HRESULT WINAPI HTMLStyle2_get_position(IHTMLStyle2 *iface, BSTR *p)
173 {
175 
176  TRACE("(%p)->(%p)\n", This, p);
177 
178  return get_nsstyle_attr(This->nsstyle, STYLEID_POSITION, p, 0);
179 }
180 
181 static HRESULT WINAPI HTMLStyle2_put_unicodeBidi(IHTMLStyle2 *iface, BSTR v)
182 {
184  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
185  return E_NOTIMPL;
186 }
187 
188 static HRESULT WINAPI HTMLStyle2_get_unicodeBidi(IHTMLStyle2 *iface, BSTR *p)
189 {
191  FIXME("(%p)->(%p)\n", This, p);
192  return E_NOTIMPL;
193 }
194 
195 static HRESULT WINAPI HTMLStyle2_put_bottom(IHTMLStyle2 *iface, VARIANT v)
196 {
198 
199  TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
200 
202 }
203 
204 static HRESULT WINAPI HTMLStyle2_get_bottom(IHTMLStyle2 *iface, VARIANT *p)
205 {
207 
208  TRACE("(%p)->(%p)\n", This, p);
209 
210  return get_nsstyle_attr_var(This->nsstyle, STYLEID_BOTTOM, p, 0);
211 }
212 
213 static HRESULT WINAPI HTMLStyle2_put_right(IHTMLStyle2 *iface, VARIANT v)
214 {
216 
217  TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
218 
219  return set_nsstyle_attr_var(This->nsstyle, STYLEID_RIGHT, &v, 0);
220 }
221 
222 static HRESULT WINAPI HTMLStyle2_get_right(IHTMLStyle2 *iface, VARIANT *p)
223 {
225 
226  TRACE("(%p)->(%p)\n", This, p);
227 
228  return get_nsstyle_attr_var(This->nsstyle, STYLEID_RIGHT, p, 0);
229 }
230 
231 static HRESULT WINAPI HTMLStyle2_put_pixelBottom(IHTMLStyle2 *iface, LONG v)
232 {
234  FIXME("(%p)->(%d)\n", This, v);
235  return E_NOTIMPL;
236 }
237 
238 static HRESULT WINAPI HTMLStyle2_get_pixelBottom(IHTMLStyle2 *iface, LONG *p)
239 {
241  FIXME("(%p)->(%p)\n", This, p);
242  return E_NOTIMPL;
243 }
244 
245 static HRESULT WINAPI HTMLStyle2_put_pixelRight(IHTMLStyle2 *iface, LONG v)
246 {
248  FIXME("(%p)->(%d)\n", This, v);
249  return E_NOTIMPL;
250 }
251 
252 static HRESULT WINAPI HTMLStyle2_get_pixelRight(IHTMLStyle2 *iface, LONG *p)
253 {
255  FIXME("(%p)->(%p)\n", This, p);
256  return E_NOTIMPL;
257 }
258 
259 static HRESULT WINAPI HTMLStyle2_put_posBottom(IHTMLStyle2 *iface, float v)
260 {
262  FIXME("(%p)->(%f)\n", This, v);
263  return E_NOTIMPL;
264 }
265 
266 static HRESULT WINAPI HTMLStyle2_get_posBottom(IHTMLStyle2 *iface, float *p)
267 {
269  FIXME("(%p)->(%p)\n", This, p);
270  return E_NOTIMPL;
271 }
272 
273 static HRESULT WINAPI HTMLStyle2_put_posRight(IHTMLStyle2 *iface, float v)
274 {
276  FIXME("(%p)->(%f)\n", This, v);
277  return E_NOTIMPL;
278 }
279 
280 static HRESULT WINAPI HTMLStyle2_get_posRight(IHTMLStyle2 *iface, float *p)
281 {
283  FIXME("(%p)->(%p)\n", This, p);
284  return E_NOTIMPL;
285 }
286 
287 static HRESULT WINAPI HTMLStyle2_put_imeMode(IHTMLStyle2 *iface, BSTR v)
288 {
290  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
291  return E_NOTIMPL;
292 }
293 
294 static HRESULT WINAPI HTMLStyle2_get_imeMode(IHTMLStyle2 *iface, BSTR *p)
295 {
297  FIXME("(%p)->(%p)\n", This, p);
298  return E_NOTIMPL;
299 }
300 
301 static HRESULT WINAPI HTMLStyle2_put_rubyAlign(IHTMLStyle2 *iface, BSTR v)
302 {
304  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
305  return E_NOTIMPL;
306 }
307 
308 static HRESULT WINAPI HTMLStyle2_get_rubyAlign(IHTMLStyle2 *iface, BSTR *p)
309 {
311  FIXME("(%p)->(%p)\n", This, p);
312  return E_NOTIMPL;
313 }
314 
315 static HRESULT WINAPI HTMLStyle2_put_rubyPosition(IHTMLStyle2 *iface, BSTR v)
316 {
318  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
319  return E_NOTIMPL;
320 }
321 
322 static HRESULT WINAPI HTMLStyle2_get_rubyPosition(IHTMLStyle2 *iface, BSTR *p)
323 {
325  FIXME("(%p)->(%p)\n", This, p);
326  return E_NOTIMPL;
327 }
328 
329 static HRESULT WINAPI HTMLStyle2_put_rubyOverhang(IHTMLStyle2 *iface, BSTR v)
330 {
332  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
333  return E_NOTIMPL;
334 }
335 
336 static HRESULT WINAPI HTMLStyle2_get_rubyOverhang(IHTMLStyle2 *iface, BSTR *p)
337 {
339  FIXME("(%p)->(%p)\n", This, p);
340  return E_NOTIMPL;
341 }
342 
344 {
346  FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
347  return E_NOTIMPL;
348 }
349 
351 {
353  FIXME("(%p)->(%p)\n", This, p);
354  return E_NOTIMPL;
355 }
356 
358 {
360  FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
361  return E_NOTIMPL;
362 }
363 
365 {
367  FIXME("(%p)->(%p)\n", This, p);
368  return E_NOTIMPL;
369 }
370 
371 static HRESULT WINAPI HTMLStyle2_put_layoutGridMode(IHTMLStyle2 *iface, BSTR v)
372 {
374  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
375  return E_NOTIMPL;
376 }
377 
378 static HRESULT WINAPI HTMLStyle2_get_layoutGridMode(IHTMLStyle2 *iface, BSTR *p)
379 {
381  FIXME("(%p)->(%p)\n", This, p);
382  return E_NOTIMPL;
383 }
384 
385 static HRESULT WINAPI HTMLStyle2_put_layoutGridType(IHTMLStyle2 *iface, BSTR v)
386 {
388  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
389  return E_NOTIMPL;
390 }
391 
392 static HRESULT WINAPI HTMLStyle2_get_layoutGridType(IHTMLStyle2 *iface, BSTR *p)
393 {
395  FIXME("(%p)->(%p)\n", This, p);
396  return E_NOTIMPL;
397 }
398 
399 static HRESULT WINAPI HTMLStyle2_put_layoutGrid(IHTMLStyle2 *iface, BSTR v)
400 {
402  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
403  return E_NOTIMPL;
404 }
405 
406 static HRESULT WINAPI HTMLStyle2_get_layoutGrid(IHTMLStyle2 *iface, BSTR *p)
407 {
409  FIXME("(%p)->(%p)\n", This, p);
410  return E_NOTIMPL;
411 }
412 
413 static HRESULT WINAPI HTMLStyle2_put_wordBreak(IHTMLStyle2 *iface, BSTR v)
414 {
416  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
417  return E_NOTIMPL;
418 }
419 
420 static HRESULT WINAPI HTMLStyle2_get_wordBreak(IHTMLStyle2 *iface, BSTR *p)
421 {
423  FIXME("(%p)->(%p)\n", This, p);
424  return E_NOTIMPL;
425 }
426 
427 static HRESULT WINAPI HTMLStyle2_put_lineBreak(IHTMLStyle2 *iface, BSTR v)
428 {
430  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
431  return E_NOTIMPL;
432 }
433 
434 static HRESULT WINAPI HTMLStyle2_get_lineBreak(IHTMLStyle2 *iface, BSTR *p)
435 {
437  FIXME("(%p)->(%p)\n", This, p);
438  return E_NOTIMPL;
439 }
440 
441 static HRESULT WINAPI HTMLStyle2_put_textJustify(IHTMLStyle2 *iface, BSTR v)
442 {
444  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
445  return E_NOTIMPL;
446 }
447 
448 static HRESULT WINAPI HTMLStyle2_get_textJustify(IHTMLStyle2 *iface, BSTR *p)
449 {
451  FIXME("(%p)->(%p)\n", This, p);
452  return E_NOTIMPL;
453 }
454 
456 {
458  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
459  return E_NOTIMPL;
460 }
461 
462 static HRESULT WINAPI HTMLStyle2_get_textJustifyTrim(IHTMLStyle2 *iface, BSTR *p)
463 {
465  FIXME("(%p)->(%p)\n", This, p);
466  return E_NOTIMPL;
467 }
468 
469 static HRESULT WINAPI HTMLStyle2_put_textKashida(IHTMLStyle2 *iface, VARIANT v)
470 {
472  FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
473  return E_NOTIMPL;
474 }
475 
476 static HRESULT WINAPI HTMLStyle2_get_textKashida(IHTMLStyle2 *iface, VARIANT *p)
477 {
479  FIXME("(%p)->(%p)\n", This, p);
480  return E_NOTIMPL;
481 }
482 
483 static HRESULT WINAPI HTMLStyle2_put_textAutospace(IHTMLStyle2 *iface, BSTR v)
484 {
486  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
487  return E_NOTIMPL;
488 }
489 
490 static HRESULT WINAPI HTMLStyle2_get_textAutospace(IHTMLStyle2 *iface, BSTR *p)
491 {
493  FIXME("(%p)->(%p)\n", This, p);
494  return E_NOTIMPL;
495 }
496 
497 static HRESULT WINAPI HTMLStyle2_put_overflowX(IHTMLStyle2 *iface, BSTR v)
498 {
500 
501  TRACE("(%p)->(%s)\n", This, debugstr_w(v));
502 
503  return set_nsstyle_attr(This->nsstyle, STYLEID_OVERFLOW_X, v, 0);
504 }
505 
506 static HRESULT WINAPI HTMLStyle2_get_overflowX(IHTMLStyle2 *iface, BSTR *p)
507 {
509 
510  TRACE("(%p)->(%p)\n", This, p);
511 
512  return get_nsstyle_attr(This->nsstyle, STYLEID_OVERFLOW_X, p, 0);
513 }
514 
515 static HRESULT WINAPI HTMLStyle2_put_overflowY(IHTMLStyle2 *iface, BSTR v)
516 {
518 
519  TRACE("(%p)->(%s)\n", This, debugstr_w(v));
520 
521  return set_nsstyle_attr(This->nsstyle, STYLEID_OVERFLOW_Y, v, 0);
522 }
523 
524 static HRESULT WINAPI HTMLStyle2_get_overflowY(IHTMLStyle2 *iface, BSTR *p)
525 {
527 
528  TRACE("(%p)->(%p)\n", This, p);
529 
530  return get_nsstyle_attr(This->nsstyle, STYLEID_OVERFLOW_Y, p, 0);
531 }
532 
533 static HRESULT WINAPI HTMLStyle2_put_accelerator(IHTMLStyle2 *iface, BSTR v)
534 {
536  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
537  return E_NOTIMPL;
538 }
539 
540 static HRESULT WINAPI HTMLStyle2_get_accelerator(IHTMLStyle2 *iface, BSTR *p)
541 {
543  FIXME("(%p)->(%p)\n", This, p);
544  return E_NOTIMPL;
545 }
546 
547 static const IHTMLStyle2Vtbl HTMLStyle2Vtbl = {
618 };
619 
621 {
622  This->IHTMLStyle2_iface.lpVtbl = &HTMLStyle2Vtbl;
623 }
static HRESULT WINAPI HTMLStyle2_get_lineBreak(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:434
static HRESULT WINAPI HTMLStyle2_get_position(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:172
static HRESULT WINAPI HTMLStyle2_get_layoutGridType(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:392
#define REFIID
Definition: guiddef.h:118
static HRESULT WINAPI HTMLStyle2_get_rubyOverhang(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:336
static HRESULT WINAPI HTMLStyle2_setExpression(IHTMLStyle2 *iface, BSTR propname, BSTR expression, BSTR language)
Definition: htmlstyle2.c:142
static HRESULT WINAPI HTMLStyle2_put_layoutGridMode(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:371
static HRESULT WINAPI HTMLStyle2_get_right(IHTMLStyle2 *iface, VARIANT *p)
Definition: htmlstyle2.c:222
static HRESULT WINAPI HTMLStyle2_put_rubyOverhang(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:329
static HRESULT WINAPI HTMLStyle2_get_wordBreak(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:420
static HRESULT WINAPI HTMLStyle2_put_posRight(IHTMLStyle2 *iface, float v)
Definition: htmlstyle2.c:273
REFIID riid
Definition: precomp.h:44
static HRESULT WINAPI HTMLStyle2_put_layoutGridLine(IHTMLStyle2 *iface, VARIANT v)
Definition: htmlstyle2.c:357
static HRESULT WINAPI HTMLStyle2_put_textKashida(IHTMLStyle2 *iface, VARIANT v)
Definition: htmlstyle2.c:469
static HRESULT WINAPI HTMLStyle2_getExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT *expression)
Definition: htmlstyle2.c:149
static HRESULT WINAPI HTMLStyle2_get_layoutGridLine(IHTMLStyle2 *iface, VARIANT *p)
Definition: htmlstyle2.c:364
static HRESULT WINAPI HTMLStyle2_put_wordBreak(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:413
#define ATTR_FIX_PX
Definition: htmlstyle.h:139
static HRESULT WINAPI HTMLStyle2_get_layoutGrid(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:406
REFIID LPVOID * ppv
Definition: atlbase.h:39
static HRESULT WINAPI HTMLStyle2_QueryInterface(IHTMLStyle2 *iface, REFIID riid, void **ppv)
Definition: htmlstyle2.c:26
DWORD LCID
Definition: nls.h:13
OLECHAR * BSTR
Definition: compat.h:1942
static HTMLStyle * impl_from_IHTMLStyle2(IHTMLStyle2 *iface)
Definition: htmlstyle2.c:21
static HRESULT WINAPI HTMLStyle2_get_overflowY(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:524
HRESULT set_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, const WCHAR *value, DWORD flags)
Definition: htmlstyle.c:382
static LPOLESTR
Definition: stg_prop.c:27
static HRESULT WINAPI HTMLStyle2_put_position(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:163
short VARIANT_BOOL
Definition: compat.h:1939
static HRESULT WINAPI HTMLStyle2_GetTypeInfoCount(IHTMLStyle2 *iface, UINT *pctinfo)
Definition: htmlstyle2.c:47
static ULONG WINAPI HTMLStyle2_AddRef(IHTMLStyle2 *iface)
Definition: htmlstyle2.c:33
HRESULT get_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, BSTR *p, DWORD flags)
Definition: htmlstyle.c:529
static HRESULT WINAPI HTMLStyle2_get_textJustify(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:448
static HRESULT WINAPI HTMLStyle2_get_accelerator(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:540
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags)
Definition: htmlstyle.c:547
static HRESULT WINAPI HTMLStyle2_put_layoutGridChar(IHTMLStyle2 *iface, VARIANT v)
Definition: htmlstyle2.c:343
static HRESULT WINAPI HTMLStyle2_get_posBottom(IHTMLStyle2 *iface, float *p)
Definition: htmlstyle2.c:266
static HRESULT WINAPI HTMLStyle2_get_bottom(IHTMLStyle2 *iface, VARIANT *p)
Definition: htmlstyle2.c:204
long LONG
Definition: pedump.c:60
static HRESULT WINAPI HTMLStyle2_get_pixelRight(IHTMLStyle2 *iface, LONG *p)
Definition: htmlstyle2.c:252
static HRESULT WINAPI HTMLStyle2_get_textKashida(IHTMLStyle2 *iface, VARIANT *p)
Definition: htmlstyle2.c:476
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
static HRESULT WINAPI HTMLStyle2_put_borderCollapse(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:96
static HRESULT WINAPI HTMLStyle2_put_tableLayout(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:78
static HRESULT WINAPI HTMLStyle2_put_posBottom(IHTMLStyle2 *iface, float v)
Definition: htmlstyle2.c:259
static HRESULT WINAPI HTMLStyle2_put_textAutospace(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:483
static HRESULT WINAPI HTMLStyle2_put_bottom(IHTMLStyle2 *iface, VARIANT v)
Definition: htmlstyle2.c:195
static HRESULT WINAPI HTMLStyle2_GetTypeInfo(IHTMLStyle2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmlstyle2.c:53
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 HTMLStyle2_put_accelerator(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:533
static HRESULT WINAPI HTMLStyle2_put_overflowX(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:497
#define TRACE(s)
Definition: solgame.cpp:4
static ULONG WINAPI HTMLStyle2_Release(IHTMLStyle2 *iface)
Definition: htmlstyle2.c:40
static HRESULT WINAPI HTMLStyle2_get_behavior(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:135
static HRESULT WINAPI HTMLStyle2_put_rubyAlign(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:301
static HRESULT WINAPI HTMLStyle2_get_unicodeBidi(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:188
static HRESULT WINAPI HTMLStyle2_GetIDsOfNames(IHTMLStyle2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmlstyle2.c:60
static HRESULT WINAPI HTMLStyle2_put_pixelBottom(IHTMLStyle2 *iface, LONG v)
Definition: htmlstyle2.c:231
LONG HRESULT
Definition: typedefs.h:78
static HRESULT WINAPI HTMLStyle2_put_layoutGridType(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:385
static HRESULT WINAPI HTMLStyle2_put_pixelRight(IHTMLStyle2 *iface, LONG v)
Definition: htmlstyle2.c:245
#define WINAPI
Definition: msvc.h:6
static HRESULT WINAPI HTMLStyle2_put_lineBreak(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:427
unsigned short WORD
Definition: ntddk_ex.h:93
static HRESULT WINAPI HTMLStyle2_put_textJustify(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:441
static HRESULT WINAPI HTMLStyle2_get_layoutGridChar(IHTMLStyle2 *iface, VARIANT *p)
Definition: htmlstyle2.c:350
static HRESULT WINAPI HTMLStyle2_get_rubyPosition(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:322
void HTMLStyle2_Init(HTMLStyle *This)
Definition: htmlstyle2.c:620
static HRESULT WINAPI HTMLStyle2_put_rubyPosition(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:315
static HRESULT WINAPI HTMLStyle2_put_layoutGrid(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:399
static HRESULT WINAPI HTMLStyle2_put_imeMode(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:287
static HRESULT WINAPI HTMLStyle2_get_textJustifyTrim(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:462
static HRESULT WINAPI HTMLStyle2_get_borderCollapse(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:103
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:534
static HRESULT WINAPI HTMLStyle2_get_tableLayout(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:87
static HRESULT WINAPI HTMLStyle2_Invoke(IHTMLStyle2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmlstyle2.c:69
static HRESULT WINAPI HTMLStyle2_get_textAutospace(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:490
static HRESULT WINAPI HTMLStyle2_put_unicodeBidi(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:181
struct stdole::EXCEPINFO EXCEPINFO
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
static VARIANTARG static DISPID
Definition: ordinal.c:49
static HRESULT WINAPI HTMLStyle2_get_posRight(IHTMLStyle2 *iface, float *p)
Definition: htmlstyle2.c:280
const GLdouble * v
Definition: gl.h:2040
static HRESULT WINAPI HTMLStyle2_put_behavior(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:128
#define E_NOTIMPL
Definition: ddrawi.h:99
unsigned int UINT
Definition: ndis.h:50
static const IHTMLStyle2Vtbl HTMLStyle2Vtbl
Definition: htmlstyle2.c:547
static HRESULT WINAPI HTMLStyle2_get_layoutGridMode(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:378
static HRESULT WINAPI HTMLStyle2_get_rubyAlign(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:308
static HRESULT WINAPI HTMLStyle2_put_textJustifyTrim(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:455
static HRESULT WINAPI HTMLStyle2_put_overflowY(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:515
struct stdole::DISPPARAMS DISPPARAMS
static HRESULT WINAPI HTMLStyle2_get_direction(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:119
unsigned int ULONG
Definition: retypes.h:1
static HRESULT WINAPI HTMLStyle2_get_pixelBottom(IHTMLStyle2 *iface, LONG *p)
Definition: htmlstyle2.c:238
static HRESULT WINAPI HTMLStyle2_removeExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT_BOOL *pfSuccess)
Definition: htmlstyle2.c:156
GLfloat GLfloat p
Definition: glext.h:8902
static HRESULT WINAPI HTMLStyle2_get_imeMode(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:294
HRESULT set_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *value, DWORD flags)
Definition: htmlstyle.c:447
static HRESULT WINAPI HTMLStyle2_put_right(IHTMLStyle2 *iface, VARIANT v)
Definition: htmlstyle2.c:213
static HRESULT WINAPI HTMLStyle2_get_overflowX(IHTMLStyle2 *iface, BSTR *p)
Definition: htmlstyle2.c:506
static HRESULT WINAPI HTMLStyle2_put_direction(IHTMLStyle2 *iface, BSTR v)
Definition: htmlstyle2.c:110