diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2014-02-04 13:39:05 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2014-02-04 13:42:27 +0100 |
commit | 964e948d1cf5359ec30863fa77983a6ebe983ca2 (patch) | |
tree | 79a8168f0f664c9af30e7809df7571fd1af65f56 /src/lib/VSDContentCollector.h | |
parent | e6784950aa4ce27414de5fef419bdf5a4a9c4c14 (diff) |
Some other ideas about handling the theminglibvisio-0.0
(cherry picked from commit 3e4d354f8fa163548d710fb87b5d8e18b531229c)
Conflicts:
src/lib/VSDContentCollector.cpp
src/lib/VSDStyles.cpp
Change-Id: Iec8c5f49827ee2b18ddf97d37077b2f0798a0685
Diffstat (limited to 'src/lib/VSDContentCollector.h')
-rw-r--r-- | src/lib/VSDContentCollector.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/VSDContentCollector.h b/src/lib/VSDContentCollector.h index 73db5c9..9475004 100644 --- a/src/lib/VSDContentCollector.h +++ b/src/lib/VSDContentCollector.h @@ -80,6 +80,8 @@ public: const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency, const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern, const boost::optional<Colour> &shfgc); + void collectThemeReference(unsigned level, const boost::optional<long> &lineColour, const boost::optional<long> &fillColour, + const boost::optional<long> &shadowColour, const boost::optional<long> &fontColour); void collectGeometry(unsigned id, unsigned level, bool noFill, bool noLine, bool noShow); void collectMoveTo(unsigned id, unsigned level, double x, double y); void collectLineTo(unsigned id, unsigned level, double x, double y); @@ -172,6 +174,9 @@ public: const boost::optional<unsigned char> &verticalAlign, const boost::optional<bool> &isBgFilled, const boost::optional<Colour> &bgColour, const boost::optional<double> &defaultTabStop, const boost::optional<unsigned char> &textDirection); + void collectStyleThemeReference(unsigned level, const boost::optional<long> &lineColour, const boost::optional<long> &fillColour, + const boost::optional<long> &shadowColour, const boost::optional<long> &fontColour); + // Field list void collectFieldList(unsigned id, unsigned level); @@ -288,6 +293,8 @@ private: VSDFillStyle m_fillStyle; VSDTextBlockStyle m_textBlockStyle; + VSDThemeReference m_themeReference; + VSDCharStyle m_defaultCharStyle; VSDParaStyle m_defaultParaStyle; |