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
048f5436
Commit
048f5436
authored
Jan 12, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Move the ITextRange2 definition to avoid an undefined reference.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=52381
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ec72025c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
63 deletions
+65
-63
tom.idl
include/tom.idl
+65
-63
No files found.
include/tom.idl
View file @
048f5436
...
...
@@ -269,6 +269,8 @@ interface ITextDocument2Old : ITextDocument
interface
ITextDisplays
;
interface
ITextFont2
;
interface
ITextPara2
;
interface
ITextRange2
;
interface
ITextSelection2
;
interface
ITextStory
;
interface
ITextStoryRanges2
;
interface
ITextStrings
;
...
...
@@ -333,69 +335,6 @@ interface ITextRow : IDispatch
[
object
,
uuid
(
c241f5e2
-
7206
-
11
d8
-
a2c7
-
00
a0d1d6c6b3
)
]
interface
ITextRange2
:
ITextSelection
{
HRESULT
GetCch
(
[
retval
,
out
]
LONG
*
count
)
;
HRESULT
GetCells
(
[
retval
,
out
]
IUnknown
**
cells
)
;
HRESULT
GetColumn
(
[
retval
,
out
]
IUnknown
**
column
)
;
HRESULT
GetCount
(
[
retval
,
out
]
LONG
*
count
)
;
HRESULT
GetDuplicate2
(
[
retval
,
out
]
ITextRange2
**
range
)
;
HRESULT
GetFont2
(
[
retval
,
out
]
ITextFont2
**
font
)
;
HRESULT
SetFont2
(
[
in
]
ITextFont2
*
font
)
;
HRESULT
GetFormattedText2
(
[
retval
,
out
]
ITextRange2
**
range
)
;
HRESULT
SetFormattedText2
(
[
in
]
ITextRange2
*
range
)
;
HRESULT
GetGravity
(
[
retval
,
out
]
LONG
*
value
)
;
HRESULT
SetGravity
(
[
in
]
LONG
value
)
;
HRESULT
GetPara2
(
[
retval
,
out
]
ITextPara2
**
para
)
;
HRESULT
SetPara2
(
[
in
]
ITextPara2
*
para
)
;
HRESULT
GetRow
(
[
retval
,
out
]
ITextRow
**
row
)
;
HRESULT
GetStartPara
(
[
retval
,
out
]
LONG
*
value
)
;
HRESULT
GetTable
(
[
retval
,
out
]
IUnknown
**
table
)
;
HRESULT
GetURL
(
[
retval
,
out
]
BSTR
*
url
)
;
HRESULT
SetURL
(
[
in
]
BSTR
url
)
;
HRESULT
AddSubrange
(
[
in
]
LONG
cp1
,
[
in
]
LONG
cp2
,
[
in
]
LONG
activate
)
;
HRESULT
BuildUpMath
(
[
in
]
LONG
flags
)
;
HRESULT
DeleteSubrange
(
[
in
]
LONG
first
,
[
in
]
LONG
lim
)
;
HRESULT
Find
(
[
in
]
ITextRange2
*
range
,
[
in
]
LONG
count
,
[
in
]
LONG
flags
,
[
out
]
LONG
*
delta
)
;
HRESULT
GetChar2
(
[
out
]
LONG
*
ch
,
[
in
]
LONG
offset
)
;
HRESULT
GetDropCap
(
[
out
]
LONG
*
line
,
[
out
]
LONG
*
pos
)
;
HRESULT
GetInlineObject
(
[
out
]
LONG
*
type
,
[
out
]
LONG
*
align
,
[
out
]
LONG
*
ch
,
[
out
]
LONG
*
ch1
,
[
out
]
LONG
*
ch2
,
[
out
]
LONG
*
count
,
[
out
]
LONG
*
texstyle
,
[
out
]
LONG
*
ccol
,
[
out
]
LONG
*
level
)
;
HRESULT
GetProperty
(
[
in
]
LONG
type
,
[
out
]
LONG
*
value
)
;
HRESULT
GetRect
(
[
in
]
LONG
type
,
[
out
]
LONG
*
left
,
[
out
]
LONG
*
top
,
[
out
]
LONG
*
right
,
[
out
]
LONG
*
bottom
,
[
out
]
LONG
*
hit
)
;
HRESULT
GetSubrange
(
[
in
]
LONG
subrange
,
[
out
]
LONG
*
first
,
[
out
]
LONG
*
limit
)
;
HRESULT
GetText2
(
[
in
]
LONG
flags
,
[
out
]
BSTR
*
str
)
;
HRESULT
HexToUnicode
()
;
HRESULT
InsertTable
(
[
in
]
LONG
col
,
[
in
]
LONG
row
,
[
in
]
LONG
autofit
)
;
HRESULT
Linearize
(
[
in
]
LONG
flags
)
;
HRESULT
SetActiveSubrange
(
[
in
]
LONG
anchor
,
[
in
]
LONG
active
)
;
HRESULT
SetDropCap
(
[
in
]
LONG
line
,
[
in
]
LONG
pos
)
;
HRESULT
SetProperty
(
[
in
]
LONG
type
,
[
in
]
LONG
value
)
;
HRESULT
SetText2
(
[
in
]
LONG
flags
,
[
in
]
BSTR
str
)
;
HRESULT
UnicodeToHex
()
;
HRESULT
SetInlineObject
(
[
in
]
LONG
type
,
[
in
]
LONG
align
,
[
in
]
LONG
ch
,
[
in
]
LONG
ch1
,
[
in
]
LONG
ch2
,
[
in
]
LONG
count
,
[
in
]
LONG
texstyle
,
[
in
]
LONG
ccol
)
;
HRESULT
GetMathFunctionType
(
[
in
]
BSTR
str
,
[
out
]
LONG
*
value
)
;
HRESULT
InsertImage
(
[
in
]
LONG
width
,
[
in
]
LONG
height
,
[
in
]
LONG
ascent
,
[
in
]
LONG
type
,
[
in
]
BSTR
alttext
,
[
in
]
IStream
*
stream
)
;
}
[
object
,
uuid
(
c241f5e1
-
7206
-
11
d8
-
a2c7
-
00
a0d1d6c6b3
)
]
interface
ITextSelection2
:
ITextRange2
{
}
[
object
,
uuid
(
c241f5e0
-
7206
-
11
d8
-
a2c7
-
00
a0d1d6c6b3
)
]
interface
ITextDocument2
:
ITextDocument
...
...
@@ -529,6 +468,69 @@ interface ITextSelection : ITextRange
[
object
,
uuid
(
c241f5e2
-
7206
-
11
d8
-
a2c7
-
00
a0d1d6c6b3
)
]
interface
ITextRange2
:
ITextSelection
{
HRESULT
GetCch
(
[
retval
,
out
]
LONG
*
count
)
;
HRESULT
GetCells
(
[
retval
,
out
]
IUnknown
**
cells
)
;
HRESULT
GetColumn
(
[
retval
,
out
]
IUnknown
**
column
)
;
HRESULT
GetCount
(
[
retval
,
out
]
LONG
*
count
)
;
HRESULT
GetDuplicate2
(
[
retval
,
out
]
ITextRange2
**
range
)
;
HRESULT
GetFont2
(
[
retval
,
out
]
ITextFont2
**
font
)
;
HRESULT
SetFont2
(
[
in
]
ITextFont2
*
font
)
;
HRESULT
GetFormattedText2
(
[
retval
,
out
]
ITextRange2
**
range
)
;
HRESULT
SetFormattedText2
(
[
in
]
ITextRange2
*
range
)
;
HRESULT
GetGravity
(
[
retval
,
out
]
LONG
*
value
)
;
HRESULT
SetGravity
(
[
in
]
LONG
value
)
;
HRESULT
GetPara2
(
[
retval
,
out
]
ITextPara2
**
para
)
;
HRESULT
SetPara2
(
[
in
]
ITextPara2
*
para
)
;
HRESULT
GetRow
(
[
retval
,
out
]
ITextRow
**
row
)
;
HRESULT
GetStartPara
(
[
retval
,
out
]
LONG
*
value
)
;
HRESULT
GetTable
(
[
retval
,
out
]
IUnknown
**
table
)
;
HRESULT
GetURL
(
[
retval
,
out
]
BSTR
*
url
)
;
HRESULT
SetURL
(
[
in
]
BSTR
url
)
;
HRESULT
AddSubrange
(
[
in
]
LONG
cp1
,
[
in
]
LONG
cp2
,
[
in
]
LONG
activate
)
;
HRESULT
BuildUpMath
(
[
in
]
LONG
flags
)
;
HRESULT
DeleteSubrange
(
[
in
]
LONG
first
,
[
in
]
LONG
lim
)
;
HRESULT
Find
(
[
in
]
ITextRange2
*
range
,
[
in
]
LONG
count
,
[
in
]
LONG
flags
,
[
out
]
LONG
*
delta
)
;
HRESULT
GetChar2
(
[
out
]
LONG
*
ch
,
[
in
]
LONG
offset
)
;
HRESULT
GetDropCap
(
[
out
]
LONG
*
line
,
[
out
]
LONG
*
pos
)
;
HRESULT
GetInlineObject
(
[
out
]
LONG
*
type
,
[
out
]
LONG
*
align
,
[
out
]
LONG
*
ch
,
[
out
]
LONG
*
ch1
,
[
out
]
LONG
*
ch2
,
[
out
]
LONG
*
count
,
[
out
]
LONG
*
texstyle
,
[
out
]
LONG
*
ccol
,
[
out
]
LONG
*
level
)
;
HRESULT
GetProperty
(
[
in
]
LONG
type
,
[
out
]
LONG
*
value
)
;
HRESULT
GetRect
(
[
in
]
LONG
type
,
[
out
]
LONG
*
left
,
[
out
]
LONG
*
top
,
[
out
]
LONG
*
right
,
[
out
]
LONG
*
bottom
,
[
out
]
LONG
*
hit
)
;
HRESULT
GetSubrange
(
[
in
]
LONG
subrange
,
[
out
]
LONG
*
first
,
[
out
]
LONG
*
limit
)
;
HRESULT
GetText2
(
[
in
]
LONG
flags
,
[
out
]
BSTR
*
str
)
;
HRESULT
HexToUnicode
()
;
HRESULT
InsertTable
(
[
in
]
LONG
col
,
[
in
]
LONG
row
,
[
in
]
LONG
autofit
)
;
HRESULT
Linearize
(
[
in
]
LONG
flags
)
;
HRESULT
SetActiveSubrange
(
[
in
]
LONG
anchor
,
[
in
]
LONG
active
)
;
HRESULT
SetDropCap
(
[
in
]
LONG
line
,
[
in
]
LONG
pos
)
;
HRESULT
SetProperty
(
[
in
]
LONG
type
,
[
in
]
LONG
value
)
;
HRESULT
SetText2
(
[
in
]
LONG
flags
,
[
in
]
BSTR
str
)
;
HRESULT
UnicodeToHex
()
;
HRESULT
SetInlineObject
(
[
in
]
LONG
type
,
[
in
]
LONG
align
,
[
in
]
LONG
ch
,
[
in
]
LONG
ch1
,
[
in
]
LONG
ch2
,
[
in
]
LONG
count
,
[
in
]
LONG
texstyle
,
[
in
]
LONG
ccol
)
;
HRESULT
GetMathFunctionType
(
[
in
]
BSTR
str
,
[
out
]
LONG
*
value
)
;
HRESULT
InsertImage
(
[
in
]
LONG
width
,
[
in
]
LONG
height
,
[
in
]
LONG
ascent
,
[
in
]
LONG
type
,
[
in
]
BSTR
alttext
,
[
in
]
IStream
*
stream
)
;
}
[
object
,
uuid
(
c241f5e1
-
7206
-
11
d8
-
a2c7
-
00
a0d1d6c6b3
)
]
interface
ITextSelection2
:
ITextRange2
{
}
[
object
,
uuid
(
8
cc497c3
-
a1df
-
11
ce
-
8098
-
00
aa0047be5d
)
]
interface
ITextFont
:
IDispatch
...
...
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