Added CautionNoteOrder format variable

This commit is contained in:
John Jenko 2014-07-02 14:17:25 +00:00
parent f9bfbea84a
commit fb1ffa30c3
3 changed files with 5 additions and 0 deletions

View File

@ -771,6 +771,8 @@ public struct StepSectionLayout
public string UseRNOParentIdent;
public string DevNoteOrCautionTabOffset;
//end for Braidwood by jcb
//for Calvert Cliffs (bge) to force the order of Warnings, Cautions, Notes, and Messages
public string CautionNoteOrder;
/* Format flags moved to here.... */
public string Dev_Format;
@ -4988,6 +4990,7 @@ namespace fmtxml
if (msctlay.WidSTablePrint == ssctlay.WidSTablePrint) subFmt.SectData.StepSectionData.StpSectLayData.WidSTablePrint = null;
if (mscted.ColRScreen == sscted.ColRScreen) subFmt.SectData.StepSectionData.StpSectEditData.ColRScreen = null;
if (msctlay.AdjRNOCol == ssctlay.AdjRNOCol) subFmt.SectData.StepSectionData.StpSectLayData.AdjRNOCol = NullInt;
if (msctlay.CautionNoteOrder == ssctlay.CautionNoteOrder) subFmt.SectData.StepSectionData.StpSectLayData.CautionNoteOrder = null;
// change bar
ChangeBar mcb = mainFmt.ProcData.ChangeBarData;

View File

@ -9,6 +9,7 @@ namespace fmtxml
{
private void AddBGEALNfmt(ref FormatData fmtdata)
{
fmtdata.SectData.StepSectionData.StpSectLayData.CautionNoteOrder = "7,6,22"; // Note,Caution,Warning
fmtdata.SectData.StepSectionData.CompressHPSub = "False";
fmtdata.SectData.StepSectionData.CompressPropSubSup = "True";
fmtdata.PrintData.SpecialCaseCalvert = "True";
@ -29,6 +30,7 @@ namespace fmtxml
fmtdata.SectData.StepSectionData.StpSectLayData.ColT = -16;
fmtdata.SectData.StepSectionData.StpSectLayData.WidT = 442;
fmtdata.SectData.StepSectionData.StpSectLayData.TabPtsPerChar = 6.2f;
fmtdata.SectData.StepSectionData.StpSectLayData.CautionNoteOrder = "29,7,6,22"; // Message,Note,Caution,Warning
fmtdata.SectData.StepSectionData.SequentialTabFormat[4].TabFormat = "{seq})";
fmtdata.SectData.StepSectionData.SequentialTabFormat[4].PrintTabFormat = "{seq})";
fmtdata.TransData.UseSpecificTransitionModifier = "True";

Binary file not shown.