From 964e948d1cf5359ec30863fa77983a6ebe983ca2 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Tue, 4 Feb 2014 13:39:05 +0100 Subject: Some other ideas about handling the theming (cherry picked from commit 3e4d354f8fa163548d710fb87b5d8e18b531229c) Conflicts: src/lib/VSDContentCollector.cpp src/lib/VSDStyles.cpp Change-Id: Iec8c5f49827ee2b18ddf97d37077b2f0798a0685 --- src/lib/VSDCollector.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/VSDCollector.h') diff --git a/src/lib/VSDCollector.h b/src/lib/VSDCollector.h index af47078..f42be89 100644 --- a/src/lib/VSDCollector.h +++ b/src/lib/VSDCollector.h @@ -60,6 +60,8 @@ public: const boost::optional &fillPattern, const boost::optional &fillFGTransparency, const boost::optional &fillBGTransparency, const boost::optional &shadowPattern, const boost::optional &shfgc) = 0; + virtual void collectThemeReference(unsigned level, const boost::optional &lineColour, const boost::optional &fillColour, + const boost::optional &shadowColour, const boost::optional &fontColour) = 0; virtual void collectGeometry(unsigned id, unsigned level, bool noFill, bool noLine, bool noShow) = 0; virtual void collectMoveTo(unsigned id, unsigned level, double x, double y) = 0; virtual void collectLineTo(unsigned id, unsigned level, double x, double y) = 0; @@ -150,6 +152,9 @@ public: const boost::optional &verticalAlign, const boost::optional &isBgFilled, const boost::optional &bgColour, const boost::optional &defaultTabStop, const boost::optional &textDirection) = 0; + virtual void collectStyleThemeReference(unsigned level, const boost::optional &lineColour, const boost::optional &fillColour, + const boost::optional &shadowColour, const boost::optional &fontColour) = 0; + // Field list virtual void collectFieldList(unsigned id, unsigned level) = 0; virtual void collectTextField(unsigned id, unsigned level, int nameId, int formatStringId) = 0; -- cgit v1.2.3