summaryrefslogtreecommitdiffstats
path: root/src/rtfdocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-26 13:06:59 (GMT)
committerGitHub <noreply@github.com>2019-12-26 13:06:59 (GMT)
commit898cd51a381f28c233c3cefdd05ef056286286d6 (patch)
tree36216ddc22ee149c90f47412ca5ce3437522116c /src/rtfdocvisitor.cpp
parente02615774e284eeacaddf1a453cf7d4f44e7bdc7 (diff)
parent6d5ac50ae99b913a26a752fe86dfab1643b73a02 (diff)
downloadDoxygen-898cd51a381f28c233c3cefdd05ef056286286d6.zip
Doxygen-898cd51a381f28c233c3cefdd05ef056286286d6.tar.gz
Doxygen-898cd51a381f28c233c3cefdd05ef056286286d6.tar.bz2
Merge pull request #7185 from albert-github/feature/bug_rtf_table_caption
Table caption flows in first table field for RTF output
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r--src/rtfdocvisitor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp
index 8e23d4e..471cf85 100644
--- a/src/rtfdocvisitor.cpp
+++ b/src/rtfdocvisitor.cpp
@@ -1006,11 +1006,14 @@ void RTFDocVisitor::visitPost(DocHtmlTable *)
void RTFDocVisitor::visitPre(DocHtmlCaption *)
{
DBG_RTF("{\\comment RTFDocVisitor::visitPre(DocHtmlCaption)}\n");
+ m_t << "\\pard \\qc \\b";
+ m_t << "{Table \\field\\flddirty{\\*\\fldinst { SEQ Table \\\\*Arabic }}{\\fldrslt {\\noproof 1}} ";
}
void RTFDocVisitor::visitPost(DocHtmlCaption *)
{
DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocHtmlCaption)}\n");
+ m_t << "}\n\\par" << endl;
}
void RTFDocVisitor::visitPre(DocHtmlRow *r)