Fix #7549, due to a problem in exporting to plaintext a

multicell inset, where we now export all of the cells
separated by "\t", instead of only the first cell.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38713 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Tommaso Cucinotta 2011-05-11 19:07:01 +00:00
parent 17e4135613
commit 63ee0ee962
2 changed files with 5 additions and 1 deletions

View File

@ -1897,7 +1897,8 @@ int InsetMathHull::plaintext(odocstream & os, OutputParams const &) const
if (type_ == hullRegexp)
write(wi);
else
wi << cell(0);
for (idx_type i = 0; i < nargs(); ++i)
wi << (i == 0 ? "" : "\t") << cell(i);
docstring const str = oss.str();
os << str;
return str.size();

View File

@ -66,6 +66,9 @@ What's new
- Fixed XHTML output for tables that use multirow.
- Fixed export to plaintext of, as well as searching within,
a document containing aligned and other multi-cell environments
(bug ##7549).
* USER INTERFACE