Added AdjustRNOCautionNoteWidth flag(Catawba and McGuire)
This commit is contained in:
parent
587e614eae
commit
ebc76d5f62
@ -2137,6 +2137,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _UseMultiLineSectionTitle, "@UseMultiLineSectionTitle");
|
||||
}
|
||||
}
|
||||
private LazyLoad<bool> _AdjustRNOCautionNoteWidth;
|
||||
public bool AdjustRNOCautionNoteWidth
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _AdjustRNOCautionNoteWidth, "@AdjustRNOCautionNoteWidth");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region TextTypeValue
|
||||
|
@ -669,6 +669,7 @@ public struct StepSection
|
||||
public string ImperfectStructurePlus4;
|
||||
public string CountAllSubLevels;
|
||||
public string UseMultiLineSectionTitle; // Need for data migration only
|
||||
public string AdjustRNOCautionNoteWidth; // added to Catawba and McGuire
|
||||
/* end of Format flags */
|
||||
public StepSectionLayout StpSectLayData;
|
||||
public StepSectionEdit StpSectEditData;
|
||||
@ -4125,6 +4126,9 @@ namespace fmtxml
|
||||
// by default TurnOffReplaceWords should be False.
|
||||
// this will be overrided as needed (ex. NSP (Prairie Island) Deviations
|
||||
fmtdata.SectData.TurnOffReplaceWords = "False";
|
||||
// by default AdjustRNOCautionNoteWidth should be False
|
||||
// this will be set to True for Catawba and McGuire formats
|
||||
fmtdata.SectData.StepSectionData.AdjustRNOCautionNoteWidth = "False";
|
||||
#endregion
|
||||
return true;
|
||||
}
|
||||
@ -4987,11 +4991,11 @@ namespace fmtxml
|
||||
if (msctstp.ImperfectStructurePlus4 != null && msctstp.ImperfectStructurePlus4 == ssctstp.ImperfectStructurePlus4) subFmt.SectData.StepSectionData.ImperfectStructurePlus4 = "null";
|
||||
if (msctstp.CountAllSubLevels != null && msctstp.CountAllSubLevels == ssctstp.CountAllSubLevels) subFmt.SectData.StepSectionData.CountAllSubLevels = "null";
|
||||
if (msctstp.UseMultiLineSectionTitle != null && msctstp.UseMultiLineSectionTitle == ssctstp.UseMultiLineSectionTitle) subFmt.SectData.StepSectionData.UseMultiLineSectionTitle = "null";
|
||||
if (msctstp.AdjustRNOCautionNoteWidth != null && msctstp.AdjustRNOCautionNoteWidth == ssctstp.AdjustRNOCautionNoteWidth) subFmt.SectData.StepSectionData.AdjustRNOCautionNoteWidth = "null";
|
||||
|
||||
if (msctlay.RNOWidthAlt == ssctlay.RNOWidthAlt) subFmt.SectData.StepSectionData.StpSectLayData.RNOWidthAlt = null;
|
||||
if (msctlay.HLSWidthOVRD == ssctlay.HLSWidthOVRD) subFmt.SectData.StepSectionData.StpSectLayData.HLSWidthOVRD = NullInt;
|
||||
if (msctpr.SecColHdrforActPMode == ssctpr.SecColHdrforActPMode) subFmt.SectData.StepSectionData.StpSectPrtData.SecColHdrforActPMode = NullInt;
|
||||
|
||||
SectionNum msctn = mainFmt.SectData.SectionNumber;
|
||||
SectionNum ssctn = subFmt.SectData.SectionNumber;
|
||||
SectionHead mscth = mainFmt.SectData.SectionHeader;
|
||||
|
@ -16,6 +16,8 @@ namespace fmtxml
|
||||
//fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = 2;
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.ColT = -3;
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidT = 390;
|
||||
fmtdata.SectData.StepSectionData.AdjustRNOCautionNoteWidth = "True";
|
||||
|
||||
fmtdata.ProcData.TitleLength = 45;
|
||||
// Base
|
||||
fmtdata.StepData[0].StepLayoutData.STExtraSpace = "0";
|
||||
|
@ -12,6 +12,7 @@ namespace fmtxml
|
||||
//fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = 2;
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.ColT = -3;
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidT = 390;
|
||||
fmtdata.SectData.StepSectionData.AdjustRNOCautionNoteWidth = "True";
|
||||
|
||||
fmtdata.ProcData.TitleLength = 45;
|
||||
// Base
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user