diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-03-16 15:36:58 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-03-16 16:26:13 +0100 |
commit | b0308f336a26eee83c57b6f15c0f788ccc4486f1 (patch) | |
tree | cf6f92ab920bc75bf711b1549b5576d060fb16b9 /writerfilter/source/rtftok/rtfdocumentimpl.hxx | |
parent | e6d008f131c7ca532a9e8410b424b3323d581978 (diff) |
writerfilter: extract dispatch...Value() from disptachValue()
This function was a 1582 lines monster. Extract clusters of RTF value
keywords into their own function to makes this a bit more readable.
Change-Id: Icf95ca11f5f909379acbfd576915485c7eb868ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90569
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'writerfilter/source/rtftok/rtfdocumentimpl.hxx')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx index 684231cdce1f..1ccff383fba9 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx @@ -696,6 +696,13 @@ public: RTFError dispatchSymbol(RTFKeyword nKeyword) override; RTFError dispatchToggle(RTFKeyword nKeyword, bool bParam, int nParam) override; RTFError dispatchValue(RTFKeyword nKeyword, int nParam) override; + bool dispatchTableSprmValue(RTFKeyword nKeyword, int nParam); + bool dispatchCharacterSprmValue(RTFKeyword nKeyword, int nParam); + bool dispatchCharacterAttributeValue(RTFKeyword nKeyword, int nParam); + bool dispatchParagraphSprmValue(RTFKeyword nKeyword, int nParam); + bool dispatchInfoValue(RTFKeyword nKeyword, int nParam); + bool dispatchFrameValue(RTFKeyword nKeyword, int nParam); + bool dispatchTableValue(RTFKeyword nKeyword, int nParam); RTFError resolveChars(char ch) override; RTFError pushState() override; RTFError beforePopState(RTFParserState& rState); |