diff options
author | albert-github <albert.tests@gmail.com> | 2018-11-18 18:00:27 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-11-18 18:00:27 (GMT) |
commit | 8fc23878b4375546bfb6a9149f009fbe0f7da42f (patch) | |
tree | 2998696e061c0b029415b90a1018c8fc0c0be0c6 /src/rtfdocvisitor.cpp | |
parent | 64764a854d8824bb3a9714a159f5ebbd226d3a88 (diff) | |
download | Doxygen-8fc23878b4375546bfb6a9149f009fbe0f7da42f.zip Doxygen-8fc23878b4375546bfb6a9149f009fbe0f7da42f.tar.gz Doxygen-8fc23878b4375546bfb6a9149f009fbe0f7da42f.tar.bz2 |
RTF lists more levels and removing extra paragraphs
- In a RTF list after the last indent a number of extra paragraphs were displayed (with e.g. bullets), these extra paragraphs are removed
- Increased the number of levels conform the changes for latex (#6622)
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r-- | src/rtfdocvisitor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index 658950a..dcc55df 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -647,9 +647,10 @@ void RTFDocVisitor::visitPost(DocAutoList *) { if (m_hide) return; DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocAutoList)}\n"); - m_t << "\\par"; + if (!m_lastIsPara) m_t << "\\par"; m_t << "}" << endl; m_lastIsPara=TRUE; + if (!m_indentLevel) m_t << "\\par"; } void RTFDocVisitor::visitPre(DocAutoListItem *) |