Commit f731140c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml.idl: Added DispHTMLDOMText declaration.

parent 5d024a6d
......@@ -91,6 +91,7 @@
#define DISPID_OMDOCUMENT DISPID_NORMAL_FIRST
#define DISPID_SCREEN DISPID_NORMAL_FIRST
#define DISPID_DOMATTRIBUTE DISPID_NORMAL_FIRST
#define DISPID_DOMTEXTNODE DISPID_NORMAL_FIRST
#define DISPID_DOMIMPLEMENTATION DISPID_NORMAL_FIRST
#define DISPID_COLLECTION (DISPID_NORMAL_FIRST+500)
......@@ -1706,6 +1707,19 @@
/* IHTMLDOMNode2 */
#define DISPID_IHTMLDOMNODE2_OWNERDOCUMENT DISPID_ELEMENT+113
/* IHTMLDOMTextNode */
#define DISPID_IHTMLDOMTEXTNODE_DATA DISPID_DOMTEXTNODE
#define DISPID_IHTMLDOMTEXTNODE_TOSTRING DISPID_DOMTEXTNODE+1
#define DISPID_IHTMLDOMTEXTNODE_LENGTH DISPID_DOMTEXTNODE+2
#define DISPID_IHTMLDOMTEXTNODE_SPLITTEXT DISPID_DOMTEXTNODE+3
/* IHTMLDOMTextNode2 */
#define DISPID_IHTMLDOMTEXTNODE2_SUBSTRINGDATA DISPID_DOMTEXTNODE+4
#define DISPID_IHTMLDOMTEXTNODE2_APPENDDATA DISPID_DOMTEXTNODE+5
#define DISPID_IHTMLDOMTEXTNODE2_INSERTDATA DISPID_DOMTEXTNODE+6
#define DISPID_IHTMLDOMTEXTNODE2_DELETEDATA DISPID_DOMTEXTNODE+7
#define DISPID_IHTMLDOMTEXTNODE2_REPLACEDATA DISPID_DOMTEXTNODE+8
/* IHTMLRenderStyle */
#define DISPID_IHTMLRENDERSTYLE_TEXTLINETHROUGHSTYLE DISPID_A_TEXTLINETHROUGHSTYLE
#define DISPID_IHTMLRENDERSTYLE_TEXTUNDERLINESTYLE DISPID_A_TEXTUNDERLINESTYLE
......
......@@ -1694,6 +1694,125 @@ interface IHTMLDOMImplementation : IDispatch
[retval, out] VARIANT_BOOL *pfHasFeature);
}
/*****************************************************************************
* DispHTMLDOMTextNode dispinterface
*/
[
hidden,
uuid(3050f565-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispHTMLDOMTextNode
{
properties:
methods:
[propput, id(DISPID_IHTMLDOMTEXTNODE_DATA)]
void data(BSTR v);
[propget, id(DISPID_IHTMLDOMTEXTNODE_DATA)]
BSTR data();
[id(DISPID_IHTMLDOMTEXTNODE_TOSTRING)]
BSTR toString();
[propget, id(DISPID_IHTMLDOMTEXTNODE_LENGTH)]
long length();
[id(DISPID_IHTMLDOMTEXTNODE_SPLITTEXT)]
IHTMLDOMNode *splitText([in] long offset);
[id(DISPID_IHTMLDOMTEXTNODE2_SUBSTRINGDATA)]
BSTR substringData(
[in] long offset,
[in] long Count);
[id(DISPID_IHTMLDOMTEXTNODE2_APPENDDATA)]
void appendData([in] BSTR bstrstring);
[id(DISPID_IHTMLDOMTEXTNODE2_INSERTDATA)]
void insertData(
[in] long offset,
[in] BSTR bstrstring);
[id(DISPID_IHTMLDOMTEXTNODE2_DELETEDATA)]
void deleteData(
[in] long offset,
[in] long Count);
[id(DISPID_IHTMLDOMTEXTNODE2_REPLACEDATA)]
void replaceData(
[in] long offset,
[in] long Count,
[in] BSTR bstrstring);
[propget, id(DISPID_IHTMLDOMNODE_NODETYPE)]
long nodeType();
[propget, id(DISPID_IHTMLDOMNODE_PARENTNODE)]
IHTMLDOMNode *parentNode();
[id(DISPID_IHTMLDOMNODE_HASCHILDNODES)]
VARIANT_BOOL hasChildNodes();
[propget, id(DISPID_IHTMLDOMNODE_CHILDNODES)]
IDispatch *childNodes();
[propget, id(DISPID_IHTMLDOMNODE_ATTRIBUTES)]
IDispatch *attributes();
[id(DISPID_IHTMLDOMNODE_INSERTBEFORE)]
IHTMLDOMNode *insertBefore(
[in] IHTMLDOMNode *newChild,
[in, optional] VARIANT refChild);
[id(DISPID_IHTMLDOMNODE_REMOVECHILD)]
IHTMLDOMNode *removeChild([in] IHTMLDOMNode *oldChild);
[id(DISPID_IHTMLDOMNODE_REPLACECHILD)]
IHTMLDOMNode *replaceChild(
[in] IHTMLDOMNode *newChild,
[in] IHTMLDOMNode *oldChild);
[id(DISPID_IHTMLDOMNODE_CLONENODE)]
IHTMLDOMNode* cloneNode([in] VARIANT_BOOL fDeep);
[id(DISPID_IHTMLDOMNODE_REMOVENODE)]
IHTMLDOMNode *removeNode([in, defaultvalue(0)] VARIANT_BOOL fDeep);
[id(DISPID_IHTMLDOMNODE_SWAPNODE)]
IHTMLDOMNode *swapNode([in] IHTMLDOMNode *otherNode);
[id(DISPID_IHTMLDOMNODE_REPLACENODE)]
IHTMLDOMNode *replaceNode([in] IHTMLDOMNode *replacement);
[id(DISPID_IHTMLDOMNODE_APPENDCHILD)]
IHTMLDOMNode *appendChild([in] IHTMLDOMNode *newChild);
[propget, id(DISPID_IHTMLDOMNODE_NODENAME)]
BSTR nodeName();
[propput, id(DISPID_IHTMLDOMNODE_NODEVALUE)]
void nodeValue(VARIANT v);
[propget, id(DISPID_IHTMLDOMNODE_NODEVALUE)]
VARIANT nodeValue();
[propget, id(DISPID_IHTMLDOMNODE_FIRSTCHILD)]
IHTMLDOMNode *firstChild();
[propget, id(DISPID_IHTMLDOMNODE_LASTCHILD)]
IHTMLDOMNode *lastChild();
[propget, id(DISPID_IHTMLDOMNODE_PREVIOUSSIBLING)]
IHTMLDOMNode *previousSibling();
[propget, id(DISPID_IHTMLDOMNODE_NEXTSIBLING)]
IHTMLDOMNode* nextSibling();
[propget, id(DISPID_IHTMLDOMNODE2_OWNERDOCUMENT)]
IDispatch *ownerDocument();
}
interface IHTMLElementCollection;
/*****************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment