Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0d8e9e62
Commit
0d8e9e62
authored
Sep 11, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Sep 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Make sure the nested tables' RTF properties are not skipped.
parent
d7ff2437
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
editor.c
dlls/riched20/editor.c
+3
-0
reader.c
dlls/riched20/reader.c
+10
-0
rtf.h
dlls/riched20/rtf.h
+1
-0
No files found.
dlls/riched20/editor.c
View file @
0d8e9e62
...
...
@@ -1476,7 +1476,10 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre
RTFSetDestinationCallback
(
&
parser
,
rtfPict
,
ME_RTFReadPictGroup
);
RTFSetDestinationCallback
(
&
parser
,
rtfObject
,
ME_RTFReadObjectGroup
);
if
(
!
parser
.
editor
->
bEmulateVersion10
)
/* v4.1 */
{
RTFSetDestinationCallback
(
&
parser
,
rtfNoNestTables
,
RTFSkipGroup
);
RTFSetDestinationCallback
(
&
parser
,
rtfNestTableProps
,
RTFReadGroup
);
}
BeginFile
(
&
parser
);
/* do the parsing */
...
...
dlls/riched20/reader.c
View file @
0d8e9e62
...
...
@@ -406,6 +406,16 @@ void RTFSkipGroup(RTF_Info *info)
}
}
/*
* Do no special processing on the group.
*
* This acts as a placeholder for a callback in order to indicate that it
* shouldn't be ignored. Instead it will fallback on the loop in RTFRead.
*/
void
RTFReadGroup
(
RTF_Info
*
info
)
{
}
/*
* Read one token. Call the read hook if there is one. The
...
...
dlls/riched20/rtf.h
View file @
0d8e9e62
...
...
@@ -1211,6 +1211,7 @@ void RTFSetReadHook (RTF_Info *, RTFFuncPtr);
RTFFuncPtr
RTFGetReadHook
(
const
RTF_Info
*
);
void
RTFRouteToken
(
RTF_Info
*
);
void
RTFSkipGroup
(
RTF_Info
*
);
void
RTFReadGroup
(
RTF_Info
*
);
void
RTFExpandStyle
(
RTF_Info
*
,
int
);
int
RTFCheckCM
(
const
RTF_Info
*
,
int
,
int
);
int
RTFCheckCMM
(
const
RTF_Info
*
,
int
,
int
,
int
);
...
...
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