mshtml: Add missing IHTMLTable interfaces.

This commit is contained in:
Alistair Leslie-Hughes 2009-03-11 10:36:30 +11:00 committed by Alexandre Julliard
parent 9b2730eb88
commit 5cadd7e480
2 changed files with 285 additions and 2 deletions

View File

@ -31,14 +31,14 @@
WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
typedef struct {
struct HTMLTable {
HTMLElement element;
const IHTMLTableVtbl *lpHTMLTableVtbl;
ConnectionPoint cp;
nsIDOMHTMLTableElement *nstable;
} HTMLTable;
};
#define HTMLTABLE(x) (&(x)->lpHTMLTableVtbl)

View File

@ -7129,6 +7129,33 @@ interface IHTMLUniqueName : IDispatch
HRESULT uniqueID([retval, out] BSTR * p);
};
[
odl,
oleautomation,
dual,
uuid(3050f3f2-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLDatabinding : IDispatch
{
[propput, id(DISPID_IHTMLDATABINDING_DATAFLD)]
HRESULT dataFld([in] BSTR v);
[propget, id(DISPID_IHTMLDATABINDING_DATAFLD)]
HRESULT dataFld([retval, out] BSTR * p);
[propput, id(DISPID_IHTMLDATABINDING_DATASRC)]
HRESULT dataSrc([in] BSTR v);
[propget, id(DISPID_IHTMLDATABINDING_DATASRC)]
HRESULT dataSrc([retval, out] BSTR * p);
[propput, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)]
HRESULT dataFormatAs([in] BSTR v);
[propget, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)]
HRESULT dataFormatAs([retval, out] BSTR * p);
};
/*****************************************************************************
* IHTMLControlElement interface
*/
@ -17698,6 +17725,201 @@ methods:
void onfocusout();
}
[
hidden,
uuid(3050f623-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface HTMLTableEvents2
{
properties:
methods:
[id(DISPID_HTMLELEMENTEVENTS2_ONHELP)]
VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONCLICK)]
VARIANT_BOOL onclick([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK)]
VARIANT_BOOL ondblclick([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS)]
VARIANT_BOOL onkeypress([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN)]
void onkeydown([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONKEYUP)]
void onkeyup([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT)]
void onmouseout([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER)]
void onmouseover([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE)]
void onmousemove([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN)]
void onmousedown([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP)]
void onmouseup([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART)]
VARIANT_BOOL onselectstart([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE)]
void onfilterchange([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART)]
VARIANT_BOOL ondragstart([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE)]
VARIANT_BOOL onbeforeupdate([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE)]
void onafterupdate([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE)]
VARIANT_BOOL onerrorupdate([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONROWEXIT)]
VARIANT_BOOL onrowexit([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONROWENTER)]
void onrowenter([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED)]
void ondatasetchanged([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE)]
void ondataavailable([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE)]
void ondatasetcomplete([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE)]
void onlosecapture([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE)]
void onpropertychange([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONSCROLL)]
void onscroll([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONFOCUS)]
void onfocus([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONBLUR)]
void onblur([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONRESIZE)]
void onresize([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDRAG)]
VARIANT_BOOL ondrag([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDRAGEND)]
void ondragend([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER)]
VARIANT_BOOL ondragenter([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER)]
VARIANT_BOOL ondragover([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE)]
void ondragleave([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDROP)]
VARIANT_BOOL ondrop([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT)]
VARIANT_BOOL onbeforecut([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONCUT)]
VARIANT_BOOL oncut([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY)]
VARIANT_BOOL onbeforecopy([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONCOPY)]
VARIANT_BOOL oncopy([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE)]
VARIANT_BOOL onbeforepaste([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONPASTE)]
VARIANT_BOOL onpaste([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU)]
VARIANT_BOOL oncontextmenu([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE)]
void onrowsdelete([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED)]
void onrowsinserted([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE)]
void oncellchange([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE)]
void onreadystatechange([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE)]
void onlayoutcomplete([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONPAGE)]
void onpage([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER)]
void onmouseenter([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE)]
void onmouseleave([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONACTIVATE)]
void onactivate([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE)]
void ondeactivate([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE)]
VARIANT_BOOL onbeforedeactivate([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE)]
VARIANT_BOOL onbeforeactivate([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN)]
void onfocusin([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT)]
void onfocusout([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOVE)]
void onmove([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT)]
VARIANT_BOOL oncontrolselect([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOVESTART)]
VARIANT_BOOL onmovestart([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOVEEND)]
void onmoveend([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART)]
VARIANT_BOOL onresizestart([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND)]
void onresizeend([in] IHTMLEventObj* pEvtObj);
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL)]
VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj);
};
/*****************************************************************************
* IHTMLTableCaption interface
*/
@ -17885,6 +18107,67 @@ interface IHTMLTable : IDispatch
HRESULT onreadystatechange([retval, out] VARIANT *p);
}
[
odl,
oleautomation,
dual,
uuid(3050f4ad-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLTable2 : IDispatch
{
[id(DISPID_IHTMLTABLE2_FIRSTPAGE)]
HRESULT firstPage();
[id(DISPID_IHTMLTABLE2_LASTPAGE)]
HRESULT lastPage();
[propget, id(DISPID_IHTMLTABLE2_CELLS)]
HRESULT cells([retval, out] IHTMLElementCollection* * p);
[id(DISPID_IHTMLTABLE2_MOVEROW)]
HRESULT moveRow([defaultvalue(-1), in] long indexFrom,
[defaultvalue(-1), in] long indexTo,
[retval, out] IDispatch** row);
};
[
odl,
oleautomation,
dual,
uuid(3050f829-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLTable3 : IDispatch
{
[propput, id(DISPID_IHTMLTABLE3_SUMMARY), displaybind, bindable]
HRESULT summary([in] BSTR v);
[propget, id(DISPID_IHTMLTABLE3_SUMMARY), displaybind, bindable]
HRESULT summary([retval, out] BSTR * p);
};
[
noncreatable,
uuid(3050f26b-98b5-11cf-bb82-00aa00bdce0b)
]
coclass HTMLTable
{
[default] dispinterface DispHTMLTable;
[source, default] dispinterface HTMLTableEvents;
[source] dispinterface HTMLTableEvents2;
interface IHTMLElement;
interface IHTMLElement2;
interface IHTMLElement3;
interface IHTMLElement4;
interface IHTMLUniqueName;
interface IHTMLDOMNode;
interface IHTMLDOMNode2;
interface IHTMLDatabinding;
interface IHTMLControlElement;
interface IHTMLTable;
interface IHTMLTable2;
interface IHTMLTable3;
};
[
odl,
oleautomation,