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
efc6a564
Commit
efc6a564
authored
May 17, 2014
by
Zhenbo Li
Committed by
Alexandre Julliard
May 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added nsIDOMHTMLTableCellElement declaration.
parent
8d275952
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
0 deletions
+48
-0
htmltablecell.c
dlls/mshtml/htmltablecell.c
+10
-0
nsiface.idl
dlls/mshtml/nsiface.idl
+38
-0
No files found.
dlls/mshtml/htmltablecell.c
View file @
efc6a564
...
...
@@ -17,6 +17,7 @@
*/
#include <stdarg.h>
#include <assert.h>
#define COBJMACROS
...
...
@@ -35,6 +36,8 @@ typedef struct {
HTMLElement
element
;
IHTMLTableCell
IHTMLTableCell_iface
;
nsIDOMHTMLTableCellElement
*
nscell
;
}
HTMLTableCell
;
static
inline
HTMLTableCell
*
impl_from_IHTMLTableCell
(
IHTMLTableCell
*
iface
)
...
...
@@ -362,6 +365,7 @@ static dispex_static_data_t HTMLTableCell_dispex = {
HRESULT
HTMLTableCell_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
{
HTMLTableCell
*
ret
;
nsresult
nsres
;
ret
=
heap_alloc_zero
(
sizeof
(
*
ret
));
if
(
!
ret
)
...
...
@@ -372,6 +376,12 @@ HRESULT HTMLTableCell_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, H
HTMLElement_Init
(
&
ret
->
element
,
doc
,
nselem
,
&
HTMLTableCell_dispex
);
nsres
=
nsIDOMHTMLElement_QueryInterface
(
nselem
,
&
IID_nsIDOMHTMLTableCellElement
,
(
void
**
)
&
ret
->
nscell
);
/* Share nscell reference with nsnode */
assert
(
nsres
==
NS_OK
&&
(
nsIDOMNode
*
)
ret
->
nscell
==
ret
->
element
.
node
.
nsnode
);
nsIDOMNode_Release
(
ret
->
element
.
node
.
nsnode
);
*
elem
=
&
ret
->
element
;
return
S_OK
;
}
dlls/mshtml/nsiface.idl
View file @
efc6a564
...
...
@@ -2072,6 +2072,44 @@ interface nsIDOMHTMLTableRowElement : nsIDOMHTMLElement
[
object
,
uuid
(
1
fb22137
-
c231
-
4
eae
-
9
ca4
-
557b
b0852d89
),
local
]
interface
nsIDOMHTMLTableCellElement
:
nsIDOMHTMLElement
{
nsresult
GetCellIndex
(
int32_t
*
aCellIndex
)
;
nsresult
GetAbbr
(
nsAString
*
aAbbr
)
;
nsresult
SetAbbr
(
const
nsAString
*
aAbbr
)
;
nsresult
GetAlign
(
nsAString
*
aAlign
)
;
nsresult
SetAlign
(
const
nsAString
*
aAlign
)
;
nsresult
GetAxis
(
nsAString
*
aAxis
)
;
nsresult
SetAxis
(
const
nsAString
*
aAxis
)
;
nsresult
GetBgColor
(
nsAString
*
aBgColor
)
;
nsresult
SetBgColor
(
const
nsAString
*
aBgColor
)
;
nsresult
GetCh
(
nsAString
*
aCh
)
;
nsresult
SetCh
(
const
nsAString
*
aCh
)
;
nsresult
GetChOff
(
nsAString
*
aChOff
)
;
nsresult
SetChOff
(
const
nsAString
*
aChOff
)
;
nsresult
GetColSpan
(
int32_t
*
aColSpan
)
;
nsresult
SetColSpan
(
int32_t
aColSpan
)
;
nsresult
GetHeaders
(
nsAString
*
aHeaders
)
;
nsresult
SetHeaders
(
const
nsAString
*
aHeaders
)
;
nsresult
GetHeight
(
nsAString
*
aHeight
)
;
nsresult
SetHeight
(
const
nsAString
*
aHeight
)
;
nsresult
GetNoWrap
(
bool
*
aNoWrap
)
;
nsresult
SetNoWrap
(
bool
aNoWrap
)
;
nsresult
GetRowSpan
(
int32_t
*
aRowSpan
)
;
nsresult
SetRowSpan
(
int32_t
aRowSpan
)
;
nsresult
GetScope
(
nsAString
*
aScope
)
;
nsresult
SetScope
(
const
nsAString
*
aScope
)
;
nsresult
GetVAlign
(
nsAString
*
aVAlign
)
;
nsresult
SetVAlign
(
const
nsAString
*
aVAlign
)
;
nsresult
GetWidth
(
nsAString
*
aWidth
)
;
nsresult
SetWidth
(
const
nsAString
*
aWidth
)
;
}
[
object
,
uuid
(
21
ffbe98
-
51
f5
-499e-8
d6f
-
612
ae798c1e1
),
local
]
...
...
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