Better charset, unicode and image support for RTF files

Desktop / KDE / Calligra - Pekka Vuorela [jolla.com] - 30 October 2019 07:36 EDT

Summary: Combining work from Andrew den Exter and Mikhail Filippov. Supports better different encodings, images and unicode literals. Also added handling for \line.

Reviewers: davidllewellynjones

Reviewed By: davidllewellynjones

Subscribers: denexter, davidllewellynjones, Calligra-Devel-list

Tags: #calligra:_3.0

Differential Revision: https://phabricator.kde.org/D24943

1b17db1a98e Better charset, unicode and image support for RTF files
.../import/3rdparty/rtf-qt/src/AbstractRtfOutput.h | 3 +-
.../3rdparty/rtf-qt/src/ColorTableDestination.cpp | 4 +-
.../3rdparty/rtf-qt/src/ColorTableDestination.h | 4 +-
.../rtf/import/3rdparty/rtf-qt/src/Destination.cpp | 4 +-
.../rtf/import/3rdparty/rtf-qt/src/Destination.h | 4 +-
.../3rdparty/rtf-qt/src/DocumentDestination.cpp | 16 ++++---
.../3rdparty/rtf-qt/src/DocumentDestination.h | 5 ++-
.../3rdparty/rtf-qt/src/FontTableDestination.cpp | 42 ++++++++++++++++--
.../3rdparty/rtf-qt/src/FontTableDestination.h | 4 +-
.../import/3rdparty/rtf-qt/src/FontTableEntry.h | 10 +++++
.../3rdparty/rtf-qt/src/IgnoredDestination.cpp | 4 +-
.../3rdparty/rtf-qt/src/IgnoredDestination.h | 4 +-
.../import/3rdparty/rtf-qt/src/InfoDestination.cpp | 4 +-
.../import/3rdparty/rtf-qt/src/InfoDestination.h | 4 +-
.../3rdparty/rtf-qt/src/InfoTimeDestination.cpp | 4 +-
.../3rdparty/rtf-qt/src/InfoTimeDestination.h | 4 +-
.../3rdparty/rtf-qt/src/PcdataDestination.cpp | 4 +-
.../import/3rdparty/rtf-qt/src/PcdataDestination.h | 4 +-
.../import/3rdparty/rtf-qt/src/PictDestination.cpp | 51 ++++++++++++++++++----
.../import/3rdparty/rtf-qt/src/PictDestination.h | 11 +++--
.../3rdparty/rtf-qt/src/StyleSheetDestination.cpp | 4 +-
.../3rdparty/rtf-qt/src/StyleSheetDestination.h | 4 +-
.../3rdparty/rtf-qt/src/TextDocumentRtfOutput.cpp | 22 +++++-----
.../3rdparty/rtf-qt/src/TextDocumentRtfOutput.h | 4 +-
.../words/rtf/import/3rdparty/rtf-qt/src/Token.h | 2 +-
.../rtf/import/3rdparty/rtf-qt/src/Tokenizer.cpp | 2 +-
.../3rdparty/rtf-qt/src/UserPropsDestination.cpp | 4 +-
.../3rdparty/rtf-qt/src/UserPropsDestination.h | 4 +-
.../rtf/import/3rdparty/rtf-qt/src/rtfreader.cpp | 1 +
29 files changed, 167 insertions(+), 70 deletions(-)

Upstream: quickgit.kde.org


  • Share