ReactOS 0.4.15-dev-7897-g78dc504
htmltablecell.c File Reference
#include "mshtml_private.h"
Include dependency graph for htmltablecell.c:

Go to the source code of this file.

Classes

struct  HTMLTableCell
 

Functions

static HTMLTableCellimpl_from_IHTMLTableCell (IHTMLTableCell *iface)
 
static HRESULT WINAPI HTMLTableCell_QueryInterface (IHTMLTableCell *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLTableCell_AddRef (IHTMLTableCell *iface)
 
static ULONG WINAPI HTMLTableCell_Release (IHTMLTableCell *iface)
 
static HRESULT WINAPI HTMLTableCell_GetTypeInfoCount (IHTMLTableCell *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLTableCell_GetTypeInfo (IHTMLTableCell *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLTableCell_GetIDsOfNames (IHTMLTableCell *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLTableCell_Invoke (IHTMLTableCell *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLTableCell_put_rowSpan (IHTMLTableCell *iface, LONG v)
 
static HRESULT WINAPI HTMLTableCell_get_rowSpan (IHTMLTableCell *iface, LONG *p)
 
static HRESULT WINAPI HTMLTableCell_put_colSpan (IHTMLTableCell *iface, LONG v)
 
static HRESULT WINAPI HTMLTableCell_get_colSpan (IHTMLTableCell *iface, LONG *p)
 
static HRESULT WINAPI HTMLTableCell_put_align (IHTMLTableCell *iface, BSTR v)
 
static HRESULT WINAPI HTMLTableCell_get_align (IHTMLTableCell *iface, BSTR *p)
 
static HRESULT WINAPI HTMLTableCell_put_vAlign (IHTMLTableCell *iface, BSTR v)
 
static HRESULT WINAPI HTMLTableCell_get_vAlign (IHTMLTableCell *iface, BSTR *p)
 
static HRESULT WINAPI HTMLTableCell_put_bgColor (IHTMLTableCell *iface, VARIANT v)
 
static HRESULT WINAPI HTMLTableCell_get_bgColor (IHTMLTableCell *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLTableCell_put_noWrap (IHTMLTableCell *iface, VARIANT_BOOL v)
 
static HRESULT WINAPI HTMLTableCell_get_noWrap (IHTMLTableCell *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLTableCell_put_background (IHTMLTableCell *iface, BSTR v)
 
static HRESULT WINAPI HTMLTableCell_get_background (IHTMLTableCell *iface, BSTR *p)
 
static HRESULT WINAPI HTMLTableCell_put_borderColor (IHTMLTableCell *iface, VARIANT v)
 
static HRESULT WINAPI HTMLTableCell_get_borderColor (IHTMLTableCell *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLTableCell_put_borderColorLight (IHTMLTableCell *iface, VARIANT v)
 
static HRESULT WINAPI HTMLTableCell_get_borderColorLight (IHTMLTableCell *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLTableCell_put_borderColorDark (IHTMLTableCell *iface, VARIANT v)
 
static HRESULT WINAPI HTMLTableCell_get_borderColorDark (IHTMLTableCell *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLTableCell_put_width (IHTMLTableCell *iface, VARIANT v)
 
static HRESULT WINAPI HTMLTableCell_get_width (IHTMLTableCell *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLTableCell_put_height (IHTMLTableCell *iface, VARIANT v)
 
static HRESULT WINAPI HTMLTableCell_get_height (IHTMLTableCell *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLTableCell_get_cellIndex (IHTMLTableCell *iface, LONG *p)
 
static HTMLTableCellimpl_from_HTMLDOMNode (HTMLDOMNode *iface)
 
static HRESULT HTMLTableCell_QI (HTMLDOMNode *iface, REFIID riid, void **ppv)
 
static void HTMLTableCell_destructor (HTMLDOMNode *iface)
 
static void HTMLTableCell_traverse (HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
 
static void HTMLTableCell_unlink (HTMLDOMNode *iface)
 
HRESULT HTMLTableCell_Create (HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
 

Variables

static const IHTMLTableCellVtbl HTMLTableCellVtbl
 
static const NodeImplVtbl HTMLTableCellImplVtbl
 
static const tid_t HTMLTableCell_iface_tids []
 
static dispex_static_data_t HTMLTableCell_dispex
 

Function Documentation

◆ HTMLTableCell_AddRef()

static ULONG WINAPI HTMLTableCell_AddRef ( IHTMLTableCell *  iface)
static

Definition at line 41 of file htmltablecell.c.

42{
44
45 return IHTMLDOMNode_AddRef(&This->element.node.IHTMLDOMNode_iface);
46}
static HTMLTableCell * impl_from_IHTMLTableCell(IHTMLTableCell *iface)
Definition: htmltablecell.c:29

◆ HTMLTableCell_Create()

HRESULT HTMLTableCell_Create ( HTMLDocumentNode doc,
nsIDOMHTMLElement nselem,
HTMLElement **  elem 
)

Definition at line 440 of file htmltablecell.c.

441{
443 nsresult nsres;
444
445 ret = heap_alloc_zero(sizeof(*ret));
446 if(!ret)
447 return E_OUTOFMEMORY;
448
449 ret->IHTMLTableCell_iface.lpVtbl = &HTMLTableCellVtbl;
450 ret->element.node.vtbl = &HTMLTableCellImplVtbl;
451
452 HTMLElement_Init(&ret->element, doc, nselem, &HTMLTableCell_dispex);
453
454 nsres = nsIDOMHTMLElement_QueryInterface(nselem, &IID_nsIDOMHTMLTableCellElement, (void**)&ret->nscell);
455 assert(nsres == NS_OK);
456
457 *elem = &ret->element;
458 return S_OK;
459}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define assert(x)
Definition: debug.h:53
void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
Definition: htmlelem.c:4008
static const IHTMLTableCellVtbl HTMLTableCellVtbl
static const NodeImplVtbl HTMLTableCellImplVtbl
static dispex_static_data_t HTMLTableCell_dispex
#define S_OK
Definition: intsafe.h:52
static size_t elem
Definition: string.c:68
#define NS_OK
int ret

Referenced by HTMLTableRow_insertCell().

◆ HTMLTableCell_destructor()

static void HTMLTableCell_destructor ( HTMLDOMNode iface)
static

Definition at line 380 of file htmltablecell.c.

381{
383
384 HTMLElement_destructor(&This->element.node);
385}
void HTMLElement_destructor(HTMLDOMNode *iface)
Definition: htmlelem.c:3764
static HTMLTableCell * impl_from_HTMLDOMNode(HTMLDOMNode *iface)

◆ HTMLTableCell_get_align()

static HRESULT WINAPI HTMLTableCell_get_align ( IHTMLTableCell *  iface,
BSTR p 
)
static

Definition at line 132 of file htmltablecell.c.

133{
136 nsresult nsres;
137
138 TRACE("(%p)->(%p)\n", This, p);
139
141 nsres = nsIDOMHTMLTableCellElement_GetAlign(This->nscell, &str);
142
143 return return_nsstr(nsres, &str, p);
144}
#define NULL
Definition: types.h:112
GLfloat GLfloat p
Definition: glext.h:8902
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
Definition: nsembed.c:841
const WCHAR * str
#define TRACE(s)
Definition: solgame.cpp:4

◆ HTMLTableCell_get_background()

static HRESULT WINAPI HTMLTableCell_get_background ( IHTMLTableCell *  iface,
BSTR p 
)
static

Definition at line 227 of file htmltablecell.c.

228{
230 FIXME("(%p)->(%p)\n", This, p);
231 return E_NOTIMPL;
232}
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLTableCell_get_bgColor()

static HRESULT WINAPI HTMLTableCell_get_bgColor ( IHTMLTableCell *  iface,
VARIANT p 
)
static

Definition at line 181 of file htmltablecell.c.

182{
184 nsAString strColor;
185 nsresult nsres;
187
188 TRACE("(%p)->(%p)\n", This, p);
189
190 nsAString_Init(&strColor, NULL);
191 nsres = nsIDOMHTMLTableCellElement_GetBgColor(This->nscell, &strColor);
192
193 if(NS_SUCCEEDED(nsres)) {
194 const PRUnichar *color;
195 nsAString_GetData(&strColor, &color);
196 V_VT(p) = VT_BSTR;
198 }else {
199 ERR("GetBgColor failed: %08x\n", nsres);
200 hres = E_FAIL;
201 }
202 nsAString_Finish(&strColor);
203 return hres;
204}
#define ERR(fmt,...)
Definition: debug.h:110
#define E_FAIL
Definition: ddrawi.h:102
@ VT_BSTR
Definition: compat.h:2303
GLuint color
Definition: glext.h:6243
HRESULT nscolor_to_str(LPCWSTR color, BSTR *ret)
Definition: htmlbody.c:111
HRESULT hres
Definition: protocol.c:465
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
UINT32 nsAString_GetData(const nsAString *, const PRUnichar **) DECLSPEC_HIDDEN
Definition: nsembed.c:831
#define NS_SUCCEEDED(res)
WCHAR PRUnichar
Definition: nsiface.idl:48
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226

◆ HTMLTableCell_get_borderColor()

static HRESULT WINAPI HTMLTableCell_get_borderColor ( IHTMLTableCell *  iface,
VARIANT p 
)
static

Definition at line 241 of file htmltablecell.c.

242{
244 FIXME("(%p)->(%p)\n", This, p);
245 return E_NOTIMPL;
246}

◆ HTMLTableCell_get_borderColorDark()

static HRESULT WINAPI HTMLTableCell_get_borderColorDark ( IHTMLTableCell *  iface,
VARIANT p 
)
static

Definition at line 269 of file htmltablecell.c.

270{
272 FIXME("(%p)->(%p)\n", This, p);
273 return E_NOTIMPL;
274}

◆ HTMLTableCell_get_borderColorLight()

static HRESULT WINAPI HTMLTableCell_get_borderColorLight ( IHTMLTableCell *  iface,
VARIANT p 
)
static

Definition at line 255 of file htmltablecell.c.

256{
258 FIXME("(%p)->(%p)\n", This, p);
259 return E_NOTIMPL;
260}

◆ HTMLTableCell_get_cellIndex()

static HRESULT WINAPI HTMLTableCell_get_cellIndex ( IHTMLTableCell *  iface,
LONG p 
)
static

Definition at line 304 of file htmltablecell.c.

305{
307 nsresult nsres;
308
309 TRACE("(%p)->(%p)\n", This, p);
310 nsres = nsIDOMHTMLTableCellElement_GetCellIndex(This->nscell, p);
311 if (NS_FAILED(nsres)) {
312 ERR("Get CellIndex failed: %08x\n", nsres);
313 return E_FAIL;
314 }
315
316 return S_OK;
317}
#define NS_FAILED(res)

◆ HTMLTableCell_get_colSpan()

static HRESULT WINAPI HTMLTableCell_get_colSpan ( IHTMLTableCell *  iface,
LONG p 
)
static

Definition at line 107 of file htmltablecell.c.

108{
110 FIXME("(%p)->(%p)\n", This, p);
111 return E_NOTIMPL;
112}

◆ HTMLTableCell_get_height()

static HRESULT WINAPI HTMLTableCell_get_height ( IHTMLTableCell *  iface,
VARIANT p 
)
static

Definition at line 297 of file htmltablecell.c.

298{
300 FIXME("(%p)->(%p)\n", This, p);
301 return E_NOTIMPL;
302}

◆ HTMLTableCell_get_noWrap()

static HRESULT WINAPI HTMLTableCell_get_noWrap ( IHTMLTableCell *  iface,
VARIANT_BOOL p 
)
static

Definition at line 213 of file htmltablecell.c.

214{
216 FIXME("(%p)->(%p)\n", This, p);
217 return E_NOTIMPL;
218}

◆ HTMLTableCell_get_rowSpan()

static HRESULT WINAPI HTMLTableCell_get_rowSpan ( IHTMLTableCell *  iface,
LONG p 
)
static

Definition at line 93 of file htmltablecell.c.

94{
96 FIXME("(%p)->(%p)\n", This, p);
97 return E_NOTIMPL;
98}

◆ HTMLTableCell_get_vAlign()

static HRESULT WINAPI HTMLTableCell_get_vAlign ( IHTMLTableCell *  iface,
BSTR p 
)
static

Definition at line 153 of file htmltablecell.c.

154{
156 FIXME("(%p)->(%p)\n", This, p);
157 return E_NOTIMPL;
158}

◆ HTMLTableCell_get_width()

static HRESULT WINAPI HTMLTableCell_get_width ( IHTMLTableCell *  iface,
VARIANT p 
)
static

Definition at line 283 of file htmltablecell.c.

284{
286 FIXME("(%p)->(%p)\n", This, p);
287 return E_NOTIMPL;
288}

◆ HTMLTableCell_GetIDsOfNames()

static HRESULT WINAPI HTMLTableCell_GetIDsOfNames ( IHTMLTableCell *  iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 69 of file htmltablecell.c.

71{
73 return IDispatchEx_GetIDsOfNames(&This->element.node.event_target.dispex.IDispatchEx_iface, riid, rgszNames,
74 cNames, lcid, rgDispId);
75}
REFIID riid
Definition: atlbase.h:39

◆ HTMLTableCell_GetTypeInfo()

static HRESULT WINAPI HTMLTableCell_GetTypeInfo ( IHTMLTableCell *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 61 of file htmltablecell.c.

63{
65 return IDispatchEx_GetTypeInfo(&This->element.node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid,
66 ppTInfo);
67}

◆ HTMLTableCell_GetTypeInfoCount()

static HRESULT WINAPI HTMLTableCell_GetTypeInfoCount ( IHTMLTableCell *  iface,
UINT pctinfo 
)
static

Definition at line 55 of file htmltablecell.c.

56{
58 return IDispatchEx_GetTypeInfoCount(&This->element.node.event_target.dispex.IDispatchEx_iface, pctinfo);
59}

◆ HTMLTableCell_Invoke()

static HRESULT WINAPI HTMLTableCell_Invoke ( IHTMLTableCell *  iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 77 of file htmltablecell.c.

80{
82 return IDispatchEx_Invoke(&This->element.node.event_target.dispex.IDispatchEx_iface, dispIdMember, riid,
83 lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
84}
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:531

◆ HTMLTableCell_put_align()

static HRESULT WINAPI HTMLTableCell_put_align ( IHTMLTableCell *  iface,
BSTR  v 
)
static

Definition at line 114 of file htmltablecell.c.

115{
118 nsresult nsres;
119
120 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
121
123 nsres = nsIDOMHTMLTableCellElement_SetAlign(This->nscell, &str);
125 if (NS_FAILED(nsres)) {
126 ERR("Set Align failed: %08x\n", nsres);
127 return E_FAIL;
128 }
129 return S_OK;
130}
const GLdouble * v
Definition: gl.h:2040
#define debugstr_w
Definition: kernel32.h:32
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826

◆ HTMLTableCell_put_background()

static HRESULT WINAPI HTMLTableCell_put_background ( IHTMLTableCell *  iface,
BSTR  v 
)
static

Definition at line 220 of file htmltablecell.c.

221{
223 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
224 return E_NOTIMPL;
225}

◆ HTMLTableCell_put_bgColor()

static HRESULT WINAPI HTMLTableCell_put_bgColor ( IHTMLTableCell *  iface,
VARIANT  v 
)
static

Definition at line 160 of file htmltablecell.c.

161{
163 nsAString strColor;
164 nsresult nsres;
165
166 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
167
168 if(!variant_to_nscolor(&v, &strColor))
169 return S_OK;
170
171 nsres = nsIDOMHTMLTableCellElement_SetBgColor(This->nscell, &strColor);
172 nsAString_Finish(&strColor);
173 if(NS_FAILED(nsres)) {
174 ERR("SetBgColor(%s) failed: %08x\n", debugstr_variant(&v), nsres);
175 return E_FAIL;
176 }
177
178 return S_OK;
179}
BOOL variant_to_nscolor(const VARIANT *v, nsAString *nsstr)
Definition: htmlbody.c:142
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46

◆ HTMLTableCell_put_borderColor()

static HRESULT WINAPI HTMLTableCell_put_borderColor ( IHTMLTableCell *  iface,
VARIANT  v 
)
static

Definition at line 234 of file htmltablecell.c.

235{
237 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
238 return E_NOTIMPL;
239}

◆ HTMLTableCell_put_borderColorDark()

static HRESULT WINAPI HTMLTableCell_put_borderColorDark ( IHTMLTableCell *  iface,
VARIANT  v 
)
static

Definition at line 262 of file htmltablecell.c.

263{
265 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
266 return E_NOTIMPL;
267}

◆ HTMLTableCell_put_borderColorLight()

static HRESULT WINAPI HTMLTableCell_put_borderColorLight ( IHTMLTableCell *  iface,
VARIANT  v 
)
static

Definition at line 248 of file htmltablecell.c.

249{
251 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
252 return E_NOTIMPL;
253}

◆ HTMLTableCell_put_colSpan()

static HRESULT WINAPI HTMLTableCell_put_colSpan ( IHTMLTableCell *  iface,
LONG  v 
)
static

Definition at line 100 of file htmltablecell.c.

101{
103 FIXME("(%p)->(%d)\n", This, v);
104 return E_NOTIMPL;
105}

◆ HTMLTableCell_put_height()

static HRESULT WINAPI HTMLTableCell_put_height ( IHTMLTableCell *  iface,
VARIANT  v 
)
static

Definition at line 290 of file htmltablecell.c.

291{
293 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
294 return E_NOTIMPL;
295}

◆ HTMLTableCell_put_noWrap()

static HRESULT WINAPI HTMLTableCell_put_noWrap ( IHTMLTableCell *  iface,
VARIANT_BOOL  v 
)
static

Definition at line 206 of file htmltablecell.c.

207{
209 FIXME("(%p)->(%x)\n", This, v);
210 return E_NOTIMPL;
211}

◆ HTMLTableCell_put_rowSpan()

static HRESULT WINAPI HTMLTableCell_put_rowSpan ( IHTMLTableCell *  iface,
LONG  v 
)
static

Definition at line 86 of file htmltablecell.c.

87{
89 FIXME("(%p)->(%d)\n", This, v);
90 return E_NOTIMPL;
91}

◆ HTMLTableCell_put_vAlign()

static HRESULT WINAPI HTMLTableCell_put_vAlign ( IHTMLTableCell *  iface,
BSTR  v 
)
static

Definition at line 146 of file htmltablecell.c.

147{
149 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
150 return E_NOTIMPL;
151}

◆ HTMLTableCell_put_width()

static HRESULT WINAPI HTMLTableCell_put_width ( IHTMLTableCell *  iface,
VARIANT  v 
)
static

Definition at line 276 of file htmltablecell.c.

277{
279 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
280 return E_NOTIMPL;
281}

◆ HTMLTableCell_QI()

static HRESULT HTMLTableCell_QI ( HTMLDOMNode iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 359 of file htmltablecell.c.

360{
362
364 TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
365 *ppv = &This->IHTMLTableCell_iface;
366 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
367 TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
368 *ppv = &This->IHTMLTableCell_iface;
369 }else if(IsEqualGUID(&IID_IHTMLTableCell, riid)) {
370 TRACE("(%p)->(IID_IHTMLTableCell %p)\n", This, ppv);
371 *ppv = &This->IHTMLTableCell_iface;
372 }else {
373 return HTMLElement_QI(&This->element.node, riid, ppv);
374 }
375
376 IUnknown_AddRef((IUnknown*)*ppv);
377 return S_OK;
378}
const GUID IID_IUnknown
HRESULT HTMLElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmlelem.c:3738
REFIID LPVOID * ppv
Definition: atlbase.h:39
const GUID IID_IDispatch
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147

◆ HTMLTableCell_QueryInterface()

static HRESULT WINAPI HTMLTableCell_QueryInterface ( IHTMLTableCell *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 34 of file htmltablecell.c.

35{
37
38 return IHTMLDOMNode_QueryInterface(&This->element.node.IHTMLDOMNode_iface, riid, ppv);
39}

◆ HTMLTableCell_Release()

static ULONG WINAPI HTMLTableCell_Release ( IHTMLTableCell *  iface)
static

Definition at line 48 of file htmltablecell.c.

49{
51
52 return IHTMLDOMNode_Release(&This->element.node.IHTMLDOMNode_iface);
53}

◆ HTMLTableCell_traverse()

static void HTMLTableCell_traverse ( HTMLDOMNode iface,
nsCycleCollectionTraversalCallback cb 
)
static

Definition at line 387 of file htmltablecell.c.

388{
390
391 if(This->nscell)
392 note_cc_edge((nsISupports*)This->nscell, "This->nstablecell", cb);
393}
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33

◆ HTMLTableCell_unlink()

static void HTMLTableCell_unlink ( HTMLDOMNode iface)
static

Definition at line 395 of file htmltablecell.c.

396{
398
399 if(This->nscell) {
400 nsIDOMHTMLTableCellElement *nscell = This->nscell;
401
402 This->nscell = NULL;
403 nsIDOMHTMLTableCellElement_Release(nscell);
404 }
405}

◆ impl_from_HTMLDOMNode()

static HTMLTableCell * impl_from_HTMLDOMNode ( HTMLDOMNode iface)
inlinestatic

Definition at line 354 of file htmltablecell.c.

355{
356 return CONTAINING_RECORD(iface, HTMLTableCell, element.node);
357}
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260

Referenced by HTMLTableCell_destructor(), HTMLTableCell_QI(), HTMLTableCell_traverse(), and HTMLTableCell_unlink().

◆ impl_from_IHTMLTableCell()

Variable Documentation

◆ HTMLTableCell_dispex

dispex_static_data_t HTMLTableCell_dispex
static
Initial value:
= {
DispHTMLTableCell_tid,
}
static const tid_t HTMLTableCell_iface_tids[]

Definition at line 433 of file htmltablecell.c.

Referenced by HTMLTableCell_Create().

◆ HTMLTableCell_iface_tids

const tid_t HTMLTableCell_iface_tids[]
static
Initial value:
= {
IHTMLTableCell_tid,
0
}
#define HTMLELEMENT_TIDS

Definition at line 427 of file htmltablecell.c.

◆ HTMLTableCellImplVtbl

const NodeImplVtbl HTMLTableCellImplVtbl
static
Initial value:
= {
}
HRESULT HTMLElement_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
Definition: htmlelem.c:3793
HRESULT HTMLElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
Definition: htmlelem.c:3815
const cpc_entry_t HTMLElement_cpc[]
Definition: htmlelem.c:3847
HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **ac)
Definition: htmlelem.c:4827
static void HTMLTableCell_unlink(HTMLDOMNode *iface)
static HRESULT HTMLTableCell_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static void HTMLTableCell_destructor(HTMLDOMNode *iface)
static void HTMLTableCell_traverse(HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)

Definition at line 407 of file htmltablecell.c.

Referenced by HTMLTableCell_Create().

◆ HTMLTableCellVtbl

const IHTMLTableCellVtbl HTMLTableCellVtbl
static

Definition at line 319 of file htmltablecell.c.

Referenced by HTMLTableCell_Create().