summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-09-05 17:21:19 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-09-05 17:21:19 +0200
commit493875a657cf9f66ef3910ea2023f60b536ffbc5 (patch)
tree4919e9d34859f9ac920d7747fe32fc46b7639a71
parent50399f15d3ef01c5f2d41a8f9c01fcf36dafebad (diff)
Actually output underline to the API
-rw-r--r--src/lib/VSDXContentCollector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp
index 1fd7821..36b29d1 100644
--- a/src/lib/VSDXContentCollector.cpp
+++ b/src/lib/VSDXContentCollector.cpp
@@ -180,6 +180,7 @@ void libvisio::VSDXContentCollector::_flushText()
if (m_charFormats[i].bold) textProps.insert("fo:font-weight", "bold");
if (m_charFormats[i].italic) textProps.insert("fo:font-style", "italic");
+ if (m_charFormats[i].underline) textProps.insert("style:text-underline-type", "single");
textProps.insert("fo:font-size", m_charFormats[i].size*72.0, WPX_POINT);
textProps.insert("fo:color",getColourString(m_charFormats[i].colour));
double opacity = 1.0;