This commit is contained in:
parent
6658006c83
commit
d601a2c76a
@ -162,11 +162,12 @@ namespace Volian.Controls.Library
|
|||||||
if (tableShouldBeOutlined)
|
if (tableShouldBeOutlined)
|
||||||
{
|
{
|
||||||
OutlineRTFTable myTable = new OutlineRTFTable(text, tableHasBorder);
|
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();
|
text = myTable.Lines.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// as a precaution, convert any \~ to \u160?. This is for Hard spaces. see the commentary in the
|
// 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.
|
// save portion of this code for an explanation.
|
||||||
text = text.Replace(@"\~", @"\u160?");
|
text = text.Replace(@"\~", @"\u160?");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user