summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-16 10:26:26 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-16 10:26:26 +0100
commitecd9ebd303cda2dd4ca9fac85823d69e2f24e93b (patch)
tree3793ea61d69b213411ec36c9fa98d715f27cda1a
parentafd15e87c3a85d2c5e86d5703a5f3ccf50d97002 (diff)
Add some variables to VSDParser
Change-Id: I7ca310269244e0ee1db616847d27a847c26a4a0c
-rw-r--r--src/lib/VSDParser.cpp3
-rw-r--r--src/lib/VSDParser.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp
index c935a59..0429dd1 100644
--- a/src/lib/VSDParser.cpp
+++ b/src/lib/VSDParser.cpp
@@ -27,7 +27,7 @@ libvisio::VSDParser::VSDParser(librevenge::RVNGInputStream *input, librevenge::R
m_currentShapeLevel(0), m_currentShapeID(MINUS_ONE), m_currentLayerListLevel(0), m_extractStencils(false), m_colours(),
m_isBackgroundPage(false), m_isShapeStarted(false), m_shadowOffsetX(0.0), m_shadowOffsetY(0.0),
m_currentGeometryList(0), m_currentGeomListCount(0), m_fonts(), m_names(), m_namesMapMap(),
- m_currentPageName()
+ m_currentPageName(), m_currentTabSet()
{}
libvisio::VSDParser::~VSDParser()
@@ -1278,6 +1278,7 @@ void libvisio::VSDParser::readShape(librevenge::RVNGInputStream *input)
{
if (tmpShape->m_foreign)
m_shape.m_foreign = new ForeignData(*(tmpShape->m_foreign));
+ m_shape.m_tabSets = tmpShape->m_tabSets;
m_shape.m_text = tmpShape->m_text;
m_shape.m_textFormat = tmpShape->m_textFormat;
m_shape.m_misc = tmpShape->m_misc;
diff --git a/src/lib/VSDParser.h b/src/lib/VSDParser.h
index 8cec7f3..df81d4f 100644
--- a/src/lib/VSDParser.h
+++ b/src/lib/VSDParser.h
@@ -176,6 +176,7 @@ protected:
std::map<unsigned, std::map<unsigned, VSDName> > m_namesMapMap;
VSDName m_currentPageName;
+ std::map<unsigned, VSDTabStop> *m_currentTabSet;
private:
VSDParser();