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
022ae89e
Commit
022ae89e
authored
Jan 13, 2009
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jan 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Add missing IHTMLCurrentStyle interfaces.
parent
421dca6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
152 additions
and
2 deletions
+152
-2
htmlcurstyle.c
dlls/mshtml/htmlcurstyle.c
+2
-2
mshtmdid.h
include/mshtmdid.h
+11
-0
mshtml.idl
include/mshtml.idl
+139
-0
No files found.
dlls/mshtml/htmlcurstyle.c
View file @
022ae89e
...
@@ -32,14 +32,14 @@
...
@@ -32,14 +32,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
typedef
struct
{
struct
HTMLCurrentStyle
{
DispatchEx
dispex
;
DispatchEx
dispex
;
const
IHTMLCurrentStyleVtbl
*
lpIHTMLCurrentStyleVtbl
;
const
IHTMLCurrentStyleVtbl
*
lpIHTMLCurrentStyleVtbl
;
LONG
ref
;
LONG
ref
;
nsIDOMCSSStyleDeclaration
*
nsstyle
;
nsIDOMCSSStyleDeclaration
*
nsstyle
;
}
HTMLCurrentStyle
;
};
#define HTMLCURSTYLE(x) ((IHTMLCurrentStyle*) &(x)->lpIHTMLCurrentStyleVtbl)
#define HTMLCURSTYLE(x) ((IHTMLCurrentStyle*) &(x)->lpIHTMLCurrentStyleVtbl)
...
...
include/mshtmdid.h
View file @
022ae89e
...
@@ -409,6 +409,11 @@
...
@@ -409,6 +409,11 @@
#define DISPID_A_TEXTOVERFLOW (DISPID_A_FIRST+209)
#define DISPID_A_TEXTOVERFLOW (DISPID_A_FIRST+209)
#define DISPID_INTERNAL_CATTRIBUTECOLLPTRCACHE (DISPID_A_FIRST+210)
#define DISPID_INTERNAL_CATTRIBUTECOLLPTRCACHE (DISPID_A_FIRST+210)
#define DISPID_A_MINHEIGHT (DISPID_A_FIRST+211)
#define DISPID_A_MINHEIGHT (DISPID_A_FIRST+211)
#define DISPID_INTERNAL_INVOKECONTEXTDOCUMENT (DISPID_A_FIRST+212)
#define DISPID_A_INTERPOLATION (DISPID_A_FIRST+213)
#define DISPID_A_MAXHEIGHT (DISPID_A_FIRST+214)
#define DISPID_A_MINWIDTH (DISPID_A_FIRST+215)
#define DISPID_A_MAXWIDTH (DISPID_A_FIRST+216)
#define DISPID_WINDOWOBJECT (-5500)
#define DISPID_WINDOWOBJECT (-5500)
#define DISPID_LOCATIONOBJECT (-5506)
#define DISPID_LOCATIONOBJECT (-5506)
...
@@ -2251,6 +2256,12 @@
...
@@ -2251,6 +2256,12 @@
#define DISPID_IHTMLCURRENTSTYLE3_WORDSPACING DISPID_A_WORDSPACING
#define DISPID_IHTMLCURRENTSTYLE3_WORDSPACING DISPID_A_WORDSPACING
#define DISPID_IHTMLCURRENTSTYLE3_WHITESPACE DISPID_A_WHITESPACE
#define DISPID_IHTMLCURRENTSTYLE3_WHITESPACE DISPID_A_WHITESPACE
/* IHTMLCurrentStyle4 */
#define DISPID_IHTMLCURRENTSTYLE4_MSINTERPOLATIONMODE DISPID_A_INTERPOLATION
#define DISPID_IHTMLCURRENTSTYLE4_MAXHEIGHT DISPID_A_MAXHEIGHT
#define DISPID_IHTMLCURRENTSTYLE4_MINWIDTH DISPID_A_MINWIDTH
#define DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH DISPID_A_MAXWIDTH
/* HTMLTextContainerEvents2 */
/* HTMLTextContainerEvents2 */
#define DISPID_HTMLTEXTCONTAINEREVENTS2_ONCHANGE DISPID_EVMETH_ONCHANGE
#define DISPID_HTMLTEXTCONTAINEREVENTS2_ONCHANGE DISPID_EVMETH_ONCHANGE
#define DISPID_HTMLTEXTCONTAINEREVENTS2_ONSELECT DISPID_EVMETH_ONSELECT
#define DISPID_HTMLTEXTCONTAINEREVENTS2_ONSELECT DISPID_EVMETH_ONSELECT
...
...
include/mshtml.idl
View file @
022ae89e
...
@@ -2737,6 +2737,120 @@ interface IHTMLCurrentStyle : IDispatch
...
@@ -2737,6 +2737,120 @@ interface IHTMLCurrentStyle : IDispatch
}
}
/*****************************************************************************
/*****************************************************************************
*
IHTMLCurrentStyle2
interface
*/
[
odl
,
oleautomation
,
dual
,
uuid
(
3050
f658
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
]
interface
IHTMLCurrentStyle2
:
IDispatch
{
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_LAYOUTFLOW
),
displaybind
,
bindable
]
HRESULT
layoutFlow
(
[
retval
,
out
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_WORDWRAP
),
displaybind
,
bindable
]
HRESULT
wordWrap
(
[
retval
,
out
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_TEXTUNDERLINEPOSITION
),
displaybind
,
bindable
]
HRESULT
textUnderlinePosition
(
[
retval
,
out
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_HASLAYOUT
),
displaybind
,
bindable
]
HRESULT
hasLayout
(
[
retval
,
out
]
VARIANT_BOOL
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_SCROLLBARBASECOLOR
),
displaybind
,
bindable
]
HRESULT
scrollbarBaseColor
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_SCROLLBARFACECOLOR
),
displaybind
,
bindable
]
HRESULT
scrollbarFaceColor
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_SCROLLBAR3DLIGHTCOLOR
),
displaybind
,
bindable
]
HRESULT
scrollbar3dLightColor
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_SCROLLBARSHADOWCOLOR
),
displaybind
,
bindable
]
HRESULT
scrollbarShadowColor
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_SCROLLBARHIGHLIGHTCOLOR
),
displaybind
,
bindable
]
HRESULT
scrollbarHighlightColor
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_SCROLLBARDARKSHADOWCOLOR
),
displaybind
,
bindable
]
HRESULT
scrollbarDarkShadowColor
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_SCROLLBARARROWCOLOR
),
displaybind
,
bindable
]
HRESULT
scrollbarArrowColor
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_SCROLLBARTRACKCOLOR
),
displaybind
,
bindable
]
HRESULT
scrollbarTrackColor
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_WRITINGMODE
),
displaybind
,
bindable
]
HRESULT
writingMode
(
[
retval
,
out
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_ZOOM
),
displaybind
,
bindable
]
HRESULT
zoom
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_FILTER
),
displaybind
,
bindable
]
HRESULT
filter
(
[
retval
,
out
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_TEXTALIGNLAST
),
displaybind
,
bindable
]
HRESULT
textAlignLast
(
[
retval
,
out
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_TEXTKASHIDASPACE
),
displaybind
,
bindable
]
HRESULT
textKashidaSpace
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE2_ISBLOCK
),
displaybind
,
bindable
,
hidden
,
restricted
,
nonbrowsable
]
HRESULT
isBlock
(
[
retval
,
out
]
VARIANT_BOOL
*
p
)
;
}
/*****************************************************************************
*
IHTMLCurrentStyle3
interface
*/
[
odl
,
oleautomation
,
dual
,
uuid
(
3050
f818
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
]
interface
IHTMLCurrentStyle3
:
IDispatch
{
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE3_TEXTOVERFLOW
),
displaybind
,
bindable
]
HRESULT
textOverflow
(
[
retval
,
out
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE3_MINHEIGHT
),
displaybind
,
bindable
]
HRESULT
minHeight
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE3_WORDSPACING
),
displaybind
,
bindable
]
HRESULT
wordSpacing
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE3_WHITESPACE
),
displaybind
,
bindable
]
HRESULT
whiteSpace
(
[
retval
,
out
]
BSTR
*
p
)
;
}
/*****************************************************************************
*
IHTMLCurrentStyle4
interface
*/
[
odl
,
oleautomation
,
dual
,
uuid
(
3050
f33b
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
]
interface
IHTMLCurrentStyle4
:
IDispatch
{
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE4_MSINTERPOLATIONMODE
),
displaybind
,
bindable
]
HRESULT
msInterpolationMode
(
[
retval
,
out
]
BSTR
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE4_MAXHEIGHT
),
displaybind
,
bindable
]
HRESULT
maxHeight
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE4_MINWIDTH
),
displaybind
,
bindable
]
HRESULT
minWidth
(
[
retval
,
out
]
VARIANT
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH
),
displaybind
,
bindable
]
HRESULT
maxWidth
(
[
retval
,
out
]
VARIANT
*
p
)
;
}
;
/*****************************************************************************
*
DispHTMLCurrentStyle
dispinterface
*
DispHTMLCurrentStyle
dispinterface
*/
*/
[
[
...
@@ -3087,6 +3201,31 @@ methods:
...
@@ -3087,6 +3201,31 @@ methods:
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE3_WHITESPACE
),
displaybind
,
bindable
]
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE3_WHITESPACE
),
displaybind
,
bindable
]
BSTR
whiteSpace
()
;
BSTR
whiteSpace
()
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE4_MSINTERPOLATIONMODE
),
displaybind
,
bindable
]
BSTR
msInterpolationMode
()
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE4_MAXHEIGHT
),
displaybind
,
bindable
]
VARIANT
maxHeight
()
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE4_MINWIDTH
),
displaybind
,
bindable
]
VARIANT
minWidth
()
;
[
propget
,
id
(
DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH
),
displaybind
,
bindable
]
VARIANT
maxWidth
()
;
}
[
noncreatable
,
uuid
(
3050
f3dc
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
]
coclass
HTMLCurrentStyle
{
[
default
]
dispinterface
DispHTMLCurrentStyle
;
interface
IHTMLCurrentStyle
;
interface
IHTMLCurrentStyle2
;
interface
IHTMLCurrentStyle3
;
interface
IHTMLCurrentStyle4
;
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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