Marcus Meissner
bd7ec9aca5
The last argument to MultiByteToWideChar is wide character count and
...
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Phil Krylov
eee54d95ad
Fixed a RichEdit RTF reader bug which resulted in loss of text.
...
Eliminated unneeded recursion in ME_InsertTextFromCursor().
2005-08-23 18:16:15 +00:00
Phil Krylov
0789483dfc
Automatically set default font after parsing a font table in RichEdit
...
RTF reader.
2005-08-22 14:08:04 +00:00
Phil Krylov
4c9f013f8b
Added handling of deff RTF control word.
2005-08-22 10:06:08 +00:00
Phil Krylov
bd10348ec9
Fixed UTF-8 RTF parsing.
2005-08-08 11:05:36 +00:00
Phil Krylov
1e9c200f61
Make RTF reader fall back to simple text if a correct RTF header is
...
not detected. This should fix some installers.
2005-04-13 11:11:03 +00:00
Phil Krylov
0fdbec319b
Made RTF reader and writer handle codepages mostly similar to the
...
original riched20.dll.
2005-03-22 16:41:36 +00:00
Mike McCormack
3a0f930ab4
Remove casts and unused code.
2005-03-21 11:24:38 +00:00
Phil Krylov
297cd99ca3
Fixed support for RTF documents using ANSI charset and added support
...
for multibyte charsets, so that BIG5 and UTF-8 RTF documents are
working now.
2005-03-18 10:24:51 +00:00
Phil Krylov
0284930129
Replaced slow and outdated character set handling in RTF reader by
...
Unicode/codepages support. Added charset->codepage conversion.
2005-03-17 13:57:27 +00:00
Krzysztof Foltman
f089de1f4d
- RTF reader doesn't use RichEdit messages anymore (which saves on
...
unnecessary repaints)
- added unicode character support to RTF import (like: \u12345 ?)
- small fixes
- fixed whitespace identification bug
- removed drawing of paragraph marks
- improved stub implementations for IRichEditOle
2005-03-17 10:23:40 +00:00
Krzysztof Foltman
c4c11d2515
- Unknown destinations are now correctly skipped (so loading an RTF
...
file generated by, for example, OpenOffice doesn't produce lots of
garbage anymore).
- Format stack for RTF groups (so that RTF reader can correctly read
what RTF writer wrote :) )
2005-03-16 11:27:43 +00:00
Phil Krylov
bf4dc2e152
Implemented hash table lookup for RTF keywords in RTF reader.
2005-03-15 19:31:44 +00:00
Phil Krylov
e3d8bf9d70
Added "generator" RTF destination handling.
2005-03-14 21:40:48 +00:00
Krzysztof Foltman
898068f3ce
- EM_STREAMIN can now deal with undo in a reasonable manner (no
...
multiple undo actions in one EM_STREAMIN).
- Related changes to undo code (umIgnore mode is now handled
correctly).
- Numerous improvements in the RTF reader: it reads some character
attributes now (you will have proper small print in license agreements
now).
- Fixed a memory overwrite bug in conversion from CHARFORMAT2A to
CHARFORMAT2W.
2005-03-11 10:24:56 +00:00
Krzysztof Foltman
5c01752254
- Single quotes are now handled properly (previously they were
...
inserted as [[']]).
- Better handling of callback function's results.
2005-03-08 19:01:25 +00:00
Mike McCormack
38f932c823
Port the RTF parser to the richedit 2.0 control.
2005-03-07 17:15:33 +00:00