diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2015-12-15 10:49:21 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2015-12-15 11:03:57 +0100 |
commit | 75001ca3c32757f08ed38ed9a64c50e7657c6002 (patch) | |
tree | 41907dcc36ec6f8c4147a3748c5156953ff3bf5e | |
parent | 7b04394d01b5dfa227b213e0efac55dfd8d77c9d (diff) |
Output default tab-stop
Change-Id: Ic80a63e1d5ce827a5a7054413c9cab989c4fb19a
-rw-r--r-- | src/lib/VSDContentCollector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/VSDContentCollector.cpp b/src/lib/VSDContentCollector.cpp index abf57bf..cf17936 100644 --- a/src/lib/VSDContentCollector.cpp +++ b/src/lib/VSDContentCollector.cpp @@ -461,6 +461,8 @@ void libvisio::VSDContentCollector::_flushText() paraProps.insert("fo:margin-right", (*paraIt).indRight); paraProps.insert("fo:margin-top", (*paraIt).spBefore); paraProps.insert("fo:margin-bottom", (*paraIt).spAfter); + if (m_textBlockStyle.defaultTabStop > 0.0) + paraProps.insert("style:tab-stop-distance", m_textBlockStyle.defaultTabStop); switch ((*paraIt).align) { case 0: // left |