B2017-177 – don’t print text ROs in red on Word attachment pages
This commit is contained in:
parent
95f4767651
commit
79c7332829
@ -1426,7 +1426,8 @@ namespace VEPROMS.CSLA.Library
|
||||
Match roMatch = Regex.Match(tmp, @"(.*?)\\(up2|dn2) (.*?)\\(up0|dn0) ");
|
||||
if (roMatch.Groups.Count == 5)// Superscript or subscript found
|
||||
{
|
||||
sel.Font.Color = LBWdColor.wdColorRed;
|
||||
// B2017-177 Don't print text RO in red
|
||||
//sel.Font.Color = LBWdColor.wdColorRed;
|
||||
while (roMatch.Groups.Count == 5)
|
||||
{
|
||||
sel.TypeText(roMatch.Groups[1].Value); // output the text preceeding the super or sub command
|
||||
@ -1449,7 +1450,8 @@ namespace VEPROMS.CSLA.Library
|
||||
sel.Text = roValue;
|
||||
// look for toggling of '_' to turn underlining on/off:
|
||||
AddPrecedingText(sel, roValue, indent); // parse underlining
|
||||
sel.Font.Color = LBWdColor.wdColorRed;
|
||||
// B2017-177 Don't print text RO in red
|
||||
//sel.Font.Color = LBWdColor.wdColorRed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user