diff options
Diffstat (limited to 'src/lib/VSDStyles.cpp')
-rw-r--r-- | src/lib/VSDStyles.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/VSDStyles.cpp b/src/lib/VSDStyles.cpp index e820c0e..bcacbec 100644 --- a/src/lib/VSDStyles.cpp +++ b/src/lib/VSDStyles.cpp @@ -91,6 +91,11 @@ void libvisio::VSDStyles::addParaStyle(unsigned textStyleIndex, const VSDOptiona m_paraStyles[textStyleIndex] = paraStyle; } +void libvisio::VSDStyles::addStyleThemeReference(unsigned styleIndex, const VSDOptionalThemeReference &themeRef) +{ + m_themeRefs[styleIndex] = themeRef; +} + void libvisio::VSDStyles::addLineStyleMaster(unsigned lineStyleIndex, unsigned lineStyleMaster) { m_lineStyleMasters[lineStyleIndex] = lineStyleMaster; @@ -266,4 +271,12 @@ libvisio::VSDParaStyle libvisio::VSDStyles::getParaStyle(unsigned textStyleIndex return paraStyle; } +libvisio::VSDOptionalThemeReference libvisio::VSDStyles::getOptionalThemeReference(unsigned styleIndex) const +{ + VSDOptionalThemeReference themeReference; + if (MINUS_ONE == styleIndex) + return themeReference; + return themeReference; +} + /* vim:set shiftwidth=2 softtabstop=2 expandtab: */ |