Calvert: for notes/cautions check for exact step type for grouping & bulleting notes/cautions
This commit is contained in:
parent
6b7af8bbe1
commit
2d0fdc81e0
@ -3336,7 +3336,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
_MyHeader.Justify = ContentAlignment.MiddleCenter;
|
_MyHeader.Justify = ContentAlignment.MiddleCenter;
|
||||||
_MyHeader.Text = (!FormatStepData.TabData.NoTrim) ? tbformat.Replace("\\xA0", " ").Trim() : tbformat.Replace("\\xA0", " ");
|
_MyHeader.Text = (!FormatStepData.TabData.NoTrim) ? tbformat.Replace("\\xA0", " ").Trim() : tbformat.Replace("\\xA0", " ");
|
||||||
_MyHeader.CleanText = StripRtfFormatting(_MyHeader.Text);
|
_MyHeader.CleanText = StripRtfFormatting(_MyHeader.Text);
|
||||||
// if there is only step in the group or we have a change in step type (caution/note) when there is
|
// if there is only step in the group or we have a change in step type (caution/note) when there is
|
||||||
// use of the MixCautionsAndNotes format flag - no bullet is used, if more that one replace the tab
|
// use of the MixCautionsAndNotes format flag - no bullet is used, if more that one replace the tab
|
||||||
// with a bullet. Also, if only one in group and tab text ends with 'S', remove it:
|
// with a bullet. Also, if only one in group and tab text ends with 'S', remove it:
|
||||||
bool mixCandN = MixCautionNotesDiffType();
|
bool mixCandN = MixCautionNotesDiffType();
|
||||||
@ -3437,7 +3437,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// for calvert alarms, if there is a note and a warning, these are both 'IsNote', but they
|
// for calvert alarms, if there is a note and a warning, these are both 'IsNote', but they
|
||||||
// have different tabs, so we want the mix to be true so that the tab code handles the
|
// have different tabs, so we want the mix to be true so that the tab code handles the
|
||||||
// tabbing correctly.
|
// tabbing correctly.
|
||||||
if (ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm)
|
if (ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm || ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert)
|
||||||
{
|
{
|
||||||
if (MyPrevious != null && MyContent.Type != MyPrevious.MyContent.Type) return false;
|
if (MyPrevious != null && MyContent.Type != MyPrevious.MyContent.Type) return false;
|
||||||
if (GetNextItem() != null && MyContent.Type != GetNextItem().MyContent.Type) return false;
|
if (GetNextItem() != null && MyContent.Type != GetNextItem().MyContent.Type) return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user