| /* |
| * Copyright 2006 Jacek Caban for CodeWeavers |
| * |
| * This library is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU Lesser General Public |
| * License as published by the Free Software Foundation; either |
| * version 2.1 of the License, or (at your option) any later version. |
| * |
| * This library is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| * Lesser General Public License for more details. |
| * |
| * You should have received a copy of the GNU Lesser General Public |
| * License along with this library; if not, write to the Free Software |
| * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
| */ |
| |
| #include "config.h" |
| |
| #include <stdarg.h> |
| #include <stdio.h> |
| |
| #define COBJMACROS |
| |
| #include "windef.h" |
| #include "winbase.h" |
| #include "winuser.h" |
| #include "winnls.h" |
| #include "ole2.h" |
| |
| #include "wine/debug.h" |
| #include "wine/unicode.h" |
| |
| #include "mshtml_private.h" |
| |
| WINE_DEFAULT_DEBUG_CHANNEL(mshtml); |
| |
| typedef struct { |
| const IHTMLStyleVtbl *lpHTMLStyleVtbl; |
| |
| LONG ref; |
| |
| nsIDOMCSSStyleDeclaration *nsstyle; |
| } HTMLStyle; |
| |
| #define HTMLSTYLE(x) ((IHTMLStyle*) &(x)->lpHTMLStyleVtbl); |
| |
| static const WCHAR attrBackgroundColor[] = |
| {'b','a','c','k','g','r','o','u','n','d','-','c','o','l','o','r',0}; |
| static const WCHAR attrColor[] = |
| {'c','o','l','o','r',0}; |
| static const WCHAR attrDisplay[] = |
| {'d','i','s','p','l','a','y',0}; |
| static const WCHAR attrFontFamily[] = |
| {'f','o','n','t','-','f','a','m','i','l','y',0}; |
| static const WCHAR attrFontSize[] = |
| {'f','o','n','t','-','s','i','z','e',0}; |
| static const WCHAR attrFontStyle[] = |
| {'f','o','n','t','-','s','t','y','l','e',0}; |
| static const WCHAR attrFontWeight[] = |
| {'f','o','n','t','-','w','e','i','g','h','t',0}; |
| static const WCHAR attrTextDecoration[] = |
| {'t','e','x','t','-','d','e','c','o','r','a','t','i','o','n',0}; |
| static const WCHAR attrVisibility[] = |
| {'v','i','s','i','b','i','l','i','t','y',0}; |
| |
| static const WCHAR valLineThrough[] = |
| {'l','i','n','e','-','t','h','r','o','u','g','h',0}; |
| static const WCHAR valUnderline[] = |
| {'u','n','d','e','r','l','i','n','e',0}; |
| |
| static HRESULT set_style_attr(HTMLStyle *This, LPCWSTR name, LPCWSTR value) |
| { |
| nsAString str_name, str_value, str_empty; |
| nsresult nsres; |
| |
| static const PRUnichar wszEmpty[] = {0}; |
| |
| TRACE("(%p)->(%s %s)\n", This, debugstr_w(name), debugstr_w(value)); |
| |
| nsAString_Init(&str_name, name); |
| nsAString_Init(&str_value, value); |
| nsAString_Init(&str_empty, wszEmpty); |
| |
| nsres = nsIDOMCSSStyleDeclaration_SetProperty(This->nsstyle, &str_name, &str_value, &str_empty); |
| if(NS_FAILED(nsres)) |
| ERR("SetProperty failed: %08x\n", nsres); |
| |
| nsAString_Finish(&str_name); |
| nsAString_Finish(&str_value); |
| nsAString_Finish(&str_empty); |
| |
| return S_OK; |
| } |
| |
| static HRESULT get_style_attr_nsval(HTMLStyle *This, LPCWSTR name, nsAString *value) |
| { |
| nsAString str_name; |
| nsresult nsres; |
| |
| nsAString_Init(&str_name, name); |
| |
| nsres = nsIDOMCSSStyleDeclaration_GetPropertyValue(This->nsstyle, &str_name, value); |
| if(NS_FAILED(nsres)) { |
| ERR("SetProperty failed: %08x\n", nsres); |
| return E_FAIL; |
| } |
| |
| nsAString_Finish(&str_name); |
| |
| return NS_OK; |
| } |
| |
| static HRESULT get_style_attr(HTMLStyle *This, LPCWSTR name, BSTR *p) |
| { |
| nsAString str_value; |
| const PRUnichar *value; |
| |
| nsAString_Init(&str_value, NULL); |
| |
| get_style_attr_nsval(This, name, &str_value); |
| |
| nsAString_GetData(&str_value, &value, NULL); |
| *p = *value ? SysAllocString(value) : NULL; |
| |
| nsAString_Finish(&str_value); |
| |
| TRACE("%s -> %s\n", debugstr_w(name), debugstr_w(*p)); |
| return S_OK; |
| } |
| |
| static HRESULT check_style_attr_value(HTMLStyle *This, LPCWSTR name, LPCWSTR exval, VARIANT_BOOL *p) |
| { |
| nsAString str_value; |
| const PRUnichar *value; |
| |
| nsAString_Init(&str_value, NULL); |
| |
| get_style_attr_nsval(This, name, &str_value); |
| |
| nsAString_GetData(&str_value, &value, NULL); |
| *p = strcmpW(value, exval) ? VARIANT_FALSE : VARIANT_TRUE; |
| nsAString_Finish(&str_value); |
| |
| TRACE("%s -> %x\n", debugstr_w(name), *p); |
| return S_OK; |
| } |
| |
| #define HTMLSTYLE_THIS(iface) DEFINE_THIS(HTMLStyle, HTMLStyle, iface) |
| |
| static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, void **ppv) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| *ppv = NULL; |
| |
| if(IsEqualGUID(&IID_IUnknown, riid)) { |
| TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv); |
| *ppv = HTMLSTYLE(This); |
| }else if(IsEqualGUID(&IID_IDispatch, riid)) { |
| TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv); |
| *ppv = HTMLSTYLE(This); |
| }else if(IsEqualGUID(&IID_IHTMLStyle, riid)) { |
| TRACE("(%p)->(IID_IHTMLStyle %p)\n", This, ppv); |
| *ppv = HTMLSTYLE(This); |
| } |
| |
| if(*ppv) { |
| IUnknown_AddRef((IUnknown*)*ppv); |
| return S_OK; |
| } |
| |
| WARN("unsupported %s\n", debugstr_guid(riid)); |
| return E_NOINTERFACE; |
| } |
| |
| static ULONG WINAPI HTMLStyle_AddRef(IHTMLStyle *iface) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| LONG ref = InterlockedIncrement(&This->ref); |
| |
| TRACE("(%p) ref=%d\n", This, ref); |
| |
| return ref; |
| } |
| |
| static ULONG WINAPI HTMLStyle_Release(IHTMLStyle *iface) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| LONG ref = InterlockedDecrement(&This->ref); |
| |
| TRACE("(%p) ref=%d\n", This, ref); |
| |
| if(!ref) |
| heap_free(This); |
| |
| return ref; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_GetTypeInfoCount(IHTMLStyle *iface, UINT *pctinfo) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, pctinfo); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_GetTypeInfo(IHTMLStyle *iface, UINT iTInfo, |
| LCID lcid, ITypeInfo **ppTInfo) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%u %u %p)\n", This, iTInfo, lcid, ppTInfo); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_GetIDsOfNames(IHTMLStyle *iface, REFIID riid, |
| LPOLESTR *rgszNames, UINT cNames, |
| LCID lcid, DISPID *rgDispId) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s %p %u %u %p)\n", This, debugstr_guid(riid), rgszNames, cNames, |
| lcid, rgDispId); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_Invoke(IHTMLStyle *iface, DISPID dispIdMember, |
| REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, |
| VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%d %s %d %d %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid), |
| lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_fontFamily(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%s)\n", This, debugstr_w(v)); |
| |
| return set_style_attr(This, attrFontFamily, v); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_fontFamily(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| return get_style_attr(This, attrFontFamily, p); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_fontStyle(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_fontStyle(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| return get_style_attr(This, attrFontStyle, p); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_fontVariant(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_fontVariant(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_fontWeight(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_fontWeight(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| return get_style_attr(This, attrFontWeight, p); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_fontSize(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(v%d)\n", This, V_VT(&v)); |
| |
| switch(V_VT(&v)) { |
| case VT_BSTR: |
| return set_style_attr(This, attrFontSize, V_BSTR(&v)); |
| default: |
| FIXME("not supported vt %d\n", V_VT(&v)); |
| } |
| |
| return S_OK; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_fontSize(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| V_VT(p) = VT_BSTR; |
| return get_style_attr(This, attrFontSize, &V_BSTR(p)); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_font(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_font(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_color(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_color(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| V_VT(p) = VT_BSTR; |
| return get_style_attr(This, attrColor, &V_BSTR(p)); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_background(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_background(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_backgroundColor(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(v%d)\n", This, V_VT(&v)); |
| |
| switch(V_VT(&v)) { |
| case VT_BSTR: |
| return set_style_attr(This, attrBackgroundColor, V_BSTR(&v)); |
| case VT_I4: { |
| WCHAR value[10]; |
| static const WCHAR format[] = {'#','%','0','6','x',0}; |
| |
| wsprintfW(value, format, V_I4(&v)); |
| return set_style_attr(This, attrBackgroundColor, value); |
| } |
| default: |
| FIXME("unsupported vt %d\n", V_VT(&v)); |
| } |
| |
| return S_OK; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_backgroundColor(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_backgroundImage(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_backgroundImage(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_backgroundRepeat(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_backgroundRepeat(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_backgroundAttachment(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_backgroundAttachment(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_backgroundPosition(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_backgroundPosition(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_backgroundPositionX(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_backgroundPositionX(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_backgroundPositionY(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_backgroundPositionY(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_wordSpacing(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_wordSpacing(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_letterSpacing(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_letterSpacing(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_textDecoration(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_textDecoration(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| return get_style_attr(This, attrTextDecoration, p); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%x)\n", This, v); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%x)\n", This, v); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| return check_style_attr_value(This, attrTextDecoration, valUnderline, p); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%x)\n", This, v); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%x)\n", This, v); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| return check_style_attr_value(This, attrTextDecoration, valLineThrough, p); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%x)\n", This, v); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_verticalAlign(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_verticalAlign(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_textTransform(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_textTransform(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_textAlign(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_textAlign(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_textIndent(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_textIndent(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_lineHeight(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_lineHeight(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_marginTop(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_marginTop(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_marginRight(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_marginRight(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_marginBottom(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_marginBottom(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_marginLeft(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_margin(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_margin(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_marginLeft(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_paddingTop(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_paddingTop(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_paddingRight(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_paddingRight(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_paddingBottom(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_paddingBottom(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_paddingLeft(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_paddingLeft(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_padding(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_padding(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_border(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_border(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderTop(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderTop(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderRight(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderRight(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderBottom(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderBottom(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderLeft(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderLeft(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderColor(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderColor(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderTopColor(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderTopColor(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderRightColor(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderRightColor(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderBottomColor(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderBottomColor(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderLeftColor(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderLeftColor(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderWidth(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderWidth(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderTopWidth(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderTopWidth(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderRightWidth(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderRightWidth(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderBottomWidth(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderBottomWidth(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderLeftWidth(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderLeftWidth(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderStyle(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderStyle(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderTopStyle(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderTopStyle(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderRightStyle(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderRightStyle(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderBottomStyle(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderBottomStyle(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_borderLeftStyle(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_borderLeftStyle(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_width(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_width(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_height(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_height(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_styleFloat(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_styleFloat(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_clear(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_clear(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_display(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%s)\n", This, debugstr_w(v)); |
| |
| return set_style_attr(This, attrDisplay, v); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_display(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| return get_style_attr(This, attrDisplay, p); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_visibility(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%s)\n", This, debugstr_w(v)); |
| |
| return set_style_attr(This, attrVisibility, v); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_visibility(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| |
| TRACE("(%p)->(%p)\n", This, p); |
| |
| return get_style_attr(This, attrVisibility, p); |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_listStyleType(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_listStyleType(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_listStylePosition(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_listStylePosition(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_listStyleImage(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_listStyleImage(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_listStyle(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_listStyle(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_whiteSpace(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_whiteSpace(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_top(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_top(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_left(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_left(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_position(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(v%d)\n", This, V_VT(&v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_zIndex(IHTMLStyle *iface, VARIANT *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_overflow(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_overflow(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_pageBreakBefore(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_pageBreakBefore(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_pageBreakAfter(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_pageBreakAfter(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_cssText(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_cssText(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_pixelTop(IHTMLStyle *iface, long v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_pixelTop(IHTMLStyle *iface, long *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_pixelLeft(IHTMLStyle *iface, long v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_pixelLeft(IHTMLStyle *iface, long *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_pixelWidth(IHTMLStyle *iface, long v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_pixelWidth(IHTMLStyle *iface, long *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_pixelHeight(IHTMLStyle *iface, long v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_pixelHeight(IHTMLStyle *iface, long *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_posTop(IHTMLStyle *iface, float v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_posTop(IHTMLStyle *iface, float *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_posLeft(IHTMLStyle *iface, float v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_posLeft(IHTMLStyle *iface, float *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_posWidth(IHTMLStyle *iface, float v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_posWidth(IHTMLStyle *iface, float *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_posHeight(IHTMLStyle *iface, float v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_posHeight(IHTMLStyle *iface, float *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->()\n", This); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_cursor(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_cursor(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_clip(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_clip(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_put_filter(IHTMLStyle *iface, BSTR v) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s)\n", This, debugstr_w(v)); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_get_filter(IHTMLStyle *iface, BSTR *p) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, p); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_setAttribute(IHTMLStyle *iface, BSTR strAttributeName, |
| VARIANT AttributeValue, LONG lFlags) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s v%d %08x)\n", This, debugstr_w(strAttributeName), |
| V_VT(&AttributeValue), lFlags); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_getAttribute(IHTMLStyle *iface, BSTR strAttributeName, |
| LONG lFlags, VARIANT *AttributeValue) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName), |
| lFlags, AttributeValue); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_removeAttribute(IHTMLStyle *iface, BSTR strAttributeName, |
| LONG lFlags, VARIANT_BOOL *pfSuccess) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName), |
| lFlags, pfSuccess); |
| return E_NOTIMPL; |
| } |
| |
| static HRESULT WINAPI HTMLStyle_toString(IHTMLStyle *iface, BSTR *String) |
| { |
| HTMLStyle *This = HTMLSTYLE_THIS(iface); |
| FIXME("(%p)->(%p)\n", This, String); |
| return E_NOTIMPL; |
| } |
| |
| static const IHTMLStyleVtbl HTMLStyleVtbl = { |
| HTMLStyle_QueryInterface, |
| HTMLStyle_AddRef, |
| HTMLStyle_Release, |
| HTMLStyle_GetTypeInfoCount, |
| HTMLStyle_GetTypeInfo, |
| HTMLStyle_GetIDsOfNames, |
| HTMLStyle_Invoke, |
| HTMLStyle_put_fontFamily, |
| HTMLStyle_get_fontFamily, |
| HTMLStyle_put_fontStyle, |
| HTMLStyle_get_fontStyle, |
| HTMLStyle_put_fontVariant, |
| HTMLStyle_get_fontVariant, |
| HTMLStyle_put_fontWeight, |
| HTMLStyle_get_fontWeight, |
| HTMLStyle_put_fontSize, |
| HTMLStyle_get_fontSize, |
| HTMLStyle_put_font, |
| HTMLStyle_get_font, |
| HTMLStyle_put_color, |
| HTMLStyle_get_color, |
| HTMLStyle_put_background, |
| HTMLStyle_get_background, |
| HTMLStyle_put_backgroundColor, |
| HTMLStyle_get_backgroundColor, |
| HTMLStyle_put_backgroundImage, |
| HTMLStyle_get_backgroundImage, |
| HTMLStyle_put_backgroundRepeat, |
| HTMLStyle_get_backgroundRepeat, |
| HTMLStyle_put_backgroundAttachment, |
| HTMLStyle_get_backgroundAttachment, |
| HTMLStyle_put_backgroundPosition, |
| HTMLStyle_get_backgroundPosition, |
| HTMLStyle_put_backgroundPositionX, |
| HTMLStyle_get_backgroundPositionX, |
| HTMLStyle_put_backgroundPositionY, |
| HTMLStyle_get_backgroundPositionY, |
| HTMLStyle_put_wordSpacing, |
| HTMLStyle_get_wordSpacing, |
| HTMLStyle_put_letterSpacing, |
| HTMLStyle_get_letterSpacing, |
| HTMLStyle_put_textDecoration, |
| HTMLStyle_get_textDecoration, |
| HTMLStyle_put_textDecorationNone, |
| HTMLStyle_get_textDecorationNone, |
| HTMLStyle_put_textDecorationUnderline, |
| HTMLStyle_get_textDecorationUnderline, |
| HTMLStyle_put_textDecorationOverline, |
| HTMLStyle_get_textDecorationOverline, |
| HTMLStyle_put_textDecorationLineThrough, |
| HTMLStyle_get_textDecorationLineThrough, |
| HTMLStyle_put_textDecorationBlink, |
| HTMLStyle_get_textDecorationBlink, |
| HTMLStyle_put_verticalAlign, |
| HTMLStyle_get_verticalAlign, |
| HTMLStyle_put_textTransform, |
| HTMLStyle_get_textTransform, |
| HTMLStyle_put_textAlign, |
| HTMLStyle_get_textAlign, |
| HTMLStyle_put_textIndent, |
| HTMLStyle_get_textIndent, |
| HTMLStyle_put_lineHeight, |
| HTMLStyle_get_lineHeight, |
| HTMLStyle_put_marginTop, |
| HTMLStyle_get_marginTop, |
| HTMLStyle_put_marginRight, |
| HTMLStyle_get_marginRight, |
| HTMLStyle_put_marginBottom, |
| HTMLStyle_get_marginBottom, |
| HTMLStyle_put_marginLeft, |
| HTMLStyle_get_marginLeft, |
| HTMLStyle_put_margin, |
| HTMLStyle_get_margin, |
| HTMLStyle_put_paddingTop, |
| HTMLStyle_get_paddingTop, |
| HTMLStyle_put_paddingRight, |
| HTMLStyle_get_paddingRight, |
| HTMLStyle_put_paddingBottom, |
| HTMLStyle_get_paddingBottom, |
| HTMLStyle_put_paddingLeft, |
| HTMLStyle_get_paddingLeft, |
| HTMLStyle_put_padding, |
| HTMLStyle_get_padding, |
| HTMLStyle_put_border, |
| HTMLStyle_get_border, |
| HTMLStyle_put_borderTop, |
| HTMLStyle_get_borderTop, |
| HTMLStyle_put_borderRight, |
| HTMLStyle_get_borderRight, |
| HTMLStyle_put_borderBottom, |
| HTMLStyle_get_borderBottom, |
| HTMLStyle_put_borderLeft, |
| HTMLStyle_get_borderLeft, |
| HTMLStyle_put_borderColor, |
| HTMLStyle_get_borderColor, |
| HTMLStyle_put_borderTopColor, |
| HTMLStyle_get_borderTopColor, |
| HTMLStyle_put_borderRightColor, |
| HTMLStyle_get_borderRightColor, |
| HTMLStyle_put_borderBottomColor, |
| HTMLStyle_get_borderBottomColor, |
| HTMLStyle_put_borderLeftColor, |
| HTMLStyle_get_borderLeftColor, |
| HTMLStyle_put_borderWidth, |
| HTMLStyle_get_borderWidth, |
| HTMLStyle_put_borderTopWidth, |
| HTMLStyle_get_borderTopWidth, |
| HTMLStyle_put_borderRightWidth, |
| HTMLStyle_get_borderRightWidth, |
| HTMLStyle_put_borderBottomWidth, |
| HTMLStyle_get_borderBottomWidth, |
| HTMLStyle_put_borderLeftWidth, |
| HTMLStyle_get_borderLeftWidth, |
| HTMLStyle_put_borderStyle, |
| HTMLStyle_get_borderStyle, |
| HTMLStyle_put_borderTopStyle, |
| HTMLStyle_get_borderTopStyle, |
| HTMLStyle_put_borderRightStyle, |
| HTMLStyle_get_borderRightStyle, |
| HTMLStyle_put_borderBottomStyle, |
| HTMLStyle_get_borderBottomStyle, |
| HTMLStyle_put_borderLeftStyle, |
| HTMLStyle_get_borderLeftStyle, |
| HTMLStyle_put_width, |
| HTMLStyle_get_width, |
| HTMLStyle_put_height, |
| HTMLStyle_get_height, |
| HTMLStyle_put_styleFloat, |
| HTMLStyle_get_styleFloat, |
| HTMLStyle_put_clear, |
| HTMLStyle_get_clear, |
| HTMLStyle_put_display, |
| HTMLStyle_get_display, |
| HTMLStyle_put_visibility, |
| HTMLStyle_get_visibility, |
| HTMLStyle_put_listStyleType, |
| HTMLStyle_get_listStyleType, |
| HTMLStyle_put_listStylePosition, |
| HTMLStyle_get_listStylePosition, |
| HTMLStyle_put_listStyleImage, |
| HTMLStyle_get_listStyleImage, |
| HTMLStyle_put_listStyle, |
| HTMLStyle_get_listStyle, |
| HTMLStyle_put_whiteSpace, |
| HTMLStyle_get_whiteSpace, |
| HTMLStyle_put_top, |
| HTMLStyle_get_top, |
| HTMLStyle_put_left, |
| HTMLStyle_get_left, |
| HTMLStyle_get_position, |
| HTMLStyle_put_zIndex, |
| HTMLStyle_get_zIndex, |
| HTMLStyle_put_overflow, |
| HTMLStyle_get_overflow, |
| HTMLStyle_put_pageBreakBefore, |
| HTMLStyle_get_pageBreakBefore, |
| HTMLStyle_put_pageBreakAfter, |
| HTMLStyle_get_pageBreakAfter, |
| HTMLStyle_put_cssText, |
| HTMLStyle_get_cssText, |
| HTMLStyle_put_pixelTop, |
| HTMLStyle_get_pixelTop, |
| HTMLStyle_put_pixelLeft, |
| HTMLStyle_get_pixelLeft, |
| HTMLStyle_put_pixelWidth, |
| HTMLStyle_get_pixelWidth, |
| HTMLStyle_put_pixelHeight, |
| HTMLStyle_get_pixelHeight, |
| HTMLStyle_put_posTop, |
| HTMLStyle_get_posTop, |
| HTMLStyle_put_posLeft, |
| HTMLStyle_get_posLeft, |
| HTMLStyle_put_posWidth, |
| HTMLStyle_get_posWidth, |
| HTMLStyle_put_posHeight, |
| HTMLStyle_get_posHeight, |
| HTMLStyle_put_cursor, |
| HTMLStyle_get_cursor, |
| HTMLStyle_put_clip, |
| HTMLStyle_get_clip, |
| HTMLStyle_put_filter, |
| HTMLStyle_get_filter, |
| HTMLStyle_setAttribute, |
| HTMLStyle_getAttribute, |
| HTMLStyle_removeAttribute, |
| HTMLStyle_toString |
| }; |
| |
| IHTMLStyle *HTMLStyle_Create(nsIDOMCSSStyleDeclaration *nsstyle) |
| { |
| HTMLStyle *ret = heap_alloc(sizeof(HTMLStyle)); |
| |
| ret->lpHTMLStyleVtbl = &HTMLStyleVtbl; |
| ret->ref = 1; |
| ret->nsstyle = nsstyle; |
| |
| nsIDOMCSSStyleDeclaration_AddRef(nsstyle); |
| |
| return HTMLSTYLE(ret); |
| } |