diff options
author | Jaskaran Singh <jvsg1303@gmail.com> | 2016-07-28 14:00:46 +0530 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-18 00:15:15 +0200 |
commit | 872c5e0c807ae248387ee425615e4c8080d01221 (patch) | |
tree | 87fa1db2275c903afc3853beca5140da8041ea4c /sc/source/filter/inc | |
parent | Reform orcus unit warning (diff) | |
download | core-872c5e0c807ae248387ee425615e4c8080d01221.tar.gz core-872c5e0c807ae248387ee425615e4c8080d01221.zip |
Add odf strikeout to orcus interface
Change-Id: Ibf8d1e7b0272fe4112fda0249eafef1aa5438d9a
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r-- | sc/source/filter/inc/orcusinterface.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/filter/inc/orcusinterface.hxx b/sc/source/filter/inc/orcusinterface.hxx index 9754ea4e6b99..9afc218e4cc3 100644 --- a/sc/source/filter/inc/orcusinterface.hxx +++ b/sc/source/filter/inc/orcusinterface.hxx @@ -260,10 +260,13 @@ private: bool mbHasFontAttr; bool mbHasUnderlineAttr; + bool mbHasStrikeout; FontLineStyle meUnderline; Color maUnderlineColor; + FontStrikeout meStrikeout; + font(); void applyToItemSet(SfxItemSet& rSet) const; @@ -390,6 +393,10 @@ public: orcus::spreadsheet::color_elem_t red, orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override; + virtual void set_strikethrough_style(orcus::spreadsheet::strikethrough_style_t s) override; + virtual void set_strikethrough_type(orcus::spreadsheet::strikethrough_type_t s) override; + virtual void set_strikethrough_width(orcus::spreadsheet::strikethrough_width_t s) override; + virtual void set_strikethrough_text(orcus::spreadsheet::strikethrough_text_t s) override; virtual size_t commit_font() override; // fill |