oleaut32: Use WdtpInterfacePointer_* functions in VARIANT marshalling.
[wine.git] / dlls / mshtml / htmlstyle2.c
blob15f941f4a2d7251ffebd44850708c6c6b1340a25
1 /*
2 * Copyright 2008 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include <stdarg.h>
21 #define COBJMACROS
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winuser.h"
26 #include "ole2.h"
28 #include "mshtml_private.h"
29 #include "htmlstyle.h"
31 #include "wine/debug.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
35 static inline HTMLStyle *impl_from_IHTMLStyle2(IHTMLStyle2 *iface)
37 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle2_iface);
40 static HRESULT WINAPI HTMLStyle2_QueryInterface(IHTMLStyle2 *iface, REFIID riid, void **ppv)
42 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
44 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
47 static ULONG WINAPI HTMLStyle2_AddRef(IHTMLStyle2 *iface)
49 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
51 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
54 static ULONG WINAPI HTMLStyle2_Release(IHTMLStyle2 *iface)
56 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
58 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
61 static HRESULT WINAPI HTMLStyle2_GetTypeInfoCount(IHTMLStyle2 *iface, UINT *pctinfo)
63 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
64 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
67 static HRESULT WINAPI HTMLStyle2_GetTypeInfo(IHTMLStyle2 *iface, UINT iTInfo,
68 LCID lcid, ITypeInfo **ppTInfo)
70 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
71 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
74 static HRESULT WINAPI HTMLStyle2_GetIDsOfNames(IHTMLStyle2 *iface, REFIID riid,
75 LPOLESTR *rgszNames, UINT cNames,
76 LCID lcid, DISPID *rgDispId)
78 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
79 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
80 lcid, rgDispId);
83 static HRESULT WINAPI HTMLStyle2_Invoke(IHTMLStyle2 *iface, DISPID dispIdMember,
84 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
85 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
87 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
88 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
89 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
92 static HRESULT WINAPI HTMLStyle2_put_tableLayout(IHTMLStyle2 *iface, BSTR v)
94 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
96 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
98 return set_nsstyle_attr(This->nsstyle, STYLEID_TABLE_LAYOUT, v, 0);
101 static HRESULT WINAPI HTMLStyle2_get_tableLayout(IHTMLStyle2 *iface, BSTR *p)
103 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
105 TRACE("(%p)->(%p)\n", This, p);
107 return get_nsstyle_attr(This->nsstyle, STYLEID_TABLE_LAYOUT, p, 0);
110 static HRESULT WINAPI HTMLStyle2_put_borderCollapse(IHTMLStyle2 *iface, BSTR v)
112 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
113 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
114 return E_NOTIMPL;
117 static HRESULT WINAPI HTMLStyle2_get_borderCollapse(IHTMLStyle2 *iface, BSTR *p)
119 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
120 FIXME("(%p)->(%p)\n", This, p);
121 return E_NOTIMPL;
124 static HRESULT WINAPI HTMLStyle2_put_direction(IHTMLStyle2 *iface, BSTR v)
126 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
128 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
130 return set_nsstyle_attr(This->nsstyle, STYLEID_DIRECTION, v, 0);
133 static HRESULT WINAPI HTMLStyle2_get_direction(IHTMLStyle2 *iface, BSTR *p)
135 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
137 TRACE("(%p)->(%p)\n", This, p);
139 return get_nsstyle_attr(This->nsstyle, STYLEID_DIRECTION, p, 0);
142 static HRESULT WINAPI HTMLStyle2_put_behavior(IHTMLStyle2 *iface, BSTR v)
144 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
145 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
146 return E_NOTIMPL;
149 static HRESULT WINAPI HTMLStyle2_get_behavior(IHTMLStyle2 *iface, BSTR *p)
151 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
152 FIXME("(%p)->(%p)\n", This, p);
153 return E_NOTIMPL;
156 static HRESULT WINAPI HTMLStyle2_setExpression(IHTMLStyle2 *iface, BSTR propname, BSTR expression, BSTR language)
158 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
159 FIXME("(%p)->(%s %s %s)\n", This, debugstr_w(propname), debugstr_w(expression), debugstr_w(language));
160 return E_NOTIMPL;
163 static HRESULT WINAPI HTMLStyle2_getExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT *expression)
165 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
166 FIXME("(%p)->(%s %p)\n", This, debugstr_w(propname), expression);
167 return E_NOTIMPL;
170 static HRESULT WINAPI HTMLStyle2_removeExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT_BOOL *pfSuccess)
172 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
173 FIXME("(%p)->(%s %p)\n", This, debugstr_w(propname), pfSuccess);
174 return E_NOTIMPL;
177 static HRESULT WINAPI HTMLStyle2_put_position(IHTMLStyle2 *iface, BSTR v)
179 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
181 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
183 return set_nsstyle_attr(This->nsstyle, STYLEID_POSITION, v, 0);
186 static HRESULT WINAPI HTMLStyle2_get_position(IHTMLStyle2 *iface, BSTR *p)
188 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
190 TRACE("(%p)->(%p)\n", This, p);
192 return get_nsstyle_attr(This->nsstyle, STYLEID_POSITION, p, 0);
195 static HRESULT WINAPI HTMLStyle2_put_unicodeBidi(IHTMLStyle2 *iface, BSTR v)
197 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
198 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
199 return E_NOTIMPL;
202 static HRESULT WINAPI HTMLStyle2_get_unicodeBidi(IHTMLStyle2 *iface, BSTR *p)
204 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
205 FIXME("(%p)->(%p)\n", This, p);
206 return E_NOTIMPL;
209 static HRESULT WINAPI HTMLStyle2_put_bottom(IHTMLStyle2 *iface, VARIANT v)
211 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
213 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
215 return set_nsstyle_attr_var(This->nsstyle, STYLEID_BOTTOM, &v, ATTR_FIX_PX);
218 static HRESULT WINAPI HTMLStyle2_get_bottom(IHTMLStyle2 *iface, VARIANT *p)
220 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
222 TRACE("(%p)->(%p)\n", This, p);
224 return get_nsstyle_attr_var(This->nsstyle, STYLEID_BOTTOM, p, 0);
227 static HRESULT WINAPI HTMLStyle2_put_right(IHTMLStyle2 *iface, VARIANT v)
229 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
231 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
233 return set_nsstyle_attr_var(This->nsstyle, STYLEID_RIGHT, &v, 0);
236 static HRESULT WINAPI HTMLStyle2_get_right(IHTMLStyle2 *iface, VARIANT *p)
238 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
240 TRACE("(%p)->(%p)\n", This, p);
242 return get_nsstyle_attr_var(This->nsstyle, STYLEID_RIGHT, p, 0);
245 static HRESULT WINAPI HTMLStyle2_put_pixelBottom(IHTMLStyle2 *iface, LONG v)
247 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
248 FIXME("(%p)->(%d)\n", This, v);
249 return E_NOTIMPL;
252 static HRESULT WINAPI HTMLStyle2_get_pixelBottom(IHTMLStyle2 *iface, LONG *p)
254 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
255 FIXME("(%p)->(%p)\n", This, p);
256 return E_NOTIMPL;
259 static HRESULT WINAPI HTMLStyle2_put_pixelRight(IHTMLStyle2 *iface, LONG v)
261 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
262 FIXME("(%p)->(%d)\n", This, v);
263 return E_NOTIMPL;
266 static HRESULT WINAPI HTMLStyle2_get_pixelRight(IHTMLStyle2 *iface, LONG *p)
268 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
269 FIXME("(%p)->(%p)\n", This, p);
270 return E_NOTIMPL;
273 static HRESULT WINAPI HTMLStyle2_put_posBottom(IHTMLStyle2 *iface, float v)
275 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
276 FIXME("(%p)->(%f)\n", This, v);
277 return E_NOTIMPL;
280 static HRESULT WINAPI HTMLStyle2_get_posBottom(IHTMLStyle2 *iface, float *p)
282 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
283 FIXME("(%p)->(%p)\n", This, p);
284 return E_NOTIMPL;
287 static HRESULT WINAPI HTMLStyle2_put_posRight(IHTMLStyle2 *iface, float v)
289 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
290 FIXME("(%p)->(%f)\n", This, v);
291 return E_NOTIMPL;
294 static HRESULT WINAPI HTMLStyle2_get_posRight(IHTMLStyle2 *iface, float *p)
296 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
297 FIXME("(%p)->(%p)\n", This, p);
298 return E_NOTIMPL;
301 static HRESULT WINAPI HTMLStyle2_put_imeMode(IHTMLStyle2 *iface, BSTR v)
303 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
304 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
305 return E_NOTIMPL;
308 static HRESULT WINAPI HTMLStyle2_get_imeMode(IHTMLStyle2 *iface, BSTR *p)
310 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
311 FIXME("(%p)->(%p)\n", This, p);
312 return E_NOTIMPL;
315 static HRESULT WINAPI HTMLStyle2_put_rubyAlign(IHTMLStyle2 *iface, BSTR v)
317 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
318 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
319 return E_NOTIMPL;
322 static HRESULT WINAPI HTMLStyle2_get_rubyAlign(IHTMLStyle2 *iface, BSTR *p)
324 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
325 FIXME("(%p)->(%p)\n", This, p);
326 return E_NOTIMPL;
329 static HRESULT WINAPI HTMLStyle2_put_rubyPosition(IHTMLStyle2 *iface, BSTR v)
331 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
332 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
333 return E_NOTIMPL;
336 static HRESULT WINAPI HTMLStyle2_get_rubyPosition(IHTMLStyle2 *iface, BSTR *p)
338 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
339 FIXME("(%p)->(%p)\n", This, p);
340 return E_NOTIMPL;
343 static HRESULT WINAPI HTMLStyle2_put_rubyOverhang(IHTMLStyle2 *iface, BSTR v)
345 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
346 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
347 return E_NOTIMPL;
350 static HRESULT WINAPI HTMLStyle2_get_rubyOverhang(IHTMLStyle2 *iface, BSTR *p)
352 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
353 FIXME("(%p)->(%p)\n", This, p);
354 return E_NOTIMPL;
357 static HRESULT WINAPI HTMLStyle2_put_layoutGridChar(IHTMLStyle2 *iface, VARIANT v)
359 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
360 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
361 return E_NOTIMPL;
364 static HRESULT WINAPI HTMLStyle2_get_layoutGridChar(IHTMLStyle2 *iface, VARIANT *p)
366 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
367 FIXME("(%p)->(%p)\n", This, p);
368 return E_NOTIMPL;
371 static HRESULT WINAPI HTMLStyle2_put_layoutGridLine(IHTMLStyle2 *iface, VARIANT v)
373 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
374 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
375 return E_NOTIMPL;
378 static HRESULT WINAPI HTMLStyle2_get_layoutGridLine(IHTMLStyle2 *iface, VARIANT *p)
380 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
381 FIXME("(%p)->(%p)\n", This, p);
382 return E_NOTIMPL;
385 static HRESULT WINAPI HTMLStyle2_put_layoutGridMode(IHTMLStyle2 *iface, BSTR v)
387 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
388 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
389 return E_NOTIMPL;
392 static HRESULT WINAPI HTMLStyle2_get_layoutGridMode(IHTMLStyle2 *iface, BSTR *p)
394 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
395 FIXME("(%p)->(%p)\n", This, p);
396 return E_NOTIMPL;
399 static HRESULT WINAPI HTMLStyle2_put_layoutGridType(IHTMLStyle2 *iface, BSTR v)
401 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
402 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
403 return E_NOTIMPL;
406 static HRESULT WINAPI HTMLStyle2_get_layoutGridType(IHTMLStyle2 *iface, BSTR *p)
408 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
409 FIXME("(%p)->(%p)\n", This, p);
410 return E_NOTIMPL;
413 static HRESULT WINAPI HTMLStyle2_put_layoutGrid(IHTMLStyle2 *iface, BSTR v)
415 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
416 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
417 return E_NOTIMPL;
420 static HRESULT WINAPI HTMLStyle2_get_layoutGrid(IHTMLStyle2 *iface, BSTR *p)
422 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
423 FIXME("(%p)->(%p)\n", This, p);
424 return E_NOTIMPL;
427 static HRESULT WINAPI HTMLStyle2_put_wordBreak(IHTMLStyle2 *iface, BSTR v)
429 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
430 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
431 return E_NOTIMPL;
434 static HRESULT WINAPI HTMLStyle2_get_wordBreak(IHTMLStyle2 *iface, BSTR *p)
436 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
437 FIXME("(%p)->(%p)\n", This, p);
438 return E_NOTIMPL;
441 static HRESULT WINAPI HTMLStyle2_put_lineBreak(IHTMLStyle2 *iface, BSTR v)
443 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
444 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
445 return E_NOTIMPL;
448 static HRESULT WINAPI HTMLStyle2_get_lineBreak(IHTMLStyle2 *iface, BSTR *p)
450 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
451 FIXME("(%p)->(%p)\n", This, p);
452 return E_NOTIMPL;
455 static HRESULT WINAPI HTMLStyle2_put_textJustify(IHTMLStyle2 *iface, BSTR v)
457 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
458 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
459 return E_NOTIMPL;
462 static HRESULT WINAPI HTMLStyle2_get_textJustify(IHTMLStyle2 *iface, BSTR *p)
464 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
465 FIXME("(%p)->(%p)\n", This, p);
466 return E_NOTIMPL;
469 static HRESULT WINAPI HTMLStyle2_put_textJustifyTrim(IHTMLStyle2 *iface, BSTR v)
471 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
472 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
473 return E_NOTIMPL;
476 static HRESULT WINAPI HTMLStyle2_get_textJustifyTrim(IHTMLStyle2 *iface, BSTR *p)
478 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
479 FIXME("(%p)->(%p)\n", This, p);
480 return E_NOTIMPL;
483 static HRESULT WINAPI HTMLStyle2_put_textKashida(IHTMLStyle2 *iface, VARIANT v)
485 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
486 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
487 return E_NOTIMPL;
490 static HRESULT WINAPI HTMLStyle2_get_textKashida(IHTMLStyle2 *iface, VARIANT *p)
492 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
493 FIXME("(%p)->(%p)\n", This, p);
494 return E_NOTIMPL;
497 static HRESULT WINAPI HTMLStyle2_put_textAutospace(IHTMLStyle2 *iface, BSTR v)
499 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
500 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
501 return E_NOTIMPL;
504 static HRESULT WINAPI HTMLStyle2_get_textAutospace(IHTMLStyle2 *iface, BSTR *p)
506 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
507 FIXME("(%p)->(%p)\n", This, p);
508 return E_NOTIMPL;
511 static HRESULT WINAPI HTMLStyle2_put_overflowX(IHTMLStyle2 *iface, BSTR v)
513 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
515 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
517 return set_nsstyle_attr(This->nsstyle, STYLEID_OVERFLOW_X, v, 0);
520 static HRESULT WINAPI HTMLStyle2_get_overflowX(IHTMLStyle2 *iface, BSTR *p)
522 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
524 TRACE("(%p)->(%p)\n", This, p);
526 return get_nsstyle_attr(This->nsstyle, STYLEID_OVERFLOW_X, p, 0);
529 static HRESULT WINAPI HTMLStyle2_put_overflowY(IHTMLStyle2 *iface, BSTR v)
531 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
533 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
535 return set_nsstyle_attr(This->nsstyle, STYLEID_OVERFLOW_Y, v, 0);
538 static HRESULT WINAPI HTMLStyle2_get_overflowY(IHTMLStyle2 *iface, BSTR *p)
540 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
542 TRACE("(%p)->(%p)\n", This, p);
544 return get_nsstyle_attr(This->nsstyle, STYLEID_OVERFLOW_Y, p, 0);
547 static HRESULT WINAPI HTMLStyle2_put_accelerator(IHTMLStyle2 *iface, BSTR v)
549 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
550 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
551 return E_NOTIMPL;
554 static HRESULT WINAPI HTMLStyle2_get_accelerator(IHTMLStyle2 *iface, BSTR *p)
556 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
557 FIXME("(%p)->(%p)\n", This, p);
558 return E_NOTIMPL;
561 static const IHTMLStyle2Vtbl HTMLStyle2Vtbl = {
562 HTMLStyle2_QueryInterface,
563 HTMLStyle2_AddRef,
564 HTMLStyle2_Release,
565 HTMLStyle2_GetTypeInfoCount,
566 HTMLStyle2_GetTypeInfo,
567 HTMLStyle2_GetIDsOfNames,
568 HTMLStyle2_Invoke,
569 HTMLStyle2_put_tableLayout,
570 HTMLStyle2_get_tableLayout,
571 HTMLStyle2_put_borderCollapse,
572 HTMLStyle2_get_borderCollapse,
573 HTMLStyle2_put_direction,
574 HTMLStyle2_get_direction,
575 HTMLStyle2_put_behavior,
576 HTMLStyle2_get_behavior,
577 HTMLStyle2_setExpression,
578 HTMLStyle2_getExpression,
579 HTMLStyle2_removeExpression,
580 HTMLStyle2_put_position,
581 HTMLStyle2_get_position,
582 HTMLStyle2_put_unicodeBidi,
583 HTMLStyle2_get_unicodeBidi,
584 HTMLStyle2_put_bottom,
585 HTMLStyle2_get_bottom,
586 HTMLStyle2_put_right,
587 HTMLStyle2_get_right,
588 HTMLStyle2_put_pixelBottom,
589 HTMLStyle2_get_pixelBottom,
590 HTMLStyle2_put_pixelRight,
591 HTMLStyle2_get_pixelRight,
592 HTMLStyle2_put_posBottom,
593 HTMLStyle2_get_posBottom,
594 HTMLStyle2_put_posRight,
595 HTMLStyle2_get_posRight,
596 HTMLStyle2_put_imeMode,
597 HTMLStyle2_get_imeMode,
598 HTMLStyle2_put_rubyAlign,
599 HTMLStyle2_get_rubyAlign,
600 HTMLStyle2_put_rubyPosition,
601 HTMLStyle2_get_rubyPosition,
602 HTMLStyle2_put_rubyOverhang,
603 HTMLStyle2_get_rubyOverhang,
604 HTMLStyle2_put_layoutGridChar,
605 HTMLStyle2_get_layoutGridChar,
606 HTMLStyle2_put_layoutGridLine,
607 HTMLStyle2_get_layoutGridLine,
608 HTMLStyle2_put_layoutGridMode,
609 HTMLStyle2_get_layoutGridMode,
610 HTMLStyle2_put_layoutGridType,
611 HTMLStyle2_get_layoutGridType,
612 HTMLStyle2_put_layoutGrid,
613 HTMLStyle2_get_layoutGrid,
614 HTMLStyle2_put_wordBreak,
615 HTMLStyle2_get_wordBreak,
616 HTMLStyle2_put_lineBreak,
617 HTMLStyle2_get_lineBreak,
618 HTMLStyle2_put_textJustify,
619 HTMLStyle2_get_textJustify,
620 HTMLStyle2_put_textJustifyTrim,
621 HTMLStyle2_get_textJustifyTrim,
622 HTMLStyle2_put_textKashida,
623 HTMLStyle2_get_textKashida,
624 HTMLStyle2_put_textAutospace,
625 HTMLStyle2_get_textAutospace,
626 HTMLStyle2_put_overflowX,
627 HTMLStyle2_get_overflowX,
628 HTMLStyle2_put_overflowY,
629 HTMLStyle2_get_overflowY,
630 HTMLStyle2_put_accelerator,
631 HTMLStyle2_get_accelerator
634 void HTMLStyle2_Init(HTMLStyle *This)
636 This->IHTMLStyle2_iface.lpVtbl = &HTMLStyle2Vtbl;