InsetTabular.cpp: output the caption for docbook

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28462 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-02-12 02:31:00 +00:00
parent 21cab38549
commit cb81a4e0d4

View File

@ -2514,11 +2514,12 @@ int Tabular::docbook(odocstream & os, OutputParams const & runparams) const
//+---------------------------------------------------------------------
// output header info
if (haveLTHead() || haveLTFirstHead()) {
if (haveLTHead() || haveLTFirstHead()|| haveLTCaption()) {
os << "<thead>\n";
++ret;
for (row_type i = 0; i < row_info.size(); ++i) {
if (row_info[i].endhead || row_info[i].endfirsthead) {
if (row_info[i].endhead || row_info[i].endfirsthead
|| row_info[i].caption) {
ret += docbookRow(os, i, runparams);
}
}