This commit is contained in:
Kathy Ruffing 2011-01-07 15:33:40 +00:00
parent 6658006c83
commit d601a2c76a

View File

@ -162,11 +162,12 @@ namespace Volian.Controls.Library
if (tableShouldBeOutlined)
{
OutlineRTFTable myTable = new OutlineRTFTable(text, tableHasBorder);
myTable.OutlineTable();
// if a table has internal line draw characters, we may have to do part of 'OutlineTable'
// to convert dashes and vertical bars to line draw characters.
if (tableHasBorder) myTable.OutlineTable();
text = myTable.Lines.ToString();
}
// as a precaution, convert any \~ to \u160?. This is for Hard spaces. see the commentary in the
// save portion of this code for an explanation.
text = text.Replace(@"\~", @"\u160?");