From a26d292c6a264dce5a0f3de8030a582c552c63e7 Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 16 Apr 2014 15:15:27 +0000 Subject: [PATCH] Added Bottom continue message margin for RNO column Various format adjustments: single column page length & width; dual column margins for continue message; procedure step subsections page width & centerline definitions; pagelist procedure description location on dual column pages; EOP Num location on cover page; EOP num, rev & page num on proc step subsections page --- PROMS/fmtxml/FmtToXml.cs | 2 ++ PROMS/fmtxml/PlantSpecific_Calvert.cs | 19 ++++++++++++++++++- PROMS/fmtxml/TranslateDoc.XSL | 5 +++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/PROMS/fmtxml/FmtToXml.cs b/PROMS/fmtxml/FmtToXml.cs index be7b4e5b..47f7c59b 100644 --- a/PROMS/fmtxml/FmtToXml.cs +++ b/PROMS/fmtxml/FmtToXml.cs @@ -83,6 +83,7 @@ public struct DocStyle // as part of top continue message. public float CTMargin; // Margin for top message public float CBMargin; // Margin for bottom message + public float CBMarginR; // Margin for bottom message RNO column - Added for BGE public short CBLoc; // 0 - place continue string at end of text // 1 - between end of text & bottom of page // 2 - place at bottom of page @@ -1046,6 +1047,7 @@ namespace fmtxml dc.ContStyle = new VE_Font(tmpstyle); dc.CTMargin = ColToPoints(dc.CTMargin, tmpstyle); dc.CBMargin = ColToPoints(dc.CBMargin, tmpstyle); + dc.CBMarginR = 0; dc.EndFlag = brFmt.ReadInt16(); dc.EndStyle = LoadVE_Font(); dc.UseCheckOffs = UseCheckOffsIn(fname.Substring(0, fname.Length - 4), dc.oldtonew); diff --git a/PROMS/fmtxml/PlantSpecific_Calvert.cs b/PROMS/fmtxml/PlantSpecific_Calvert.cs index 7dd48bec..88981302 100644 --- a/PROMS/fmtxml/PlantSpecific_Calvert.cs +++ b/PROMS/fmtxml/PlantSpecific_Calvert.cs @@ -16,6 +16,10 @@ namespace fmtxml fmtdata.SectData.StepSectionData.StpSectLayData.ColS = 30; fmtdata.SectData.StepSectionData.StpSectLayData.ColRTable = "0,192,126"; fmtdata.TransData.UseSpecificTransitionModifier = "true"; + fmtdata.StepData[6].SeparateBox = "True"; + //fmtdata.StepData[6].MatchUpRNO = "False"; + fmtdata.StepData[7].SeparateBox = "True"; + //fmtdata.StepData[7].MatchUpRNO = "False"; fmtdata.StepData[29].CenterOneLineOnly = "False"; // this is BGE's message type (used as paragraph off section. fmtdata.StepData[29].MatchUpRNO = "False"; fmtdata.StepData[29].AlignNullTabWSectHead = "True"; @@ -78,11 +82,19 @@ namespace fmtxml private void AddBGEEOPDOC(ref DocStyles dcstyles) { dcstyles.DcStyles[0].TopMargin = 96; - dcstyles.DcStyles[2].CBMargin = 0; + dcstyles.DcStyles[1].PageLength = 600; + dcstyles.DcStyles[1].PageWidth = 552; + dcstyles.DcStyles[2].CBMargin = 96; + dcstyles.DcStyles[2].CBMarginR = 335; + dcstyles.DcStyles[2].CBLoc = 1; dcstyles.DcStyles[2].PageWidth = 552; dcstyles.DcStyles[2].CenterLineX = 240; dcstyles.DcStyles[2].CenterLineYTop = 647; dcstyles.DcStyles[2].CenterLineYBottom = 24; + dcstyles.DcStyles[3].PageWidth = 552; + dcstyles.DcStyles[3].CenterLineX = 240; + dcstyles.DcStyles[3].CenterLineYTop = 624; + dcstyles.DcStyles[3].CenterLineYBottom = 24; } private void AddBGEEOPPage(ref PageStyles pgstyles) { @@ -95,10 +107,12 @@ namespace fmtxml pgstyles.PgStyles[2].Items[2].Col = 480; pgstyles.PgStyles[2].Items[3].Col = 480; pgstyles.PgStyles[2].Items[4].Col = 480; + pgstyles.PgStyles[2].Items[6].Col = 120; pgstyles.PgStyles[4].Items[2].Col = 480; pgstyles.PgStyles[4].Items[3].Col = 480; pgstyles.PgStyles[5].Items[2].Col = 480; pgstyles.PgStyles[5].Items[3].Col = 480; + pgstyles.PgStyles[6].Items[2].Col = 474; pgstyles.PgStyles[6].Items[3].Col = 474; pgstyles.PgStyles[6].Items[4].Col = 474; pgstyles.PgStyles[7].Items[2].Col = 474; @@ -110,6 +124,9 @@ namespace fmtxml pgstyles.PgStyles[9].Items[3].Col = 474; pgstyles.PgStyles[10].Items[2].Col = 474; pgstyles.PgStyles[10].Items[3].Col = 474; + pgstyles.PgStyles[11].Items[2].Col = 480; + pgstyles.PgStyles[11].Items[3].Col = 480; + pgstyles.PgStyles[11].Items[4].Col = 480; pgstyles.PgStyles[13].Items[2].Col = 474; pgstyles.PgStyles[13].Items[3].Col = 474; pgstyles.PgStyles[13].Items[4].Col = 474; diff --git a/PROMS/fmtxml/TranslateDoc.XSL b/PROMS/fmtxml/TranslateDoc.XSL index e77be3ef..a29fba2c 100644 --- a/PROMS/fmtxml/TranslateDoc.XSL +++ b/PROMS/fmtxml/TranslateDoc.XSL @@ -212,6 +212,11 @@ + + + + +