needed to add an override to set the Note type to active

This commit is contained in:
John Jenko 2014-01-22 21:16:12 +00:00
parent d3eef071e5
commit ccb11a5f3c
2 changed files with 18 additions and 0 deletions

View File

@ -4434,6 +4434,10 @@ namespace fmtxml
case "CPL.X03":
OverrideCPL_X03(ref fmtdata);
break;
case "CPBCK.FMT":
case "CPBCK2.FMT":
OverrideAddCPBCK(ref fmtdata);
break;
case "MCG.FMT":
case "MCGBOX.FMT":
AddMCGfmtOVR(ref fmtdata);

View File

@ -188,6 +188,9 @@ namespace fmtxml
{
//Robinson_ArialFontInProcedures(ref fmtdata);
fmtdata.Name = "Duke Energy - Robinson Enhanced Background Format";
}
private void OverrideAddCPBCK(ref FormatData fmtdata) // Robinson
{
// high
fmtdata.StepData[2].UseOldTemplate = "True";
// Continuous
@ -202,6 +205,17 @@ namespace fmtxml
fmtdata.StepData[6].UseOldTemplate = "True";
// Note
fmtdata.StepData[7].UseOldTemplate = "True";
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";
// TitleWithTextRight
fmtdata.StepData[42].ReadOnly = "True";
// TitleWithTextBelow