From 8cba37944cf9992b18227ecdb5bd322e5bce74f9 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 1 Apr 2016 13:48:18 +0200 Subject: [PATCH] mshtml: Added IHTMLDivElement declaration. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- include/mshtmdid.h | 4 ++++ include/mshtml.idl | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/include/mshtmdid.h b/include/mshtmdid.h index ac0a5e2148d..a5964779a8a 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -2993,6 +2993,10 @@ /* IHTMLScriptElement3 */ #define DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC DISPID_IE8_SCRIPT +/* IHTMLDivElement */ +#define DISPID_IHTMLDIVELEMENT_ALIGN STDPROPID_XOBJ_BLOCKALIGN +#define DISPID_IHTMLDIVELEMENT_NOWRAP DISPID_A_NOWRAP + /* IHTMLObjectElement */ #define DISPID_IHTMLOBJECTELEMENT_OBJECT DISPID_OBJECT+1 #define DISPID_IHTMLOBJECTELEMENT_CLASSID DISPID_OBJECT+2 diff --git a/include/mshtml.idl b/include/mshtml.idl index e068912b305..53dc4bcf4c8 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -17840,6 +17840,56 @@ interface IHTMLObjectElement2 : IDispatch HRESULT data([out, retval] BSTR *p); } +/***************************************************************************** + * IHTMLDivElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f200-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLDivElement : IDispatch +{ + [propput, id(DISPID_IHTMLDIVELEMENT_ALIGN), displaybind, bindable] + HRESULT align([in] BSTR v); + + [propget, id(DISPID_IHTMLDIVELEMENT_ALIGN), displaybind, bindable] + HRESULT align([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLDIVELEMENT_NOWRAP), displaybind, bindable] + HRESULT noWrap([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDIVELEMENT_NOWRAP), displaybind, bindable] + HRESULT noWrap([out, retval] VARIANT_BOOL *p); +} + +/***************************************************************************** + * DispHTMLDivElement dispinterface + */ +[ + hidden, + uuid(3050f50c-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLDivElement +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLDIVELEMENT_ALIGN), displaybind, bindable] + void align(BSTR v); + + [propget, id(DISPID_IHTMLDIVELEMENT_ALIGN), displaybind, bindable] + BSTR align(); + + [propput, id(DISPID_IHTMLDIVELEMENT_NOWRAP), displaybind, bindable] + void noWrap(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLDIVELEMENT_NOWRAP), displaybind, bindable] + VARIANT_BOOL noWrap(); +} + /***************************************************************************** * IHTMLParamElement interface */