From f92a076e160b96f3a9937a37048e51bde979fa13 Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 14 Nov 2013 14:16:41 +0000 Subject: [PATCH] Beginning of McGuire (pagelist items only) --- PROMS/fmtxml/AppendPlantSpecific.cs | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/PROMS/fmtxml/AppendPlantSpecific.cs b/PROMS/fmtxml/AppendPlantSpecific.cs index bb9927ba..f2d4f305 100644 --- a/PROMS/fmtxml/AppendPlantSpecific.cs +++ b/PROMS/fmtxml/AppendPlantSpecific.cs @@ -185,16 +185,15 @@ namespace fmtxml } private void AddFNPfmt(ref FormatData fmtdata) { - fmtdata.ComponentTableFormat = "True"; - //fmtdata.TPL = "0,8,0,6,0,0,title 1,8,2,6,0,8192, 2,41,12,24,0,0,Component Number: 2,41,40,42,0,0,Name: "; + fmtdata.ComponentTableFormat = "True"; // KBR: remove for next FNP update fmtdata.SectData.StepSectionData.StpSectLayData.WidSTableEdit = "445,186,120"; fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "420,186,120"; fmtdata.SectData.StepSectionData.StpSectLayData.RNOWidthAlt = "0,134"; fmtdata.SectData.StepSectionData.StpSectLayData.ColRTable = "0,198,138"; - fmtdata.SectData.StepSectionData.SequentialTabFormat[2].TabFormat = "#2#{seq} "; - fmtdata.SectData.StepSectionData.SequentialTabFormat[2].PrintTabFormat = "#2#{seq} "; - fmtdata.SectData.StepSectionData.SequentialTabFormat[3].TabFormat = "#2#{seq} "; - fmtdata.SectData.StepSectionData.SequentialTabFormat[3].PrintTabFormat = "#2#{seq} "; + fmtdata.SectData.StepSectionData.SequentialTabFormat[2].TabFormat = "#1#{seq} "; + fmtdata.SectData.StepSectionData.SequentialTabFormat[2].PrintTabFormat = "#1#{seq} "; + fmtdata.SectData.StepSectionData.SequentialTabFormat[3].TabFormat = "#1#{seq} "; + fmtdata.SectData.StepSectionData.SequentialTabFormat[3].PrintTabFormat = "#1#{seq} "; fmtdata.StepData[6].OneLineBeforeTab = "True"; fmtdata.StepData[7].OneLineBeforeTab = "True"; fmtdata.StepData[41].TabData.Ident = "{ROMAN}. "; @@ -210,12 +209,11 @@ namespace fmtxml } private void AddFNP_X0x(ref FormatData fmtdata) { - fmtdata.ComponentTableFormat = "True"; - //fmtdata.TPL = "0,8,0,6,0,0,title 1,8,2,6,0,8192, 2,41,12,24,0,0,Component Number: 2,41,40,42,0,0,Name: "; - fmtdata.SectData.StepSectionData.SequentialTabFormat[2].TabFormat = "#2#{seq} "; - fmtdata.SectData.StepSectionData.SequentialTabFormat[2].PrintTabFormat = "#2#{seq} "; - fmtdata.SectData.StepSectionData.SequentialTabFormat[3].TabFormat = "#2#{seq} "; - fmtdata.SectData.StepSectionData.SequentialTabFormat[3].PrintTabFormat = "#2#{seq} "; + fmtdata.ComponentTableFormat = "True"; // KBR - remove for next FNP update + fmtdata.SectData.StepSectionData.SequentialTabFormat[2].TabFormat = "#1#{seq} "; + fmtdata.SectData.StepSectionData.SequentialTabFormat[2].PrintTabFormat = "#1#{seq} "; + fmtdata.SectData.StepSectionData.SequentialTabFormat[3].TabFormat = "#1#{seq} "; + fmtdata.SectData.StepSectionData.SequentialTabFormat[3].PrintTabFormat = "#1#{seq} "; } private void AddCAL2fmt(ref FormatData fmtdata) { @@ -1639,6 +1637,9 @@ namespace fmtxml case "FNP.Z01": AddFNP_01Page(ref pgstyles); break; + case "MCG.PAG": + AddMCGPage(ref pgstyles); + break; } } private void AddFNP_00Page(ref PageStyles pgstyles) @@ -3143,10 +3144,12 @@ namespace fmtxml } private void AddFNPDOC(ref DocStyles dcstyles) { + // KBR commented out for MCG update: dcstyles.DcStyles[5].ComponentList = true; dcstyles.DcStyles[5].TopMargin = 144; } private void AddFNP_Y0x(ref DocStyles dcstyles) { + // KBR commented out for MCG update: dcstyles.DcStyles[1].ComponentList = true; dcstyles.DcStyles[1].TopMargin = 144; } private void AddCALBCKDOC(ref DocStyles dcstyles)