mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug 4147.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21344 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0803d07b39
commit
36e14ceb10
@ -2730,7 +2730,7 @@ void Tabular::plaintextPrintCell(Buffer const & buf, odocstream & os,
|
|||||||
|
|
||||||
void Tabular::plaintext(Buffer const & buf, odocstream & os,
|
void Tabular::plaintext(Buffer const & buf, odocstream & os,
|
||||||
OutputParams const & runparams, int const depth,
|
OutputParams const & runparams, int const depth,
|
||||||
bool onlydata, unsigned char delim) const
|
bool onlydata, char_type delim) const
|
||||||
{
|
{
|
||||||
// first calculate the width of the single columns
|
// first calculate the width of the single columns
|
||||||
vector<unsigned int> clen(columnCount());
|
vector<unsigned int> clen(columnCount());
|
||||||
@ -2774,7 +2774,9 @@ void Tabular::plaintext(Buffer const & buf, odocstream & os,
|
|||||||
if (isPartOfMultiColumn(i, j))
|
if (isPartOfMultiColumn(i, j))
|
||||||
continue;
|
continue;
|
||||||
if (onlydata && j > 0)
|
if (onlydata && j > 0)
|
||||||
os << delim;
|
// we don't use operator<< for single UCS4 character.
|
||||||
|
// see explanation in docstream.h
|
||||||
|
os.put(delim);
|
||||||
plaintextPrintCell(buf, os, runparams,
|
plaintextPrintCell(buf, os, runparams,
|
||||||
cell, i, j, clen, onlydata);
|
cell, i, j, clen, onlydata);
|
||||||
++cell;
|
++cell;
|
||||||
|
@ -359,7 +359,7 @@ public:
|
|||||||
///
|
///
|
||||||
void plaintext(Buffer const &, odocstream &,
|
void plaintext(Buffer const &, odocstream &,
|
||||||
OutputParams const & runparams, int const depth,
|
OutputParams const & runparams, int const depth,
|
||||||
bool onlydata, unsigned char delim) const;
|
bool onlydata, char_type delim) const;
|
||||||
///
|
///
|
||||||
bool isMultiColumn(idx_type cell) const;
|
bool isMultiColumn(idx_type cell) const;
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user