Jacek Caban : mshtml: Added Exec(IDM_JUSTIFYLEFT) and
Exec(IDM_JUSTIFYRIGHT ) implementataion.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Nov 9 13:57:53 CST 2006
Module: wine
Branch: master
Commit: 95cc9db8286a2a384bd5a65d38df601b0f88e959
URL: http://source.winehq.org/git/wine.git/?a=commit;h=95cc9db8286a2a384bd5a65d38df601b0f88e959
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Nov 9 10:49:00 2006 +0100
mshtml: Added Exec(IDM_JUSTIFYLEFT) and Exec(IDM_JUSTIFYRIGHT) implementataion.
---
dlls/mshtml/olecmd.c | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/olecmd.c b/dlls/mshtml/olecmd.c
index d8a2154..ecb92e8 100644
--- a/dlls/mshtml/olecmd.c
+++ b/dlls/mshtml/olecmd.c
@@ -462,6 +462,20 @@ static HRESULT exec_justifycenter(HTMLDo
return S_OK;
}
+static HRESULT exec_justifyleft(HTMLDocument *This)
+{
+ TRACE("(%p)\n", This);
+ set_ns_align(This, "left");
+ return S_OK;
+}
+
+static HRESULT exec_justifyright(HTMLDocument *This)
+{
+ TRACE("(%p)\n", This);
+ set_ns_align(This, "right");
+ return S_OK;
+}
+
static HRESULT exec_underline(HTMLDocument *This)
{
TRACE("(%p)\n", This);
@@ -821,6 +835,14 @@ static HRESULT WINAPI OleCommandTarget_E
if(pvaIn || pvaOut)
FIXME("unsupported arguments\n");
return exec_justifycenter(This);
+ case IDM_JUSTIFYLEFT:
+ if(pvaIn || pvaOut)
+ FIXME("unsupported arguments\n");
+ return exec_justifyleft(This);
+ case IDM_JUSTIFYRIGHT:
+ if(pvaIn || pvaOut)
+ FIXME("unsupported arguments\n");
+ return exec_justifyright(This);
case IDM_UNDERLINE:
if(pvaIn || pvaOut)
FIXME("unsupported arguments\n");
More information about the wine-cvs
mailing list