From a2002082f213eb55a80af0ab80beed3def51b2eb Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 14 Feb 2014 16:50:52 +0100 Subject: [PATCH] mshtml.idl: Added IHTMLDocument7 and related interfaces declarations. --- include/mshtmdid.h | 137 ++++++++++ include/mshtml.idl | 619 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 756 insertions(+) diff --git a/include/mshtmdid.h b/include/mshtmdid.h index e57a3f8169..e65a049e74 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -112,6 +112,8 @@ #define DISPID_RULESAPPLIED_COLLECTION DISPID_NORMAL_FIRST #define DISPID_STYLESHEETRULESAPPLIED_COLLECTION DISPID_NORMAL_FIRST #define DISPID_PROCESSINGINSTRUCTION DISPID_NORMAL_FIRST +#define DISPID_HTMLSELECTION DISPID_NORMAL_FIRST +#define DISPID_DOMRANGE DISPID_NORMAL_FIRST #define DISPID_DOMEVENT DISPID_NORMAL_FIRST #define DISPID_DOMUIEVENT (DISPID_DOMEVENT+25) @@ -169,6 +171,10 @@ #define DISPID_IE8_OBJECTMAX (DISPID_STYLE-1) #define DISPID_IE8_OBJECT DISPID_IE8_OBJECTBASE +#define DISPID_IE9_ELEMENTBASE (DISPID_IE8_ELEMENTMAX + 10) +#define DISPID_IE9_ELEMENTMAX (DISPID_IE9_ELEMENTBASE + 35) +#define DISPID_IE9_ELEMENT DISPID_IE9_ELEMENTBASE + #define DISPID_COLLECTION (DISPID_NORMAL_FIRST+500) #define DISPID_OPTIONS_COL (DISPID_NORMAL_FIRST+500) #define DISPID_IMG (DISPID_IMGBASE+1000) @@ -1075,6 +1081,70 @@ #define DISPID_IHTMLDOCUMENT6_IE8_GETELEMENTBYID DISPID_OMDOCUMENT+105 #define DISPID_IHTMLDOCUMENT6_UPDATESETTINGS DISPID_OMDOCUMENT+106 +/* IHTMLDocument7 */ +#define DISPID_IHTMLDOCUMENT7_DEFAULTVIEW DISPID_OMDOCUMENT+110 +#define DISPID_IHTMLDOCUMENT7_CREATECDATASECTION DISPID_OMDOCUMENT+123 +#define DISPID_IHTMLDOCUMENT7_GETSELECTION DISPID_OMDOCUMENT+112 +#define DISPID_IHTMLDOCUMENT7_GETELEMENTSBYTAGNAMENS DISPID_OMDOCUMENT+113 +#define DISPID_IHTMLDOCUMENT7_CREATEELEMENTNS DISPID_OMDOCUMENT+114 +#define DISPID_IHTMLDOCUMENT7_CREATEATTRIBUTENS DISPID_OMDOCUMENT+115 +#define DISPID_IHTMLDOCUMENT7_ONMSTHUMBNAILCLICK DISPID_EVPROP_ONMSTHUMBNAILCLICK +#define DISPID_IHTMLDOCUMENT7_CHARACTERSET DISPID_OMDOCUMENT+117 +#define DISPID_IHTMLDOCUMENT7_IE9_CREATEELEMENT DISPID_OMDOCUMENT+118 +#define DISPID_IHTMLDOCUMENT7_IE9_CREATEATTRIBUTE DISPID_OMDOCUMENT+119 +#define DISPID_IHTMLDOCUMENT7_GETELEMENTSBYCLASSNAME DISPID_OMDOCUMENT+120 +#define DISPID_IHTMLDOCUMENT7_CREATEPROCESSINGINSTRUCTION DISPID_OMDOCUMENT+124 +#define DISPID_IHTMLDOCUMENT7_ADOPTNODE DISPID_OMDOCUMENT+125 +#define DISPID_IHTMLDOCUMENT7_ONMSSITEMODEJUMPLISTITEMREMOVED DISPID_EVPROP_ONMSSITEMODEJUMPLISTITEMREMOVED +#define DISPID_IHTMLDOCUMENT7_IE9_ALL DISPID_OMDOCUMENT+126 +#define DISPID_IHTMLDOCUMENT7_INPUTENCODING DISPID_OMDOCUMENT+127 +#define DISPID_IHTMLDOCUMENT7_XMLENCODING DISPID_OMDOCUMENT+128 +#define DISPID_IHTMLDOCUMENT7_XMLSTANDALONE DISPID_OMDOCUMENT+129 +#define DISPID_IHTMLDOCUMENT7_XMLVERSION DISPID_OMDOCUMENT+130 +#define DISPID_IHTMLDOCUMENT7_HASATTRIBUTES DISPID_OMDOCUMENT+132 +#define DISPID_IHTMLDOCUMENT7_ONABORT DISPID_EVPROP_ONABORT +#define DISPID_IHTMLDOCUMENT7_ONBLUR DISPID_EVPROP_ONBLUR +#define DISPID_IHTMLDOCUMENT7_ONCANPLAY DISPID_EVPROP_CANPLAY +#define DISPID_IHTMLDOCUMENT7_ONCANPLAYTHROUGH DISPID_EVPROP_CANPLAYTHROUGH +#define DISPID_IHTMLDOCUMENT7_ONCHANGE DISPID_EVPROP_ONCHANGE +#define DISPID_IHTMLDOCUMENT7_ONDRAG DISPID_EVPROP_ONDRAG +#define DISPID_IHTMLDOCUMENT7_ONDRAGEND DISPID_EVPROP_ONDRAGEND +#define DISPID_IHTMLDOCUMENT7_ONDRAGENTER DISPID_EVPROP_ONDRAGENTER +#define DISPID_IHTMLDOCUMENT7_ONDRAGLEAVE DISPID_EVPROP_ONDRAGLEAVE +#define DISPID_IHTMLDOCUMENT7_ONDRAGOVER DISPID_EVPROP_ONDRAGOVER +#define DISPID_IHTMLDOCUMENT7_ONDROP DISPID_EVPROP_ONDROP +#define DISPID_IHTMLDOCUMENT7_ONDURATIONCHANGE DISPID_EVPROP_DURATIONCHANGE +#define DISPID_IHTMLDOCUMENT7_ONEMPTIED DISPID_EVPROP_EMPTIED +#define DISPID_IHTMLDOCUMENT7_ONENDED DISPID_EVPROP_ENDED +#define DISPID_IHTMLDOCUMENT7_ONERROR DISPID_EVPROP_ONERROR +#define DISPID_IHTMLDOCUMENT7_ONFOCUS DISPID_EVPROP_ONFOCUS +#define DISPID_IHTMLDOCUMENT7_ONINPUT DISPID_EVPROP_INPUT +#define DISPID_IHTMLDOCUMENT7_ONLOAD DISPID_EVPROP_ONLOAD +#define DISPID_IHTMLDOCUMENT7_ONLOADEDDATA DISPID_EVPROP_LOADEDDATA +#define DISPID_IHTMLDOCUMENT7_ONLOADEDMETADATA DISPID_EVPROP_LOADEDMETADATA +#define DISPID_IHTMLDOCUMENT7_ONLOADSTART DISPID_EVPROP_LOADSTART +#define DISPID_IHTMLDOCUMENT7_ONPAUSE DISPID_EVPROP_PAUSE +#define DISPID_IHTMLDOCUMENT7_ONPLAY DISPID_EVPROP_PLAY +#define DISPID_IHTMLDOCUMENT7_ONPLAYING DISPID_EVPROP_PLAYING +#define DISPID_IHTMLDOCUMENT7_ONPROGRESS DISPID_EVPROP_PROGRESS +#define DISPID_IHTMLDOCUMENT7_ONRATECHANGE DISPID_EVPROP_RATECHANGE +#define DISPID_IHTMLDOCUMENT7_ONRESET DISPID_EVPROP_ONRESET +#define DISPID_IHTMLDOCUMENT7_ONSCROLL DISPID_EVPROP_ONSCROLL +#define DISPID_IHTMLDOCUMENT7_ONSEEKED DISPID_EVPROP_SEEKED +#define DISPID_IHTMLDOCUMENT7_ONSEEKING DISPID_EVPROP_SEEKING +#define DISPID_IHTMLDOCUMENT7_ONSELECT DISPID_EVPROP_ONSELECT +#define DISPID_IHTMLDOCUMENT7_ONSTALLED DISPID_EVPROP_STALLED +#define DISPID_IHTMLDOCUMENT7_ONSUBMIT DISPID_EVPROP_ONSUBMIT +#define DISPID_IHTMLDOCUMENT7_ONSUSPEND DISPID_EVPROP_SUSPEND +#define DISPID_IHTMLDOCUMENT7_ONTIMEUPDATE DISPID_EVPROP_TIMEUPDATE +#define DISPID_IHTMLDOCUMENT7_ONVOLUMECHANGE DISPID_EVPROP_VOLUMECHANGE +#define DISPID_IHTMLDOCUMENT7_ONWAITING DISPID_EVPROP_WAITING +#define DISPID_IHTMLDOCUMENT7_NORMALIZE DISPID_OMDOCUMENT+134 +#define DISPID_IHTMLDOCUMENT7_IMPORTNODE DISPID_OMDOCUMENT+135 +#define DISPID_IHTMLDOCUMENT7_IE9_PARENTWINDOW DISPID_OMDOCUMENT+136 +#define DISPID_IHTMLDOCUMENT7_IE9_BODY DISPID_OMDOCUMENT+137 +#define DISPID_IHTMLDOCUMENT7_HEAD DISPID_OMDOCUMENT+138 + /* DWebBridgeEvents */ #define DISPID_DWEBBRIDGEEVENTS_ONSCRIPTLETEVENT 1 #define DISPID_DWEBBRIDGEEVENTS_ONREADYSTATECHANGE DISPID_HTMLDOCUMENTEVENTS_ONREADYSTATECHANGE @@ -1689,6 +1759,24 @@ #define DISPID_IHTMLSELECTIONOBJECT_CLEAR (DISPID_SELECTOBJ+3) #define DISPID_IHTMLSELECTIONOBJECT_TYPE (DISPID_SELECTOBJ+4) +/* IHTMLSelection */ +#define DISPID_IHTMLSELECTION_ANCHORNODE DISPID_HTMLSELECTION+1 +#define DISPID_IHTMLSELECTION_ANCHOROFFSET DISPID_HTMLSELECTION+2 +#define DISPID_IHTMLSELECTION_FOCUSNODE DISPID_HTMLSELECTION+3 +#define DISPID_IHTMLSELECTION_FOCUSOFFSET DISPID_HTMLSELECTION+4 +#define DISPID_IHTMLSELECTION_ISCOLLAPSED DISPID_HTMLSELECTION+5 +#define DISPID_IHTMLSELECTION_COLLAPSE DISPID_HTMLSELECTION+6 +#define DISPID_IHTMLSELECTION_COLLAPSETOSTART DISPID_HTMLSELECTION+7 +#define DISPID_IHTMLSELECTION_COLLAPSETOEND DISPID_HTMLSELECTION+8 +#define DISPID_IHTMLSELECTION_SELECTALLCHILDREN DISPID_HTMLSELECTION+9 +#define DISPID_IHTMLSELECTION_DELETEFROMDOCUMENT DISPID_HTMLSELECTION+10 +#define DISPID_IHTMLSELECTION_RANGECOUNT DISPID_HTMLSELECTION+11 +#define DISPID_IHTMLSELECTION_GETRANGEAT DISPID_HTMLSELECTION+12 +#define DISPID_IHTMLSELECTION_ADDRANGE DISPID_HTMLSELECTION+13 +#define DISPID_IHTMLSELECTION_REMOVERANGE DISPID_HTMLSELECTION+14 +#define DISPID_IHTMLSELECTION_REMOVEALLRANGES DISPID_HTMLSELECTION+15 +#define DISPID_IHTMLSELECTION_TOSTRING DISPID_HTMLSELECTION+16 + /* IHTMLFramesCollection2 */ #define DISPID_IHTMLFRAMESCOLLECTION2_ITEM 0 #define DISPID_IHTMLFRAMESCOLLECTION2_LENGTH 1001 @@ -2224,6 +2312,23 @@ #define DISPID_IHTMLDOMNODE_PREVIOUSSIBLING DISPID_ELEMENT+78 #define DISPID_IHTMLDOMNODE_NEXTSIBLING DISPID_ELEMENT+79 +/* IHTMLDOMNode3 */ +#define DISPID_IHTMLDOMNODE3_PREFIX DISPID_ELEMENT+120 +#define DISPID_IHTMLDOMNODE3_LOCALNAME DISPID_ELEMENT+118 +#define DISPID_IHTMLDOMNODE3_NAMESPACEURI DISPID_ELEMENT+119 +#define DISPID_IHTMLDOMNODE3_TEXTCONTENT DISPID_ELEMENT+127 +#define DISPID_IHTMLDOMNODE3_ISEQUALNODE DISPID_ELEMENT+121 +#define DISPID_IHTMLDOMNODE3_LOOKUPNAMESPACEURI DISPID_ELEMENT+122 +#define DISPID_IHTMLDOMNODE3_LOOKUPPREFIX DISPID_ELEMENT+123 +#define DISPID_IHTMLDOMNODE3_ISDEFAULTNAMESPACE DISPID_ELEMENT+124 +#define DISPID_IHTMLDOMNODE3_IE9_APPENDCHILD DISPID_IE9_ELEMENT+18 +#define DISPID_IHTMLDOMNODE3_IE9_INSERTBEFORE DISPID_IE9_ELEMENT+19 +#define DISPID_IHTMLDOMNODE3_IE9_REMOVECHILD DISPID_IE9_ELEMENT+20 +#define DISPID_IHTMLDOMNODE3_IE9_REPLACECHILD DISPID_IE9_ELEMENT+21 +#define DISPID_IHTMLDOMNODE3_ISSAMENODE DISPID_ELEMENT+125 +#define DISPID_IHTMLDOMNODE3_COMPAREDOCUMENTPOSITION DISPID_ELEMENT+126 +#define DISPID_IHTMLDOMNODE3_ISSUPPORTED DISPID_IE9_ELEMENT+27 + /* IHTMLLinkElement */ #define DISPID_IHTMLLINKELEMENT_HREF DISPID_HEDELEMS+5 #define DISPID_IHTMLLINKELEMENT_REL DISPID_HEDELEMS+6 @@ -2432,6 +2537,34 @@ #define DISPID_IHTMLTEXTAREAELEMENT_WRAP DISPID_RICHTEXT+3 #define DISPID_IHTMLTEXTAREAELEMENT_CREATETEXTRANGE DISPID_RICHTEXT+6 +/* IHTMLDOMRange */ +#define DISPID_IHTMLDOMRANGE_STARTCONTAINER DISPID_DOMRANGE+1 +#define DISPID_IHTMLDOMRANGE_STARTOFFSET DISPID_DOMRANGE+2 +#define DISPID_IHTMLDOMRANGE_ENDCONTAINER DISPID_DOMRANGE+3 +#define DISPID_IHTMLDOMRANGE_ENDOFFSET DISPID_DOMRANGE+4 +#define DISPID_IHTMLDOMRANGE_COLLAPSED DISPID_DOMRANGE+5 +#define DISPID_IHTMLDOMRANGE_COMMONANCESTORCONTAINER DISPID_DOMRANGE+6 +#define DISPID_IHTMLDOMRANGE_SETSTART DISPID_DOMRANGE+7 +#define DISPID_IHTMLDOMRANGE_SETEND DISPID_DOMRANGE+8 +#define DISPID_IHTMLDOMRANGE_SETSTARTBEFORE DISPID_DOMRANGE+9 +#define DISPID_IHTMLDOMRANGE_SETSTARTAFTER DISPID_DOMRANGE+10 +#define DISPID_IHTMLDOMRANGE_SETENDBEFORE DISPID_DOMRANGE+11 +#define DISPID_IHTMLDOMRANGE_SETENDAFTER DISPID_DOMRANGE+12 +#define DISPID_IHTMLDOMRANGE_COLLAPSE DISPID_DOMRANGE+13 +#define DISPID_IHTMLDOMRANGE_SELECTNODE DISPID_DOMRANGE+14 +#define DISPID_IHTMLDOMRANGE_SELECTNODECONTENTS DISPID_DOMRANGE+15 +#define DISPID_IHTMLDOMRANGE_COMPAREBOUNDARYPOINTS DISPID_DOMRANGE+16 +#define DISPID_IHTMLDOMRANGE_DELETECONTENTS DISPID_DOMRANGE+17 +#define DISPID_IHTMLDOMRANGE_EXTRACTCONTENTS DISPID_DOMRANGE+18 +#define DISPID_IHTMLDOMRANGE_CLONECONTENTS DISPID_DOMRANGE+19 +#define DISPID_IHTMLDOMRANGE_INSERTNODE DISPID_DOMRANGE+20 +#define DISPID_IHTMLDOMRANGE_SURROUNDCONTENTS DISPID_DOMRANGE+21 +#define DISPID_IHTMLDOMRANGE_CLONERANGE DISPID_DOMRANGE+22 +#define DISPID_IHTMLDOMRANGE_TOSTRING DISPID_DOMRANGE+23 +#define DISPID_IHTMLDOMRANGE_DETACH DISPID_DOMRANGE+24 +#define DISPID_IHTMLDOMRANGE_GETCLIENTRECTS DISPID_DOMRANGE+25 +#define DISPID_IHTMLDOMRANGE_GETBOUNDINGCLIENTRECT DISPID_DOMRANGE+26 + /* IHTMLButtonElement */ #define DISPID_IHTMLBUTTONELEMENT_TYPE DISPID_INPUT #define DISPID_IHTMLBUTTONELEMENT_VALUE DISPID_A_VALUE @@ -3093,4 +3226,8 @@ #define DISPID_IHTMLCONTROLELEMENT_CLIENTTOP (DISPID_SITE+21) #define DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT (DISPID_SITE+22) +/* IDOMProcessingInstruction */ +#define DISPID_IDOMPROCESSINGINSTRUCTION_TARGET DISPID_PROCESSINGINSTRUCTION +#define DISPID_IDOMPROCESSINGINSTRUCTION_DATA DISPID_PROCESSINGINSTRUCTION+1 + #endif /* __MSHTMDID_H__ */ diff --git a/include/mshtml.idl b/include/mshtml.idl index 19607d18ca..3e1424ceac 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -3877,6 +3877,94 @@ interface IHTMLDOMNode2 : IDispatch WINE_IHTMLDOMNODE_DISPINTERFACE_DECL; \ WINE_IHTMLDOMNODE2_DISPINTERFACE_DECL +/***************************************************************************** + * IHTMLDOMNode3 interface + */ +[ + odl, + oleautomation, + dual, + uuid(305106e0-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMNode3 : IDispatch +{ + [propput, id(DISPID_IHTMLDOMNODE3_PREFIX)] + HRESULT prefix([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOMNODE3_PREFIX)] + HRESULT prefix([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLDOMNODE3_LOCALNAME)] + HRESULT localName([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLDOMNODE3_NAMESPACEURI)] + HRESULT namespaceURI([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOMNODE3_TEXTCONTENT)] + HRESULT textContent([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOMNODE3_TEXTCONTENT)] + HRESULT textContent([out, retval] VARIANT *p); + + [id(DISPID_IHTMLDOMNODE3_ISEQUALNODE)] + HRESULT isEqualNode( + [in] IHTMLDOMNode3 *otherNode, + [out, retval] VARIANT_BOOL *isEqual); + + [id(DISPID_IHTMLDOMNODE3_LOOKUPNAMESPACEURI)] + HRESULT lookupNamespaceURI( + [in] VARIANT *pvarPrefix, + [out, retval] VARIANT *pvarNamespaceURI); + + [id(DISPID_IHTMLDOMNODE3_LOOKUPPREFIX)] + HRESULT lookupPrefix( + [in] VARIANT *pvarNamespaceURI, + [out, retval] VARIANT *pvarPrefix); + + [id(DISPID_IHTMLDOMNODE3_ISDEFAULTNAMESPACE)] + HRESULT isDefaultNamespace( + [in] VARIANT *pvarNamespace, + [out, retval] VARIANT_BOOL *pfDefaultNamespace); + + [id(DISPID_IHTMLDOMNODE3_IE9_APPENDCHILD)] + HRESULT appendChild( + [in] IHTMLDOMNode *newChild, + [out, retval] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE3_IE9_INSERTBEFORE)] + HRESULT insertBefore( + [in] IHTMLDOMNode *newChild, + [in, optional] VARIANT refChild, + [out, retval] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE3_IE9_REMOVECHILD)] + HRESULT removeChild( + [in] IHTMLDOMNode *oldChild, + [out, retval] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE3_IE9_REPLACECHILD)] + HRESULT replaceChild( + [in] IHTMLDOMNode *newChild, + [in] IHTMLDOMNode *oldChild, + [out, retval] IHTMLDOMNode **node); + + [id(DISPID_IHTMLDOMNODE3_ISSAMENODE)] + HRESULT isSameNode( + [in] IHTMLDOMNode3 *otherNode, + [out, retval] VARIANT_BOOL *isSame); + + [id(DISPID_IHTMLDOMNODE3_COMPAREDOCUMENTPOSITION)] + HRESULT compareDocumentPosition( + [in] IHTMLDOMNode *otherNode, + [out, retval] USHORT *flags); + + [id(DISPID_IHTMLDOMNODE3_ISSUPPORTED)] + HRESULT isSupported( + [in] BSTR feature, + [in] VARIANT version, + [out, retval] VARIANT_BOOL *pfisSupported); +} + /***************************************************************************** * IHTMLDOMAttribute interface */ @@ -7150,6 +7238,103 @@ interface IHTMLTxtRange : IDispatch [retval, out] VARIANT_BOOL *pfRet); } +/***************************************************************************** + * IHTMLDOMRange interface + */ +[ + odl, + oleautomation, + dual, + uuid(305104ae-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDOMRange : IDispatch +{ + [propget, id(DISPID_IHTMLDOMRANGE_STARTCONTAINER)] + HRESULT startContainer([out, retval] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMRANGE_STARTOFFSET)] + HRESULT startOffset([out, retval] long *p); + + [propget, id(DISPID_IHTMLDOMRANGE_ENDCONTAINER)] + HRESULT endContainer([out, retval] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLDOMRANGE_ENDOFFSET)] + HRESULT endOffset([out, retval] long *p); + + [propget, id(DISPID_IHTMLDOMRANGE_COLLAPSED)] + HRESULT collapsed([out, retval] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLDOMRANGE_COMMONANCESTORCONTAINER)] + HRESULT commonAncestorContainer([out, retval] IHTMLDOMNode **p); + + [id(DISPID_IHTMLDOMRANGE_SETSTART)] + HRESULT setStart( + [in] IDispatch *refNode, + [in] long offset); + + [id(DISPID_IHTMLDOMRANGE_SETEND)] HRESULT + setEnd( + [in] IDispatch *refNode, + [in] long offset); + + [id(DISPID_IHTMLDOMRANGE_SETSTARTBEFORE)] + HRESULT setStartBefore([in] IDispatch* refNode); + + [id(DISPID_IHTMLDOMRANGE_SETSTARTAFTER)] + HRESULT setStartAfter([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_SETENDBEFORE)] + HRESULT setEndBefore([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_SETENDAFTER)] + HRESULT setEndAfter([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_COLLAPSE)] + HRESULT collapse([in] VARIANT_BOOL toStart); + + [id(DISPID_IHTMLDOMRANGE_SELECTNODE)] + HRESULT selectNode([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_SELECTNODECONTENTS)] + HRESULT selectNodeContents([in] IDispatch *refNode); + + [id(DISPID_IHTMLDOMRANGE_COMPAREBOUNDARYPOINTS)] + HRESULT compareBoundaryPoints( + [in] short how, + [in] IDispatch *sourceRange, + [out, retval] long *compareResult); + + [id(DISPID_IHTMLDOMRANGE_DELETECONTENTS)] + HRESULT deleteContents(); + + [id(DISPID_IHTMLDOMRANGE_EXTRACTCONTENTS)] + HRESULT extractContents([out, retval] IDispatch **ppDocumentFragment); + + [id(DISPID_IHTMLDOMRANGE_CLONECONTENTS)] + HRESULT cloneContents([out, retval] IDispatch **ppDocumentFragment); + + [id(DISPID_IHTMLDOMRANGE_INSERTNODE)] + HRESULT insertNode([in] IDispatch *newNode); + + [id(DISPID_IHTMLDOMRANGE_SURROUNDCONTENTS)] + HRESULT surroundContents([in] IDispatch *newParent); + + [id(DISPID_IHTMLDOMRANGE_CLONERANGE)] + HRESULT cloneRange([out, retval] IHTMLDOMRange **ppClonedRange); + + [id(DISPID_IHTMLDOMRANGE_TOSTRING)] + HRESULT toString([out, retval] BSTR *pRangeString); + + [id(DISPID_IHTMLDOMRANGE_DETACH)] + HRESULT detach(); + + [id(DISPID_IHTMLDOMRANGE_GETCLIENTRECTS)] + HRESULT getClientRects([out, retval] IHTMLRectCollection **ppRectCol); + + [id(DISPID_IHTMLDOMRANGE_GETBOUNDINGCLIENTRECT)] + HRESULT getBoundingClientRect([out, retval] IHTMLRect **ppRect); +} + [ noncreatable, uuid(3050f37f-98b5-11cf-bb82-00aa00bdce0b) @@ -9308,6 +9493,70 @@ interface IHTMLSelectionObject : IDispatch HRESULT type([retval, out] BSTR *p); } +/***************************************************************************** + * IHTMLSelection interface + */ +[ + odl, + oleautomation, + dual, + uuid(305104b6-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLSelection : IDispatch +{ + [propget, id(DISPID_IHTMLSELECTION_ANCHORNODE)] + HRESULT anchorNode([out, retval] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLSELECTION_ANCHOROFFSET)] + HRESULT anchorOffset([out, retval] long *p); + + [propget, id(DISPID_IHTMLSELECTION_FOCUSNODE)] + HRESULT focusNode([out, retval] IHTMLDOMNode **p); + + [propget, id(DISPID_IHTMLSELECTION_FOCUSOFFSET)] + HRESULT focusOffset([out, retval] long *p); + + [propget, id(DISPID_IHTMLSELECTION_ISCOLLAPSED)] + HRESULT isCollapsed([out, retval] VARIANT_BOOL *p); + + [id(DISPID_IHTMLSELECTION_COLLAPSE)] + HRESULT collapse( + [in] IDispatch *parentNode, + [in] long offfset); + + [id(DISPID_IHTMLSELECTION_COLLAPSETOSTART)] + HRESULT collapseToStart(); + + [id(DISPID_IHTMLSELECTION_COLLAPSETOEND)] + HRESULT collapseToEnd(); + + [id(DISPID_IHTMLSELECTION_SELECTALLCHILDREN)] + HRESULT selectAllChildren([in] IDispatch *parentNode); + + [id(DISPID_IHTMLSELECTION_DELETEFROMDOCUMENT)] + HRESULT deleteFromDocument(); + + [propget, id(DISPID_IHTMLSELECTION_RANGECOUNT)] + HRESULT rangeCount([out, retval] long *p); + + [id(DISPID_IHTMLSELECTION_GETRANGEAT)] + HRESULT getRangeAt( + [in] long index, + [out, retval] IHTMLDOMRange **ppRange); + + [id(DISPID_IHTMLSELECTION_ADDRANGE)] + HRESULT addRange([in] IDispatch *range); + + [id(DISPID_IHTMLSELECTION_REMOVERANGE)] + HRESULT removeRange([in] IDispatch *range); + + [id(DISPID_IHTMLSELECTION_REMOVEALLRANGES)] + HRESULT removeAllRanges(); + + [id(DISPID_IHTMLSELECTION_TOSTRING)] + HRESULT toString([out, retval] BSTR *pSelectionString); +} + /***************************************************************************** * IHTMLOptionElement interface */ @@ -13337,6 +13586,27 @@ methods: void onselect([in] IHTMLEventObj* pEvtObj); } +/***************************************************************************** + * IDOMProcessingInstruction interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510742-98b5-11cf-bb82-00aa00bdce0b) +] +interface IDOMProcessingInstruction : IDispatch +{ + [propget, id(DISPID_IDOMPROCESSINGINSTRUCTION_TARGET)] + HRESULT target([out, retval] BSTR *p); + + [propput, id(DISPID_IDOMPROCESSINGINSTRUCTION_DATA)] + HRESULT data([in] BSTR v); + + [propget, id(DISPID_IDOMPROCESSINGINSTRUCTION_DATA)] + HRESULT data([out, retval] BSTR *p); +} + /***************************************************************************** * IHTMLDocument interface */ @@ -14042,6 +14312,355 @@ interface IHTMLDocument6 : IDispatch HRESULT updateSettings(); } +/***************************************************************************** + * IHTMLDocument7 interface + */ +[ + odl, + oleautomation, + dual, + uuid(305104b8-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDocument7 : IDispatch +{ + [propget, id(DISPID_IHTMLDOCUMENT7_DEFAULTVIEW)] + HRESULT defaultView([out, retval] IHTMLWindow2 **p); + + [id(DISPID_IHTMLDOCUMENT7_CREATECDATASECTION)] + HRESULT createCDATASection( + [in] BSTR text, + [out, retval] IHTMLDOMNode **newCDATASectionNode); + + [id(DISPID_IHTMLDOCUMENT7_GETSELECTION)] + HRESULT getSelection([out, retval] IHTMLSelection **ppIHTMLSelection); + + [id(DISPID_IHTMLDOCUMENT7_GETELEMENTSBYTAGNAMENS)] + HRESULT getElementsByTagNameNS( + [in] VARIANT *pvarNS, + [in] BSTR bstrLocalName, + [out, retval] IHTMLElementCollection **pelColl); + + [id(DISPID_IHTMLDOCUMENT7_CREATEELEMENTNS)] + HRESULT createElementNS( + [in] VARIANT *pvarNS, + [in] BSTR bstrTag, + [out, retval] IHTMLElement **newElem); + + [id(DISPID_IHTMLDOCUMENT7_CREATEATTRIBUTENS)] + HRESULT createAttributeNS( + [in] VARIANT *pvarNS, + [in] BSTR bstrAttrName, + [out, retval] IHTMLDOMAttribute **ppAttribute); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONMSTHUMBNAILCLICK), displaybind, bindable] + HRESULT onmsthumbnailclick([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONMSTHUMBNAILCLICK), displaybind, bindable] + HRESULT onmsthumbnailclick([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLDOCUMENT7_CHARACTERSET)] + HRESULT characterSet([out, retval] BSTR *p); + + [id(DISPID_IHTMLDOCUMENT7_IE9_CREATEELEMENT)] + HRESULT createElement( + [in] BSTR bstrTag, + [out, retval] IHTMLElement **newElem); + + [id(DISPID_IHTMLDOCUMENT7_IE9_CREATEATTRIBUTE)] + HRESULT createAttribute( + [in] BSTR bstrAttrName, + [out, retval] IHTMLDOMAttribute **ppAttribute); + + [id(DISPID_IHTMLDOCUMENT7_GETELEMENTSBYCLASSNAME)] + HRESULT getElementsByClassName( + [in] BSTR v, + [out, retval] IHTMLElementCollection **pel); + + [id(DISPID_IHTMLDOCUMENT7_CREATEPROCESSINGINSTRUCTION)] + HRESULT createProcessingInstruction( + [in] BSTR bstrTarget, + [in] BSTR bstrData, + [out, retval] IDOMProcessingInstruction **newProcessingInstruction); + + [id(DISPID_IHTMLDOCUMENT7_ADOPTNODE)] + HRESULT adoptNode( + [in] IHTMLDOMNode *pNodeSource, + [out, retval] IHTMLDOMNode3 **ppNodeDest); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONMSSITEMODEJUMPLISTITEMREMOVED), displaybind, bindable] + HRESULT onmssitemodejumplistitemremoved([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONMSSITEMODEJUMPLISTITEMREMOVED), displaybind, bindable] + HRESULT onmssitemodejumplistitemremoved([out, retval] VARIANT *p); + + [propget, id(DISPID_IHTMLDOCUMENT7_IE9_ALL)] + HRESULT all([out, retval] IHTMLElementCollection **p); + + [propget, id(DISPID_IHTMLDOCUMENT7_INPUTENCODING)] + HRESULT inputEncoding([out, retval] BSTR *p); + + [propget, id(DISPID_IHTMLDOCUMENT7_XMLENCODING)] + HRESULT xmlEncoding([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_XMLSTANDALONE)] + HRESULT xmlStandalone([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDOCUMENT7_XMLSTANDALONE)] + HRESULT xmlStandalone([out, retval] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_XMLVERSION)] + HRESULT xmlVersion([in] BSTR v); + + [propget, id(DISPID_IHTMLDOCUMENT7_XMLVERSION)] + HRESULT xmlVersion([out, retval] BSTR *p); + + [id(DISPID_IHTMLDOCUMENT7_HASATTRIBUTES)] + HRESULT hasAttributes([out, retval] VARIANT_BOOL *pfHasAttributes); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONABORT), displaybind, bindable] + HRESULT onabort([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONABORT), displaybind, bindable] + HRESULT onabort([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONBLUR), displaybind, bindable] + HRESULT onblur([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONBLUR), displaybind, bindable] + HRESULT onblur([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONCANPLAY), displaybind, bindable] + HRESULT oncanplay([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONCANPLAY), displaybind, bindable] + HRESULT oncanplay([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONCANPLAYTHROUGH), displaybind, bindable] + HRESULT oncanplaythrough([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONCANPLAYTHROUGH), displaybind, bindable] + HRESULT oncanplaythrough([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONCHANGE), displaybind, bindable] + HRESULT onchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONCHANGE), displaybind, bindable] + HRESULT onchange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAG), displaybind, bindable] + HRESULT ondrag([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAG), displaybind, bindable] + HRESULT ondrag([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAGEND), displaybind, bindable] + HRESULT ondragend([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAGEND), displaybind, bindable] + HRESULT ondragend([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAGENTER), displaybind, bindable] + HRESULT ondragenter([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAGENTER), displaybind, bindable] + HRESULT ondragenter([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAGLEAVE), displaybind, bindable] + HRESULT ondragleave([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAGLEAVE), displaybind, bindable] + HRESULT ondragleave([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDRAGOVER), displaybind, bindable] + HRESULT ondragover([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDRAGOVER), displaybind, bindable] + HRESULT ondragover([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDROP), displaybind, bindable] + HRESULT ondrop([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDROP), displaybind, bindable] + HRESULT ondrop([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONDURATIONCHANGE), displaybind, bindable] + HRESULT ondurationchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONDURATIONCHANGE), displaybind, bindable] + HRESULT ondurationchange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONEMPTIED), displaybind, bindable] + HRESULT onemptied([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONEMPTIED), displaybind, bindable] + HRESULT onemptied([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONENDED), displaybind, bindable] + HRESULT onended([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONENDED), displaybind, bindable] + HRESULT onended([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONERROR), displaybind, bindable] + HRESULT onerror([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONERROR), displaybind, bindable] + HRESULT onerror([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONFOCUS), displaybind, bindable] + HRESULT onfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONFOCUS), displaybind, bindable] + HRESULT onfocus([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONINPUT), displaybind, bindable] + HRESULT oninput([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONINPUT), displaybind, bindable] + HRESULT oninput([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONLOAD), displaybind, bindable] + HRESULT onload([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONLOAD), displaybind, bindable] + HRESULT onload([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONLOADEDDATA), displaybind, bindable] + HRESULT onloadeddata([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONLOADEDDATA), displaybind, bindable] + HRESULT onloadeddata([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONLOADEDMETADATA), displaybind, bindable] + HRESULT onloadedmetadata([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONLOADEDMETADATA), displaybind, bindable] + HRESULT onloadedmetadata([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONLOADSTART), displaybind, bindable] + HRESULT onloadstart([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONLOADSTART), displaybind, bindable] + HRESULT onloadstart([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONPAUSE), displaybind, bindable] + HRESULT onpause([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONPAUSE), displaybind, bindable] + HRESULT onpause([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONPLAY), displaybind, bindable] + HRESULT onplay([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONPLAY), displaybind, bindable] + HRESULT onplay([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONPLAYING), displaybind, bindable] + HRESULT onplaying([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONPLAYING), displaybind, bindable] + HRESULT onplaying([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONPROGRESS), displaybind, bindable] + HRESULT onprogress([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONPROGRESS), displaybind, bindable] + HRESULT onprogress([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONRATECHANGE), displaybind, bindable] + HRESULT onratechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONRATECHANGE), displaybind, bindable] + HRESULT onratechange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONRESET), displaybind, bindable] + HRESULT onreset([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONRESET), displaybind, bindable] + HRESULT onreset([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSCROLL), displaybind, bindable] + HRESULT onscroll([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSCROLL), displaybind, bindable] + HRESULT onscroll([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSEEKED), displaybind, bindable] + HRESULT onseeked([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSEEKED), displaybind, bindable] + HRESULT onseeked([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSEEKING), displaybind, bindable] + HRESULT onseeking([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSEEKING), displaybind, bindable] + HRESULT onseeking([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSELECT), displaybind, bindable] + HRESULT onselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSELECT), displaybind, bindable] + HRESULT onselect([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSTALLED), displaybind, bindable] + HRESULT onstalled([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSTALLED), displaybind, bindable] + HRESULT onstalled([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSUBMIT), displaybind, bindable] + HRESULT onsubmit([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSUBMIT), displaybind, bindable] + HRESULT onsubmit([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONSUSPEND), displaybind, bindable] + HRESULT onsuspend([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONSUSPEND), displaybind, bindable] + HRESULT onsuspend([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONTIMEUPDATE), displaybind, bindable] + HRESULT ontimeupdate([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONTIMEUPDATE), displaybind, bindable] + HRESULT ontimeupdate([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONVOLUMECHANGE), displaybind, bindable] + HRESULT onvolumechange([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONVOLUMECHANGE), displaybind, bindable] + HRESULT onvolumechange([out, retval] VARIANT *p); + + [propput, id(DISPID_IHTMLDOCUMENT7_ONWAITING), displaybind, bindable] + HRESULT onwaiting([in] VARIANT v); + + [propget, id(DISPID_IHTMLDOCUMENT7_ONWAITING), displaybind, bindable] + HRESULT onwaiting([out, retval] VARIANT *p); + + [id(DISPID_IHTMLDOCUMENT7_NORMALIZE)] + HRESULT normalize(); + + [id(DISPID_IHTMLDOCUMENT7_IMPORTNODE)] + HRESULT importNode( + [in] IHTMLDOMNode *pNodeSource, + [in] VARIANT_BOOL fDeep, + [out, retval] IHTMLDOMNode3 **ppNodeDest); + + [propget, id(DISPID_IHTMLDOCUMENT7_IE9_PARENTWINDOW)] + HRESULT parentWindow([out, retval] IHTMLWindow2 **p); + + [propputref, id(DISPID_IHTMLDOCUMENT7_IE9_BODY)] + HRESULT body([in] IHTMLElement *v); + + [propget, id(DISPID_IHTMLDOCUMENT7_IE9_BODY)] + HRESULT body([out, retval] IHTMLElement **p); + + [propget, id(DISPID_IHTMLDOCUMENT7_HEAD)] + HRESULT head([out, retval] IHTMLElement **p); +} + /***************************************************************************** * DispHTMLDocument dispinterface */