for (int c=0;c<this.columns;c++)
{
WordCell rc=Cell(r,c);
if (!rc.isColumnSpanned)
{
Utility.Send("\\celld",ms);
Utility.Send(rc.BorderString,ms);
if (rc.HasPadding) Utility.Send(rc.PaddingString,ms);
Utility.Send(Utility.EncodeCellAlignV(rc.contentAlignment),ms);
//jl-fix:
if (rc.hasBackgroundColor) Utility.Send("\\clcbpat"+rc.backgroundColorIndex.ToString(),ms);
if (rc.isRowSpanner) Utility.Send("\\clvmgf",ms);
if (rc.isRowSpanned) Utility.Send("\\clvmrg",ms);
Utility.Send("\\cellx"+cw[c+rc.colSpan-1],ms);
}
}