From 099a428888cb48ed90f19370c9ab3bef363e4266 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 16 May 2014 14:58:21 +0000 Subject: [PATCH] Adjusted the left margin for the AOP Placekeeper with Initials format --- PROMS/fmtxml/AppendPlantSpecific.cs | 6 ++++++ PROMS/fmtxml/PlantSpecific_Calvert.cs | 26 +++++++++++++++++++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/PROMS/fmtxml/AppendPlantSpecific.cs b/PROMS/fmtxml/AppendPlantSpecific.cs index ccc07bf9..f5a73270 100644 --- a/PROMS/fmtxml/AppendPlantSpecific.cs +++ b/PROMS/fmtxml/AppendPlantSpecific.cs @@ -789,6 +789,9 @@ namespace fmtxml case "BGEEOP.PAG": AddBGEEOPPage(ref pgstyles); break; + case "BGEEOP.Z00": + AddBGEEOPPage_Z00(ref pgstyles); + break; } } @@ -1342,6 +1345,9 @@ namespace fmtxml case "BGEEOP.DOC": AddBGEEOPDOC(ref dcstyles); break; + case "BGEEOP.Y00": + AddBGEEOPDOC_Y00(ref dcstyles); + break; } } private void AddWCNBCKDoc(ref DocStyles dcstyles) diff --git a/PROMS/fmtxml/PlantSpecific_Calvert.cs b/PROMS/fmtxml/PlantSpecific_Calvert.cs index 43f3b875..4f0d60fd 100644 --- a/PROMS/fmtxml/PlantSpecific_Calvert.cs +++ b/PROMS/fmtxml/PlantSpecific_Calvert.cs @@ -70,13 +70,21 @@ namespace fmtxml // EOP Placekeeper dcstyles.DcStyles[12].TopMargin = 138; - dcstyles.DcStyles[12].PageLength = 630; + dcstyles.DcStyles[12].PageLength = 629; dcstyles.DcStyles[12].LeftMargin = 106; + // AOP Placekeeper dcstyles.DcStyles[13].TopMargin = 138; - dcstyles.DcStyles[13].PageLength = 630; + dcstyles.DcStyles[13].PageLength = 629; dcstyles.DcStyles[13].LeftMargin = 106; } + private void AddBGEEOPDOC_Y00(ref DocStyles dcstyles) + { + // AOP PlaceKeeper w/ Initials + dcstyles.DcStyles[2].TopMargin = 138; + dcstyles.DcStyles[2].PageLength = 629; + dcstyles.DcStyles[2].LeftMargin = 76; + } private void AddBGEEOPPage(ref PageStyles pgstyles) { pgstyles.PgStyles[0].Items[2].Col = 480; @@ -107,6 +115,7 @@ namespace fmtxml pgstyles.PgStyles[9].Items[3].Col = 464; // REVUNIT pgstyles.PgStyles[9].Items[4].Col = 463; // Page {PAGE} of {OF} pgstyles.PgStyles[9].Items[5].Col = 227; // PLACEKEEPER + pgstyles.PgStyles[10].Items[2].Col = 474; pgstyles.PgStyles[10].Items[3].Col = 474; pgstyles.PgStyles[11].Items[2].Col = 480; @@ -115,7 +124,8 @@ namespace fmtxml pgstyles.PgStyles[13].Items[2].Col = 474; pgstyles.PgStyles[13].Items[3].Col = 474; pgstyles.PgStyles[13].Items[4].Col = 474; - // EOP Placekeeper + + // AOP Placekeeper pgstyles.PgStyles[14].Items[1].Col = -16; // BOX5 pgstyles.PgStyles[14].Items[2].Col = 464; // EOPNUM pgstyles.PgStyles[14].Items[3].Col = 464; // REVUNIT @@ -123,5 +133,15 @@ namespace fmtxml pgstyles.PgStyles[14].Items[5].Col = 227; // Page {PAGE} of {OF} pgstyles.PgStyles[14].Items[6].Col = 227; // PLACEKEEPER } + private void AddBGEEOPPage_Z00(ref PageStyles pgstyles) + { + // AOP PlaceKeeper w/ Initials + pgstyles.PgStyles[1].Items[1].Col = -16; // BOX5 + pgstyles.PgStyles[1].Items[2].Col = 458; // EOPNUM + pgstyles.PgStyles[1].Items[3].Col = 458; // REVUNIT + pgstyles.PgStyles[1].Items[4].Col = 227; // SECTIONLEVELNUMBER + pgstyles.PgStyles[1].Items[5].Col = 227; // Page {PAGE} of {OF} + pgstyles.PgStyles[1].Items[6].Col = 227; // PLACEKEEPER + } } }