Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8d76b3de
Commit
8d76b3de
authored
Nov 11, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDM_UNORDERLIST implementation.
parent
80db1476
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
olecmd.c
dlls/mshtml/olecmd.c
+17
-2
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+1
-0
No files found.
dlls/mshtml/olecmd.c
View file @
8d76b3de
...
...
@@ -48,6 +48,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
#define NSCMD_INDENT "cmd_indent"
#define NSCMD_OUTDENT "cmd_outdent"
#define NSCMD_INSERTHR "cmd_insertHR"
#define NSCMD_UL "cmd_ul"
#define NSSTATE_ATTRIBUTE "state_attribute"
#define NSSTATE_ALL "state_all"
...
...
@@ -629,6 +630,16 @@ static HRESULT exec_horizontalline(HTMLDocument *This)
return
S_OK
;
}
static
HRESULT
exec_unorderlist
(
HTMLDocument
*
This
)
{
TRACE
(
"(%p)
\n
"
,
This
);
if
(
This
->
nscontainer
)
do_ns_command
(
This
->
nscontainer
,
NSCMD_UL
,
NULL
);
return
S_OK
;
}
static
HRESULT
exec_indent
(
HTMLDocument
*
This
)
{
TRACE
(
"(%p)
\n
"
,
This
);
...
...
@@ -820,8 +831,8 @@ static HRESULT WINAPI OleCommandTarget_QueryStatus(IOleCommandTarget *iface, con
prgCmds
[
i
].
cmdf
=
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
;
break
;
case
IDM_UNORDERLIST
:
FIXME
(
"CGID_MSHTML: IDM_UNORDERLIST
\n
"
);
prgCmds
[
i
].
cmdf
=
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
;
TRACE
(
"CGID_MSHTML: IDM_HORIZONTALLINE
\n
"
);
prgCmds
[
i
].
cmdf
=
query_edit_status
(
This
,
NSCMD_UL
)
;
break
;
case
IDM_INDENT
:
TRACE
(
"CGID_MSHTML: IDM_INDENT
\n
"
);
...
...
@@ -922,6 +933,10 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
if
(
pvaIn
||
pvaOut
)
FIXME
(
"unsupported arguments
\n
"
);
return
exec_horizontalline
(
This
);
case
IDM_UNORDERLIST
:
if
(
pvaIn
||
pvaOut
)
FIXME
(
"unsupported arguments
\n
"
);
return
exec_unorderlist
(
This
);
case
IDM_INDENT
:
if
(
pvaIn
||
pvaOut
)
FIXME
(
"unsupported arguments
\n
"
);
...
...
dlls/mshtml/tests/htmldoc.c
View file @
8d76b3de
...
...
@@ -2049,6 +2049,7 @@ static void test_MSHTML_QueryStatus(IUnknown *unk, DWORD cmdf)
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_ITALIC
,
cmdf
);
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_UNDERLINE
,
cmdf
);
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_HORIZONTALLINE
,
cmdf
);
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_UNORDERLIST
,
cmdf
);
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_INDENT
,
cmdf
);
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_OUTDENT
,
cmdf
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment