mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Unset all caption rows and dissolve all captions in a long-table when converting to a normal table.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32155 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8384fa4123
commit
e4f66e1032
@ -4761,6 +4761,14 @@ void InsetTabular::tabularFeatures(Cursor & cur,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Tabular::UNSET_LONGTABULAR:
|
case Tabular::UNSET_LONGTABULAR:
|
||||||
|
for (row_type i = 0; i < tabular.row_info.size(); ++i) {
|
||||||
|
if (tabular.ltCaption(i)) {
|
||||||
|
cur.idx() = tabular.cellIndex(i, 0);
|
||||||
|
cur.pit() = 0;
|
||||||
|
cur.pos() = 0;
|
||||||
|
tabularFeatures(cur, Tabular::TOGGLE_LTCAPTION);
|
||||||
|
}
|
||||||
|
}
|
||||||
tabular.is_long_tabular = false;
|
tabular.is_long_tabular = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user