summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-08-12 13:49:28 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-08-12 13:49:28 (GMT)
commit6c4f10c375530d1baf82527787d4887cc343d9bb (patch)
tree14d3e308853e51163504e875e8986023dbb58a59 /src
parent3e8fe63473b047bf3d48c734750334244e9981a8 (diff)
downloadDoxygen-6c4f10c375530d1baf82527787d4887cc343d9bb.zip
Doxygen-6c4f10c375530d1baf82527787d4887cc343d9bb.tar.gz
Doxygen-6c4f10c375530d1baf82527787d4887cc343d9bb.tar.bz2
Table caption flows in first table field for RTF output
See to it that the table caption is placed on top of the table and not in the first field. (See the doxygen documentation in respect to the tables; problem with tables in tables is a a different problem.)
Diffstat (limited to 'src')
-rw-r--r--src/rtfdocvisitor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp
index 43ac362..2b20e3d 100644
--- a/src/rtfdocvisitor.cpp
+++ b/src/rtfdocvisitor.cpp
@@ -1005,11 +1005,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 Image \\\\*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)