diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-07-13 11:34:56 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-07-29 17:32:38 +0200 |
commit | 9a3392f8711a6e74018ae3b6fc3cd78f2be150fb (patch) | |
tree | 2b92d78d9b5d8124616f06617ab9566788ea52d8 /writerfilter/source/rtftok/rtfcontrolwords.hxx | |
parent | 10f3a47b5218f1358707aa8a8c2ae42295694f98 (diff) |
rtfcontrolwords should not know about rtfdocumentimpl
Diffstat (limited to 'writerfilter/source/rtftok/rtfcontrolwords.hxx')
-rw-r--r-- | writerfilter/source/rtftok/rtfcontrolwords.hxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfcontrolwords.hxx b/writerfilter/source/rtftok/rtfcontrolwords.hxx index a6c35312c19f..55e17e3e29ea 100644 --- a/writerfilter/source/rtftok/rtfcontrolwords.hxx +++ b/writerfilter/source/rtftok/rtfcontrolwords.hxx @@ -1846,6 +1846,26 @@ enum RTFKeyword RTF_ZWNJ }; +/// Types of an RTF Control Word +enum RTFControlTypes +{ + CONTROL_FLAG, // eg \sbknone takes no parameter + CONTROL_DESTINATION, // eg \fonttbl, if ignored, the whole group should be skipped + CONTROL_SYMBOL, // eg \tab + CONTROL_TOGGLE, // eg \b (between on and off) + CONTROL_VALUE // eg \fs (requires parameter) +}; + +/// Respresents an RTF Control Word +typedef struct +{ + const char *sKeyword; + int nControlType; + RTFKeyword nIndex; +} RTFSymbol; + +extern RTFSymbol aRTFControlWords[]; +extern int nRTFControlWords; } // namespace rtftok } // namespace writerfilter |