Skip to content

Commit

Permalink
Table caption flows in first table field for RTF output
Browse files Browse the repository at this point in the history
Tables should be numbered independent of images.
  • Loading branch information
albert-github committed Aug 13, 2019
1 parent 6c4f10c commit 6d5ac50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtfdocvisitor.cpp
Expand Up @@ -1006,7 +1006,7 @@ 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}} ";
m_t << "{Table \\field\\flddirty{\\*\\fldinst { SEQ Table \\\\*Arabic }}{\\fldrslt {\\noproof 1}} ";
}

void RTFDocVisitor::visitPost(DocHtmlCaption *)
Expand Down

0 comments on commit 6d5ac50

Please sign in to comment.