From a50bdd50b253c7df5f49e7f46105574201c06d43 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 9 May 2014 19:09:40 +0000 Subject: [PATCH] Removed un-used Placekeeper information and adjusted the left and top margins on the Placekeeper sections --- PROMS/fmtxml/PlantSpecific_Calvert.cs | 67 ++++++++------------------ PROMS/fmtxml/TranslateFMT.XSL | Bin 216142 -> 211440 bytes 2 files changed, 21 insertions(+), 46 deletions(-) diff --git a/PROMS/fmtxml/PlantSpecific_Calvert.cs b/PROMS/fmtxml/PlantSpecific_Calvert.cs index 7f3f15b9..fcec55e9 100644 --- a/PROMS/fmtxml/PlantSpecific_Calvert.cs +++ b/PROMS/fmtxml/PlantSpecific_Calvert.cs @@ -42,47 +42,6 @@ namespace fmtxml fmtdata.TransData.TransTypeData[4].TransUI = "ProcCur, SectMenuAny, StepAllowNone, StepFirst"; fmtdata.TransData.TransTypeData[5].TransUI = "ProcMenu, SectMenuAny, StepAllowNone, StepFirst"; - //Placekeeper settings - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKBottomNote = "NOTE: Continuously Applicable Steps are designated with a \"C\" in the Done column."; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKTopContinueMessage = "(continued)"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.Font = new VE_Font(); - fmtdata.SectData.AccSectionData.PlaceKeeperData.Font.FontFamily = "Arial"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.Font.FontSize = "11"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.Font.FontStyle = "None"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.Font.CPI = "12"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns = new PKColumn[4]; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderText = "START"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColPos = 0; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColWidth = 100; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont = new VE_Font(); - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont.FontFamily = "Arial"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont.FontSize = "11"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont.FontStyle = "Bold"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont.CPI = "12"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderText = "FUNCTION"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColPos = 0; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColWidth = 500; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont = new VE_Font(); - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont.FontFamily = "Arial"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont.FontSize = "11"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont.FontStyle = "Bold"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont.CPI = "12"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderText = "DONE"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColPos = 0; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColWidth = 100; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont = new VE_Font(); - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont.FontFamily = "Arial"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont.FontSize = "11"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont.FontStyle = "Bold"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont.CPI = "12"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderText = "PAGE"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColPos = 0; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColWidth = 100; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont = new VE_Font(); - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont.FontFamily = "Arial"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont.FontSize = "11"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont.FontStyle = "Bold"; - fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont.CPI = "12"; } } public partial class FmtToXml @@ -105,6 +64,14 @@ namespace fmtxml dcstyles.DcStyles[3].CenterLineX = 240; dcstyles.DcStyles[3].CenterLineYTop = 624; dcstyles.DcStyles[3].CenterLineYBottom = 24; + // EOP Placekeeper + dcstyles.DcStyles[12].TopMargin = 138; + dcstyles.DcStyles[12].PageLength = 630; + dcstyles.DcStyles[12].LeftMargin = 106; + // AOP Placekeeper + dcstyles.DcStyles[13].TopMargin = 138; + dcstyles.DcStyles[13].PageLength = 630; + dcstyles.DcStyles[13].LeftMargin = 106; } private void AddBGEEOPPage(ref PageStyles pgstyles) { @@ -130,8 +97,12 @@ namespace fmtxml pgstyles.PgStyles[8].Items[2].Col = 474; pgstyles.PgStyles[8].Items[3].Col = 474; pgstyles.PgStyles[8].Items[4].Col = 474; - pgstyles.PgStyles[9].Items[2].Col = 474; - pgstyles.PgStyles[9].Items[3].Col = 474; + // EOP Placekeeper + pgstyles.PgStyles[9].Items[1].Col = -16; // BOX5 + pgstyles.PgStyles[9].Items[2].Col = 464; // EOPNUM + 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; @@ -140,9 +111,13 @@ namespace fmtxml pgstyles.PgStyles[13].Items[2].Col = 474; pgstyles.PgStyles[13].Items[3].Col = 474; pgstyles.PgStyles[13].Items[4].Col = 474; - pgstyles.PgStyles[14].Items[2].Col = 474; - pgstyles.PgStyles[14].Items[3].Col = 474; - + // EOP 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 + pgstyles.PgStyles[14].Items[4].Col = 227; // SECTIONLEVELNUMBER + pgstyles.PgStyles[14].Items[5].Col = 227; // Page {PAGE} of {OF} + pgstyles.PgStyles[14].Items[6].Col = 227; // PLACEKEEPER } } } diff --git a/PROMS/fmtxml/TranslateFMT.XSL b/PROMS/fmtxml/TranslateFMT.XSL index 658eb4e68a6127405e008470d4fdd38782aa927f..15c94e72830bd7c8d6a0e4e2f5ad70f41891fac1 100644 GIT binary patch delta 36 ucmV+<0Nel0m<{mr41lx&uG5z=^#MS)4%7h%4wDcGEQf&f0k?qk0?t=891rXO delta 1071 zcmaJ=O=uHQ5T5r^WOwVv#h6xTQR@$wP)rmgTCBz&q8JD{2subfLk<2=+tfx8=^=Vh z5YfXNMzGa*(t~J3vEr#w!Ar1>^(LhlZyqGz)q}IyWSfL-5AX4I=9}-E@6Frl-}PS~ z>bbY#<>J;Uh{GtPUPUTguv6Y|G+n!-FwH!Q7>w-cn2R6%p!g$hDXC9Y~5O{=DJ!Sk7DW z&7{c{(m1=BY;l%=i*SzJUTBG);$fsXZjR&(@7LSzqbX0Xrp2Jwu}QRAD$gSnONz~=UZl_ZN7igT;ia(O6+}brr@Oznz3_YGPPigw!xdRb{0B-O B8EXIl