diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-16 14:22:05 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-16 15:32:26 +0200 |
commit | 2a3e8b470edf2fe76188f9ccf6b0f32dfc817ea4 (patch) | |
tree | 77821561f8bfedcbe21585f124fe8c81cdbde552 /unusedcode.README | |
parent | e7df7c098ed3a6dc1ecf5b20857835d16d1f9283 (diff) |
RTF import: fix handling of \objdata
There were two problems here:
1) The input stream is read multiple times, so plain naive XInputStream
is not enough, XSeekable is needed, as it is the case for the stream
provided by the OOXML tokenizer.
2) Seeking to the correct start position is not enough, code using the
stream will assume that seeking to the beginning of the stream allows
reading the correct data again, so provide a dedicated stream instead.
With this, handling of math equations created by Word <= 2007 and
embedded to RTF files can be edited finally.
Change-Id: Ic225e1e1060f8bdd5651a21e68970620c9ac6b68
Diffstat (limited to 'unusedcode.README')
0 files changed, 0 insertions, 0 deletions