Override Note settings to force Notes to be available

This commit is contained in:
John Jenko 2013-11-14 14:32:48 +00:00
parent 40c40edfc2
commit eab7de84d9
2 changed files with 23 additions and 5 deletions

View File

@ -19,6 +19,9 @@ namespace fmtxml
case "NSPAB.X01":
AddNSPAB_X01(ref fmtdata);
break;
case "TUEC.FMT":
AddTuecfmtOVR(ref fmtdata);
break;
}
}

View File

@ -17,15 +17,15 @@ namespace fmtxml
fmtdata.SectData.SectionNumber.Font.FontStyle = "None";
fmtdata.SectData.SectionNumber.Font.CPI = "12";
// SectionHeader
fmtdata.SectData.SectionHeader.Pos = 20;
fmtdata.SectData.SectionHeader.Pos = 19;
fmtdata.SectData.SectionHeader.Just = "PSLeft";
fmtdata.SectData.SectionHeader.Font.FontFamily = "Prestige Elite Tall";
fmtdata.SectData.SectionHeader.Font.FontSize = "10";
fmtdata.SectData.SectionHeader.Font.FontStyle = "Underline";
fmtdata.SectData.SectionHeader.Font.CPI = "12";
// StepSectionData
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTableEdit = "436,192,120";
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "436,192,120";
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTableEdit = "426,192,120";
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "426,192,120";
fmtdata.SectData.StepSectionData.StpSectLayData.ShowSectionTitles = "True";
// High Level Step
fmtdata.StepData[2].TabData.Ident = " {numeric} ";
@ -48,10 +48,25 @@ namespace fmtxml
// High5
fmtdata.StepData[41].ColOverride = "20";
fmtdata.StepData[41].ColOverrideEdit = "20";
fmtdata.StepData[41].WidthOverride = "466,192,120";
fmtdata.StepData[41].WidthOverrideEdit = "466,192,120";
fmtdata.StepData[41].WidthOverride = "456,192,120";
fmtdata.StepData[41].WidthOverrideEdit = "456,192,120";
fmtdata.StepData[41].StepEditData.TypeMenu.MenuItem = "Unnumbered High Level Step";
}
private void AddTuecfmtOVR(ref FormatData fmtdata) // Comanche Peak - override after inheritance
{
// Note
fmtdata.StepData[7].Inactive = "False";
// Note 1
fmtdata.StepData[22].Inactive = "True";
// Note 2
fmtdata.StepData[23].Inactive = "True";
// Note 3
fmtdata.StepData[26].Inactive = "True";
// Note 4
fmtdata.StepData[28].Inactive = "True";
// Note 5
fmtdata.StepData[32].Inactive = "True";
}
private void AddTuecDevfmt(ref FormatData fmtdata) // Comanche Peak
{