From c39cca8eef7bb3ae6663507660db5b25542d5403 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 22 Nov 2013 18:06:54 +0000 Subject: [PATCH] format adjustments per customer request --- PROMS/fmtxml/AppendPlantSpecific.cs | 37 +++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/PROMS/fmtxml/AppendPlantSpecific.cs b/PROMS/fmtxml/AppendPlantSpecific.cs index b7b60b4d..f3ed1533 100644 --- a/PROMS/fmtxml/AppendPlantSpecific.cs +++ b/PROMS/fmtxml/AppendPlantSpecific.cs @@ -350,7 +350,7 @@ namespace fmtxml fmtdata.StepData[2].Font.FontStyle = "Bold"; // Caution fmtdata.StepData[6].StepLayoutData.STBoxindex = null; - fmtdata.StepData[6].WidthOverride = "380"; + fmtdata.StepData[6].WidthOverride = "333"; // Caution1 fmtdata.StepData[20].Inactive = "True"; // Caution2 @@ -363,7 +363,7 @@ namespace fmtxml fmtdata.StepData[7].TabData.Ident = "Note "; fmtdata.StepData[7].TabData.RNOIdent = "Note "; fmtdata.StepData[7].StepLayoutData.STBoxindex = null; - fmtdata.StepData[7].WidthOverride = "385"; + fmtdata.StepData[7].WidthOverride = "333"; // Note1 fmtdata.StepData[22].Inactive = "True"; // Note2 @@ -895,6 +895,7 @@ namespace fmtxml { NSP_ArialFontInProcedures(ref fmtdata); fmtdata.ProcData.CoverTitleLength = 46; + fmtdata.ProcData.ChangeBarData.FixedChangeColumn = 0; // Base fmtdata.StepData[0].Font.CPI = "12"; // Substep @@ -937,7 +938,6 @@ namespace fmtxml // Note5 fmtdata.StepData[32].Inactive = "True"; fmtdata.StepData[32].OneLineBeforeTab = "True"; - } private void AddNSPAB_X01(ref FormatData fmtdata) { @@ -992,7 +992,9 @@ namespace fmtxml fmtdata.StepData[27].Inactive = "True"; // Caution4 fmtdata.StepData[29].Inactive = "True"; + // Note fmtdata.StepData[7].OneLineBeforeTab = "True"; + fmtdata.StepData[7].TabData.Bullet.Separate = "False"; // Note1 fmtdata.StepData[22].Inactive = "True"; // Note2 @@ -2030,13 +2032,16 @@ namespace fmtxml { // Background Text - first page pgstyles.PgStyles[0].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE} - pgstyles.PgStyles[0].Items[1].Col = 477; //{EOPNUM} + pgstyles.PgStyles[0].Items[1].Col = 519; //{EOPNUM} + pgstyles.PgStyles[0].Items[1].Justify = "PSRight"; pgstyles.PgStyles[0].Items[1].Style.FontFamily = "Arial"; pgstyles.PgStyles[0].Items[1].Style.FontSize = "11"; - pgstyles.PgStyles[0].Items[2].Col = 477; //{REV} + pgstyles.PgStyles[0].Items[2].Col = 519; //{REV} + pgstyles.PgStyles[0].Items[2].Justify = "PSRight"; pgstyles.PgStyles[0].Items[2].Style.FontFamily = "Arial"; pgstyles.PgStyles[0].Items[2].Style.FontSize = "11"; - pgstyles.PgStyles[0].Items[3].Col = 477; //{Page} of {OF} + pgstyles.PgStyles[0].Items[3].Col = 519; //{Page} of {OF} + pgstyles.PgStyles[0].Items[3].Justify = "PSRight"; pgstyles.PgStyles[0].Items[3].Style.FontFamily = "Arial"; pgstyles.PgStyles[0].Items[3].Style.FontSize = "11"; pgstyles.PgStyles[0].Items[4].Col = 285; // BACKGROUND INFORMATION FOR @@ -2047,13 +2052,16 @@ namespace fmtxml pgstyles.PgStyles[0].Items[5].Style.FontSize = "11"; // Background Text - rest of pages pgstyles.PgStyles[1].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE} - pgstyles.PgStyles[1].Items[1].Col = 477; //{EOPNUM} + pgstyles.PgStyles[1].Items[1].Col = 519; //{EOPNUM} + pgstyles.PgStyles[1].Items[1].Justify = "PSRight"; pgstyles.PgStyles[1].Items[1].Style.FontFamily = "Arial"; pgstyles.PgStyles[1].Items[1].Style.FontSize = "11"; - pgstyles.PgStyles[1].Items[2].Col = 477; //{REV} + pgstyles.PgStyles[1].Items[2].Col = 519; //{REV} + pgstyles.PgStyles[1].Items[2].Justify = "PSRight"; pgstyles.PgStyles[1].Items[2].Style.FontFamily = "Arial"; pgstyles.PgStyles[1].Items[2].Style.FontSize = "11"; - pgstyles.PgStyles[1].Items[3].Col = 477; //{Page} of {OF} + pgstyles.PgStyles[1].Items[3].Col = 519; //{Page} of {OF} + pgstyles.PgStyles[1].Items[3].Justify = "PSRight"; pgstyles.PgStyles[1].Items[3].Style.FontFamily = "Arial"; pgstyles.PgStyles[1].Items[3].Style.FontSize = "11"; // attachments @@ -2695,6 +2703,10 @@ namespace fmtxml } private void AddNSPSAMPage(ref PageStyles pgstyles) { + // Procedure Steps + pgstyles.PgStyles[0].Items[2].Style.CPI = "10"; + // Figures Included in Page Count + pgstyles.PgStyles[1].Items[2].Style.CPI = "10"; //Cover sheet with retention 5 years //{EOPNUM} pgstyles.PgStyles[2].Items[1].Style.FontFamily = "Arial"; @@ -2719,9 +2731,14 @@ namespace fmtxml pgstyles.PgStyles[3].Items[3].Style.FontFamily = "Arial"; pgstyles.PgStyles[3].Items[3].Style.FontSize = "11"; //Figures with Seperate Pagination + // PROCTITLE + pgstyles.PgStyles[6].Items[2].Style.CPI = "10"; //Page {DOCCURPAGE} of {DOCTOTPAGE} pgstyles.PgStyles[6].Items[6].Style.FontFamily = "Arial"; pgstyles.PgStyles[6].Items[6].Style.FontSize = "11"; + // Figures with Section Info + // PROCTITLE + pgstyles.PgStyles[7].Items[2].Style.CPI = "10"; // we need to add one new pgstyle // expand the pgstyles.PgStyles array by one; @@ -2776,7 +2793,7 @@ namespace fmtxml pi.Style = new VE_Font(); pi.Style.FontFamily = "Arial"; pi.Style.FontSize = "11"; - pi.Style.CPI = "12"; + pi.Style.CPI = "10"; pi.Style.FontStyle = "None"; Fpsitms[2] = pi;