Changed CheckOffs

Made DisplayText more generic
Added comments
- Added parameter to DisplayText
- Removed specific OutlineTable
This commit is contained in:
Rich
2010-05-25 16:12:51 +00:00
parent 8fd6c2eac4
commit 9cc6174ad1
4 changed files with 76 additions and 49 deletions

View File

@@ -195,7 +195,7 @@ namespace Volian.Controls.Library
switch (_MyChildRelation)
{
case ChildRelation.None: // Same as after
case ChildRelation.After:
case ChildRelation.After: // Procedures, sections, substeps, and tables/figures
// The size depends upon the parent type
int iType = (int)_MyParentStepItem._Type;
@@ -267,7 +267,7 @@ namespace Volian.Controls.Library
}
// Same size as the Parent
break;
case ChildRelation.Before:
case ChildRelation.Before: // Cautions and Notes
//if(_WatchThis > 0 && MyID > 2111)
// Console.WriteLine("Setting MyParent: \r\n\tParent {0},{1} \r\n\tTopMostItem {2},{3} \r\n\tNext {4}, {5}", _MyParentStepItem.MyID, _MyParentStepItem
// ,_MyParentStepItem.TopMostStepItem.MyID,_MyParentStepItem.TopMostStepItem
@@ -1849,7 +1849,8 @@ namespace Volian.Controls.Library
}
foreach (string line in lines)
{
string line2 = (addBorder ? "--" : "") + Regex.Replace(line, @"\\.*? ", ""); // Remove RTF Commands - Really should not be any
//string line2 = (addBorder ? "--" : "") + Regex.Replace(line, @"\\.*? ", ""); // Remove RTF Commands - Really should not be any
string line2 = Regex.Replace(line, @"\\.*? ", ""); // Remove RTF Commands - Really should not be any
//line2 = line2.Replace(@"\u8209?", "-");
//line2 = line2.Replace("<START]", "");
//line2 = Regex.Replace(line2, @"#Link:.*?\[END>","");