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
73276d79
Commit
73276d79
authored
Apr 05, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IHTMLStyleSheet4 and IHTMLCSSRule declarations.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4cd257d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
118 additions
and
0 deletions
+118
-0
mshtmdid.h
include/mshtmdid.h
+18
-0
mshtml.idl
include/mshtml.idl
+100
-0
No files found.
include/mshtmdid.h
View file @
73276d79
...
@@ -78,6 +78,7 @@
...
@@ -78,6 +78,7 @@
#define DISPID_SCRIPT DISPID_NORMAL_FIRST
#define DISPID_SCRIPT DISPID_NORMAL_FIRST
#define DISPID_STYLESHEET DISPID_NORMAL_FIRST
#define DISPID_STYLESHEET DISPID_NORMAL_FIRST
#define DISPID_STYLERULE DISPID_NORMAL_FIRST
#define DISPID_STYLERULE DISPID_NORMAL_FIRST
#define DISPID_BASE_STYLERULE (DISPID_STYLERULE+100)
#define DISPID_STYLEPAGE DISPID_NORMAL_FIRST
#define DISPID_STYLEPAGE DISPID_NORMAL_FIRST
#define DISPID_STYLESHEETS_COL DISPID_NORMAL_FIRST
#define DISPID_STYLESHEETS_COL DISPID_NORMAL_FIRST
#define DISPID_STYLERULES_COL DISPID_NORMAL_FIRST
#define DISPID_STYLERULES_COL DISPID_NORMAL_FIRST
...
@@ -3553,6 +3554,17 @@
...
@@ -3553,6 +3554,17 @@
#define DISPID_IHTMLSTYLESHEET2_PAGES (DISPID_STYLESHEET+16)
#define DISPID_IHTMLSTYLESHEET2_PAGES (DISPID_STYLESHEET+16)
#define DISPID_IHTMLSTYLESHEET2_ADDPAGERULE (DISPID_STYLESHEET+17)
#define DISPID_IHTMLSTYLESHEET2_ADDPAGERULE (DISPID_STYLESHEET+17)
/* IHTMLStyleSheet4 */
#define DISPID_IHTMLSTYLESHEET4_IE9_TYPE (DISPID_IE8_STYLE+3)
#define DISPID_IHTMLSTYLESHEET4_IE9_HREF (DISPID_IE8_STYLE+4)
#define DISPID_IHTMLSTYLESHEET4_IE9_TITLE (DISPID_IE8_STYLE+5)
#define DISPID_IHTMLSTYLESHEET4_OWNERNODE (DISPID_IE8_STYLE+6)
#define DISPID_IHTMLSTYLESHEET4_OWNERRULE (DISPID_IE8_STYLE+7)
#define DISPID_IHTMLSTYLESHEET4_CSSRULES (DISPID_IE8_STYLE+8)
#define DISPID_IHTMLSTYLESHEET4_IE9_MEDIA (DISPID_IE8_STYLE+9)
#define DISPID_IHTMLSTYLESHEET4_INSERTRULE (DISPID_IE8_STYLE+10)
#define DISPID_IHTMLSTYLESHEET4_DELETERULE (DISPID_IE8_STYLE+11)
/* IHTMLStyleSheetRulesCollection */
/* IHTMLStyleSheetRulesCollection */
#define DISPID_IHTMLSTYLESHEETRULESCOLLECTION_LENGTH (DISPID_STYLERULES_COL+1)
#define DISPID_IHTMLSTYLESHEETRULESCOLLECTION_LENGTH (DISPID_STYLERULES_COL+1)
#define DISPID_IHTMLSTYLESHEETRULESCOLLECTION_ITEM DISPID_VALUE
#define DISPID_IHTMLSTYLESHEETRULESCOLLECTION_ITEM DISPID_VALUE
...
@@ -3655,6 +3667,12 @@
...
@@ -3655,6 +3667,12 @@
#define DISPID_IHTMLRULESTYLE_TEXTALIGN STDPROPID_XOBJ_BLOCKALIGN
#define DISPID_IHTMLRULESTYLE_TEXTALIGN STDPROPID_XOBJ_BLOCKALIGN
#define DISPID_IHTMLRULESTYLE_BACKGROUNDCOLOR DISPID_BACKCOLOR
#define DISPID_IHTMLRULESTYLE_BACKGROUNDCOLOR DISPID_BACKCOLOR
/* IHTMLCSSRule */
#define DISPID_IHTMLCSSRULE_TYPE DISPID_BASE_STYLERULE+1
#define DISPID_IHTMLCSSRULE_CSSTEXT DISPID_BASE_STYLERULE+2
#define DISPID_IHTMLCSSRULE_PARENTRULE DISPID_BASE_STYLERULE+3
#define DISPID_IHTMLCSSRULE_PARENTSTYLESHEET DISPID_BASE_STYLERULE+4
/* IHTMLDOMNode */
/* IHTMLDOMNode */
#define DISPID_IHTMLDOMNODE_NODETYPE DISPID_ELEMENT+46
#define DISPID_IHTMLDOMNODE_NODETYPE DISPID_ELEMENT+46
#define DISPID_IHTMLDOMNODE_PARENTNODE DISPID_ELEMENT+47
#define DISPID_IHTMLDOMNODE_PARENTNODE DISPID_ELEMENT+47
...
...
include/mshtml.idl
View file @
73276d79
...
@@ -424,6 +424,7 @@ interface IHTMLChangeLog;
...
@@ -424,6 +424,7 @@ interface IHTMLChangeLog;
interface
IHTMLChangeSink
;
interface
IHTMLChangeSink
;
interface
ISVGSVGElement
;
interface
ISVGSVGElement
;
interface
IHTMLDOMRange
;
interface
IHTMLDOMRange
;
interface
IHTMLStyleSheet
;
/*****************************************************************************
/*****************************************************************************
*
IHTMLCSSStyleDeclaration
interface
*
IHTMLCSSStyleDeclaration
interface
...
@@ -5767,6 +5768,33 @@ interface IHTMLRuleStyle : IDispatch
...
@@ -5767,6 +5768,33 @@ interface IHTMLRuleStyle : IDispatch
}
}
/*****************************************************************************
/*****************************************************************************
*
IHTMLCSSRule
interface
*/
[
odl
,
oleautomation
,
dual
,
uuid
(
305106
e9
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
]
interface
IHTMLCSSRule
:
IDispatch
{
[
propget
,
id
(
DISPID_IHTMLCSSRULE_TYPE
)
]
HRESULT
type
(
[
out
,
retval
]
USHORT
*
p
)
;
[
propput
,
id
(
DISPID_IHTMLCSSRULE_CSSTEXT
)
]
HRESULT
cssText
(
[
in
]
BSTR
v
)
;
[
propget
,
id
(
DISPID_IHTMLCSSRULE_CSSTEXT
)
]
HRESULT
cssText
(
[
out
,
retval
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCSSRULE_PARENTRULE
)
]
HRESULT
parentRule
(
[
out
,
retval
]
IHTMLCSSRule
**
p
)
;
[
propget
,
id
(
DISPID_IHTMLCSSRULE_PARENTSTYLESHEET
)
]
HRESULT
parentStyleSheet
(
[
out
,
retval
]
IHTMLStyleSheet
**
p
)
;
}
/*****************************************************************************
*
DispHTMLStyle
dispinterface
*
DispHTMLStyle
dispinterface
*/
*/
[
[
...
@@ -12023,6 +12051,48 @@ interface IHTMLStyleSheet2 : IDispatch
...
@@ -12023,6 +12051,48 @@ interface IHTMLStyleSheet2 : IDispatch
[
retval
,
out
]
LONG
*
plNewIndex
)
;
[
retval
,
out
]
LONG
*
plNewIndex
)
;
}
}
/*****************************************************************************
*
IHTMLStyleSheet4
interface
*/
[
odl
,
oleautomation
,
dual
,
uuid
(
305106
f4
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
]
interface
IHTMLStyleSheet4
:
IDispatch
{
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_IE9_TYPE
)
]
HRESULT
type
(
[
out
,
retval
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_IE9_HREF
)
]
HRESULT
href
(
[
out
,
retval
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_IE9_TITLE
)
]
HRESULT
title
(
[
out
,
retval
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_OWNERNODE
)
]
HRESULT
ownerNode
(
[
out
,
retval
]
IHTMLElement
**
p
)
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_OWNERRULE
)
]
HRESULT
ownerRule
(
[
out
,
retval
]
IHTMLCSSRule
**
p
)
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_CSSRULES
)
]
HRESULT
cssRules
(
[
out
,
retval
]
IHTMLStyleSheetRulesCollection
**
p
)
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_IE9_MEDIA
)
]
HRESULT
media
(
[
out
,
retval
]
VARIANT
*
p
)
;
[
id
(
DISPID_IHTMLSTYLESHEET4_INSERTRULE
)
]
HRESULT
insertRule
(
[
in
]
BSTR
bstrRule
,
[
in
,
defaultvalue
(
-
1
)
]
long
lIndex
,
[
out
,
retval
]
long
*
plNewIndex
)
;
[
id
(
DISPID_IHTMLSTYLESHEET4_DELETERULE
)
]
HRESULT
deleteRule
(
[
in
,
defaultvalue
(
-
1
)
]
long
lIndex
)
;
}
[
[
hidden
,
hidden
,
uuid
(
3050
f58d
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
uuid
(
3050
f58d
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
...
@@ -12107,6 +12177,35 @@ methods:
...
@@ -12107,6 +12177,35 @@ methods:
[
in
]
BSTR
bstrSelector
,
[
in
]
BSTR
bstrSelector
,
[
in
]
BSTR
bstrStyle
,
[
in
]
BSTR
bstrStyle
,
[
defaultvalue
(
-
1
),
in
]
LONG
lIndex
)
;
[
defaultvalue
(
-
1
),
in
]
LONG
lIndex
)
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_IE9_TYPE
)
]
BSTR
ie9_type
()
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_IE9_HREF
)
]
VARIANT
ie9_href
()
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_IE9_TITLE
)
]
BSTR
ie9_title
()
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_OWNERNODE
)
]
IHTMLElement
*
ownerNode
()
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_OWNERRULE
)
]
IHTMLCSSRule
*
ownerRule
()
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_CSSRULES
)
]
IHTMLStyleSheetRulesCollection
*
cssRules
()
;
[
propget
,
id
(
DISPID_IHTMLSTYLESHEET4_IE9_MEDIA
)
]
VARIANT
ie9_media
()
;
[
id
(
DISPID_IHTMLSTYLESHEET4_INSERTRULE
)
]
long
insertRule
(
[
in
]
BSTR
bstrRule
,
[
in
,
defaultvalue
(
-
1
)
]
long
lIndex
)
;
[
id
(
DISPID_IHTMLSTYLESHEET4_DELETERULE
)
]
void
deleteRule
(
[
in
,
defaultvalue
(
-
1
)
]
long
lIndex
)
;
}
}
[
[
...
@@ -12118,6 +12217,7 @@ coclass HTMLStyleSheet
...
@@ -12118,6 +12217,7 @@ coclass HTMLStyleSheet
[
default
]
dispinterface
DispHTMLStyleSheet
;
[
default
]
dispinterface
DispHTMLStyleSheet
;
interface
IHTMLStyleSheet
;
interface
IHTMLStyleSheet
;
interface
IHTMLStyleSheet2
;
interface
IHTMLStyleSheet2
;
interface
IHTMLStyleSheet4
;
}
}
/*****************************************************************************
/*****************************************************************************
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