Backed out logic that attempted to adjust the Note and Caution tabs. Adversely affected Ginna’s Note/Caution tabs. Was put in originally for NSP but NPS’s Note tabs look better without this logic.
This commit is contained in:
parent
da370ae7f2
commit
757ecf0477
@ -2856,19 +2856,19 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (TabToIdentBAdjustFont())
|
if (TabToIdentBAdjustFont())
|
||||||
_MyTab.RemovedStyleUnderline = true;
|
_MyTab.RemovedStyleUnderline = true;
|
||||||
}
|
}
|
||||||
// Since we append the bullet (IdentB) to the Caution or Note tab (like in 16-bit code)
|
//// Since we append the bullet (IdentB) to the Caution or Note tab (like in 16-bit code)
|
||||||
// we need to append blank characters when there is only one Note or Caution (thus no bullet)
|
//// we need to append blank characters when there is only one Note or Caution (thus no bullet)
|
||||||
// in order for the Note or Caution tab to consistantly print at the same horizontal location
|
//// in order for the Note or Caution tab to consistantly print at the same horizontal location
|
||||||
else if (tbformat != null && !FormatStepData.AlwaysTab && !FormatStepData.MixCautionsAndNotes
|
//else if (tbformat != null && !FormatStepData.AlwaysTab && !FormatStepData.MixCautionsAndNotes
|
||||||
&& (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB != null
|
// && (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB != null
|
||||||
&& ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB.Length > 0))
|
// && ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB.Length > 0))
|
||||||
{
|
//{
|
||||||
int identBLen = ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB.Length;
|
// int identBLen = ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB.Length;
|
||||||
string bbstr = new string(' ', identBLen);
|
// string bbstr = new string(' ', identBLen);
|
||||||
tbformat = tbformat + bbstr;
|
// tbformat = tbformat + bbstr;
|
||||||
if (TabToIdentBAdjustFont())
|
// if (TabToIdentBAdjustFont())
|
||||||
_MyTab.RemovedStyleUnderline = true;
|
// _MyTab.RemovedStyleUnderline = true;
|
||||||
}
|
//}
|
||||||
return tbformat;
|
return tbformat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user