4422 lines
		
	
	
		
			178 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			4422 lines
		
	
	
		
			178 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Text;
 | |
| using System.Xml;
 | |
| 
 | |
| namespace fmtxml
 | |
| {
 | |
| 	public partial class FmtFileToXml
 | |
| 	{
 | |
| 		public void AddPlantSpecificOverrideInheritance(string genFileName, ref FormatData fmtdata)
 | |
| 		{
 | |
| 			string genName = genFileName.Substring(genFileName.LastIndexOf('\\') + 1);
 | |
| 			//genName = genName.Substring(0, genName.IndexOf('.'));
 | |
| 			switch (genName.ToUpper())
 | |
| 			{
 | |
| 				case "SUM.FMT":
 | |
| 					AddSUMOverridefmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "NSPAB.X01":
 | |
| 					AddNSPAB_X01(ref fmtdata);
 | |
| 					break;
 | |
| 				case "TUEC.FMT":
 | |
| 					AddTuecfmtOVR(ref fmtdata);
 | |
| 					break;
 | |
| 			}
 | |
| 		}
 | |
| 
 | |
| 		public void AddPlantSpecific(string genFileName, ref FormatData fmtdata)
 | |
| 		{
 | |
| 			string genName = genFileName.Substring(genFileName.LastIndexOf('\\') + 1);
 | |
| 			//genName = genName.Substring(0, genName.IndexOf('.'));
 | |
| 			switch (genName.ToUpper())
 | |
| 			{
 | |
| 				case "TP.FMT":
 | |
| 					AddTPFmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "RGE.FMT":
 | |
| 					AddRGEFmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "RGESAM1.FMT":
 | |
| 				case "RGESAM2.FMT":
 | |
| 				case "RGESMPE.FMT":
 | |
| 					AddRGESAMGFmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "RGEBCK.FMT":
 | |
| 					AddRGEBCKFmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "RGEBCK.X00":
 | |
| 					AddRGEBCKX00(ref fmtdata);
 | |
| 					break;
 | |
| 				case "RGEDEV.FMT":
 | |
| 					AddRGEDEVFmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "WCN2.FMT":
 | |
| 					AddWCN2Fmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "WCNCKL.FMT":
 | |
| 					AddWCNCKLFmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "NSP.FMT":
 | |
| 					AddNSPFMT(ref fmtdata);
 | |
| 					break;
 | |
| 				case "NSPAB.FMT":
 | |
| 				case "NSPAB.X00":
 | |
| 				case "NSPAB.X01":
 | |
| 				case "NSPAB.X02":
 | |
| 					AddNSPABFMT(ref fmtdata);
 | |
| 					break;
 | |
| 				case "NSP.X00":
 | |
| 					AddNSP00FMT(ref fmtdata);
 | |
| 					break;
 | |
| 				case "NSPBCK.FMT":
 | |
| 					AddNSPBCKFMT(ref fmtdata);
 | |
| 					break;
 | |
| 				case "NSPARP.FMT":
 | |
| 				case "NSPARP.X00":
 | |
| 					AddNSPARPfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "NSPDEV.FMT":
 | |
| 					AddNSPDEVFMT(ref fmtdata);
 | |
| 					break;
 | |
| 				case "NSPIFG.FMT":
 | |
| 				case "NSPIFG2.FMT":
 | |
| 				case "NSPIFG.X00":
 | |
| 					AddNSPIFGFMT(ref fmtdata);
 | |
| 					break;
 | |
| 				case "NSPSAM.FMT":
 | |
| 					AddNSPSAMFMT(ref fmtdata);
 | |
| 					break;
 | |
| 				case "SHE.FMT":
 | |
| 					AddSHEfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "SHESSD.FMT":
 | |
| 					AddSHESSDfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPLSSDD.FMT":
 | |
| 					AddCPLSSDDfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "IP3.X15":
 | |
| 					AddIP3_15fmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "IP3.FMT":
 | |
| 					AddIP3fmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "IP2.FMT":
 | |
| 					AddIP2fmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "SUM.FMT":
 | |
| 					AddSUMfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "VCSDEV.FMT":
 | |
| 					AddVCSDEVfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CAL2.FMT":
 | |
| 				case "CALOTO.FMT":
 | |
| 					AddCAL2fmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CALBCK.FMT":
 | |
| 					AddCALBCKfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "FNP.FMT":
 | |
| 					AddFNPfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "FNP.X00":
 | |
| 				case "FNP.X01":
 | |
| 					AddFNP_X0x(ref fmtdata);
 | |
| 					break;
 | |
| 				case "FNPCAS.FMT":
 | |
| 					AddFNPCASfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPL.FMT":
 | |
| 					AddCPLfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPL.X00":
 | |
| 					AddCPL_X00(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPL.X01":
 | |
| 					AddCPL_X01(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPL.X02":
 | |
| 					AddCPL_X02(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPL.X03":
 | |
| 					AddCPL_X03(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPLRDEV.FMT":
 | |
| 					AddCPLRDev(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPLA.FMT":
 | |
| 					AddCPLA(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPBCK.FMT":
 | |
| 					AddCPBCK(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPBCK.X00":
 | |
| 					AddCPBCK_X00(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPBCK.X01":
 | |
| 					AddCPBCK_X01(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CPBCK2.FMT":
 | |
| 					AddCPBCK2(ref fmtdata);
 | |
| 					break;
 | |
| 				case "TUEC.FMT":
 | |
| 					AddTuecfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "TUECDEV.FMT":
 | |
| 					AddTuecDevfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "MCG.FMT":
 | |
| 				case "MCGBOX.FMT":
 | |
| 					AddMCGfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CAT.FMT":
 | |
| 				case "CATBOX.FMT":
 | |
| 					AddCATfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CATADEV.FMT":
 | |
| 					AddCATADEVfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CWE.FMT":
 | |
| 					AddCWEfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "CWE.X00":
 | |
| 					AddCWE00fmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "EXCLN.FMT":
 | |
| 					AddEXCLNfmt(ref fmtdata);
 | |
| 					break;
 | |
| 				case "EXCLN.X00":
 | |
| 					AddEXCLN00fmt(ref fmtdata);
 | |
| 					break;
 | |
| 			}
 | |
| 		}
 | |
| 
 | |
| 		private void AddCALBCKfmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.StepData[42].ReadOnly = "True";
 | |
| 			fmtdata.StepData[43].ReadOnly = "True";
 | |
| 			fmtdata.StepData[43].ChildIndent = "14.4"; // 2 characters at 10 cpi
 | |
| 			fmtdata.StepData[2].TabData.IdentAltPrint = @"\ul EOP STEP:\ulnone \STEP:    ";
 | |
| 			fmtdata.StepData[2].TabData.RNOIdent = @"\ul WOG ERG STEP:\ulnone  ";
 | |
| 			fmtdata.StepData[6].TabData.IdentAltPrint = @"\ul EOP STEP:\ulnone  \STEP:    ";
 | |
| 			fmtdata.StepData[6].TabData.RNOIdent = @"\ul WOG ERG STEP:\ulnone  ";
 | |
| 			fmtdata.StepData[7].TabData.IdentAltPrint = @"\ul EOP STEP:\ulnone  \STEP:    ";
 | |
| 			fmtdata.StepData[7].TabData.RNOIdent = @"\ul WOG ERG STEP:\ulnone  ";
 | |
| 			fmtdata.StepData[6].WidthOverride = "490";
 | |
| 			fmtdata.StepData[7].WidthOverride = "490";
 | |
| 			fmtdata.StepData[24].WidthOverride = "490";
 | |
| 			fmtdata.StepData[2].UseOldTemplate = "True";
 | |
| 			fmtdata.StepData[6].UseOldTemplate = "True";
 | |
| 			fmtdata.StepData[7].UseOldTemplate = "True";
 | |
| 			fmtdata.StepData[9].UseOldTemplate = "True";
 | |
| 			fmtdata.StepData[40].StepLayoutData.AlignWithParentTab = "True";
 | |
| 		}
 | |
| 		private void AddFNPfmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.WidSTableEdit = "445,186,120";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "420,186,120";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.RNOWidthAlt = "0,186";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.ColRTable = "0,198,138";
 | |
| 			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}.     ";
 | |
| 			fmtdata.StepData[41].TabData.RNOIdent = "{ROMAN}.     ";
 | |
| 			fmtdata.BoxData[1].End = 500;
 | |
| 			fmtdata.BoxData[2].Start = -15;
 | |
| 			fmtdata.BoxData[2].End = 505;
 | |
| 			fmtdata.StepData[40].AdjHighLevelTab = "60";
 | |
| 			fmtdata.StepData[41].AlignHLSTabWithSectOvride = "True";
 | |
| 			fmtdata.StepData[42].ReadOnly = "True";
 | |
| 			fmtdata.StepData[43].ReadOnly = "True";
 | |
| 			fmtdata.StepData[9].UseOldTemplate = "True";
 | |
| 		}
 | |
| 		private void AddFNP_X0x(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			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.PrintData.DoRevDate = "True";
 | |
| 			fmtdata.PrintData.RevDateWithForwardSlash = "False";
 | |
| 		}
 | |
| 		private void AddFNPCASfmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.PrintData.DoRevDate = "True";
 | |
| 			fmtdata.PrintData.RevDateWithForwardSlash = "False";
 | |
| 		}
 | |
| 		private void AddCAL2fmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = 10;
 | |
| 			fmtdata.StepData[9].TabData.Ident = " {!C0}{Section Prefix}{numeric}. ";
 | |
| 			fmtdata.StepData[9].TabData.RNOIdent = " {!C0}{Section Prefix}. ";
 | |
| 			fmtdata.StepData[9].TabData.MacroList[0].LocWithXOff = "True";
 | |
| 			fmtdata.TransData.TransTypeData[5].TransFormat = "{Sect Num}, {Sect Title}, Step {First Step}";
 | |
| 			fmtdata.TransData.TransTypeData[5].TransMenu = "{Sect Num}, {Sect Title}, Step {First Step}";
 | |
| 		}
 | |
| 
 | |
| 		private void AddIP3fmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.RNOSepLineLength = 186;
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.RNOSepString = null;
 | |
| 			fmtdata.StepData[9].Suffix = "{ulnone}   *";
 | |
| 		}
 | |
| 
 | |
| 		private void AddIP2fmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.SectData.StepSectionData.IndentToken = 0;
 | |
| 			fmtdata.StepData[9].TabData.Ident = "{!C0}{numeric}.   ";
 | |
| 			fmtdata.StepData[9].TabData.RNOIdent = "{!C0}.   ";
 | |
| 		}
 | |
| 
 | |
| 		private void AddWCNCKLFmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.BoxData[3].End = 518;
 | |
| 			fmtdata.BoxData[4].End = 518;
 | |
| 			fmtdata.StepData[30].StepLayoutData.AlignWithParentTab = "True";
 | |
| 			fmtdata.StepData[2].StepPrintData.Justify = "Center";
 | |
| 			fmtdata.StepData[9].StepPrintData.Justify = "Center";
 | |
| 		}
 | |
| 
 | |
| 		private void AddTPFmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			/* Under development
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.TableCenterPos = "146,0,0";
 | |
| 			 * */
 | |
| 			// When a plant does not have the TextSubFollowsTextStyle, the 16bit code was adding two characters
 | |
| 			// before the tab if the parent of this step is a Caution or Note.  But the two characters was related
 | |
| 			// to the spaces on the parents tab.  The code was very hard to follow.  This format variable was
 | |
| 			// introduced to allow setting of the number of spaces before the tab.
 | |
| 			fmtdata.StepData[1].CautionOrNoteSubstepIndent = "2";
 | |
| 		}
 | |
| 		private void AddRGEFmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// RGE is now call CEG
 | |
| 			fmtdata.Name = "CEG Ginna EOP/AOP Format";
 | |
| 			RGEcommonAdjustments(ref fmtdata);
 | |
| 		}
 | |
| 		private void AddRGESAMGFmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			RGEcommonAdjustments(ref fmtdata);
 | |
| 		}
 | |
| 		private void RGEcommonAdjustments(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// The RGE formats had a PrintPosAdjust in 16 bit on the High, Immediate, LossocAC & continuous step
 | |
| 			// types with a value of -1 (move back one character).  However, on the printed output, it printed
 | |
| 			// as about a 1/4 of a character.  This value will be set in the 32bit format file to a -2.4 in
 | |
| 			// these step types.
 | |
| 			fmtdata.StepData[2].StepPrintData.PosAdjust = "-2.4";
 | |
| 			fmtdata.StepData[3].StepPrintData.PosAdjust = "-2.4";
 | |
| 			fmtdata.StepData[9].StepPrintData.PosAdjust = "-2.4";
 | |
| 			fmtdata.StepData[18].StepPrintData.PosAdjust = "-2.4";
 | |
| 			// The RGE formats tabs for HLS were printing one character over to the left in 32 bit, except for 
 | |
| 			// immediate (index = 3).  Adjust format tab data to make it match 16bit.
 | |
| 			fmtdata.StepData[2].TabData.Ident = " {numeric} ";
 | |
| 			fmtdata.StepData[2].TabData.IdentEdit = " {numeric} ";
 | |
| 			fmtdata.StepData[2].TabData.RNOIdentEdit = "";
 | |
| 			fmtdata.StepData[2].TabData.RNOIdent = "";
 | |
| 			//fmtdata.StepData[2].TabData.IdentEditWid="";
 | |
| 			//fmtdata.StepData[2].TabData.IdentWid="18";
 | |
| 			//fmtdata.StepData[2].TabData.RNOIdentEditWid="18";
 | |
| 			//fmtdata.StepData[2].TabData.RNOIdentWid = "18";
 | |
| 			fmtdata.StepData[9].TabData.IdentEdit = "*{numeric} ";
 | |
| 			fmtdata.StepData[9].TabData.Ident = "*{numeric} ";
 | |
| 			fmtdata.StepData[9].TabData.RNOIdentEdit = "* ";
 | |
| 			fmtdata.StepData[9].TabData.RNOIdent = "* ";
 | |
| 
 | |
| 			// the following change was made because the code that supports the TStepNoFlag was not 
 | |
| 			// written when Ginna was delivered and the difference in the transition text for ranges
 | |
| 			// did not match the 16bit but was not caught in compares.  As per Paul Linn on 6/18/13
 | |
| 			// keep the transition text the same as for the delivery, which means that TStepNoFlag
 | |
| 			// should be = true (the default).
 | |
| 			fmtdata.TransData.TStepNoFlag = "True";
 | |
| 		}
 | |
| 		private void AddRGEDEVFmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// RGE is now call CEG
 | |
| 			fmtdata.Name = "CEG Ginna Deviation Format";
 | |
| 			fmtdata.TransData.TStepNoFlag = "True";   // see comment in RgeCommonAdjustments
 | |
| 		}
 | |
| 		private void AddRGEBCKFmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// RGE is now call CEG //\u160?
 | |
| 			fmtdata.Name = "CEG Ginna Background Format";
 | |
| 			fmtdata.TPL = "0 0 title\r\n1 1 \r\n2 41 PURPOSE: \r\n2 42 BASIS:\r\n2 42 SUPPLEMENTAL INFORMATION:\r\n2 42 DEVIATION/JUSTIFICATION:\r\n2 42 REFERENCES:\r\n1 39 \xA0\r\n0 0 title\r\n1 5 \r\n2 41 PURPOSE: \r\n2 42 BASIS:\r\n2 42 SUPPLEMENTAL INFORMATION:\r\n2 42 DEVIATION/JUSTIFICATION:\r\n2 42 REFERENCES:\r\n1 39 \xA0\r\n0 0 title\r\n1 6 \r\n2 41 PURPOSE: \r\n2 42 BASIS:\r\n2 42 SUPPLEMENTAL INFORMATION:\r\n2 42 DEVIATION/JUSTIFICATION:\r\n2 42 REFERENCES:\r\n1 39 \xA0\r\n";
 | |
| 			// High
 | |
| 			fmtdata.StepData[2].ColOverride = "66";
 | |
| 			fmtdata.StepData[2].UseOldTemplate = "True";
 | |
| 			// Imediate
 | |
| 			fmtdata.StepData[3].ColOverride = "66";
 | |
| 			// Continuous
 | |
| 			fmtdata.StepData[9].ColOverride = "66";
 | |
| 			// Loss of AC
 | |
| 			fmtdata.StepData[18].ColOverride = "66";
 | |
| 			// High 5
 | |
| 			fmtdata.StepData[41].ColOverride = "66";
 | |
| 			// And
 | |
| 			fmtdata.StepData[4].StepLayoutData.STExtraSpace = "0";
 | |
| 			// Explicate And
 | |
| 			fmtdata.StepData[45].StepLayoutData.STExtraSpace = "0";
 | |
| 			// ContAcAnd
 | |
| 			fmtdata.StepData[19].StepLayoutData.STExtraSpace = "0";
 | |
| 			// OR
 | |
| 			fmtdata.StepData[5].StepLayoutData.STExtraSpace = "0";
 | |
| 			// Implicate OR
 | |
| 			fmtdata.StepData[35].StepLayoutData.STExtraSpace = "0";
 | |
| 			// ContAcOR
 | |
| 			fmtdata.StepData[46].StepLayoutData.STExtraSpace = "0";
 | |
| 			// Caution
 | |
| 			fmtdata.StepData[6].UseOldTemplate = "True";
 | |
| 			//Note
 | |
| 			fmtdata.StepData[7].UseOldTemplate = "True";
 | |
| 			// Paragraph
 | |
| 			fmtdata.StepData[24].StepLayoutData.STExtraSpace = "0";
 | |
| 			// RNO
 | |
| 			fmtdata.StepData[40].StepLayoutData.AlignWithParentTab = "True";
 | |
| 			fmtdata.StepData[40].ColOverride = "66";
 | |
| 			// TitleWithTextRight
 | |
| 			fmtdata.StepData[42].ReadOnly = "True";
 | |
| 			fmtdata.StepData[42].ColOverride = "66";
 | |
| 			fmtdata.StepData[42].StepLayoutData.STExtraSpace = "0";
 | |
| 			// TitleWithTextBelow
 | |
| 			fmtdata.StepData[43].ReadOnly = "True";
 | |
| 			fmtdata.StepData[43].ColOverride = "66";
 | |
| 			fmtdata.StepData[43].WidthOverride = "468";
 | |
| 			fmtdata.StepData[43].StepLayoutData.STExtraSpace = "0";
 | |
| 		}
 | |
| 		private void AddRGEBCKX00(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// RGE is now call CEG
 | |
| 			fmtdata.Name = "CEG Ginna Background Subformat";
 | |
| 			fmtdata.TransData.TStepNoFlag = "True";   // see comment in RgeCommonAdjustments
 | |
| 		}
 | |
| 		private void AddWCN2Fmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// the WCN2 tab for continuous HLS type had only 1 space after the period ('.').  The other
 | |
| 			// tabs had two spaces.  This tab type also uses the C0 macro to draw the lines above/below
 | |
| 			// the number.  Because it only had 1 space, the tab and lines were not matching the
 | |
| 			// 16bit output.  A space is added here to make the continuous HLS type match the number
 | |
| 			// of spaces as other HLS tabs, and to make the printed output match that of 16bit.
 | |
| 			fmtdata.StepData[9].TabData.Ident = fmtdata.StepData[9].TabData.Ident + " ";
 | |
| 			fmtdata.StepData[9].TabData.IdentEdit = fmtdata.StepData[9].TabData.IdentEdit + " ";
 | |
| 			fmtdata.StepData[9].TabData.RNOIdent = fmtdata.StepData[9].TabData.RNOIdent + " ";
 | |
| 			fmtdata.StepData[9].TabData.RNOIdentEdit = fmtdata.StepData[9].TabData.RNOIdentEdit + " ";
 | |
| 		}
 | |
| 		private void AddNSPFMT(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			NSP_ArialFontInProcedures(ref fmtdata);
 | |
| 			// checkoffs
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].Index = 7;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].UIMark = 83;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].MenuItem = "S";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].Macro = "C7";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].Index = 8;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].UIMark = 88;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].MenuItem = "X";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].Macro = "C8";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].Index = 9;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].UIMark = 67;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].MenuItem = "C";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].Macro = "C9";
 | |
| 			// Standard High Level step
 | |
| 			fmtdata.StepData[2].Font.FontStyle = "Bold";
 | |
| 			// Caution
 | |
| 			fmtdata.StepData[6].StepLayoutData.STBoxindex = null;
 | |
| 			fmtdata.StepData[6].WidthOverride = "333";
 | |
| 			// Caution1
 | |
| 			fmtdata.StepData[20].Inactive = "True";
 | |
| 			// Caution2
 | |
| 			fmtdata.StepData[21].Inactive = "True";
 | |
| 			// Caution3
 | |
| 			fmtdata.StepData[27].Inactive = "True";
 | |
| 			// Caution4
 | |
| 			fmtdata.StepData[29].Inactive = "True";
 | |
| 			// Note
 | |
| 			fmtdata.StepData[7].TabData.Ident = "Note     ";
 | |
| 			fmtdata.StepData[7].TabData.RNOIdent = "Note     ";
 | |
| 			fmtdata.StepData[7].StepLayoutData.STBoxindex = null;
 | |
| 			fmtdata.StepData[7].WidthOverride = "333";
 | |
| 			// Note1
 | |
| 			fmtdata.StepData[22].Inactive = "True";
 | |
| 			// Note2
 | |
| 			fmtdata.StepData[23].Inactive = "True";
 | |
| 			// Note3
 | |
| 			fmtdata.StepData[26].Inactive = "True";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Inactive = "True";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Inactive = "True";
 | |
| 		}
 | |
| 		private void NSP_ArialFontInProcedures(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// Set the overall font to Arial 11 pt
 | |
| 			fmtdata.FontData.FontFamily = "Arial";
 | |
| 			fmtdata.FontData.FontSize = "11";
 | |
| 			fmtdata.FontData.CPI = "10";
 | |
| 
 | |
| 			fmtdata.SectData.SectionNumber.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.SectionNumber.Font.FontSize = "11";
 | |
| 			fmtdata.SectData.SectionHeader.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.SectionHeader.Font.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.VertStyle.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.VertStyle.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.TopOfPage.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.TopOfPage.Font.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.Separator.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.Separator.Font.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.ModifiedTextStyle.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.ModifiedTextStyle.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.ImmStepHdrStyle.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.ImmStepHdrStyle.FontSize = "11";
 | |
| 			//// Step Type Base
 | |
| 			fmtdata.StepData[0].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[0].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[0].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[0].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// Substep
 | |
| 			//fmtdata.StepData[1].Font.FontFamily = "Arial";
 | |
| 			//fmtdata.StepData[1].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[1].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[1].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// Standard High Level step
 | |
| 			fmtdata.StepData[2].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// Immediate
 | |
| 			fmtdata.StepData[3].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// And
 | |
| 			fmtdata.StepData[4].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[4].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[4].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[4].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// OR
 | |
| 			fmtdata.StepData[5].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[5].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[5].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[5].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// Cautions use Arial Font for Tab (instead of Script) and
 | |
| 			// any bullets following the tab are at a different point size
 | |
| 			fmtdata.StepData[6].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[6].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[6].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[6].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[6].TabData.Font.FontSize = "18";
 | |
| 			fmtdata.StepData[6].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[6].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[6].TabData.Bullet.Separate = "True";
 | |
| 			fmtdata.StepData[6].TabData.Bullet.Font = new VE_Font();
 | |
| 			fmtdata.StepData[6].TabData.Bullet.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[6].TabData.Bullet.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[6].TabData.Bullet.Font.FontStyle = "none";
 | |
| 			fmtdata.StepData[6].WidthOverride = "421";
 | |
| 			fmtdata.StepData[6].ColOverride = "194";
 | |
| 
 | |
| 			////fmtdata.StepData[20] = fmtdata.StepData[6];
 | |
| 			////fmtdata.StepData[20].Type = "Caution1";
 | |
| 			////fmtdata.StepData[20].ParentType = "Caution";
 | |
| 			fmtdata.StepData[20].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[20].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[20].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[20].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[20].TabData.Font.FontSize = "18";
 | |
| 			fmtdata.StepData[20].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[20].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[20].TabData.Bullet.Separate = "True";
 | |
| 			fmtdata.StepData[20].TabData.Bullet.Font = new VE_Font();
 | |
| 			fmtdata.StepData[20].TabData.Bullet.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[20].TabData.Bullet.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[20].TabData.Bullet.Font.FontStyle = "Bold";
 | |
| 
 | |
| 			////fmtdata.StepData[21] = fmtdata.StepData[6];
 | |
| 			////fmtdata.StepData[21].Type = "Caution2";
 | |
| 			////fmtdata.StepData[21].ParentType = "Caution";
 | |
| 			fmtdata.StepData[21].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[21].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[21].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[21].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[21].TabData.Font.FontSize = "18";
 | |
| 			fmtdata.StepData[21].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[21].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[21].TabData.Bullet.Separate = "True";
 | |
| 			fmtdata.StepData[21].TabData.Bullet.Font = new VE_Font();
 | |
| 			fmtdata.StepData[21].TabData.Bullet.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[21].TabData.Bullet.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[21].TabData.Bullet.Font.FontStyle = "Bold";
 | |
| 
 | |
| 			////fmtdata.StepData[27] = fmtdata.StepData[6];
 | |
| 			////fmtdata.StepData[27].Type = "Caution3";
 | |
| 			////fmtdata.StepData[27].ParentType = "Caution";
 | |
| 			fmtdata.StepData[27].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[27].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[27].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[27].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[27].TabData.Font.FontSize = "18";
 | |
| 			fmtdata.StepData[27].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[27].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[27].TabData.Bullet.Separate = "True";
 | |
| 			fmtdata.StepData[27].TabData.Bullet.Font = new VE_Font();
 | |
| 			fmtdata.StepData[27].TabData.Bullet.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[27].TabData.Bullet.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[27].TabData.Bullet.Font.FontStyle = "Bold";
 | |
| 
 | |
| 			////fmtdata.StepData[29] = fmtdata.StepData[6];
 | |
| 			////fmtdata.StepData[29].Type = "Caution4";
 | |
| 			////fmtdata.StepData[29].ParentType = "Caution";
 | |
| 			fmtdata.StepData[29].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[29].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[29].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[29].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[29].TabData.Font.FontSize = "18";
 | |
| 			fmtdata.StepData[29].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[29].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[29].TabData.Bullet.Separate = "True";
 | |
| 			fmtdata.StepData[29].TabData.Bullet.Font = new VE_Font();
 | |
| 			fmtdata.StepData[29].TabData.Bullet.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[29].TabData.Bullet.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[29].TabData.Bullet.Font.FontStyle = "Bold";
 | |
| 
 | |
| 			// Notes used Arial font and any bullets following the tab are at
 | |
| 			// a different point size
 | |
| 			fmtdata.StepData[7].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[7].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[7].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[7].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[7].TabData.Font.FontSize = "14";
 | |
| 			fmtdata.StepData[7].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[7].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[7].TabData.Bullet.Separate = "True";
 | |
| 			fmtdata.StepData[7].TabData.Bullet.Font = new VE_Font();
 | |
| 			fmtdata.StepData[7].TabData.Bullet.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[7].TabData.Bullet.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[7].TabData.Bullet.Font.FontStyle = "Bold";
 | |
| 			fmtdata.StepData[7].WidthOverride = "401";
 | |
| 
 | |
| 			////fmtdata.StepData[22] = fmtdata.StepData[7];
 | |
| 			////fmtdata.StepData[22].Type = "Note1";
 | |
| 			////fmtdata.StepData[22].ParentType = "Note";
 | |
| 			fmtdata.StepData[22].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[22].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[22].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[22].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[22].TabData.Font.FontSize = "14";
 | |
| 			fmtdata.StepData[22].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[22].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 
 | |
| 			////fmtdata.StepData[23] = fmtdata.StepData[7];
 | |
| 			////fmtdata.StepData[23].Type = "Note2";
 | |
| 			////fmtdata.StepData[23].ParentType = "Note";
 | |
| 			fmtdata.StepData[23].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[23].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[23].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[23].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[23].TabData.Font.FontSize = "14";
 | |
| 			fmtdata.StepData[23].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[23].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 
 | |
| 			////fmtdata.StepData[26] = fmtdata.StepData[7];
 | |
| 			////fmtdata.StepData[26].Type = "Note3";
 | |
| 			////fmtdata.StepData[26].ParentType = "Note";
 | |
| 			fmtdata.StepData[26].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[26].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[26].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[26].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[26].TabData.Font.FontSize = "14";
 | |
| 			fmtdata.StepData[26].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[26].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 
 | |
| 			////fmtdata.StepData[28] = fmtdata.StepData[7];
 | |
| 			////fmtdata.StepData[28].Type = "Note4";
 | |
| 			////fmtdata.StepData[28].ParentType = "Note";
 | |
| 			fmtdata.StepData[28].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[28].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[28].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[28].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[28].TabData.Font.FontSize = "14";
 | |
| 			fmtdata.StepData[28].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[28].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 
 | |
| 			////fmtdata.StepData[32] = fmtdata.StepData[7];
 | |
| 			////fmtdata.StepData[32].Type = "Note5";
 | |
| 			////fmtdata.StepData[32].ParentType = "Note";
 | |
| 			fmtdata.StepData[32].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[32].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[32].Font.FontStyle = "Italics, Bold";
 | |
| 			fmtdata.StepData[32].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[32].TabData.Font.FontSize = "14";
 | |
| 			fmtdata.StepData[32].TabData.Font.CPI = "8";
 | |
| 			fmtdata.StepData[32].TabData.Font.FontStyle = "Italics, Bold";
 | |
| 
 | |
| 			// Table
 | |
| 			fmtdata.StepData[8].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[8].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[8].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[8].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// Continuous
 | |
| 			fmtdata.StepData[9].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontSize = "11";
 | |
| 			// AER Table
 | |
| 			fmtdata.StepData[10].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[10].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[10].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[10].TabData.Font.FontSize = "11";
 | |
| 			// EquipmentList
 | |
| 			fmtdata.StepData[11].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[11].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[11].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[11].TabData.Font.FontSize = "11";
 | |
| 			// Title
 | |
| 			fmtdata.StepData[12].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[12].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[12].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[12].TabData.Font.FontSize = "11";
 | |
| 			// PageNumber
 | |
| 			fmtdata.StepData[13].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[13].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[13].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[13].TabData.Font.FontSize = "11";
 | |
| 			// EquipmentWBlank
 | |
| 			fmtdata.StepData[14].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[14].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[14].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[14].TabData.Font.FontSize = "11";
 | |
| 			// ProcNumber
 | |
| 			fmtdata.StepData[15].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[15].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[15].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[15].TabData.Font.FontSize = "11";
 | |
| 			// RevNumber
 | |
| 			fmtdata.StepData[16].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[16].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[16].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[16].TabData.Font.FontSize = "11";
 | |
| 			// AccPages
 | |
| 			fmtdata.StepData[17].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[17].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[17].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[17].TabData.Font.FontSize = "11";
 | |
| 			// LossOfAC
 | |
| 			fmtdata.StepData[18].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontSize = "11";
 | |
| 			// ExplicitAnd
 | |
| 			fmtdata.StepData[19].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[19].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[19].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[19].TabData.Font.FontSize = "11";
 | |
| 			// Paragraph
 | |
| 			fmtdata.StepData[24].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[24].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[24].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[24].TabData.Font.FontSize = "11";
 | |
| 			// Default
 | |
| 			fmtdata.StepData[25].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[25].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[25].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[25].TabData.Font.FontSize = "11";
 | |
| 			// EquipmentOpt
 | |
| 			fmtdata.StepData[30].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[30].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[30].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[30].TabData.Font.FontSize = "11";
 | |
| 			// EquipmentOptWBlank
 | |
| 			fmtdata.StepData[31].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[31].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[31].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[31].TabData.Font.FontSize = "11";
 | |
| 			// BorderlessAERTable
 | |
| 			fmtdata.StepData[33].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[33].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[33].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[33].TabData.Font.FontSize = "11";
 | |
| 			// BorderlessTable
 | |
| 			fmtdata.StepData[34].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[34].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[34].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[34].TabData.Font.FontSize = "11";
 | |
| 			// ImplicitOr
 | |
| 			fmtdata.StepData[35].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[35].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[35].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[35].TabData.Font.FontSize = "11";
 | |
| 			// Figure
 | |
| 			fmtdata.StepData[36].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[36].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[36].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[36].TabData.Font.FontSize = "11";
 | |
| 			// AERFigure
 | |
| 			fmtdata.StepData[37].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[37].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[37].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[37].TabData.Font.FontSize = "11";
 | |
| 			// BorderlessFigure
 | |
| 			fmtdata.StepData[38].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[38].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[38].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[38].TabData.Font.FontSize = "11";
 | |
| 			// BorderlessFAERigure
 | |
| 			fmtdata.StepData[39].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[39].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[39].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[39].TabData.Font.FontSize = "11";
 | |
| 			// RNOType
 | |
| 			fmtdata.StepData[40].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[40].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[40].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[40].TabData.Font.FontSize = "11";
 | |
| 			// HIGH5
 | |
| 			fmtdata.StepData[41].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[41].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontSize = "11";
 | |
| 			// TitleWithTextRight
 | |
| 			fmtdata.StepData[42].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[42].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[42].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[42].TabData.Font.FontSize = "11";
 | |
| 			// TitleWithTextBelow
 | |
| 			fmtdata.StepData[43].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[43].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[43].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[43].TabData.Font.FontSize = "11";
 | |
| 			// ContAcSequential
 | |
| 			fmtdata.StepData[44].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[44].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[44].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[44].TabData.Font.FontSize = "11";
 | |
| 			// ContAcAnd
 | |
| 			fmtdata.StepData[45].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[45].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[45].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[45].TabData.Font.FontSize = "11";
 | |
| 			// ContAcOr
 | |
| 			fmtdata.StepData[46].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[46].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[46].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[46].TabData.Font.FontSize = "11";
 | |
| 			// ContAcParagraph
 | |
| 			fmtdata.StepData[47].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[47].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[47].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[47].TabData.Font.FontSize = "11";
 | |
| 		}
 | |
| 		private void AddNSP00FMT(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			NSP_ArialFontInProcedures(ref fmtdata);
 | |
| 
 | |
| 			// High
 | |
| 			fmtdata.StepData[2].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontSize = "11";
 | |
| 			// Immediate
 | |
| 			fmtdata.StepData[3].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontSize = "11";
 | |
| 			// Continuous
 | |
| 			fmtdata.StepData[9].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontSize = "11";
 | |
| 			// LossOfAC
 | |
| 			fmtdata.StepData[18].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontSize = "11";
 | |
| 			// High5
 | |
| 			fmtdata.StepData[41].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[41].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontSize = "11";
 | |
| 			// Caution1
 | |
| 			fmtdata.StepData[20].Inactive = "True";
 | |
| 			// Caution2
 | |
| 			fmtdata.StepData[21].Inactive = "True";
 | |
| 			// Caution3
 | |
| 			fmtdata.StepData[27].Inactive = "True";
 | |
| 			// Caution4
 | |
| 			fmtdata.StepData[29].Inactive = "True";
 | |
| 			// Note1
 | |
| 			fmtdata.StepData[22].Inactive = "True";
 | |
| 			// Note2
 | |
| 			fmtdata.StepData[23].Inactive = "True";
 | |
| 			// Note3
 | |
| 			fmtdata.StepData[26].Inactive = "True";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Inactive = "True";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Inactive = "True";
 | |
| 		}
 | |
| 		private void AddNSPBCKFMT(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// section
 | |
| 			fmtdata.SectData.SectionNumber.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.SectionNumber.Font.FontSize = "11";
 | |
| 			fmtdata.SectData.SectionHeader.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.SectionHeader.Font.FontSize = "11";
 | |
| 			// Table
 | |
| 			fmtdata.StepData[8].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[8].Font.FontSize = "11";
 | |
| 			// Title
 | |
| 			fmtdata.StepData[12].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[12].Font.FontSize = "11";
 | |
| 			// PageNumber
 | |
| 			fmtdata.StepData[13].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[13].Font.FontSize = "11";
 | |
| 			// EquipmentWBlank
 | |
| 			fmtdata.StepData[14].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[14].Font.FontSize = "11";
 | |
| 			// ProcNumber
 | |
| 			fmtdata.StepData[15].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[15].Font.FontSize = "11";
 | |
| 			// RevNumber
 | |
| 			fmtdata.StepData[16].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[16].Font.FontSize = "11";
 | |
| 			// AccPages
 | |
| 			fmtdata.StepData[17].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[17].Font.FontSize = "11";
 | |
| 			// Default
 | |
| 			fmtdata.StepData[25].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[25].Font.FontSize = "11";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[28].Font.FontSize = "11";
 | |
| 			// Caution4
 | |
| 			fmtdata.StepData[29].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[29].Font.FontSize = "11";
 | |
| 			// EquipmentOptWBlank
 | |
| 			fmtdata.StepData[31].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[31].Font.FontSize = "11";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[32].Font.FontSize = "11";
 | |
| 			// BorderlessTable
 | |
| 			fmtdata.StepData[34].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[34].Font.FontSize = "11";
 | |
| 			// Figure
 | |
| 			fmtdata.StepData[36].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[36].Font.FontSize = "11";
 | |
| 			// AERFigure
 | |
| 			fmtdata.StepData[37].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[37].Font.FontSize = "11";
 | |
| 			// BorderlessFigure
 | |
| 			fmtdata.StepData[38].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[38].Font.FontSize = "11";
 | |
| 			// BorderlessAERFigure
 | |
| 			fmtdata.StepData[39].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[39].Font.FontSize = "11";
 | |
| 			// High5
 | |
| 			fmtdata.StepData[41].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[41].Font.FontSize = "11";
 | |
| 			// TitleWithTextRight
 | |
| 			fmtdata.StepData[42].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[42].Font.FontSize = "11";
 | |
| 			// TitleWithTextBelow
 | |
| 			fmtdata.StepData[43].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[43].Font.FontSize = "11";
 | |
| 			// ContAcSequential
 | |
| 			fmtdata.StepData[44].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[44].Font.FontSize = "11";
 | |
| 			// ContAcAnd
 | |
| 			fmtdata.StepData[45].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[45].Font.FontSize = "11";
 | |
| 			// ContAcOR
 | |
| 			fmtdata.StepData[46].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[46].Font.FontSize = "11";
 | |
| 			// ContAcParagraph
 | |
| 			fmtdata.StepData[47].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[47].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[47].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[47].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[47].TabData.Font.FontStyle = "None";
 | |
| 
 | |
| 			// Caution1
 | |
| 			fmtdata.StepData[20].Inactive = "True";
 | |
| 			// Caution2
 | |
| 			fmtdata.StepData[21].Inactive = "True";
 | |
| 			// Caution3
 | |
| 			fmtdata.StepData[27].Inactive = "True";
 | |
| 			// Caution4
 | |
| 			fmtdata.StepData[29].Inactive = "True";
 | |
| 			// Note1
 | |
| 			fmtdata.StepData[22].Inactive = "True";
 | |
| 			// Note2
 | |
| 			fmtdata.StepData[23].Inactive = "True";
 | |
| 			// Note3
 | |
| 			fmtdata.StepData[26].Inactive = "True";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Inactive = "True";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Inactive = "True";
 | |
| 		}
 | |
| 		private void AddNSPABFMT(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			NSP_ArialFontInProcedures(ref fmtdata);
 | |
| 			fmtdata.ProcData.CoverTitleLength = 46;
 | |
| 			fmtdata.ProcData.ChangeBarData.FixedChangeColumn = 0;
 | |
| 			// checkoffs
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].Index = 7;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].UIMark = 83;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].MenuItem = "S";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].Macro = "C7";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].Index = 8;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].UIMark = 88;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].MenuItem = "X";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].Macro = "C8";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].Index = 9;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].UIMark = 67;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].MenuItem = "C";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].Macro = "C8";
 | |
| 			// Base
 | |
| 			fmtdata.StepData[0].Font.CPI = "12";
 | |
| 			// Substep
 | |
| 			//fmtdata.StepData[1].Font.CPI = "12";
 | |
| 			// High
 | |
| 			fmtdata.StepData[2].Font.CPI = "12";
 | |
| 			// And
 | |
| 			fmtdata.StepData[4].Font.CPI = "12";
 | |
| 			// OR
 | |
| 			fmtdata.StepData[5].Font.CPI = "12";
 | |
| 			// Caution
 | |
| 			fmtdata.StepData[6].Font.CPI = "12";
 | |
| 			fmtdata.StepData[6].OneLineBeforeTab = "True";
 | |
| 			// Note
 | |
| 			fmtdata.StepData[7].OneLineBeforeTab = "True";
 | |
| 			// Caution1
 | |
| 			fmtdata.StepData[20].Inactive = "True";
 | |
| 			fmtdata.StepData[20].OneLineBeforeTab = "True";
 | |
| 			// Caution2
 | |
| 			fmtdata.StepData[21].Inactive = "True";
 | |
| 			fmtdata.StepData[21].OneLineBeforeTab = "True";
 | |
| 			// Caution3
 | |
| 			fmtdata.StepData[27].Inactive = "True";
 | |
| 			fmtdata.StepData[27].OneLineBeforeTab = "True";
 | |
| 			// Caution4
 | |
| 			fmtdata.StepData[29].Inactive = "True";
 | |
| 			fmtdata.StepData[29].OneLineBeforeTab = "True";
 | |
| 			// Note1
 | |
| 			fmtdata.StepData[22].Inactive = "True";
 | |
| 			fmtdata.StepData[22].OneLineBeforeTab = "True";
 | |
| 			// Note2
 | |
| 			fmtdata.StepData[23].Inactive = "True";
 | |
| 			fmtdata.StepData[23].OneLineBeforeTab = "True";
 | |
| 			// Note3
 | |
| 			fmtdata.StepData[26].Inactive = "True";
 | |
| 			fmtdata.StepData[26].OneLineBeforeTab = "True";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Inactive = "True";
 | |
| 			fmtdata.StepData[28].OneLineBeforeTab = "True";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Inactive = "True";
 | |
| 			fmtdata.StepData[32].OneLineBeforeTab = "True";
 | |
| 		}
 | |
| 		private void AddNSPAB_X01(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// Turn off Replace Words
 | |
| 			fmtdata.SectData.TurnOffReplaceWords = "True";
 | |
| 			//ReplaceStr[] repstr = new ReplaceStr[1];
 | |
| 			//    fmtdata.SectData.ReplaceStrData = repstr;
 | |
| 			//    fmtdata.SectData.ReplaceStrData[0].Flag = "None";
 | |
| 			//    fmtdata.SectData.ReplaceStrData[0].ReplaceWith = "x";
 | |
| 			//    fmtdata.SectData.ReplaceStrData[0].ReplaceWord = "x";
 | |
| 		}
 | |
| 		private void AddNSPARPfmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			NSP_ArialFontInProcedures(ref fmtdata);
 | |
| 			fmtdata.StepData[1].TabData.RNOIdentEdit = "";
 | |
| 			fmtdata.StepData[1].TabData.RNOIdent = "";
 | |
| 			// High
 | |
| 			fmtdata.StepData[2].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontSize = "11";
 | |
| 			// Immediate
 | |
| 			fmtdata.StepData[3].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontSize = "11";
 | |
| 			// Continuous
 | |
| 			fmtdata.StepData[9].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontSize = "11";
 | |
| 			// LossOfAC
 | |
| 			fmtdata.StepData[18].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontSize = "11";
 | |
| 			// RNOType
 | |
| 			fmtdata.StepData[40].WidthOverride = "75";
 | |
| 			fmtdata.StepData[40].WidthOverrideEdit = "75";
 | |
| 			// High5
 | |
| 			fmtdata.StepData[41].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[41].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontSize = "11";
 | |
| 			// Caution
 | |
| 			fmtdata.StepData[6].OneLineBeforeTab = "True";
 | |
| 			// Caution1
 | |
| 			fmtdata.StepData[20].Inactive = "True";
 | |
| 			// Caution2
 | |
| 			fmtdata.StepData[21].Inactive = "True";
 | |
| 			// Caution3
 | |
| 			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
 | |
| 			fmtdata.StepData[23].Inactive = "True";
 | |
| 			// Note3
 | |
| 			fmtdata.StepData[26].Inactive = "True";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Inactive = "True";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Inactive = "True";
 | |
| 			// RNO
 | |
| 			fmtdata.StepData[40].Font.FontFamily = "Consolas";
 | |
| 
 | |
| 		}
 | |
| 		private void AddNSPDEVFMT(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// Adjust page length
 | |
| 			fmtdata.ProcData.TitleLength = 50;
 | |
| 			// Turn off Replace Words
 | |
| 			fmtdata.SectData.TurnOffReplaceWords = "True";
 | |
| 
 | |
| 			// Set the overall font to Arial 11 pt
 | |
| 			fmtdata.FontData.FontFamily = "Arial";
 | |
| 			fmtdata.FontData.FontSize = "11";
 | |
| 			fmtdata.FontData.CPI = "10";
 | |
| 
 | |
| 			fmtdata.SectData.SectionNumber.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.SectionNumber.Font.FontSize = "11";
 | |
| 			fmtdata.SectData.SectionHeader.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.SectionHeader.Font.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.VertStyle.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.VertStyle.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.TopOfPage.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.TopOfPage.Font.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.Separator.Font.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.Separator.Font.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.ModifiedTextStyle.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.ModifiedTextStyle.FontSize = "11";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.ImmStepHdrStyle.FontFamily = "Arial";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectPrtData.ImmStepHdrStyle.FontSize = "11";
 | |
| 			// Step Type Base
 | |
| 			fmtdata.StepData[0].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[0].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[0].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[0].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// Substep
 | |
| 			fmtdata.StepData[1].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[1].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// Standard High Level step
 | |
| 			fmtdata.StepData[2].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// Immediate High Level step
 | |
| 			fmtdata.StepData[3].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// And
 | |
| 			fmtdata.StepData[4].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[4].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[4].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[4].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// OR
 | |
| 			fmtdata.StepData[5].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[5].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[5].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[5].TabData.Font.FontSize = "11";
 | |
| 
 | |
| 			// Cautions 
 | |
| 			fmtdata.StepData[6].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[6].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[6].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[6].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[6].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// Notes 
 | |
| 			fmtdata.StepData[7].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[7].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[7].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[7].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[7].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// Table 
 | |
| 			fmtdata.StepData[8].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[8].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[8].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[8].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[8].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// Continuous 
 | |
| 			fmtdata.StepData[9].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[9].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// AER Table 
 | |
| 			fmtdata.StepData[10].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[10].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[10].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[10].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[10].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// EquipmentList 
 | |
| 			fmtdata.StepData[11].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[11].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[11].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[11].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[11].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// Title 
 | |
| 			fmtdata.StepData[12].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[12].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[12].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[12].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[12].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// PageNumber 
 | |
| 			fmtdata.StepData[13].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[13].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[13].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[13].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[13].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// EquipmentWBlank 
 | |
| 			fmtdata.StepData[14].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[14].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[14].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[14].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[14].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// ProcNumber 
 | |
| 			fmtdata.StepData[15].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[15].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[15].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[15].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[15].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// RevNumber 
 | |
| 			fmtdata.StepData[16].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[16].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[16].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[16].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[16].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// AccPages 
 | |
| 			fmtdata.StepData[17].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[17].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[17].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[17].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[17].TabData.Font.CPI = "12";
 | |
| 
 | |
| 			// LossOfAC
 | |
| 			fmtdata.StepData[18].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontSize = "11";
 | |
| 			// ExplicitAnd
 | |
| 			fmtdata.StepData[19].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[19].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[19].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[19].TabData.Font.FontSize = "11";
 | |
| 			// Caution1
 | |
| 			fmtdata.StepData[20].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[20].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[20].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[20].TabData.Font.FontSize = "11";
 | |
| 			// Caution2
 | |
| 			fmtdata.StepData[21].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[21].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[21].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[21].TabData.Font.FontSize = "11";
 | |
| 			// Note1
 | |
| 			fmtdata.StepData[22].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[22].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[22].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[22].TabData.Font.FontSize = "11";
 | |
| 			// Note2
 | |
| 			fmtdata.StepData[23].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[23].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[23].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[23].TabData.Font.FontSize = "11";
 | |
| 			// Paragraph
 | |
| 			fmtdata.StepData[24].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[24].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[24].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[24].TabData.Font.FontSize = "11";
 | |
| 			// Default
 | |
| 			fmtdata.StepData[25].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[25].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[25].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[25].TabData.Font.FontSize = "11";
 | |
| 			// Note3
 | |
| 			fmtdata.StepData[26].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[26].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[26].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[26].TabData.Font.FontSize = "11";
 | |
| 			// Caution3
 | |
| 			fmtdata.StepData[27].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[27].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[27].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[27].TabData.Font.FontSize = "11";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[28].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[28].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[28].TabData.Font.FontSize = "11";
 | |
| 			// Caution4
 | |
| 			fmtdata.StepData[29].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[29].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[29].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[29].TabData.Font.FontSize = "11";
 | |
| 			// EquipmentOpt
 | |
| 			fmtdata.StepData[30].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[30].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[30].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[30].TabData.Font.FontSize = "11";
 | |
| 			// EquipmentOptWBlank
 | |
| 			fmtdata.StepData[31].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[31].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[31].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[31].TabData.Font.FontSize = "11";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[32].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[32].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[32].TabData.Font.FontSize = "11";
 | |
| 			// BorderlessAERTable
 | |
| 			fmtdata.StepData[33].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[33].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[33].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[33].TabData.Font.FontSize = "11";
 | |
| 			// BorderlessTable
 | |
| 			fmtdata.StepData[34].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[34].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[34].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[34].TabData.Font.FontSize = "11";
 | |
| 			// ImplicitOr
 | |
| 			fmtdata.StepData[35].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[35].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[35].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[35].TabData.Font.FontSize = "11";
 | |
| 			// Figure
 | |
| 			fmtdata.StepData[36].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[36].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[36].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[36].TabData.Font.FontSize = "11";
 | |
| 			// AERFigure
 | |
| 			fmtdata.StepData[37].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[37].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[37].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[37].TabData.Font.FontSize = "11";
 | |
| 			// BorderlessFigure
 | |
| 			fmtdata.StepData[38].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[38].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[38].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[38].TabData.Font.FontSize = "11";
 | |
| 			// BorderlessAERFigure
 | |
| 			fmtdata.StepData[39].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[39].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[39].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[39].TabData.Font.FontSize = "11";
 | |
| 			// RNOType
 | |
| 			fmtdata.StepData[40].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[40].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[40].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[40].TabData.Font.FontSize = "11";
 | |
| 			// High5
 | |
| 			fmtdata.StepData[41].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[41].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontSize = "11";
 | |
| 			// TitleWithTextRight
 | |
| 			fmtdata.StepData[42].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[42].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[42].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[42].TabData.Font.FontSize = "11";
 | |
| 			// TitleWithTextBelow
 | |
| 			fmtdata.StepData[43].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[43].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[43].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[43].TabData.Font.FontSize = "11";
 | |
| 			// ContAcSequential
 | |
| 			fmtdata.StepData[44].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[44].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[44].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[44].TabData.Font.FontSize = "11";
 | |
| 			// ContAcAnd
 | |
| 			fmtdata.StepData[45].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[45].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[45].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[45].TabData.Font.FontSize = "11";
 | |
| 			// ContAcOr
 | |
| 			fmtdata.StepData[46].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[46].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[46].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[46].TabData.Font.FontSize = "11";
 | |
| 			// ContAcParagraph
 | |
| 			fmtdata.StepData[47].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[47].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[47].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[47].TabData.Font.FontSize = "11";
 | |
| 			// Caution1
 | |
| 			fmtdata.StepData[20].Inactive = "True";
 | |
| 			// Caution2
 | |
| 			fmtdata.StepData[21].Inactive = "True";
 | |
| 			// Caution3
 | |
| 			fmtdata.StepData[27].Inactive = "True";
 | |
| 			// Caution4
 | |
| 			fmtdata.StepData[29].Inactive = "True";
 | |
| 			// Note1
 | |
| 			fmtdata.StepData[22].Inactive = "True";
 | |
| 			// Note2
 | |
| 			fmtdata.StepData[23].Inactive = "True";
 | |
| 			// Note3
 | |
| 			fmtdata.StepData[26].Inactive = "True";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Inactive = "True";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Inactive = "True";
 | |
| 		}
 | |
| 		private void AddNSPIFGFMT(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// Set the overall font to Arial 11 pt
 | |
| 			NSP_ArialFontInProcedures(ref fmtdata);
 | |
| 			// checkoffs
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].Index = 7;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].UIMark = 83;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].MenuItem = "S";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].Macro = "C7";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].Index = 8;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].UIMark = 88;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].MenuItem = "X";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].Macro = "C8";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].Index = 9;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].UIMark = 67;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].MenuItem = "C";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].Macro = "C9";
 | |
| 			// High
 | |
| 			fmtdata.StepData[2].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[2].TabData.Font.FontSize = "11";
 | |
| 			// Immediate
 | |
| 			fmtdata.StepData[3].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[3].TabData.Font.FontSize = "11";
 | |
| 			// Continuous
 | |
| 			fmtdata.StepData[9].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[9].TabData.Font.FontSize = "11";
 | |
| 			// LossOfAC
 | |
| 			fmtdata.StepData[18].Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontFamily = "Arial";
 | |
| 			fmtdata.StepData[18].TabData.Font.FontSize = "11";
 | |
| 			// High5
 | |
| 			fmtdata.StepData[41].Font.FontFamily = "Consolas";
 | |
| 			fmtdata.StepData[41].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontFamily = "Consolas";
 | |
| 			fmtdata.StepData[41].TabData.Font.FontSize = "11";
 | |
| 			fmtdata.StepData[41].StepEditData.TypeMenu.MenuItem = "Fixed Spacing Unnumbered Step";
 | |
| 			fmtdata.StepData[41].TabData.IdentEdit = "";
 | |
| 			fmtdata.StepData[41].TabData.Ident = "";
 | |
| 			fmtdata.StepData[41].TabData.RNOIdentEdit = "";
 | |
| 			fmtdata.StepData[41].TabData.RNOIdent = "";
 | |
| 
 | |
| 			// Caution & Note - so that a line exists before the caution/note
 | |
| 			fmtdata.StepData[6].OneLineBeforeTab = "True";
 | |
| 			fmtdata.StepData[7].OneLineBeforeTab = "True";
 | |
| 
 | |
| 			// Caution1
 | |
| 			fmtdata.StepData[20].Inactive = "True";
 | |
| 			// Caution2
 | |
| 			fmtdata.StepData[21].Inactive = "True";
 | |
| 			// Caution3
 | |
| 			fmtdata.StepData[27].Inactive = "True";
 | |
| 			// Caution4
 | |
| 			fmtdata.StepData[29].Inactive = "True";
 | |
| 			// Note1
 | |
| 			fmtdata.StepData[22].Inactive = "True";
 | |
| 			// Note2
 | |
| 			fmtdata.StepData[23].Inactive = "True";
 | |
| 			// Note3
 | |
| 			fmtdata.StepData[26].Inactive = "True";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Inactive = "True";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Inactive = "True";
 | |
| 
 | |
| 			//change Continuous Action Paragraph to a Fix Pitched font paragraph
 | |
| 			fmtdata.StepData[47].WidthOverride = "425";
 | |
| 			fmtdata.StepData[47].Font.FontFamily = "Consolas";
 | |
| 			fmtdata.StepData[47].Font.FontSize = "11";
 | |
| 			fmtdata.StepData[47].Font.CPI = "12";
 | |
| 			fmtdata.StepData[47].StepEditData.TypeMenu.MenuItem = "Fixed Spacing Paragraph";
 | |
| 			fmtdata.StepData[47].TabData.IdentEdit = "";
 | |
| 			fmtdata.StepData[47].TabData.Ident = "";
 | |
| 			fmtdata.StepData[47].TabData.RNOIdentEdit = "";
 | |
| 			fmtdata.StepData[47].TabData.RNOIdent = "";
 | |
| 
 | |
| 			// Add Procedure Information
 | |
| 			fmtdata.ProcData.Psi.x = 415;
 | |
| 			fmtdata.ProcData.Psi.y = 112;
 | |
| 			fmtdata.ProcData.Psi.Caption = "Instrument Failure Guide";
 | |
| 			fmtdata.ProcData.Psi.font = "ARIAL";
 | |
| 			fmtdata.ProcData.Psi.ButtonsOnBottom = "YES";
 | |
| 			fmtdata.ProcData.Psi.Labels = new PsiLabel[1];
 | |
| 			fmtdata.ProcData.Psi.Labels[0].text = "IFG Name:";
 | |
| 			fmtdata.ProcData.Psi.Labels[0].Justify = "LEFT";
 | |
| 			fmtdata.ProcData.Psi.Labels[0].x = 9;
 | |
| 			fmtdata.ProcData.Psi.Labels[0].y = 15;
 | |
| 			fmtdata.ProcData.Psi.Labels[0].width = 30;
 | |
| 			fmtdata.ProcData.Psi.Labels[0].height = 12;
 | |
| 			fmtdata.ProcData.Psi.Fields = new PsiField[2];
 | |
| 			fmtdata.ProcData.Psi.Fields[0].name = "IFGName";
 | |
| 			fmtdata.ProcData.Psi.Fields[0].type = "TEXT";
 | |
| 			fmtdata.ProcData.Psi.Fields[0].text = "";
 | |
| 			fmtdata.ProcData.Psi.Fields[0].Length = 12;
 | |
| 			fmtdata.ProcData.Psi.Fields[0].x = 50;
 | |
| 			fmtdata.ProcData.Psi.Fields[0].y = 15;
 | |
| 			fmtdata.ProcData.Psi.Fields[0].width = 60;
 | |
| 			fmtdata.ProcData.Psi.Fields[0].height = 12;
 | |
| 			fmtdata.ProcData.Psi.Fields[1].name = "UseIFGName";
 | |
| 			fmtdata.ProcData.Psi.Fields[1].type = "LOGICAL";
 | |
| 			fmtdata.ProcData.Psi.Fields[1].text = "Use IFG Name In the Page Header";
 | |
| 			fmtdata.ProcData.Psi.Fields[1].Length = 0;
 | |
| 			fmtdata.ProcData.Psi.Fields[1].x = 9;
 | |
| 			fmtdata.ProcData.Psi.Fields[1].y = 40;
 | |
| 			fmtdata.ProcData.Psi.Fields[1].width = 130;
 | |
| 			fmtdata.ProcData.Psi.Fields[1].height = 12;
 | |
| 		}
 | |
| 		private void AddNSPSAMFMT(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			// Set the overall font to Arial 11 pt
 | |
| 			NSP_ArialFontInProcedures(ref fmtdata);
 | |
| 			// checkoffs
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].Index = 7;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].UIMark = 83;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].MenuItem = "S";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[7].Macro = "C7";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].Index = 8;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].UIMark = 88;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].MenuItem = "X";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[8].Macro = "C8";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].Index = 9;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].UIMark = 67;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].MenuItem = "C";
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[9].Macro = "C9";
 | |
| 			// Caution1
 | |
| 			fmtdata.StepData[20].Inactive = "True";
 | |
| 			// Caution2
 | |
| 			fmtdata.StepData[21].Inactive = "True";
 | |
| 			// Caution3
 | |
| 			fmtdata.StepData[27].Inactive = "True";
 | |
| 			// Caution4
 | |
| 			fmtdata.StepData[29].Inactive = "True";
 | |
| 			// Note1
 | |
| 			fmtdata.StepData[22].Inactive = "True";
 | |
| 			// Note2
 | |
| 			fmtdata.StepData[23].Inactive = "True";
 | |
| 			// Note3
 | |
| 			fmtdata.StepData[26].Inactive = "True";
 | |
| 			// Note4
 | |
| 			fmtdata.StepData[28].Inactive = "True";
 | |
| 			// Note5
 | |
| 			fmtdata.StepData[32].Inactive = "True";
 | |
| 		}
 | |
| 
 | |
| 		private void AddSHEfmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.ProcData.CoverTitleLength = 42;
 | |
| 			fmtdata.ProcData.CheckOffData.CheckOffList[0].NotOnEmpty = "True";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.ColRTable = "0,204,144";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.RNOWidthAlt = "0,193,0";
 | |
| 			fmtdata.StepData[2].TabData.Ident = " {numeric}.";
 | |
| 			fmtdata.StepData[2].TabData.RNOIdent = " .";
 | |
| 			fmtdata.StepData[4].TabData.RNOAdjustTabSize = 12;
 | |
| 			fmtdata.StepData[7].TabData.Ident = @" \ul NOTE\ulnone";
 | |
| 			fmtdata.StepData[26].TabData.Ident = @" \ul NOTE\ulnone";
 | |
| 			fmtdata.StepData[6].MatchUpRNO = "False";
 | |
| 			fmtdata.StepData[6].MixCautionsAndNotes = "True";
 | |
| 			fmtdata.StepData[7].MatchUpRNO = "False";
 | |
| 			fmtdata.StepData[7].MixCautionsAndNotes = "True";
 | |
| 			fmtdata.StepData[7].TabData.NoTrim = "True";  // need this field in stepdata/tabdata.
 | |
| 			fmtdata.StepData[9].TabData.Ident = "{asterisk} {numeric}.";
 | |
| 			fmtdata.StepData[18].TabData.Ident = null;
 | |
| 			fmtdata.StepData[18].TabData.RNOIdent = null;
 | |
| 			fmtdata.StepData[23].MatchUpRNO = "True";
 | |
| 			fmtdata.BoxData[2].TxtWidth = 432;
 | |
| 			fmtdata.TransData.TransTypeData[6].TransFormat = "";  // not used and not supported in code
 | |
| 			fmtdata.TransData.TransTypeData[7].TransFormat = "";
 | |
| 			// tables
 | |
| 			fmtdata.StepData[8].Font.FontFamily = "Consolas";
 | |
| 			fmtdata.StepData[10].Font.FontFamily = "Consolas";
 | |
| 		}
 | |
| 		private void AddSHESSDfmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.StepData[24].StepLayoutData.STExtraSpace = null;
 | |
| 		}
 | |
| 		private void AddCPLSSDDfmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.PMode = 0;
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.RNOWidthAlt = "0,90,0";
 | |
| 		}
 | |
| 		private void AddIP3_15fmt(ref FormatData fmtdata)
 | |
| 		{
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.ShowSectionTitles = "False";
 | |
| 			fmtdata.BoxData[4].TxtStart = 36;
 | |
| 			fmtdata.BoxData[4].TxtWidth = 426;
 | |
| 			fmtdata.BoxData[4].BXURC = " *";
 | |
| 			fmtdata.BoxData[4].BXLRC = " *";
 | |
| 			fmtdata.SectData.StepSectionData.StpSectLayData.Separator.Font.FontStyle = "Underline";
 | |
| 			fmtdata.StepData[9].Suffix = "{ulnone}   *";
 | |
| 			fmtdata.StepData[6].TabData.IdentEdit = "CAUTION";
 | |
| 			fmtdata.StepData[6].TabData.Ident = "CAUTION";
 | |
| 			fmtdata.StepData[6].TabData.RNOIdentEdit = "CAUTION";
 | |
| 			fmtdata.StepData[6].TabData.RNOIdent = "CAUTION";
 | |
| 			fmtdata.StepData[7].TabData.IdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[7].TabData.Ident = "NOTE";
 | |
| 			fmtdata.StepData[7].TabData.RNOIdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[7].TabData.RNOIdent = "NOTE";
 | |
| 			fmtdata.StepData[20].TabData.IdentEdit = "CAUTION";
 | |
| 			fmtdata.StepData[20].TabData.Ident = "CAUTION";
 | |
| 			fmtdata.StepData[20].TabData.RNOIdentEdit = "CAUTION";
 | |
| 			fmtdata.StepData[20].TabData.RNOIdent = "CAUTION";
 | |
| 			fmtdata.StepData[21].TabData.IdentEdit = "CAUTION";
 | |
| 			fmtdata.StepData[21].TabData.Ident = "CAUTION";
 | |
| 			fmtdata.StepData[21].TabData.RNOIdentEdit = "CAUTION";
 | |
| 			fmtdata.StepData[21].TabData.RNOIdent = "CAUTION";
 | |
| 			fmtdata.StepData[22].TabData.IdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[22].TabData.Ident = "NOTE";
 | |
| 			fmtdata.StepData[22].TabData.RNOIdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[22].TabData.RNOIdent = "NOTE";
 | |
| 			fmtdata.StepData[23].TabData.IdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[23].TabData.Ident = "NOTE";
 | |
| 			fmtdata.StepData[23].TabData.RNOIdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[23].TabData.RNOIdent = "NOTE";
 | |
| 			fmtdata.StepData[26].TabData.IdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[26].TabData.Ident = "NOTE";
 | |
| 			fmtdata.StepData[26].TabData.RNOIdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[26].TabData.RNOIdent = "NOTE";
 | |
| 			fmtdata.StepData[27].TabData.IdentEdit = "CAUTION";
 | |
| 			fmtdata.StepData[27].TabData.Ident = "CAUTION";
 | |
| 			fmtdata.StepData[27].TabData.RNOIdentEdit = "CAUTION";
 | |
| 			fmtdata.StepData[27].TabData.RNOIdent = "CAUTION";
 | |
| 			fmtdata.StepData[28].TabData.IdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[28].TabData.Ident = "NOTE";
 | |
| 			fmtdata.StepData[28].TabData.RNOIdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[28].TabData.RNOIdent = "NOTE";
 | |
| 			fmtdata.StepData[32].TabData.IdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[32].TabData.Ident = "NOTE";
 | |
| 			fmtdata.StepData[32].TabData.RNOIdentEdit = "NOTE";
 | |
| 			fmtdata.StepData[32].TabData.RNOIdent = "NOTE";
 | |
| 		}
 | |
| 	}
 | |
| 	public partial class FmtToXml
 | |
| 	{
 | |
| 		public void AddPlantSpecific(string genFileName, ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//string genName = genFileName.Substring(genFileName.LastIndexOf('\\') + 1);
 | |
| 			//genName = genName.Substring(0, genName.IndexOf('.'));
 | |
| 			//switch (genName.ToUpper())
 | |
| 			switch (genFileName.ToUpper())
 | |
| 			{
 | |
| 				case "NSP.PAG":
 | |
| 					AddNSPPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSP.Z00":
 | |
| 					AddNSP00Page(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPBCK.PAG":
 | |
| 					AddNSPBckPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPAB.PAG":
 | |
| 					AddNSPABPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPAB.Z00":
 | |
| 					AddNSPABPage_Z00(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPAB.Z01":
 | |
| 					AddNSPABPage_Z01(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPAB.Z02":
 | |
| 					AddNSPABPage_Z02(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPDEV.PAG":
 | |
| 					AddNSPDEVPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPIFG.PAG":
 | |
| 				case "NSPIFG2.PAG":
 | |
| 					AddNSPIFGPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPIFG.Z00":
 | |
| 					AddNSPIFG_00Page(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPARP.PAG":
 | |
| 					AddNSPARPPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPARP.Z00":
 | |
| 					AddNSPARP_00Page(ref pgstyles);
 | |
| 					break;
 | |
| 				case "NSPSAM.PAG":
 | |
| 					AddNSPSAMPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "SHE.PAG":
 | |
| 					AddSHEPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "RGESAM1.PAG":
 | |
| 					AddRGESam1Page(ref pgstyles);
 | |
| 					break;
 | |
| 				case "RGE.PAG":
 | |
| 					AddRGEPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "RGEBCK.PAG":
 | |
| 					AddRGEBCKPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "VCSDEV.PAG":
 | |
| 					AddVCSDEVfmt(ref pgstyles);
 | |
| 					break;
 | |
| 				case "SUM.PAG":
 | |
| 					AddSUMfmt(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CWE.PAG":
 | |
| 					AddCWEfmt(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CAL2.PAG":
 | |
| 				case "CALOTO.PAG":
 | |
| 					AddCAL2Page(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CALBCK.PAG":
 | |
| 					AddCALBCKPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CPLRDEV.PAG":
 | |
| 					AddCPLRDevPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CPL.PAG":
 | |
| 					AddCPLPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CPLA.PAG":
 | |
| 					AddCPLAPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CPL.Z00":
 | |
| 				case "CPL.Z01":
 | |
| 				case "CPL.Z02":
 | |
| 					SetRobinsonPageListFont(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CPL.Z03":
 | |
| 					AddCPL_Z03(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CPBCK.PAG":
 | |
| 					AddCPBCK(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CPBCK.Z00":
 | |
| 					AddCPBCK_Z00(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CPBCK.Z01":
 | |
| 					AddCPBCK_Z01(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CPBCK2.PAG":
 | |
| 					AddCPBCK2(ref pgstyles);
 | |
| 					break;
 | |
| 				case "TUEC.PAG":
 | |
| 					AddTUECPage(ref pgstyles);
 | |
| 					break;
 | |
| 				/* Under Development 
 | |
| 					case "TP.PAG":
 | |
| 						AddTPPage(ref pgstyles);
 | |
| 						break;
 | |
| 					case "TP.Z00":
 | |
| 						AddTP00Page(ref pgstyles);
 | |
| 						break;
 | |
| 				 * */
 | |
| 				case "FNP.PAG":
 | |
| 					AddFNPPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "FNP.Z00":
 | |
| 					AddFNP_00Page(ref pgstyles);
 | |
| 					break;
 | |
| 				case "FNP.Z01":
 | |
| 					AddFNP_01Page(ref pgstyles);
 | |
| 					break;
 | |
| 				case "FNPCAS.PAG":
 | |
| 					AddFNPCASPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "MCG.PAG":
 | |
| 				case "MCGBOX.PAG":
 | |
| 					AddMCGPage(ref pgstyles);
 | |
| 					break;
 | |
| 				case "CAT.PAG":
 | |
| 				case "CATBOX.PAG":
 | |
| 					AddCATPage(ref pgstyles);
 | |
| 					break;
 | |
| 			}
 | |
| 		}
 | |
| 
 | |
| 		private void AddFNPCASPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// adjust location of procedure title slightly to the right. Long section titles
 | |
| 			// were touching left line of header box
 | |
| 			pgstyles.PgStyles[0].Items[3].Col = 234;
 | |
| 		}
 | |
| 		private void AddFNP_00Page(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			pgstyles.PgStyles[0].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[1].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[2].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[3].Items[2].Col = 30;
 | |
| 
 | |
| 			// adjust location of procedure title slightly to the right. Long section titles
 | |
| 			// were touching left line of header box
 | |
| 			pgstyles.PgStyles[0].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[1].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[2].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[3].Items[3].Col = 234;
 | |
| 		}
 | |
| 		private void AddFNP_01Page(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			pgstyles.PgStyles[0].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[1].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[2].Items[2].Col = 30;
 | |
| 			
 | |
| 			// adjust location of procedure title slightly to the right. Long section titles
 | |
| 			// were touching left line of header box
 | |
| 			pgstyles.PgStyles[0].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[1].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[2].Items[3].Col = 234;
 | |
| 			}
 | |
| 
 | |
| 		private void AddFNPPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			pgstyles.PgStyles[0].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[1].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[2].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[3].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[4].Items[3].Col = 30;  // foldout
 | |
| 			pgstyles.PgStyles[7].Items[2].Col = 30;	 // component list
 | |
| 			pgstyles.PgStyles[8].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[9].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[10].Items[2].Col = 30;
 | |
| 			pgstyles.PgStyles[11].Items[2].Col = 30;
 | |
| 			
 | |
| 			// adjust location of procedure title slightly to the right. Long section titles
 | |
| 			// were touching left line of header box
 | |
| 			pgstyles.PgStyles[0].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[1].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[2].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[3].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[4].Items[2].Col = 234;	 // foldout page
 | |
| 			pgstyles.PgStyles[4].Items[4].Col = 234;
 | |
| 			pgstyles.PgStyles[7].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[8].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[10].Items[3].Col = 234;
 | |
| 			pgstyles.PgStyles[11].Items[3].Col = 234;
 | |
| 
 | |
| 			pgstyles.PgStyles[4].Items[2].Row = 32;		// foldout page's 'FOLDOUT PAGE'
 | |
| 		}
 | |
| 
 | |
| 		private void AddCALBCKPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			pgstyles.PgStyles[1].Items[3].Style.FontSize = "14";
 | |
| 			pgstyles.PgStyles[1].Items[4].Style.FontSize = "14";
 | |
| 			pgstyles.PgStyles[0].Items[7].Col = 518;
 | |
| 		}
 | |
| 		private void AddCAL2Page(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			pgstyles.PgStyles[6].Items[2].Col = 240;
 | |
| 			pgstyles.PgStyles[6].Items[3].Col = 240;
 | |
| 			pgstyles.PgStyles[6].Items[4].Col = 240;
 | |
| 			pgstyles.PgStyles[6].Items[3].Row = 295;
 | |
| 			pgstyles.PgStyles[6].Items[4].Row = 317;
 | |
| 			pgstyles.PgStyles[6].Items[3].Justify = pgstyles.PgStyles[6].Items[4].Justify;
 | |
| 			pgstyles.PgStyles[6].Items[3].Style.FontSize = "14";
 | |
| 			pgstyles.PgStyles[6].Items[4].Style.FontSize = "14";
 | |
| 			pgstyles.PgStyles[6].Items[5].Col = 240;
 | |
| 			pgstyles.PgStyles[6].Items[6].Col = 522;
 | |
| 			pgstyles.PgStyles[6].Items[6].Style.FontSize = "14";
 | |
| 		}
 | |
| 
 | |
| 		private void AddSHEPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// Procedure Steps
 | |
| 			pgstyles.PgStyles[0].Items[1].Col = 78;	// Column for BOX5 needed adjusted to match 16bit
 | |
| 			pgstyles.PgStyles[1].Items[9].Col = 396;
 | |
| 			pgstyles.PgStyles[2].Items[2].Col = 315;  // Adjust columns on PSI items for cover page.
 | |
| 			pgstyles.PgStyles[2].Items[3].Col = 315;
 | |
| 			pgstyles.PgStyles[2].Items[4].Col = 315;
 | |
| 			pgstyles.PgStyles[2].Items[5].Col = 315;
 | |
| 			pgstyles.PgStyles[2].Items[6].Col = 315;
 | |
| 			pgstyles.PgStyles[2].Items[7].Col = 315;
 | |
| 			pgstyles.PgStyles[2].Items[8].Col = 315;
 | |
| 			pgstyles.PgStyles[2].Items[9].Col = 315;
 | |
| 			pgstyles.PgStyles[3].Items[4].Col = 477;  // Adjust columns on some PSI for cover page.
 | |
| 			pgstyles.PgStyles[3].Items[5].Col = 477;
 | |
| 			pgstyles.PgStyles[3].Items[6].Col = 477;
 | |
| 			pgstyles.PgStyles[3].Items[7].Col = 477;
 | |
| 			pgstyles.PgStyles[3].Items[8].Col = 477;
 | |
| 			pgstyles.PgStyles[3].Items[9].Col = 477;
 | |
| 			pgstyles.PgStyles[3].Items[10].Col = 477;
 | |
| 			pgstyles.PgStyles[3].Items[11].Col = 477;
 | |
| 			pgstyles.PgStyles[3].Items[12].Col = 477;
 | |
| 			pgstyles.PgStyles[3].Items[23].Col = 272;
 | |
| 			pgstyles.PgStyles[3].Items[23].Style.CPI = "12";
 | |
| 			pgstyles.PgStyles[3].Items[24].Row = 426;
 | |
| 			pgstyles.PgStyles[3].Items[24].Col = 272;
 | |
| 			pgstyles.PgStyles[3].Items[24].Justify = "PSCenter, PSTop";
 | |
| 			pgstyles.PgStyles[3].Items[24].Style.CPI = "12";
 | |
| 			pgstyles.PgStyles[4].Items[5].Col = 414;
 | |
| 
 | |
| 			// added Purpose/Symptom page/doc style
 | |
| 			Array.Resize<PageStyle>(ref pgstyles.PgStyles, pgstyles.PgStyles.Length + 1);
 | |
| 			pgstyles.PgStyles[9].Name = "Purpose/Symptom";
 | |
| 			pgstyles.PgStyles[9].Index = 9;
 | |
| 			if (pgstyles.PgStyles[9].Items == null)
 | |
| 				Array.Resize<PSItem>(ref pgstyles.PgStyles[9].Items, 6);
 | |
| 			pgstyles.PgStyles[9].Items[0].Col = 3F;
 | |
| 			pgstyles.PgStyles[9].Items[0].Justify = "PSCenter";
 | |
| 			pgstyles.PgStyles[9].Items[0].Row = 12F;
 | |
| 			pgstyles.PgStyles[9].Items[0].Style = new VE_Font();
 | |
| 			pgstyles.PgStyles[9].Items[0].Style.CPI = "12";
 | |
| 			pgstyles.PgStyles[9].Items[0].Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pgstyles.PgStyles[9].Items[0].Style.FontSize = "10";
 | |
| 			pgstyles.PgStyles[9].Items[0].Style.FontStyle = "None";
 | |
| 			pgstyles.PgStyles[9].Items[0].Token = "{DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}";
 | |
| 
 | |
| 			pgstyles.PgStyles[9].Items[1].Col = 78;
 | |
| 			pgstyles.PgStyles[9].Items[1].Justify = "PSNoHalfLine";
 | |
| 			pgstyles.PgStyles[9].Items[1].Row = 24;
 | |
| 			pgstyles.PgStyles[9].Items[1].Style = new VE_Font();
 | |
| 			pgstyles.PgStyles[9].Items[1].Style.CPI = "12";
 | |
| 			pgstyles.PgStyles[9].Items[1].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[9].Items[1].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[9].Items[1].Style.FontStyle = "None";
 | |
| 			pgstyles.PgStyles[9].Items[1].Token = "{PMODEBOX}";
 | |
| 
 | |
| 			pgstyles.PgStyles[9].Items[2].Col = 237;
 | |
| 			pgstyles.PgStyles[9].Items[2].Justify = "PSCenter";
 | |
| 			pgstyles.PgStyles[9].Items[2].Row = 42;
 | |
| 			pgstyles.PgStyles[9].Items[2].Style = new VE_Font();
 | |
| 			pgstyles.PgStyles[9].Items[2].Style.CPI = "12";
 | |
| 			pgstyles.PgStyles[9].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[9].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[9].Items[2].Style.FontStyle = "Bold";
 | |
| 			pgstyles.PgStyles[9].Items[2].Token = "{PROCTITLE}";
 | |
| 
 | |
| 			pgstyles.PgStyles[9].Items[3].Col = -12;
 | |
| 			pgstyles.PgStyles[9].Items[3].Justify = "PSLeft";
 | |
| 			pgstyles.PgStyles[9].Items[3].Row = 754;
 | |
| 			pgstyles.PgStyles[9].Items[3].Style = new VE_Font();
 | |
| 			pgstyles.PgStyles[9].Items[3].Style.CPI = "12";
 | |
| 			pgstyles.PgStyles[9].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[9].Items[3].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[9].Items[3].Style.FontStyle = "None";
 | |
| 			pgstyles.PgStyles[9].Items[3].Token = "EOP-{EOPNUM}";
 | |
| 
 | |
| 			pgstyles.PgStyles[9].Items[4].Col = 225;
 | |
| 			pgstyles.PgStyles[9].Items[4].Justify = "PSCenter";
 | |
| 			pgstyles.PgStyles[9].Items[4].Row = 754;
 | |
| 			pgstyles.PgStyles[9].Items[4].Style = new VE_Font();
 | |
| 			pgstyles.PgStyles[9].Items[4].Style.CPI = "12";
 | |
| 			pgstyles.PgStyles[9].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[9].Items[4].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[9].Items[4].Style.FontStyle = "None";
 | |
| 			pgstyles.PgStyles[9].Items[4].Token = "Rev. {REV}";
 | |
| 
 | |
| 			pgstyles.PgStyles[9].Items[5].Col = 396;
 | |
| 			pgstyles.PgStyles[9].Items[5].Justify = "PSLeft";
 | |
| 			pgstyles.PgStyles[9].Items[5].Row = 754;
 | |
| 			pgstyles.PgStyles[9].Items[5].Style = new VE_Font();
 | |
| 			pgstyles.PgStyles[9].Items[5].Style.CPI = "12";
 | |
| 			pgstyles.PgStyles[9].Items[5].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[9].Items[5].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[9].Items[5].Style.FontStyle = "None";
 | |
| 			pgstyles.PgStyles[9].Items[5].Token = "Page {PAGE} of {OF}";
 | |
| 		}
 | |
| 		// NSP_ALL
 | |
| 		private void AddNSPPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// Adjusted the left margin to better align the procedure text
 | |
| 
 | |
| 			// Procedure Steps
 | |
| 			pgstyles.PgStyles[0].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[0].Items[1].Col = -18; // {HEADER1}
 | |
| 			pgstyles.PgStyles[0].Items[2].Col = 269; // {PROCTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[0].Items[2].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[0].Items[3].Col = 515; // REV. {REV}
 | |
| 			pgstyles.PgStyles[0].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[3].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[0].Items[3].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[0].Items[4].Col = 28; // {EOPNUM}
 | |
| 			pgstyles.PgStyles[0].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[4].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[0].Items[4].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[0].Items[5].Col = -18; // {BOX2}
 | |
| 			pgstyles.PgStyles[0].Items[6].Col = 246; // Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.CPI = "10";
 | |
| 			// Figure Included in Page Count
 | |
| 			pgstyles.PgStyles[1].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[1].Items[1].Col = -18; // {HEADER1}
 | |
| 			pgstyles.PgStyles[1].Items[2].Col = 243; // {PROCTITLE}
 | |
| 			pgstyles.PgStyles[1].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[1].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[1].Items[2].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[1].Items[3].Col = 461; // {REV} 
 | |
| 			pgstyles.PgStyles[1].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[1].Items[3].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[1].Items[3].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[1].Items[4].Col = 25; // {EOPNUM} 
 | |
| 			pgstyles.PgStyles[1].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[1].Items[4].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[1].Items[4].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[1].Items[5].Col = -18; // {BOX1}
 | |
| 			pgstyles.PgStyles[1].Items[6].Col = 221; // Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[1].Items[6].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[1].Items[6].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[1].Items[6].Style.CPI = "10";
 | |
| 			// Cover sheet with Retention 5 years
 | |
| 			pgstyles.PgStyles[2].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[2].Items[1].Col = 320; // {EOPNUM}
 | |
| 			pgstyles.PgStyles[2].Items[1].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[1].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[2].Items[1].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[2].Items[2].Col = 320; // REV. {REV}
 | |
| 			pgstyles.PgStyles[2].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[2].Items[2].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[2].Items[3].Col = 320; // Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[2].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[3].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[2].Items[3].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[2].Items[4].Col = 320; // Retention: 5 Yrs.
 | |
| 			pgstyles.PgStyles[2].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[4].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[2].Items[4].Style.CPI = "10";
 | |
| 
 | |
| 			// Cover Sheet 2004 With no Retention
 | |
| 			pgstyles.PgStyles[3].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[3].Items[1].Col = -18; // {HEADER1}
 | |
| 			pgstyles.PgStyles[3].Items[2].Col = 240; // {PROCTITLE}
 | |
| 			pgstyles.PgStyles[3].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[3].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[3].Items[2].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[3].Items[3].Col = 460; // {REV} 
 | |
| 			pgstyles.PgStyles[3].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[3].Items[3].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[3].Items[3].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[3].Items[4].Col = 25; // {EOPNUM}
 | |
| 			pgstyles.PgStyles[3].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[3].Items[4].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[3].Items[4].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[3].Items[5].Col = 220; // Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[3].Items[5].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[3].Items[5].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[3].Items[5].Style.CPI = "10";
 | |
| 
 | |
| 			// Cover Sheet
 | |
| 			pgstyles.PgStyles[4].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[4].Items[1].Col = 513; // {EOPNUM}
 | |
| 			pgstyles.PgStyles[4].Items[1].Justify = "PSRight";
 | |
| 			pgstyles.PgStyles[4].Items[1].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[4].Items[1].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[4].Items[1].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[4].Items[2].Col = 513; // REV. {REV}
 | |
| 			pgstyles.PgStyles[4].Items[2].Justify = "PSRight";
 | |
| 			pgstyles.PgStyles[4].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[4].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[4].Items[2].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[4].Items[3].Col = 513; // Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[4].Items[3].Justify = "PSRight";
 | |
| 			pgstyles.PgStyles[4].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[4].Items[3].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[4].Items[3].Style.CPI = "10";
 | |
| 
 | |
| 			// Ter Editor Foldout pages
 | |
| 			pgstyles.PgStyles[5].Name = "MS Word Editor Foldout pages";
 | |
| 			pgstyles.PgStyles[5].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 
 | |
| 			// Purpose And Entry Conditions with Header Box
 | |
| 			pgstyles.PgStyles[6].Items[0].Col = 1; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[6].Items[1].Col = 0; // {HEADER1}
 | |
| 			pgstyles.PgStyles[6].Items[2].Col = 258; // {PROCTITLE}
 | |
| 			pgstyles.PgStyles[6].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[6].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[6].Items[2].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[6].Items[3].Col = 478; // {REV} 
 | |
| 			pgstyles.PgStyles[6].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[6].Items[3].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[6].Items[3].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[6].Items[4].Col = 43; // {EOPNUM} 
 | |
| 			pgstyles.PgStyles[6].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[6].Items[4].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[6].Items[4].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[6].Items[5].Col = 239; // Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[6].Items[5].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[6].Items[5].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[6].Items[5].Style.CPI = "10";
 | |
| 
 | |
| 			// Two Column Auto Action Pages
 | |
| 			pgstyles.PgStyles[7].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[7].Items[1].Col = 503; // {REV} 
 | |
| 			pgstyles.PgStyles[7].Items[1].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[7].Items[1].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[7].Items[1].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[7].Items[2].Col = 503; // {EOPNUM}
 | |
| 			pgstyles.PgStyles[7].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[7].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[7].Items[2].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[7].Items[3].Col = 248; // {SECTIONLEVELTITLE}
 | |
| 			pgstyles.PgStyles[7].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[7].Items[3].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[7].Items[3].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[7].Items[4].Col = -18; // {BOX2}
 | |
| 			pgstyles.PgStyles[7].Items[5].Col = 503; // Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[7].Items[5].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[7].Items[5].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[7].Items[5].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[7].Items[5].Justify = "PSRight, PSTrue";  // Page {PAGE} of {OF}
 | |
| 
 | |
| 			// Auto Continuous Action Summary
 | |
| 			pgstyles.PgStyles[8].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[8].Items[1].Col = -18; // {HEADER1}
 | |
| 			pgstyles.PgStyles[8].Items[2].Col = 29; // {EOPNUM}
 | |
| 			pgstyles.PgStyles[8].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[8].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[8].Items[2].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[8].Items[3].Col = 251; // {PROCTITLE}
 | |
| 			pgstyles.PgStyles[8].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[8].Items[3].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[8].Items[3].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[8].Items[4].Col = 503; // {REV}
 | |
| 			pgstyles.PgStyles[8].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[8].Items[4].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[8].Items[4].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[8].Items[5].Col = -18; // {BOX4}
 | |
| 			pgstyles.PgStyles[8].Items[6].Col = 263; // {SECTIONLEVELNUMBER}
 | |
| 			pgstyles.PgStyles[8].Items[6].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[8].Items[6].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[8].Items[6].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[8].Items[7].Col = 263; // {SECTIONLEVELTITLE}
 | |
| 			pgstyles.PgStyles[8].Items[7].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[8].Items[7].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[8].Items[7].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[8].Items[8].Col = 263; // Page {DOCCURPAGE} of {DOCTOTPAGE}
 | |
| 			pgstyles.PgStyles[8].Items[8].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[8].Items[8].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[8].Items[8].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[8].Items[9].Col = 251; // Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[8].Items[9].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[8].Items[9].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[8].Items[9].Style.CPI = "10";
 | |
| 		}
 | |
| 		// NSP foldouts
 | |
| 		private void AddNSP00Page(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// Adjusted the left margin to better align the procedure text
 | |
| 
 | |
| 			// Foldout Pages
 | |
| 			pgstyles.PgStyles[0].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[0].Items[0].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[0].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[0].Items[0].Style.CPI = "10";
 | |
| 			pgstyles.PgStyles[0].Items[1].Col = 258; // {SECTIONLEVELTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[1].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[1].Style.FontSize = "10";
 | |
| 			pgstyles.PgStyles[0].Items[1].Style.CPI = "10";
 | |
| 			PSItem[] Fpsitms = null;
 | |
| 			Fpsitms = new PSItem[4];
 | |
| 			pgstyles.PgStyles[0].Items.CopyTo(Fpsitms, 0);
 | |
| 
 | |
| 			PSItem pi = new PSItem();
 | |
| 			pi.Token = "{EOPNUM}"; //{EOPNUM}
 | |
| 			pi.Col = 530;
 | |
| 			pi.Row = 12;
 | |
| 			pi.Justify = "PSRight";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[2] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "REV. {REV}"; //{REV}
 | |
| 			pi.Col = 530;
 | |
| 			pi.Row = 24;
 | |
| 			pi.Justify = "PSRight";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[3] = pi;
 | |
| 
 | |
| 			pgstyles.PgStyles[0].Items = Fpsitms;
 | |
| 		}
 | |
| 		// NSPBCK_ALL
 | |
| 		private void AddNSPBckPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// Background Text - first page
 | |
| 			pgstyles.PgStyles[0].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			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 = 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 = 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
 | |
| 			pgstyles.PgStyles[0].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[4].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[0].Items[5].Col = 285; // {EOPNUM}, {PROCTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[5].Style.FontFamily = "Arial";
 | |
| 			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 = 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 = 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 = 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
 | |
| 			pgstyles.PgStyles[2].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[2].Items[1].Col = 477; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[2].Items[1].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[1].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[2].Items[2].Col = 477;//{REV}
 | |
| 			pgstyles.PgStyles[2].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[2].Items[3].Col = 477; //{Page} of {OF}
 | |
| 			pgstyles.PgStyles[2].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[3].Style.FontSize = "11";
 | |
| 		}
 | |
| 		private void AddNSPABPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//Procedure Steps
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[0].Items[1].Col = 287;
 | |
| 			//{COVERPROCTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[6].Col = 336;
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.CPI = "8";
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[0].Items[7].Col = 511;
 | |
| 			pgstyles.PgStyles[0].Items[7].Style.CPI = "8";
 | |
| 			//{REV}
 | |
| 			pgstyles.PgStyles[0].Items[8].Col = 513;
 | |
| 			pgstyles.PgStyles[0].Items[8].Style.CPI = "8";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[0].Items[9].Col = 513;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[0].Items[10].Col = 287;
 | |
| 
 | |
| 			//Purpose and Entry
 | |
| 			//{DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
 | |
| 			pgstyles.PgStyles[1].Items[0].Col = 48;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[1].Items[1].Col = 337;
 | |
| 			//{PS=AB_OP_PROC?[HEADER1]|}
 | |
| 			pgstyles.PgStyles[1].Items[2].Col = 45;
 | |
| 			//{PS=AB_PROC?[HEADER2]|}
 | |
| 			pgstyles.PgStyles[1].Items[3].Col = 45;
 | |
| 			//{BOX1}
 | |
| 			pgstyles.PgStyles[1].Items[4].Col = 45;
 | |
| 			//{COVERPROCTITLE}
 | |
| 			pgstyles.PgStyles[1].Items[5].Col = 386;
 | |
| 			pgstyles.PgStyles[1].Items[5].Style.CPI = "8";
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[1].Items[6].Col = 556;
 | |
| 			pgstyles.PgStyles[1].Items[6].Style.CPI = "8";
 | |
| 			//{REV}
 | |
| 			pgstyles.PgStyles[1].Items[7].Col = 558;
 | |
| 			pgstyles.PgStyles[1].Items[7].Style.CPI = "8";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[1].Items[8].Col = 558;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[1].Items[9].Col = 337;
 | |
| 
 | |
| 			//Cover Page
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[2].Items[1].Col = 256;
 | |
| 			//{COVERPROCTITLE}
 | |
| 			pgstyles.PgStyles[2].Items[6].Col = 300;
 | |
| 			pgstyles.PgStyles[2].Items[6].Row = 84;
 | |
| 			pgstyles.PgStyles[2].Items[6].Style.CPI = "8";
 | |
| 			pgstyles.PgStyles[2].Items[6].Justify = "PSCenter";
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[2].Items[7].Col = 511;
 | |
| 			pgstyles.PgStyles[2].Items[7].Style.CPI = "8";
 | |
| 			//{REV}
 | |
| 			pgstyles.PgStyles[2].Items[8].Col = 513;
 | |
| 			pgstyles.PgStyles[2].Items[8].Style.CPI = "8";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[2].Items[9].Col = 513;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[2].Items[13].Col = 256;
 | |
| 
 | |
| 			//Accessory page
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[3].Items[1].Col = 256;
 | |
| 			//{COVERPROCTITLE}
 | |
| 			pgstyles.PgStyles[3].Items[5].Col = 300;
 | |
| 			pgstyles.PgStyles[3].Items[5].Row = 84;
 | |
| 			pgstyles.PgStyles[3].Items[5].Style.CPI = "8";
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[3].Items[6].Col = 511;
 | |
| 			pgstyles.PgStyles[3].Items[6].Style.CPI = "8";
 | |
| 			//{REV}
 | |
| 			pgstyles.PgStyles[3].Items[7].Col = 513;
 | |
| 			pgstyles.PgStyles[3].Items[7].Style.CPI = "8";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[3].Items[8].Col = 513;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[3].Items[11].Col = 256;
 | |
| 
 | |
| 			//Attachment with Checkoffs (Step Editor)
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[4].Items[1].Col = 287;
 | |
| 			//{COVERPROCTITLE}
 | |
| 			pgstyles.PgStyles[4].Items[5].Col = 336;
 | |
| 			pgstyles.PgStyles[4].Items[5].Style.CPI = "8";
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[4].Items[6].Col = 511;
 | |
| 			pgstyles.PgStyles[4].Items[6].Style.CPI = "8";
 | |
| 			//{REV}
 | |
| 			pgstyles.PgStyles[4].Items[7].Col = 513;
 | |
| 			pgstyles.PgStyles[4].Items[7].Style.CPI = "8";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[4].Items[8].Col = 513;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[4].Items[11].Col = 287;
 | |
| 
 | |
| 		}
 | |
| 		private void AddNSPABPage_Z00(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//"Attachment with Checkoff
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[0].Items[1].Col = 287;
 | |
| 			//{COVERPROCTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[5].Col = 336;
 | |
| 			pgstyles.PgStyles[0].Items[5].Style.CPI = "8";
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[0].Items[6].Col = 511;
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.CPI = "8";
 | |
| 			//{REV}
 | |
| 			pgstyles.PgStyles[0].Items[7].Col = 513;
 | |
| 			pgstyles.PgStyles[0].Items[7].Style.CPI = "8";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[0].Items[8].Col = 513;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[0].Items[11].Col = 287;
 | |
| 
 | |
| 			//Attachments
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[1].Items[1].Col = 267;
 | |
| 			//{COVERPROCTITLE}
 | |
| 			pgstyles.PgStyles[1].Items[5].Col = 279;
 | |
| 			pgstyles.PgStyles[1].Items[5].Style.CPI = "8";
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[1].Items[6].Col = 510;
 | |
| 			pgstyles.PgStyles[1].Items[6].Style.CPI = "8";
 | |
| 			//{REV}
 | |
| 			pgstyles.PgStyles[1].Items[7].Col = 510;
 | |
| 			pgstyles.PgStyles[1].Items[7].Style.CPI = "8";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[1].Items[8].Col = 504;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[1].Items[11].Col = 267;
 | |
| 		}
 | |
| 		private void AddNSPABPage_Z01(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//Background Text - First Page
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[0].Items[1].Col = 287;
 | |
| 			//{COVERPROCTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[5].Col = 336;
 | |
| 			pgstyles.PgStyles[0].Items[5].Style.CPI = "8";
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[0].Items[6].Col = 511;
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.CPI = "8";
 | |
| 			//{REV}
 | |
| 			pgstyles.PgStyles[0].Items[7].Col = 513;
 | |
| 			pgstyles.PgStyles[0].Items[7].Style.CPI = "8";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[0].Items[8].Col = 512;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[0].Items[12].Col = 287;
 | |
| 
 | |
| 			//Background Text - Blank Page
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[1].Items[1].Col = 287;
 | |
| 			//{COVERPROCTITLE}
 | |
| 			pgstyles.PgStyles[1].Items[5].Col = 336;
 | |
| 			pgstyles.PgStyles[1].Items[5].Style.CPI = "8";
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[1].Items[6].Col = 511;
 | |
| 			pgstyles.PgStyles[1].Items[6].Style.CPI = "8";
 | |
| 			//{REV}
 | |
| 			pgstyles.PgStyles[1].Items[7].Col = 513;
 | |
| 			pgstyles.PgStyles[1].Items[7].Style.CPI = "8";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[1].Items[8].Col = 512;
 | |
| 			//{PS-CONFSTATE}
 | |
| 			pgstyles.PgStyles[1].Items[10].Col = 287;
 | |
| 		}
 | |
| 		private void AddNSPABPage_Z02(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//Foldout Pages
 | |
| 			//{SECTIONLEVELTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[2].Style.FontSize = "11";
 | |
| 			pgstyles.PgStyles[0].Items[2].Style.CPI = "12";
 | |
| 		}
 | |
| 		private void AddNSPDEVPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// we need to add one new pgstyle
 | |
| 			// expand the pgstyles.PgStyles array by one;
 | |
| 			int numstyles = pgstyles.PgStyles.Length; // number of current PgStyles
 | |
| 			numstyles += 1; // adding one more page styles
 | |
| 			PageStyle[] pgs = new PageStyle[numstyles];
 | |
| 			// Deviation
 | |
| 
 | |
| 			//int ii = 0;
 | |
| 			//for (int i = 0; i < numstyles; i++)
 | |
| 			//{
 | |
| 			//    PageStyle ps = new PageStyle();
 | |
| 			//    if (i != 2) ii++; // insert a new section by copying the second one
 | |
| 			//    if (i < numstyles - 1)
 | |
| 			//        ps = pgstyles.PgStyles[ii];
 | |
| 			//    pgs[i] = ps;
 | |
| 			//}
 | |
| 			//pgstyles.PgStyles = pgs;
 | |
| 
 | |
| 
 | |
| 			//Procedure Steps (Step Deviations)  - copy and adjust font size
 | |
| 			PageStyle ps = new PageStyle();
 | |
| 			PSItem[] Fpsitms = null;
 | |
| 			ps = pgstyles.PgStyles[0];
 | |
| 			//PROCTITLE
 | |
| 			ps.Items[2].Style.FontSize = "11";
 | |
| 			//REV
 | |
| 			ps.Items[3].Style.FontSize = "11";
 | |
| 			//EOPNUM
 | |
| 			ps.Items[4].Style.FontSize = "11";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			ps.Items[6].Style.FontSize = "11";
 | |
| 			pgs[0] = ps;
 | |
| 
 | |
| 			// Cover Page
 | |
| 			ps = new PageStyle();
 | |
| 			ps.Name = "Cover Page";
 | |
| 			ps.Index = 1;
 | |
| 
 | |
| 			Fpsitms = null;
 | |
| 			Fpsitms = new PSItem[5];
 | |
| 
 | |
| 			PSItem pi = new PSItem();
 | |
| 			pi.Token = "{DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}";
 | |
| 			pi.Row = 12;
 | |
| 			pi.Col = -3;
 | |
| 			pi.Justify = "PSCenter";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pi.Style.FontSize = "10";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[0] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "Deviation Document";
 | |
| 			pi.Row = 132;
 | |
| 			pi.Col = 237;
 | |
| 			pi.Justify = "PSCenter";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[1] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{EOPNUM}";
 | |
| 			pi.Row = 156;
 | |
| 			pi.Col = 237;
 | |
| 			pi.Justify = "PSCenter";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[2] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{PROCTITLE}";
 | |
| 			pi.Row = 180;
 | |
| 			pi.Col = 237;
 | |
| 			pi.Justify = "PSCenter";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[3] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "Revision {REV}";
 | |
| 			pi.Row = 204;
 | |
| 			pi.Col = 237;
 | |
| 			pi.Justify = "PSCenter";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[4] = pi;
 | |
| 
 | |
| 			ps.Items = Fpsitms;
 | |
| 			pgs[1] = ps;
 | |
| 
 | |
| 			//Introduction and Accessory page - With one Box (Header with One Box)
 | |
| 			ps = new PageStyle();
 | |
| 			ps.Name = "Introduction and Accessory page - With Box";
 | |
| 			ps.Index = 2;
 | |
| 
 | |
| 			Fpsitms = null;
 | |
| 			Fpsitms = new PSItem[7];
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}";
 | |
| 			pi.Row = 12;
 | |
| 			pi.Col = -6;
 | |
| 			pi.Justify = "PSLeft";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pi.Style.FontSize = "10";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[0] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{HEADER1}";
 | |
| 			pi.Row = 24;
 | |
| 			pi.Col = -6;
 | |
| 			pi.Justify = "PSLeft";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pi.Style.FontSize = "10";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[1] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{PROCTITLE}";
 | |
| 			pi.Row = 60;
 | |
| 			pi.Col = 255;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[2] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{REV}";
 | |
| 			pi.Row = 60;
 | |
| 			pi.Col = 477;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[3] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{EOPNUM}";
 | |
| 			pi.Row = 60;
 | |
| 			pi.Col = 45;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[4] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{BOX1}";
 | |
| 			pi.Row = 96;
 | |
| 			pi.Col = -6;
 | |
| 			pi.Justify = "PSLeft";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pi.Style.FontSize = "10";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[5] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "Page {PAGE} of {OF}";
 | |
| 			pi.Row = 732;
 | |
| 			pi.Col = 261;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[6] = pi;
 | |
| 
 | |
| 			ps.Items = Fpsitms;
 | |
| 			pgs[2] = ps;
 | |
| 
 | |
| 			//Introduction and Accessory page - Without Box (Header without Box)
 | |
| 			ps = new PageStyle();
 | |
| 			ps.Name = "Introduction and Accessory page - Without Box";
 | |
| 			ps.Index = 3;
 | |
| 
 | |
| 			Fpsitms = null;
 | |
| 			Fpsitms = new PSItem[6];
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}";
 | |
| 			pi.Row = 12;
 | |
| 			pi.Col = -6;
 | |
| 			pi.Justify = "PSLeft";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pi.Style.FontSize = "10";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[0] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{HEADER1}";
 | |
| 			pi.Row = 24;
 | |
| 			pi.Col = -6;
 | |
| 			pi.Justify = "PSLeft";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pi.Style.FontSize = "10";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[1] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{PROCTITLE}";
 | |
| 			pi.Row = 60;
 | |
| 			pi.Col = 255;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[2] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{REV}";
 | |
| 			pi.Row = 60;
 | |
| 			pi.Col = 477;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[3] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{EOPNUM}";
 | |
| 			pi.Row = 60;
 | |
| 			pi.Col = 45;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[4] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "Page {PAGE} of {OF}";
 | |
| 			pi.Row = 732;
 | |
| 			pi.Col = 261;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[5] = pi;
 | |
| 
 | |
| 			ps.Items = Fpsitms;
 | |
| 			pgs[3] = ps;
 | |
| 
 | |
| 			pgstyles.PgStyles = pgs;
 | |
| 
 | |
| 		}
 | |
| 		private void AddNSPIFGPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//First Page of Procedure Steps
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[0].Items[4].Token = "{PS=UseIFGName?[PS-IFGName]|[EOPNUM]}";
 | |
| 
 | |
| 			//The Rest of the Procedure Steps
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[1].Items[4].Token = "{PS=UseIFGName?[PS-IFGName]|[EOPNUM]}";
 | |
| 			//{HLSTEXT}
 | |
| 			pgstyles.PgStyles[1].Items[8].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[1].Items[8].Style.FontSize = "11";
 | |
| 		}
 | |
| 		private void AddNSPIFG_00Page(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//First Page of Procedure Steps
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[0].Items[4].Token = "{PS=UseIFGName?[PS-IFGName]|[EOPNUM]}";
 | |
| 			//{SECTIONLEVELTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[8].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[8].Style.FontSize = "11";
 | |
| 			//{HLSTEXT}
 | |
| 			pgstyles.PgStyles[0].Items[9].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[9].Style.FontSize = "11";
 | |
| 			//The Rest of the Procedure Steps
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[1].Items[4].Token = "{PS=UseIFGName?[PS-IFGName]|[EOPNUM]}";
 | |
| 		}
 | |
| 		private void AddNSPARPPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//First Page of Procedure Steps
 | |
| 			//{PS-SHORTTIT1}
 | |
| 			pgstyles.PgStyles[0].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[4].Style.FontSize = "11";
 | |
| 			//{PS-ALARM1}
 | |
| 			pgstyles.PgStyles[0].Items[5].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[5].Style.FontSize = "11";
 | |
| 			//{PS-SHORTTIT2}
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.FontSize = "11";
 | |
| 			//{PS-ALARM2}
 | |
| 			pgstyles.PgStyles[0].Items[7].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[7].Style.FontSize = "11";
 | |
| 			//{PS-SHORTTIT3}
 | |
| 			pgstyles.PgStyles[0].Items[8].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[8].Style.FontSize = "11";
 | |
| 			//{PS-ALARM3}
 | |
| 			pgstyles.PgStyles[0].Items[9].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[9].Style.FontSize = "11";
 | |
| 			//{PS-ALARM4}
 | |
| 			pgstyles.PgStyles[0].Items[10].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[10].Style.FontSize = "11";
 | |
| 			//{PS-LONGTIT1}
 | |
| 			pgstyles.PgStyles[0].Items[11].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[11].Style.FontSize = "11";
 | |
| 			//{PS-LONGTIT2}
 | |
| 			pgstyles.PgStyles[0].Items[12].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[12].Style.FontSize = "11";
 | |
| 			//{PS-LONGTIT3}
 | |
| 			pgstyles.PgStyles[0].Items[13].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[13].Style.FontSize = "11";
 | |
| 			//{PS-TRIPPED1}
 | |
| 			pgstyles.PgStyles[0].Items[14].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[14].Style.FontSize = "11";
 | |
| 			//{PS-RESET1}
 | |
| 			pgstyles.PgStyles[0].Items[15].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[15].Style.FontSize = "11";
 | |
| 			//{PS-LONGTIT4}
 | |
| 			pgstyles.PgStyles[0].Items[16].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[16].Style.FontSize = "11";
 | |
| 			//{PS-TRIPPED2}
 | |
| 			pgstyles.PgStyles[0].Items[17].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[17].Style.FontSize = "11";
 | |
| 			//{PS-RESET2}
 | |
| 			pgstyles.PgStyles[0].Items[18].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[18].Style.FontSize = "11";
 | |
| 			//{PS=BOP_NSSS?SER Input Point: [PS-SERINPORT]|}
 | |
| 			pgstyles.PgStyles[0].Items[19].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[19].Style.FontSize = "11";
 | |
| 			//{PS-TRIPPED3}
 | |
| 			pgstyles.PgStyles[0].Items[20].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[20].Style.FontSize = "11";
 | |
| 			//{PS-RESET3}
 | |
| 			pgstyles.PgStyles[0].Items[21].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[21].Style.FontSize = "11";
 | |
| 			//{PS=BOP_NSSS?      Address: [PS-ADDRESS]|}
 | |
| 			pgstyles.PgStyles[0].Items[22].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[22].Style.FontSize = "11";
 | |
| 			//{PS-TRIPPED4}
 | |
| 			pgstyles.PgStyles[0].Items[23].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[23].Style.FontSize = "11";
 | |
| 			//{PS-RESET4}
 | |
| 			pgstyles.PgStyles[0].Items[24].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[24].Style.FontSize = "11";
 | |
| 		}
 | |
| 		private void AddNSPARP_00Page(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//First Page of Procedure Steps
 | |
| 			//{PS=TIMEDELAY?[BOX4]|}
 | |
| 			pgstyles.PgStyles[0].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[3].Style.FontSize = "11";
 | |
| 			//{PS-SHORTTIT1}
 | |
| 			pgstyles.PgStyles[0].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[4].Style.FontSize = "11";
 | |
| 			//{PS-ALARM1}
 | |
| 			pgstyles.PgStyles[0].Items[5].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[5].Style.FontSize = "11";
 | |
| 			//{PS-SHORTTIT2}
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[6].Style.FontSize = "11";
 | |
| 			//{PS-ALARM2}
 | |
| 			pgstyles.PgStyles[0].Items[7].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[7].Style.FontSize = "11";
 | |
| 			//{PS-SHORTTIT3}
 | |
| 			pgstyles.PgStyles[0].Items[8].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[8].Style.FontSize = "11";
 | |
| 			//{PS-ALARM3}
 | |
| 			pgstyles.PgStyles[0].Items[9].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[9].Style.FontSize = "11";
 | |
| 			//{PS-ALARM4}
 | |
| 			pgstyles.PgStyles[0].Items[10].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[10].Style.FontSize = "11";
 | |
| 			//{PS-LONGTIT1}
 | |
| 			pgstyles.PgStyles[0].Items[11].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[11].Style.FontSize = "11";
 | |
| 			//{PS-LONGTIT2}
 | |
| 			pgstyles.PgStyles[0].Items[12].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[12].Style.FontSize = "11";
 | |
| 			//{PS-LONGTIT3}
 | |
| 			pgstyles.PgStyles[0].Items[13].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[13].Style.FontSize = "11";
 | |
| 			//{PS-TRIPPED1}
 | |
| 			pgstyles.PgStyles[0].Items[14].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[14].Style.FontSize = "11";
 | |
| 			//{PS-RESET1}
 | |
| 			pgstyles.PgStyles[0].Items[15].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[15].Style.FontSize = "11";
 | |
| 			//{PS-LONGTIT4}
 | |
| 			pgstyles.PgStyles[0].Items[16].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[16].Style.FontSize = "11";
 | |
| 			//{PS-TRIPPED2}
 | |
| 			pgstyles.PgStyles[0].Items[17].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[17].Style.FontSize = "11";
 | |
| 			//{PS-RESET2}
 | |
| 			pgstyles.PgStyles[0].Items[18].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[18].Style.FontSize = "11";
 | |
| 			//{PS-TRIPPED3}
 | |
| 			pgstyles.PgStyles[0].Items[19].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[19].Style.FontSize = "11";
 | |
| 			//{PS-RESET3}
 | |
| 			pgstyles.PgStyles[0].Items[20].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[20].Style.FontSize = "11";
 | |
| 			//{PS-TRIPPED4}
 | |
| 			pgstyles.PgStyles[0].Items[21].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[21].Style.FontSize = "11";
 | |
| 			//{PS-RESET4}
 | |
| 			pgstyles.PgStyles[0].Items[22].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[0].Items[22].Style.FontSize = "11";
 | |
| 		}
 | |
| 		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";
 | |
| 			pgstyles.PgStyles[2].Items[1].Style.FontSize = "11";
 | |
| 			//REV. {REV}
 | |
| 			pgstyles.PgStyles[2].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[2].Style.FontSize = "11";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			pgstyles.PgStyles[2].Items[3].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[3].Style.FontSize = "11";
 | |
| 			//Retention: 5 Yrs.
 | |
| 			pgstyles.PgStyles[2].Items[4].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[2].Items[4].Style.FontSize = "11";
 | |
| 			//Cover Sheet
 | |
| 			//{EOPNUM}
 | |
| 			pgstyles.PgStyles[3].Items[1].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[3].Items[1].Style.FontSize = "11";
 | |
| 			//REV. {REV}
 | |
| 			pgstyles.PgStyles[3].Items[2].Style.FontFamily = "Arial";
 | |
| 			pgstyles.PgStyles[3].Items[2].Style.FontSize = "11";
 | |
| 			//Page {PAGE} of {OF}
 | |
| 			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;
 | |
| 			int numstyles = pgstyles.PgStyles.Length; // number of current PgStyles
 | |
| 			numstyles += 1; // adding one more page styles
 | |
| 			PageStyle[] pgs = new PageStyle[numstyles];
 | |
| 			PageStyle ps;// new PageStyle();
 | |
| 			// copy existing page lists
 | |
| 			for (int i = 0; i < numstyles - 1; i++)
 | |
| 			{
 | |
| 				ps = new PageStyle();
 | |
| 				ps = pgstyles.PgStyles[i];
 | |
| 				pgs[i] = ps;
 | |
| 			}
 | |
| 			// Attachment with Section Info
 | |
| 			ps = new PageStyle();
 | |
| 			ps.Name = "Attachment with Section Info";
 | |
| 			ps.Index = 8;
 | |
| 
 | |
| 			PSItem[] Fpsitms = null;
 | |
| 			Fpsitms = new PSItem[9];
 | |
| 
 | |
| 			PSItem pi = new PSItem();
 | |
| 			pi.Token = "{DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}";
 | |
| 			pi.Row = 12;
 | |
| 			pi.Col = -3;
 | |
| 			pi.Justify = "PSCenter";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pi.Style.FontSize = "10";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[0] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{HEADER1}";
 | |
| 			pi.Row = 24;
 | |
| 			pi.Col = -18;
 | |
| 			pi.Justify = "PSLeft";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pi.Style.FontSize = "10";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			Fpsitms[1] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{PROCTITLE}";
 | |
| 			pi.Row = 60;
 | |
| 			pi.Col = 249;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.CPI = "10";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[2] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "REV. {REV}";
 | |
| 			pi.Row = 60;
 | |
| 			pi.Col = 465;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[3] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{EOPNUM}";
 | |
| 			pi.Row = 60;
 | |
| 			pi.Col = 27;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[4] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{BOX1}";
 | |
| 			pi.Row = 96;
 | |
| 			pi.Col = -18;
 | |
| 			pi.Justify = "PSLeft";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Prestige Elite Tall";
 | |
| 			pi.Style.FontSize = "10";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[5] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{SECTIONLEVELNUMBER}";
 | |
| 			pi.Row = 126;
 | |
| 			pi.Col = 231;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "12";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "Bold";
 | |
| 			Fpsitms[6] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "{SECTIONLEVELTITLE}";
 | |
| 			pi.Row = 138;
 | |
| 			pi.Col = 231;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "12";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "Bold";
 | |
| 			Fpsitms[7] = pi;
 | |
| 
 | |
| 			pi = new PSItem();
 | |
| 			pi.Token = "Page {DOCCURPAGE} of {DOCTOTPAGE}";
 | |
| 			pi.Row = 732;
 | |
| 			pi.Col = 231;
 | |
| 			pi.Justify = "PSTrue";
 | |
| 			pi.Style = new VE_Font();
 | |
| 			pi.Style.FontFamily = "Arial";
 | |
| 			pi.Style.FontSize = "11";
 | |
| 			pi.Style.CPI = "12";
 | |
| 			pi.Style.FontStyle = "None";
 | |
| 			Fpsitms[8] = pi;
 | |
| 
 | |
| 			ps.Items = Fpsitms;
 | |
| 			pgs[numstyles-1] = ps;
 | |
| 
 | |
| 			pgstyles.PgStyles = pgs; // save new pagelist
 | |
| 		}
 | |
| 		private void AddRGEPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// Procedure Steps
 | |
| 			pgstyles.PgStyles[0].Items[4].Col = 30; // EOPNUM
 | |
| 		}
 | |
| 		private void AddRGEBCKPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// Procedure Steps
 | |
| 			pgstyles.PgStyles[0].Items[1].Token = @"\ul STEP DESCRIPTION TABLE FOR {EOPNUM}\ulnone   {CM:(Cont)}";
 | |
| 			// Cover page
 | |
| 			pgstyles.PgStyles[1].Items[8].Col = 432; // REV
 | |
| 			// Revision Page / Table of Contents
 | |
| 			pgstyles.PgStyles[2].Items[1].Row = 738; // EOPNUM
 | |
| 			pgstyles.PgStyles[2].Items[2].Row = 738; // REV
 | |
| 			//Revision Page / Table of Contents (After first page)
 | |
| 			pgstyles.PgStyles[5].Items[1].Row = 738; // EOPNUM
 | |
| 			pgstyles.PgStyles[5].Items[2].Row = 738; // ROMANPAGE
 | |
| 			pgstyles.PgStyles[5].Items[3].Row = 738; // REV
 | |
| 		}
 | |
| 
 | |
| 		private void AddRGESam1Page(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// CoverPage - add the Revision to the pagelist
 | |
| 			int cnt = pgstyles.PgStyles.Length + 1;
 | |
| 			PSItem[] Fpsitms = null;
 | |
| 			PSItem pi = new PSItem();
 | |
| 			pi.Style = new VE_Font();
 | |
| 
 | |
| 			pi.Token = "REVISION  {REV}";
 | |
| 			pi.Row = 382;
 | |
| 			pi.Col = 242;
 | |
| 			pi.Justify = "PSCenter";
 | |
| 			pi.Style.FontFamily = "Courier New";
 | |
| 			pi.Style.FontSize = "12";
 | |
| 			pi.Style.CPI = "10";
 | |
| 			Fpsitms = new PSItem[cnt];
 | |
| 			pgstyles.PgStyles[3].Items.CopyTo(Fpsitms, 0);
 | |
| 			Fpsitms[cnt - 1] = pi;
 | |
| 			pgstyles.PgStyles[3].Items = Fpsitms;
 | |
| 		}
 | |
| 
 | |
| 		/* Under Development
 | |
| 		// TP_ALL
 | |
| 		private void AddTPPage(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			// Procedure Steps
 | |
| 			pgstyles.PgStyles[0].Items[0].Col = -3; // {DRAFT}{MASTER}....
 | |
| 			pgstyles.PgStyles[0].Items[1].Col = -54; // {HEADER1}
 | |
| 			pgstyles.PgStyles[0].Items[1].Row = -13; //{HEADER1}
 | |
| 			pgstyles.PgStyles[0].Items[2].Col = 465; //{PAGE}
 | |
| 			pgstyles.PgStyles[0].Items[3].Col = 45; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[0].Items[4].Col = 249; //{PROCTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[5].Col = 471; //{REV}
 | |
| 			pgstyles.PgStyles[0].Items[6].Col = -54; //{BOX1}
 | |
| 			pgstyles.PgStyles[0].Items[6].Row = -13; //{BOX1}
 | |
| 			pgstyles.PgStyles[0].Items[7].Col = 255; //{FINALPAGE}
 | |
| 
 | |
| 			// cover page
 | |
| 			pgstyles.PgStyles[1].Items[2].Row = 186; //{UnitText}
 | |
| 			pgstyles.PgStyles[1].Items[3].Row = 330; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[1].Items[3].Col = 309; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[1].Items[4].Row = 576; //{COVERTITLE1}
 | |
| 			pgstyles.PgStyles[1].Items[4].Col = 309; //{COVERTITEL1}
 | |
| 			pgstyles.PgStyles[1].Items[5].Row = 594; //{COVERTITLE2}
 | |
| 			pgstyles.PgStyles[1].Items[5].Col = 309; //{COVERTITEL2}
 | |
| 			pgstyles.PgStyles[1].Items[6].Row = 636; //"Continuous Use"
 | |
| 			pgstyles.PgStyles[1].Items[6].Col = 309; //"Continuous Use"
 | |
| 			pgstyles.PgStyles[1].Items[7].Row = 660; //{Box6}
 | |
| 			pgstyles.PgStyles[1].Items[7].Col = 57; //{Box6}
 | |
| 			pgstyles.PgStyles[1].Items[8].Row = 672; //{PS-PROCTYPE}
 | |
| 			pgstyles.PgStyles[1].Items[8].Col = 291; //{PS-PROCTYPE}
 | |
| 			pgstyles.PgStyles[1].Items[9].Row = 696; //{PS-RESPDEPT}
 | |
| 			pgstyles.PgStyles[1].Items[10].Row = 708; //{PS-RESPAPP}
 | |
| 
 | |
| 			//unused - Purpose, Symptoms, Reference
 | |
| 			pgstyles.PgStyles[2].Items[0].Col = -3; // {DRAFT}{MASTER}....
 | |
| 			pgstyles.PgStyles[2].Items[1].Col = -54; // {HEADER1}
 | |
| 			pgstyles.PgStyles[2].Items[1].Row = -13; //{HEADER1}
 | |
| 			pgstyles.PgStyles[2].Items[2].Col = 447; //{PAGE}
 | |
| 			pgstyles.PgStyles[2].Items[3].Col = 33; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[2].Items[4].Col = 249; //{PROCTITLE}
 | |
| 			pgstyles.PgStyles[2].Items[5].Col = 459; //{REV}
 | |
| 			pgstyles.PgStyles[2].Items[6].Col = -54; //{BOX3}
 | |
| 			pgstyles.PgStyles[2].Items[6].Row = -13; //{BOX3}
 | |
| 			pgstyles.PgStyles[2].Items[7].Col = 243; //{FINALPAGE}
 | |
| 
 | |
| 			// Single Column Attachments
 | |
| 			pgstyles.PgStyles[3].Items[0].Col = -3; // {DRAFT}{MASTER}....
 | |
| 			pgstyles.PgStyles[3].Items[1].Col = -54; // {HEADER1}
 | |
| 			pgstyles.PgStyles[3].Items[1].Row = -13; //{HEADER1}
 | |
| 			pgstyles.PgStyles[3].Items[2].Col = 459; //{PAGE}
 | |
| 			pgstyles.PgStyles[3].Items[3].Col = 39; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[3].Items[4].Col = 249; //{PROCTITLE}
 | |
| 			pgstyles.PgStyles[3].Items[5].Col = 459; //{REV}
 | |
| 			pgstyles.PgStyles[3].Items[6].Col = -54; //{BOX3}
 | |
| 			pgstyles.PgStyles[3].Items[6].Row = -13; //{BOX3}
 | |
| 			pgstyles.PgStyles[3].Items[7].Col = 255; //{SECTIONLEVELNUMBER}
 | |
| 			pgstyles.PgStyles[3].Items[8].Col = 255; //{DOCCURPAGE}
 | |
| 			pgstyles.PgStyles[3].Items[10].Col = 243; //{FINALPAGE}
 | |
| 
 | |
| 			//Two Column Attachments
 | |
| 			pgstyles.PgStyles[4].Items[0].Col = -3; // {DRAFT}{MASTER}....
 | |
| 			pgstyles.PgStyles[4].Items[1].Col = -54; // {HEADER1}
 | |
| 			pgstyles.PgStyles[4].Items[1].Row = -13; //{HEADER1}
 | |
| 			pgstyles.PgStyles[4].Items[2].Col = 459; //{PAGE}
 | |
| 			pgstyles.PgStyles[4].Items[3].Col = 39; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[4].Items[4].Col = 249; //{PROCTITLE}
 | |
| 			pgstyles.PgStyles[4].Items[5].Col = 459; //{REV}
 | |
| 			pgstyles.PgStyles[4].Items[6].Col = -54; //{BOX1}
 | |
| 			pgstyles.PgStyles[4].Items[6].Row = -13; //{BOX1}
 | |
| 			pgstyles.PgStyles[4].Items[7].Col = 255; //{SECTIONLEVELNUMBER}
 | |
| 			pgstyles.PgStyles[4].Items[8].Col = 255; //{DOCCURPAGE}
 | |
| 			pgstyles.PgStyles[4].Items[10].Col = 243; //{FINALPAGE}
 | |
| 
 | |
| 			//Ter Editor Attachments
 | |
| 			pgstyles.PgStyles[5].Items[0].Col = -3; // {DRAFT}{MASTER}....
 | |
| 			pgstyles.PgStyles[5].Items[1].Col = -54; // {HEADER1}
 | |
| 			pgstyles.PgStyles[5].Items[1].Row = -13; //{HEADER1}
 | |
| 			pgstyles.PgStyles[5].Items[2].Col = 447; //{PAGE}
 | |
| 			pgstyles.PgStyles[5].Items[3].Col = 33; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[5].Items[4].Col = 237; //{PROCTITLE}
 | |
| 			pgstyles.PgStyles[5].Items[5].Col = 459; //{REV}
 | |
| 			pgstyles.PgStyles[5].Items[6].Col = -54; //{BOX3}
 | |
| 			pgstyles.PgStyles[5].Items[6].Row = -13; //{BOX3}
 | |
| 			pgstyles.PgStyles[5].Items[7].Col = 237; //{SECTIONLEVELNUMBER}
 | |
| 			pgstyles.PgStyles[5].Items[8].Col = 237; //{DOCCURPAGE}
 | |
| 			pgstyles.PgStyles[5].Items[10].Col = 243; //{FINALPAGE}
 | |
| 
 | |
| 			//Duplex Foldout Page
 | |
| 			pgstyles.PgStyles[6].Items[0].Col = -3; // {DRAFT}{MASTER}....
 | |
| 			pgstyles.PgStyles[6].Items[1].Col = -54; // {HEADER1}
 | |
| 			pgstyles.PgStyles[6].Items[1].Row = -13; //{HEADER1}
 | |
| 			pgstyles.PgStyles[6].Items[2].Col = 465; //{PAGE}
 | |
| 			pgstyles.PgStyles[6].Items[4].Col = 39; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[6].Items[5].Col = 471; //{REV}
 | |
| 			pgstyles.PgStyles[6].Items[6].Col = -54; //{BOX3}
 | |
| 			pgstyles.PgStyles[6].Items[6].Row = -13; //{BOX3}
 | |
| 
 | |
| 			//Figures (Ter Editor)
 | |
| 			pgstyles.PgStyles[7].Items[0].Col = -3; // {DRAFT}{MASTER}....
 | |
| 			pgstyles.PgStyles[7].Items[1].Col = -54; // {HEADER1}
 | |
| 			pgstyles.PgStyles[7].Items[1].Row = -13; //{HEADER1}
 | |
| 			pgstyles.PgStyles[7].Items[2].Col = 447; //{PAGE}
 | |
| 			pgstyles.PgStyles[7].Items[3].Col = 27; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[7].Items[4].Col = 237; //{PROCTITLE}
 | |
| 			pgstyles.PgStyles[7].Items[5].Col = 453; //{REV}
 | |
| 			pgstyles.PgStyles[7].Items[6].Col = -54; //{BOX3}
 | |
| 			pgstyles.PgStyles[7].Items[6].Row = -13; //{BOX3}
 | |
| 			pgstyles.PgStyles[7].Items[7].Col = 243; //{SECTIONLEVELNUMBER}
 | |
| 			pgstyles.PgStyles[7].Items[8].Col = 243; //{DOCCURPAGE}
 | |
| 			pgstyles.PgStyles[7].Items[10].Col = 243; //{FINALPAGE}
 | |
| 		}
 | |
| 
 | |
| 		private void AddTP00Page(ref PageStyles pgstyles)
 | |
| 		{
 | |
| 			//Purpose, Symptoms, Reference
 | |
| 			pgstyles.PgStyles[0].Items[0].Col = -3; // {DRAFT}{MASTER}....
 | |
| 			pgstyles.PgStyles[0].Items[1].Col = -66; // {HEADER1}
 | |
| 			pgstyles.PgStyles[0].Items[1].Row = -13; //{HEADER1}
 | |
| 			pgstyles.PgStyles[0].Items[2].Col = 447; //{PAGE}
 | |
| 			pgstyles.PgStyles[0].Items[3].Col = 33; //{EOPNUM}
 | |
| 			pgstyles.PgStyles[0].Items[4].Col = 249; //{PROCTITLE}
 | |
| 			pgstyles.PgStyles[0].Items[5].Col = 459; //{REV}
 | |
| 			pgstyles.PgStyles[0].Items[6].Col = -66; //{BOX3}
 | |
| 			pgstyles.PgStyles[0].Items[6].Row = -13; //{BOX3}
 | |
| 
 | |
| 		}
 | |
| 		 * */
 | |
| 		#region DocStyles
 | |
| 		public void AddPlantSpecific(string genFileName, ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			switch (genFileName.ToUpper())
 | |
| 			{
 | |
| 				case "RGESAM1.DOC":
 | |
| 					AddRGESam1DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "RGESAM2.DOC":
 | |
| 					AddRGESam2DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "RGE.DOC":
 | |
| 					AddRGEDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "RGEBCK.DOC":
 | |
| 					AddRGEBCKDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				// in shearon harris format, the fonts were set to 0 in the 16bit docstyle.
 | |
| 				// we want them to inherit from plant format, not use the Prestige Elite (font 0)
 | |
| 				// from 16bit, so delete those nodes:
 | |
| 				case "SHE.DOC":
 | |
| 					AddSheDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "SHESSD.DOC":
 | |
| 					AddSHESSDDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPLSSDD.DOC":
 | |
| 					AddCPLSSDDDoc(ref dcstyles);
 | |
| 					break;
 | |
| 				// in Wolf Creek single column, the Table Of Contents document style was not included in the
 | |
| 				// count of pages for the automatic Table Of Contents.  This page should be counted in the
 | |
| 				// page count when doing the automatic ToC so that page numbers in Toc Match page numbers
 | |
| 				// in the document:
 | |
| 				case "WCN1.DOC":
 | |
| 					AddWCN1Doc(ref dcstyles);
 | |
| 					break;
 | |
| 				// Adjusted the left margin to better align the procedure text
 | |
| 				case "NSP.DOC":
 | |
| 					AddNSPDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSP.Y00":
 | |
| 					AddNSP00DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				// Adjusted the left margin to better align the procedure text
 | |
| 				case "NSPBCK.DOC":
 | |
| 					AddNSPBckDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPAB.DOC":
 | |
| 					AddNSPABDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPAB.Y00":
 | |
| 					AddNSPAB_00DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPAB.Y01":
 | |
| 					AddNSPAB_01DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPAB.Y02":
 | |
| 					AddNSPAB_02DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPDEV.DOC":
 | |
| 					AddNSPDEVDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPIFG.DOC":
 | |
| 				case "NSPIFG2.DOC":
 | |
| 					AddNSPIFGDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPIFG.Y00":
 | |
| 					AddNSPARP_00DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPARP.DOC":
 | |
| 					AddNSPARPDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPARP.Y00":
 | |
| 					AddNSPARP_00DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "NSPSAM.DOC":
 | |
| 					AddNSPSAMDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "IP2.DOC":
 | |
| 					AddIp2DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "VCSDEV.DOC":
 | |
| 					AddVCSDEVDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "SUM.DOC":
 | |
| 					AddSUMDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "IP2.Y02":
 | |
| 					AddIP202DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "IP3.Y15":
 | |
| 					AddIP315DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CAL2.DOC":
 | |
| 					AddCAL2DOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CALOTO.DOC":
 | |
| 				case "CAL2.Y00":
 | |
| 					AddCAL2RestDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CALBCK.DOC":
 | |
| 					AddCALBCKDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPL.DOC":
 | |
| 					AddCPLDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPL.Y00":
 | |
| 					AddCPL_Y00(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPL.Y01":
 | |
| 					AddCPL_Y01(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPL.Y02":
 | |
| 					AddCPL_Y02(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPL.Y03":
 | |
| 					AddCPL_Y03(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPLA.DOC":
 | |
| 					AddCPLA(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPLRDEV.DOC":
 | |
| 					AddCPLRDEV(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPBCK.DOC":
 | |
| 					AddCPBCK(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPBCK.Y00":
 | |
| 					AddCPBCK_Y00(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPBCK.Y01":
 | |
| 					AddCPBCK_Y01(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CPBCK2.DOC":
 | |
| 					AddCPBCK2(ref dcstyles);
 | |
| 					break;
 | |
| 				case "TUEC.DOC":
 | |
| 					AddTUCEDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "FNP.DOC":
 | |
| 					AddFNPDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "FNP.Y00":
 | |
| 				case "FNP.Y01":
 | |
| 					AddFNP_Y0x(ref dcstyles);
 | |
| 					break;
 | |
| 				case "FNPCAS.DOC":
 | |
| 					AddFNPCASDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "CAT.DOC":
 | |
| 				case "CATBOX.DOC":
 | |
| 					AddCATDOC(ref dcstyles);
 | |
| 					break;
 | |
| 				case "MCG.DOC":
 | |
| 				case "MCGBOX.DOC":
 | |
| 					AddMCGDOC(ref dcstyles);
 | |
| 					break;
 | |
| 			}
 | |
| 		}
 | |
| 		private void AddFNPCASDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[0].TopMargin = 78;
 | |
| 			dcstyles.DcStyles[0].PageLength = 672;
 | |
| 			dcstyles.DcStyles[0].PageWidth = 560;
 | |
| 		}
 | |
| 		private void AddFNPDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[5].ComponentList = true;
 | |
| 			dcstyles.DcStyles[5].TopMargin = 144;
 | |
| 			dcstyles.DcStyles[0].CBNoOverrideSpace = true;
 | |
| 			dcstyles.DcStyles[1].CBNoOverrideSpace = true;
 | |
| 			dcstyles.DcStyles[3].CBNoOverrideSpace = true;
 | |
| 			dcstyles.DcStyles[4].CBNoOverrideSpace = true;
 | |
| 			dcstyles.DcStyles[7].CBNoOverrideSpace = true;
 | |
| 		}
 | |
| 		private void AddFNP_Y0x(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[0].CBNoOverrideSpace = true;
 | |
| 			dcstyles.DcStyles[1].ComponentList = true;
 | |
| 			dcstyles.DcStyles[1].TopMargin = 144;
 | |
| 		}
 | |
| 		private void AddCALBCKDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[0].PageWidth = 560;
 | |
| 			dcstyles.DcStyles[0].ContTop = "";
 | |
| 		}
 | |
| 		private void AddCAL2RestDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[1].PageLength = 672;
 | |
| 		}
 | |
| 		private void AddCAL2DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[1].PageLength = 672;
 | |
| 			dcstyles.DcStyles[5].ExtraLineHeader = true;
 | |
| 		}
 | |
| 		private void AddIP315DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[0].ContBottom = "(STEP %0d CONTINUED ON NEXT PAGE)";
 | |
| 		}
 | |
| 		private void AddIP202DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[0].LeftMargin = 12;
 | |
| 			dcstyles.DcStyles[1].LeftMargin = 12;
 | |
| 		}
 | |
| 
 | |
| 		private void AddIp2DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[0].ContTop = "";
 | |
| 		}
 | |
| 		private void AddCPLSSDDDoc(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[2].PageWidth = 576;
 | |
| 		}
 | |
| 		private void AddSHESSDDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[0].CTMargin = 0;
 | |
| 			dcstyles.DcStyles[0].ContTop = "";
 | |
| 			dcstyles.DcStyles[0].PageLength = 618;
 | |
| 			dcstyles.DcStyles[5].CTMargin = 0;
 | |
| 			dcstyles.DcStyles[5].ContTop = "";
 | |
| 		}
 | |
| 
 | |
| 		private void AddSheDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[0].ContTopHLS = 0;
 | |
| 			dcstyles.DcStyles[0].CTMargin = 24;
 | |
| 			dcstyles.DcStyles[0].ContTop = "Step %d (Continued)";
 | |
| 			dcstyles.DcStyles[0].UseCheckOffs = false;
 | |
| 			dcstyles.DcStyles[1].UseCheckOffs = false;
 | |
| 			// fonts (dstyle) in DocStyles that had a '0' in the 16bit format file (she.doc), should
 | |
| 			// inherit from the plant level in 32 bit rather than use Prestige Elite (0 -> Prestige Elite)
 | |
| 			dcstyles.DcStyles[1].dstyle = null;
 | |
| 			dcstyles.DcStyles[2].dstyle = null;
 | |
| 			dcstyles.DcStyles[3].dstyle = null;
 | |
| 			dcstyles.DcStyles[4].dstyle = null;
 | |
| 			dcstyles.DcStyles[5].dstyle = null;
 | |
| 			dcstyles.DcStyles[6].dstyle = null;
 | |
| 			dcstyles.DcStyles[7].dstyle = null;
 | |
| 			dcstyles.DcStyles[8].dstyle = null;
 | |
| 			dcstyles.DcStyles[1].PageLength = 592;
 | |
| 
 | |
| 			//adding new single column docstyle for purpose and symptoms
 | |
| 			Array.Resize<DocStyle>(ref dcstyles.DcStyles, dcstyles.DcStyles.Length + 1);
 | |
| 			dcstyles.DcStyles[9].Name = "Purpose/Symptom";
 | |
| 			dcstyles.DcStyles[9].Index = 9;
 | |
| 			dcstyles.DcStyles[9].pagestyle = 9;
 | |
| 			dcstyles.DcStyles[9].CancelSectTitle = false;
 | |
| 			dcstyles.DcStyles[9].FooterLen = 12F;
 | |
| 			dcstyles.DcStyles[9].IsStepSection = true;
 | |
| 			dcstyles.DcStyles[9].LeftMargin = 102;
 | |
| 			dcstyles.DcStyles[9].numberingsequence = 1;
 | |
| 			dcstyles.DcStyles[9].PageLength = 636;
 | |
| 			dcstyles.DcStyles[9].PageWidth = 547.2F;
 | |
| 			dcstyles.DcStyles[9].ShowSectionTitles = true;
 | |
| 			dcstyles.DcStyles[9].SpecialStepsFoldout = false;
 | |
| 			dcstyles.DcStyles[9].TopMargin = 108F;
 | |
| 			dcstyles.DcStyles[9].UseCheckOffs = false;
 | |
| 			dcstyles.DcStyles[9].dstyle = new VE_Font();
 | |
| 			dcstyles.DcStyles[9].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[9].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[9].dstyle.FontStyle = "None";
 | |
| 			dcstyles.DcStyles[9].dstyle.CPI = "12";
 | |
| 		}
 | |
| 
 | |
| 		public void AddRGESam1DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[4].numberingsequence = 1; // count this section with total document page count
 | |
| 		}
 | |
| 
 | |
| 		public void AddRGESam2DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			dcstyles.DcStyles[2].numberingsequence = 1; // count this section with total document page count
 | |
| 		}
 | |
| 		public void AddRGEDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			// Introduction pages
 | |
| 			dcstyles.DcStyles[1].PageWidth = 591; // needed to increase to match 16-bit word wrapping
 | |
| 			// Attachment Pages
 | |
| 			dcstyles.DcStyles[2].PageWidth = 601; // needed to increase to match 16-bit word wrapping
 | |
| 		}
 | |
| 		public void AddRGEBCKDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			// Revision Page / Table of Contents
 | |
| 			dcstyles.DcStyles[2].TopMargin = 55;
 | |
| 			// Revision Page / Table of Contents (after first page)
 | |
| 			dcstyles.DcStyles[3].TopMargin = 91;
 | |
| 			// Introduction Pages
 | |
| 			dcstyles.DcStyles[4].PageWidth = 578;
 | |
| 		}
 | |
| 
 | |
| 		public void AddWCN1Doc(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			// remove the 'DontCountInTabOfCont' flag on the cover page so that page counts in the
 | |
| 			// auto table of contents will be correct.
 | |
| 			dcstyles.DcStyles[3].DocStructStyle.DocStyle = dcstyles.DcStyles[3].DocStructStyle.DocStyle.Replace(", DontCountInTabOfCont", "");
 | |
| 		}
 | |
| 
 | |
| 		public void AddNSPDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//Procedure Steps
 | |
| 			dcstyles.DcStyles[0].LeftMargin = 80;
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontSize = "11";
 | |
| 			//Purpose And Entry Conditions
 | |
| 			dcstyles.DcStyles[1].LeftMargin = 62;
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			//Figure Included in Page Count
 | |
| 			dcstyles.DcStyles[2].LeftMargin = 80;
 | |
| 			dcstyles.DcStyles[2].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[2].dstyle.FontSize = "11";
 | |
| 			//Cover Page with Retention of 5 Years
 | |
| 			dcstyles.DcStyles[3].LeftMargin = 62;
 | |
| 			dcstyles.DcStyles[3].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[3].dstyle.FontSize = "11";
 | |
| 			//Cover Page 2004 with No Retention
 | |
| 			dcstyles.DcStyles[4].LeftMargin = 80;
 | |
| 			dcstyles.DcStyles[4].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[4].dstyle.FontSize = "11";
 | |
| 			//Cover Page
 | |
| 			dcstyles.DcStyles[5].LeftMargin = 62;
 | |
| 			dcstyles.DcStyles[5].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[5].dstyle.FontSize = "11";
 | |
| 			//TER Editor Foldout Pages
 | |
| 			dcstyles.DcStyles[6].Name = "MS Word Editor Foldout Pages";
 | |
| 			dcstyles.DcStyles[6].LeftMargin = 50;
 | |
| 			dcstyles.DcStyles[6].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[6].dstyle.FontSize = "11";
 | |
| 			//Attachment Pages
 | |
| 			dcstyles.DcStyles[7].LeftMargin = 68;
 | |
| 			dcstyles.DcStyles[7].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[7].dstyle.FontSize = "11";
 | |
| 			//Two Column Auto Action Pages
 | |
| 			dcstyles.DcStyles[8].LeftMargin = 80;
 | |
| 			dcstyles.DcStyles[8].PageLength = 552;
 | |
| 			dcstyles.DcStyles[8].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[8].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[8].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[8].ContStyle.FontSize = "11";
 | |
| 			//Auto Continuous Action Summary
 | |
| 			dcstyles.DcStyles[9].LeftMargin = 80;
 | |
| 			dcstyles.DcStyles[9].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[9].dstyle.FontSize = "11";
 | |
| 		}
 | |
| 		public void AddNSP00DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//Step Editor Foldout
 | |
| 			dcstyles.DcStyles[0].LeftMargin = 50;
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontStyle = "None";
 | |
| 			//Foldout Pages (Accessory Editor)
 | |
| 			dcstyles.DcStyles[1].LeftMargin = 20;
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontStyle = "None";
 | |
| 		}
 | |
| 		public void AddNSPBckDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//Background Text - first page
 | |
| 			dcstyles.DcStyles[0].LeftMargin = 62;
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			//Background Text - rest of pages
 | |
| 			dcstyles.DcStyles[1].LeftMargin = 62;
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			//attachments
 | |
| 			dcstyles.DcStyles[2].LeftMargin = 68;
 | |
| 			dcstyles.DcStyles[2].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[2].dstyle.FontSize = "11";
 | |
| 		}
 | |
| 		public void AddNSPABDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//Procedure Steps
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].dstyle.CPI = "12";
 | |
| 			//Purpose And Entry Conditions
 | |
| 			dcstyles.DcStyles[1].LeftMargin = 15;
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[1].dstyle.CPI = "12";
 | |
| 			//Attchment with Checkoffs (step editor)
 | |
| 			dcstyles.DcStyles[2].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[2].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[2].dstyle.CPI = "12";
 | |
| 		}
 | |
| 		public void AddNSPAB_00DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//Abnormal Attachment with Checkoffs
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].dstyle.CPI = "12";
 | |
| 			//Attachments
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[1].dstyle.CPI = "12";
 | |
| 		}
 | |
| 		public void AddNSPAB_01DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//Background Text - First Page
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].dstyle.CPI = "12";
 | |
| 			//Background Text - Blank Page
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[1].dstyle.CPI = "12";
 | |
| 		}
 | |
| 		public void AddNSPAB_02DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//Step Editor Foldout
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].dstyle.CPI = "12";
 | |
| 			//Foldout Pages (Accessory Editor)
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[1].dstyle.CPI = "12";
 | |
| 		}
 | |
| 		public void AddNSPDEVDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			// we need to add one new docsyles
 | |
| 			// expand the dcstyles.DcStyle array by one;
 | |
| 			int numstyles = dcstyles.DcStyles.Length; // number of current docstyles
 | |
| 			numstyles += 1; // adding one more docstyles
 | |
| 			DocStyle[] dcs = new DocStyle[numstyles];
 | |
| 			int ii = 0;
 | |
| 			for (int i = 0; i < numstyles; i++)
 | |
| 			{
 | |
| 				DocStyle dc = new DocStyle();
 | |
| 				dc = dcstyles.DcStyles[ii];
 | |
| 				dcs[i] = dc;
 | |
| 				if (i != 1) ii++; // insert a new section by copying the second one
 | |
| 			}
 | |
| 			dcstyles.DcStyles = dcs;
 | |
| 
 | |
| 			dcstyles.DcStyles[0].Name = "Step Deviations";
 | |
| 			//Procedure Steps
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			//dcstyles.DcStyles[0].ContStyle.FontFamily = "Arial";
 | |
| 			//dcstyles.DcStyles[0].ContStyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].PageLength = 564;
 | |
| 
 | |
| 			//Cover Page
 | |
| 			dcstyles.DcStyles[1].Name = "Cover Page";
 | |
| 			dcstyles.DcStyles[1].numberingsequence = 3;
 | |
| 			dcstyles.DcStyles[1].oldtonew = 32; // gotten from NSP Enhanced Dev format
 | |
| 			dcstyles.DcStyles[1].TopMargin = 228;
 | |
| 			dcstyles.DcStyles[1].FooterLen = 12;
 | |
| 			dcstyles.DcStyles[1].PageLength = 540;
 | |
| 			dcstyles.DcStyles[1].PageWidth = 576;
 | |
| 			dcstyles.DcStyles[1].LeftMargin = 48;
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			//dcstyles.DcStyles[1].ContStyle.FontFamily = "Arial";
 | |
| 			//dcstyles.DcStyles[1].ContStyle.FontSize = "11";
 | |
| 
 | |
| 			//Introduction & Appendix Pages - With Box
 | |
| 			dcstyles.DcStyles[2].Name = "Introduction & Appendix Pages - With Box";
 | |
| 			dcstyles.DcStyles[2].Index = 2;
 | |
| 			dcstyles.DcStyles[2].oldtonew = 448;
 | |
| 			dcstyles.DcStyles[2].pagestyle = 2;
 | |
| 			dcstyles.DcStyles[2].TopMargin = 132;
 | |
| 			dcstyles.DcStyles[2].FooterLen = 0;
 | |
| 			dcstyles.DcStyles[2].PageLength = 780;
 | |
| 			dcstyles.DcStyles[2].PageWidth = 576;
 | |
| 			dcstyles.DcStyles[2].LeftMargin = 42;
 | |
| 			dcstyles.DcStyles[2].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[2].dstyle.FontSize = "11";
 | |
| 			//dcstyles.DcStyles[2].ContStyle.FontFamily = "Arial";
 | |
| 			//dcstyles.DcStyles[2].ContStyle.FontSize = "11";
 | |
| 
 | |
| 			//Foldout Pages
 | |
| 			//Introduction & Appendix Pages - Without Box
 | |
| 			dcstyles.DcStyles[3].Name = "Introduction & Appendix Pages - Without Box";
 | |
| 			dcstyles.DcStyles[3].Index = 3;
 | |
| 			dcstyles.DcStyles[3].numberingsequence = 1;
 | |
| 			dcstyles.DcStyles[3].oldtonew = 506888;
 | |
| 			dcstyles.DcStyles[3].pagestyle = 3;
 | |
| 			dcstyles.DcStyles[3].TopMargin = 108;
 | |
| 			dcstyles.DcStyles[3].FooterLen = 0;
 | |
| 			dcstyles.DcStyles[3].PageLength = 780;
 | |
| 			dcstyles.DcStyles[3].PageWidth = 576;
 | |
| 			dcstyles.DcStyles[3].LeftMargin = 42;
 | |
| 			dcstyles.DcStyles[3].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[3].dstyle.FontSize = "11";
 | |
| 			//dcstyles.DcStyles[3].ContStyle.FontFamily = "Arial";
 | |
| 			//dcstyles.DcStyles[3].ContStyle.FontSize = "11";
 | |
| 		}
 | |
| 		public void AddNSPIFGDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//First Procedure Steps Page
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontSize = "11";
 | |
| 			//All But First Procedure Steps Page
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[1].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].ContStyle.FontSize = "11";
 | |
| 			//Cover Page
 | |
| 			dcstyles.DcStyles[2].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[2].dstyle.FontSize = "11";
 | |
| 			//Appendix Pages
 | |
| 			dcstyles.DcStyles[3].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[3].dstyle.FontSize = "11";
 | |
| 
 | |
| 			dcstyles.DcStyles[0].ContTop = "";
 | |
| 			dcstyles.DcStyles[1].ContTop = "";
 | |
| 
 | |
| 		}
 | |
| 		public void AddNSPARPDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//First Procedure Steps Page
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontSize = "11";
 | |
| 			//All But First Procedure Steps Page
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[1].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].ContStyle.FontSize = "11";
 | |
| 			//Cover Page
 | |
| 			dcstyles.DcStyles[2].pagestyle = 4;
 | |
| 			dcstyles.DcStyles[2].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[2].dstyle.FontSize = "11";
 | |
| 			//Appendix Pages
 | |
| 			dcstyles.DcStyles[3].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[3].dstyle.FontSize = "11";
 | |
| 			//Annunciator Title Page
 | |
| 			dcstyles.DcStyles[4].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[4].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[4].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[4].ContStyle.FontSize = "11";
 | |
| 		}
 | |
| 		public void AddNSPARP_00DOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			//First Procedure Steps Page
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontSize = "11";
 | |
| 			//All But First Procedure Steps Page
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[1].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].ContStyle.FontSize = "11";
 | |
| 			//Cover Page
 | |
| 			dcstyles.DcStyles[2].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[2].dstyle.FontSize = "11";
 | |
| 			//Appendix Pages
 | |
| 			dcstyles.DcStyles[3].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[3].dstyle.FontSize = "11";
 | |
| 		}
 | |
| 		public void AddNSPSAMDOC(ref DocStyles dcstyles)
 | |
| 		{
 | |
| 			// we need to add one new docsyles
 | |
| 			// expand the dcstyles.DcStyle array by one;
 | |
| 			int numstyles = dcstyles.DcStyles.Length; // number of current docstyles
 | |
| 			numstyles += 1; // adding one more docstyle
 | |
| 			DocStyle[] dcs = new DocStyle[numstyles];
 | |
| 			int ii = 0;
 | |
| 			for (int i = 0; i < numstyles; i++)
 | |
| 			{
 | |
| 				DocStyle dc = new DocStyle();
 | |
| 				if (i == numstyles - 1)
 | |
| 					dc = dcstyles.DcStyles[5]; // insert a new section by copying the sixth one
 | |
| 				else
 | |
| 					dc = dcstyles.DcStyles[ii];
 | |
| 				dcs[i] = dc;
 | |
| 				ii++;  
 | |
| 			}
 | |
| 			dcstyles.DcStyles = dcs;
 | |
| 			//Procedure Steps
 | |
| 			dcstyles.DcStyles[0].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[0].ContStyle.FontSize = "11";
 | |
| 			//Purpose And Entry Conditions
 | |
| 			dcstyles.DcStyles[1].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[1].dstyle.FontSize = "11";
 | |
| 			//Figures Included in Page Count
 | |
| 			dcstyles.DcStyles[2].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[2].dstyle.FontSize = "11";
 | |
| 			//Cover Page with retention of 5 years
 | |
| 			dcstyles.DcStyles[3].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[3].dstyle.FontSize = "11";
 | |
| 			//Cover Page
 | |
| 			dcstyles.DcStyles[4].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[4].dstyle.FontSize = "11";
 | |
| 			//Foldout Pages
 | |
| 			dcstyles.DcStyles[5].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[5].dstyle.FontSize = "11";
 | |
| 			//Attachment Pages
 | |
| 			dcstyles.DcStyles[6].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[6].dstyle.FontSize = "11";
 | |
| 			//Landscape Pages
 | |
| 			dcstyles.DcStyles[7].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[7].dstyle.FontSize = "11";
 | |
| 			//Figures with Seperate Pagination
 | |
| 			dcstyles.DcStyles[8].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[8].dstyle.FontSize = "11";
 | |
| 			//Figures with Section Info
 | |
| 			dcstyles.DcStyles[9].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[9].dstyle.FontSize = "11";
 | |
| 			//Attachments with Section Info (copyied from Attachment Pages section)
 | |
| 			dcstyles.DcStyles[10].Name = "Attachment Pages With Section Info";
 | |
| 			dcstyles.DcStyles[10].Index = 10;
 | |
| 			dcstyles.DcStyles[10].pagestyle = 8;
 | |
| 			dcstyles.DcStyles[10].dstyle.FontFamily = "Arial";
 | |
| 			dcstyles.DcStyles[10].dstyle.FontSize = "11";
 | |
| 			dcstyles.DcStyles[10].TopMargin = 162;
 | |
| 		}
 | |
| 		#endregion
 | |
| 	}
 | |
| 	public partial class RtfToSvg
 | |
| 	{
 | |
| 		public void AppendPlantSpecific(string genFileName, XmlDocument myDoc)
 | |
| 		{
 | |
| 			string genName = genFileName.Substring(genFileName.LastIndexOf('\\') + 1);
 | |
| 			genName = genName.Substring(0, genName.IndexOf('.'));
 | |
| 			switch (genName.ToUpper())
 | |
| 			{
 | |
| 				case "WCN2":
 | |
| 					AddWCN2(myDoc);
 | |
| 					break;
 | |
| 				case "WCN1":
 | |
| 					AddWCN2(myDoc);   // same cover page box as wcn2
 | |
| 					break;
 | |
| 				case "NSP":
 | |
| 					AddNSP(myDoc);
 | |
| 					break;
 | |
| 				case "NSPDEV":
 | |
| 					AddNSPDEV(myDoc);
 | |
| 					break;
 | |
| 				case "NSPARP":
 | |
| 					AddNSPARP(myDoc);
 | |
| 					break;
 | |
| 				case "NSPAB":
 | |
| 					AddNSPAB(myDoc);
 | |
| 					break;
 | |
| 				case "NSPIFG":
 | |
| 					AddNSPIFG(myDoc);
 | |
| 					break;
 | |
| 				case "NSPSAM":
 | |
| 					AddNSPSAM(myDoc);
 | |
| 					break;
 | |
| 				case "IP2":
 | |
| 					AddIP2(myDoc);
 | |
| 					break;
 | |
| 				case "FNP":
 | |
| 					AddFNP(myDoc);
 | |
| 					break;
 | |
| 				case "CAL2":
 | |
| 					AddCAL2(myDoc);
 | |
| 					break;
 | |
| 				case "CALOTO":
 | |
| 					AddCALOTO(myDoc);
 | |
| 					break;
 | |
| 				case "TUEC":
 | |
| 					AddTUEC(myDoc);
 | |
| 					break;
 | |
| 				case "CPL":
 | |
| 					AddCPL(myDoc);
 | |
| 					break;
 | |
| 				case "CPLA":
 | |
| 					AddCPLA(myDoc);
 | |
| 					break;
 | |
| 				case "CPLRDEV":
 | |
| 					AddCPLRDEV(myDoc);
 | |
| 					break;
 | |
| 				case "CWE":
 | |
| 					AddCWE(myDoc);
 | |
| 					break;
 | |
| 				case "EXCLN":
 | |
| 					AddEXCLN(myDoc);
 | |
| 					break;
 | |
| 			}
 | |
| 		}
 | |
| 
 | |
| 		private void AddCALOTO(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">      <g id=\"C22\">" +
 | |
| 				"<text x=\"8\" y=\"-11.5\" font-family=\"Courier New\" font-size=\"12\">__</text>" +
 | |
| 				"<text x=\"8\" y=\"-0.25\" font-family=\"Courier New\" font-size=\"12\">__</text>" +
 | |
| 				"<text x=\"-9.5\" y=\"-0.85\" font-family=\"Courier New\" font-size=\"12\">#</text>" +
 | |
| 				"</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[10]);
 | |
| 		}
 | |
| 
 | |
| 		private void AddCAL2(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">      <g id=\"C22\">" +
 | |
| 				"<text x=\"8\" y=\"-11.5\" font-family=\"Courier New\" font-size=\"12\">__</text>" +
 | |
| 				"<text x=\"8\" y=\"-0.25\" font-family=\"Courier New\" font-size=\"12\">__</text>" +
 | |
| 				"<text x=\"-5.95\" y=\"-0.85\" font-family=\"Courier New\" font-size=\"12\">#</text>" + 
 | |
| 				"</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[10]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">      <g id=\"B1\">" +
 | |
| 				"<rect x=\"5.35\" y=\"0\" width=\"527.3\" height=\"688.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.2\" />" +
 | |
| 				"</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[1]);
 | |
| 		}
 | |
| 
 | |
| 		private void AddFNP(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">      <g id=\"C2\">" +
 | |
| 				"<line x1=\"-12\" y1=\"1\" x2=\"6\" y2=\"1\" stroke=\"black\" stroke-width=\"0.75\" />" +
 | |
| 				"</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[4]);
 | |
| 		}
 | |
| 
 | |
| 		private void AddIP2(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">    <g id=\"C0\">" +
 | |
| 				"<ellipse cx=\"-5.1\" cy=\"-4.8\" rx=\"4.25\" ry=\"4.25\" fill=\"none\" stroke=\"black\" stroke-width=\"0.55\" />\r\n" +
 | |
| 				"<text x=\"-8.5\" y=\"0\" font-family=\"Courier New\" font-size=\"12\">*</text>\r\n" +
 | |
| 				"</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[4]);
 | |
| 		}
 | |
| 
 | |
| 		private void AddWCN2(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xd = new XmlDocument();
 | |
| 			// include the svg level so that the xmlns can be set to be the same as the generated document.
 | |
| 			xd.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\"><g id=\"B9\">" +
 | |
| 				"<rect x=\"4\" y=\"-3\" width=\"352.5\" height=\"120\" fill=\"none\" stroke=\"black\" stroke-width=\"1.2\" />\r\n" +
 | |
| 				"<line x1=\"4\" y1=\"21\" x2=\"355.5\" y2=\"21\" stroke-width=\"1.2\" />\r\n" +
 | |
| 				"<line x1=\"4\" y1=\"45\" x2=\"355.5\" y2=\"45\" stroke-width=\"1.2\" />\r\n" +
 | |
| 				"<line x1=\"4\" y1=\"69\" x2=\"355.5\" y2=\"69\" stroke-width=\"1.2\" />\r\n" +
 | |
| 				"<line x1=\"4\" y1=\"93\" x2=\"355.5\" y2=\"93\" stroke-width=\"1.2\" />\r\n" +
 | |
| 				"<line x1=\"263\" y1=\"-3\" x2=\"263\" y2=\"118\" stroke-width=\"1.2\" />\r\n" +
 | |
| 				"</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xd.DocumentElement.ChildNodes[0], true));
 | |
| 		}
 | |
| 		private void AddNSP(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"H1\">" +
 | |
| 		 "<rect x=\"0\" y=\"0\" width=\"527.2\" height=\"60.9\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<rect x=\"2.8\" y=\"2.8\" width=\"521.55\" height=\"55.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 		"<line x1=\"85\" y1=\"2.8\" x2=\"85\" y2=\"58.05\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 		"<line x1=\"430.8\" y1=\"2.8\" x2=\"430.8\" y2=\"58.05\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 		"<text x=\"5.65\" y=\"10.45\" font-family=\"Arial\" font-size=\"6.5\">Number:</text>" +
 | |
| 		"<text x=\"87.85\" y=\"10.45\" font-family=\"Arial\" font-size=\"6.5\">Title:</text>" +
 | |
| 		"<text x=\"433.7\" y=\"10.45\" font-family=\"Arial\" font-size=\"6.5\">Revision{sp}Number:</text>" +
 | |
| 		"</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[1]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"B2\">" +
 | |
| 		"<line x1=\"0\" y1=\"14.15\" x2=\"0\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<line x1=\"0\" y1=\"613.65\" x2=\"527.2\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<line x1=\"527.2\" y1=\"14.15\" x2=\"527.2\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<line x1=\"421.65\" y1=\"14.15\" x2=\"527.2\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<rect x=\"283.5\" y=\"4.95\" width=\"138.15\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<line x1=\"226.1\" y1=\"14.15\" x2=\"283.5\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<rect x=\"67.4\" y=\"4.95\" width=\"158.7\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<line x1=\"50.4\" y1=\"14.15\" x2=\"67.4\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<rect x=\"13.55\" y=\"4.95\" width=\"36.85\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<line x1=\"0.1\" y1=\"14.15\" x2=\"13.55\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 		"<text x=\"19.9\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\" font-weight=\"bold\">STEP</text>" +
 | |
| 		"<text x=\"70\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\" font-weight=\"bold\">ACTION/EXPECTED{sp}RESPONSE</text>" +
 | |
| 		"<text x=\"285.2\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\" font-weight=\"bold\">RESPONSE{sp}NOT{sp}OBTAINED</text>" +
 | |
| 		"</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[3]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">    <g id=\"B3\">" +
 | |
| "<line x1=\"0\" y1=\"14.15\" x2=\"0\" y2=\"138.85\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"0\" y1=\"138.85\" x2=\"527.2\" y2=\"138.85\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"527.2\" y1=\"14.15\" x2=\"527.2\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"421.65\" y1=\"14.15\" x2=\"527.2\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"283.5\" y=\"4.95\" width=\"138.15\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"226.1\" y1=\"14.15\" x2=\"283.5\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"67.4\" y=\"4.95\" width=\"158.7\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"50.4\" y1=\"14.15\" x2=\"67.4\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"13.55\" y=\"4.95\" width=\"36.85\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"0.1\" y1=\"14.15\" x2=\"13.55\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<text x=\"19.9\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\" font-weight=\"bold\">STEP</text>" +
 | |
| "<text x=\"70\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\" font-weight=\"bold\">ACTION/EXPECTED{sp}RESPONSE</text>" +
 | |
| "<text x=\"285.2\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\" font-weight=\"bold\">RESPONSE{sp}NOT{sp}OBTAINED</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[4]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">      <g id=\"B4\">" +
 | |
| "<line x1=\"0\" y1=\"59.5\" x2=\"0\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"0\" y1=\"613.65\" x2=\"527.2\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"527.2\" y1=\"59.5\" x2=\"527.2\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"379.8\" y1=\"59.5\" x2=\"527.2\" y2=\"59.5\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"195.55\" y=\"50.3\" width=\"184.25\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"104.85\" y1=\"59.5\" x2=\"195.55\" y2=\"59.5\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"73.7\" y=\"50.3\" width=\"31.15\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"55.3\" y1=\"59.5\" x2=\"73.7\" y2=\"59.5\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"18.45\" y=\"50.3\" width=\"36.85\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"0.05\" y1=\"59.5\" x2=\"18.45\" y2=\"59.5\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<text x=\"22.15\" y=\"63\" font-family=\"Arial\" font-size=\"10\" font-weight=\"bold\">APPLY</text>" +
 | |
| "<text x=\"76.55\" y=\"63\" font-family=\"Arial\" font-size=\"10\" font-weight=\"bold\">STEP</text>" +
 | |
| "<text x=\"229.65\" y=\"63\" font-family=\"Arial\" font-size=\"10\" font-weight=\"bold\">CONTINUOUS{sp}ACTION</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[5]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">        <g id=\"C2\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">E</text>" +
 | |
|  "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[6]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">          <g id=\"C3\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">L</text>" +
 | |
|  "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[7]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">            <g id=\"C4\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">M</text>" +
 | |
|  "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[8]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">        <g id=\"C5\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">N</text>" +
 | |
|  "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[9]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C6\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">$</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[10]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C7\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">S</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[11]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C8\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">X</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[12]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C9\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">C</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"M36\">" +
 | |
|     "<line x1=\"0\" y1=\"0\" x2=\"17\" y2=\"0\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C0\">" +
 | |
|     "<ellipse cx=\"1\" cy=\"-3.2\" rx=\"11.1\" ry=\"11.1\" fill=\"none\" stroke=\"black\" stroke-width=\"1.9\" />" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 		}
 | |
| 
 | |
| 		private void AddNSPDEV(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"H1\">" +
 | |
| 	"<rect x=\"0\" y=\"0\" width=\"527.2\" height=\"60.9\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<rect x=\"2.8\" y=\"2.8\" width=\"521.55\" height=\"55.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 	"<line x1=\"85\" y1=\"2.8\" x2=\"85\" y2=\"58.05\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 	"<line x1=\"430.8\" y1=\"2.8\" x2=\"430.8\" y2=\"58.05\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 	"<text x=\"5.65\" y=\"10.45\" font-family=\"Arial\" font-size=\"6.5\">EOP{sp}Number:</text>" +
 | |
| 	"<text x=\"87.85\" y=\"10.45\" font-family=\"Arial\" font-size=\"6.5\">Title:</text>" +
 | |
| 	"<text x=\"433.7\" y=\"10.45\" font-family=\"Arial\" font-size=\"6.5\">Revision{sp}Number:</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[1]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"B2\">" +
 | |
| 	"<line x1=\"0\" y1=\"14.15\" x2=\"0\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<line x1=\"0\" y1=\"613.65\" x2=\"527.2\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<line x1=\"527.2\" y1=\"14.15\" x2=\"527.2\" y2=\"615.05\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<line x1=\"428\" y1=\"14.15\" x2=\"527.2\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<rect x=\"270\" y=\"4.95\" width=\"158\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<line x1=\"142.45\" y1=\"14.15\" x2=\"270\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<rect x=\"85.8\" y=\"4.95\" width=\"56.65\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<line x1=\"71.65\" y1=\"14.15\" x2=\"85.8\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<rect x=\"15\" y=\"4.95\" width=\"56.65\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<line x1=\"1.55\" y1=\"14.15\" x2=\"15\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<text x=\"18.8\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\">EOP{sp}STEP</text>" +
 | |
| 	"<text x=\"89.1\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\">ERG{sp}STEP</text>" +
 | |
| 	"<text x=\"280.9\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\">DEVIATION{sp}/{sp}JUSTIFICATION</text>" +
 | |
|   "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[3]);
 | |
| 
 | |
| 		}
 | |
| 		private void AddNSPARP(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"B2\">" +
 | |
| 	"<rect x=\"-2.8\" y=\"0\" width=\"538.55\" height=\"56.65\" fill=\"none\" stroke=\"black\" stroke-width=\"1.4\" />" +
 | |
| 	"<line x1=\"110.55\" y1=\"0\" x2=\"110.55\" y2=\"56.65\" stroke=\"black\" stroke-width=\"1.4\" />" +
 | |
| 	"<line x1=\"110.55\" y1=\"28.3\" x2=\"535.7\" y2=\"28.3\" stroke=\"black\" stroke-width=\"1.4\" />" +
 | |
| 	"<text x=\"2.85\" y=\"11.3\" font-family=\"Arial\" font-size=\"7.5\">O.C.{sp}REVIEW{sp}DATE</text>" +
 | |
| 	"<text x=\"116.25\" y=\"17\" font-family=\"Arial\" font-size=\"7.5\">REVIEWED{sp}BY:</text>" +
 | |
| 	"<text x=\"116.25\" y=\"45.35\" font-family=\"Arial\" font-size=\"7.5\">APPROVED{sp}BY:</text>" +
 | |
| 	"<text x=\"379.85\" y=\"17\" font-family=\"Arial\" font-size=\"7.5\">DATE:</text>" +
 | |
| 	"<text x=\"379.85\" y=\"45.35\" font-family=\"Arial\" font-size=\"7.5\">DATE:</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[2]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"B3\">" +
 | |
| 	"<rect x=\"-2.8\" y=\"110.55\" width=\"547.05\" height=\"170.05\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| 	"<line x1=\"-2.8\" y1=\"192.75\" x2=\"544.25\" y2=\"192.75\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 	"<line x1=\"266.45\" y1=\"110.55\" x2=\"266.45\" y2=\"280.6\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 	"<line x1=\"266.45\" y1=\"223.9\" x2=\"544.2\" y2=\"223.9\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 	"<line x1=\"283.45\" y1=\"124.7\" x2=\"524.35\" y2=\"124.7\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| 	"<text x=\"382.7\" y=\"121.85\" font-family=\"Arial\" font-size=\"10\">Alarm</text>" +
 | |
| 	"<text x=\"340.15\" y=\"204.05\" font-family=\"Arial\" font-size=\"10\">Approximate{sp}Setpoints</text>" +
 | |
| 	"<text x=\"311.8\" y=\"219.65\" font-family=\"Arial\" font-size=\"10\">Tripped</text>" +
 | |
| 	"<text x=\"456.4\" y=\"219.65\" font-family=\"Arial\" font-size=\"10\">Reset</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[3]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"B4\">" +
 | |
| 	"<ellipse cx=\"11.4\" cy=\"128.675\" rx=\"11.325\" ry=\"11.325\" fill=\"none\" stroke=\"black\" stroke-width=\"1.95\" />" +
 | |
| 	"<text x=\"2.85\" y=\"133.2\" font-family=\"Arial\" font-size=\"14\" font-weight=\"bold\">TD</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[4]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C2\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">E</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[7]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C3\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">L</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[8]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C4\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">M</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[9]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C5\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">N</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[10]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C6\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">$</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[11]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C7\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">S</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[12]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C8\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">X</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[13]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C9\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">C</text>" +
 | |
|   "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[14]);
 | |
| 
 | |
| 		}
 | |
| 		private void AddNSPAB(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C2\"> " +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">E</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[7]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C3\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">L</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[8]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C4\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">M</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[9]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C5\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">N</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[10]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C6\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">$</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[11]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C7\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">S</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[12]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C8\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">X</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[13]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C9\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">C</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"M36\">" +
 | |
| "<line x1=\"0\" y1=\"0\" x2=\"17\" y2=\"0\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"\">" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 		}
 | |
| 		private void AddNSPIFG(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"B2\">" +
 | |
| "<rect x=\"-2.8\" y=\"0\" width=\"538.55\" height=\"56.65\" fill=\"none\" stroke=\"black\" stroke-width=\"1.4\" />" +
 | |
| "<line x1=\"110.55\" y1=\"0\" x2=\"110.55\" y2=\"56.65\" stroke=\"black\" stroke-width=\"1.4\" />" +
 | |
| "<line x1=\"110.55\" y1=\"28.3\" x2=\"535.7\" y2=\"28.3\" stroke=\"black\" stroke-width=\"1.4\" />" +
 | |
| "<text x=\"2.85\" y=\"11.3\" font-family=\"Arial\" font-size=\"6.5\">O.C.{sp}REVIEW{sp}DATE</text>" +
 | |
| "<text x=\"116.25\" y=\"17\" font-family=\"Arial\" font-size=\"6.5\">REVIEWED{sp}BY:</text>" +
 | |
| "<text x=\"116.25\" y=\"45.35\" font-family=\"Arial\" font-size=\"6.5\">APPROVED{sp}BY:</text>" +
 | |
| "<text x=\"379.85\" y=\"17\" font-family=\"Arial\" font-size=\"6.5\">DATE:</text>" +
 | |
| "<text x=\"379.85\" y=\"45.35\" font-family=\"Arial\" font-size=\"6.5\">DATE:</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[2]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">    <g id=\"B3\">" +
 | |
| "<rect x=\"-2.8\" y=\"110.55\" width=\"547.05\" height=\"170.05\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"-2.8\" y1=\"192.75\" x2=\"544.25\" y2=\"192.75\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| "<line x1=\"266.45\" y1=\"110.55\" x2=\"266.45\" y2=\"280.6\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| "<line x1=\"266.45\" y1=\"223.9\" x2=\"544.2\" y2=\"223.9\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| "<line x1=\"283.45\" y1=\"124.7\" x2=\"524.35\" y2=\"124.7\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| "<text x=\"382.7\" y=\"121.85\" font-family=\"Arial\" font-size=\"6.5\">Alarm</text>" +
 | |
| "<text x=\"340.15\" y=\"204.05\" font-family=\"Arial\" font-size=\"6.5\">Approximate{sp}Setpoints</text>" +
 | |
| "<text x=\"311.8\" y=\"219.65\" font-family=\"Arial\" font-size=\"6.5\">Tripped</text>" +
 | |
| "<text x=\"456.4\" y=\"219.65\" font-family=\"Arial\" font-size=\"6.5\">Reset</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[3]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">    <g id=\"B4\">" +
 | |
| "<text x=\"27.45\" y=\"125\" font-family=\"Arial\" font-size=\"6.5\">TD</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[4]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">    <g id=\"C2\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">E</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[7]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">    <g id=\"C3\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">L</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[8]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">    <g id=\"C4\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">M</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[9]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">    <g id=\"C5\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">N</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[10]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">    <g id=\"C6\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">$</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[11]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C7\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">S</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C8\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">X</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C9\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">C</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 		}
 | |
| 		private void AddNSPSAM(XmlDocument myDoc)
 | |
| 		{
 | |
| 			XmlDocument xdNew = new XmlDocument();
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"H1\">" +
 | |
| "<rect x=\"0\" y=\"0\" width=\"527.2\" height=\"60.9\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"2.8\" y=\"2.8\" width=\"521.55\" height=\"55.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| "<line x1=\"85\" y1=\"2.8\" x2=\"85\" y2=\"58.05\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| "<line x1=\"430.8\" y1=\"2.8\" x2=\"430.8\" y2=\"58.05\" stroke=\"black\" stroke-width=\"1.1\" />" +
 | |
| "<text x=\"5.65\" y=\"10.45\" font-family=\"Arial\" font-size=\"6.5\">Number:</text>" +
 | |
| "<text x=\"87.85\" y=\"10.45\" font-family=\"Arial\" font-size=\"6.5\">Title:</text>" +
 | |
| "<text x=\"433.7\" y=\"10.45\" font-family=\"Arial\" font-size=\"6.5\">Revision{sp}Number:</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[1]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"B2\">" +
 | |
| "<line x1=\"0\" y1=\"14.15\" x2=\"0\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"0\" y1=\"613.65\" x2=\"527.2\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"527.2\" y1=\"14.15\" x2=\"527.2\" y2=\"613.65\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"421.65\" y1=\"14.15\" x2=\"527.2\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"283.5\" y=\"4.95\" width=\"138.15\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"226.1\" y1=\"14.15\" x2=\"283.5\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"67.4\" y=\"4.95\" width=\"158.7\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"50.4\" y1=\"14.15\" x2=\"67.4\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<rect x=\"13.55\" y=\"4.95\" width=\"36.85\" height=\"21.25\" fill=\"none\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<line x1=\"0.1\" y1=\"14.15\" x2=\"13.55\" y2=\"14.15\" stroke=\"black\" stroke-width=\"1.7\" />" +
 | |
| "<text x=\"19.9\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\">STEP</text>" +
 | |
| "<text x=\"75.75\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\">ACTION/EXPECTED{sp}RESPONSE</text>" +
 | |
| "<text x=\"289.8\" y=\"17.65\" font-family=\"Arial\" font-size=\"10\">RESPONSE{sp}NOT{sp}OBTAINED</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[3]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C2\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">E</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[4]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C3\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">L</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[5]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C4\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">M</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[6]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C5\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">N</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[7]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">  <g id=\"C6\">" +
 | |
| "<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">$</text>" +
 | |
| "</g></svg>");
 | |
| 
 | |
| 			myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[8]);
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C7\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">S</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C8\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">X</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 			xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\">               <g id=\"C9\">" +
 | |
| 	"<text x=\"-32.55\" y=\"0\" font-family=\"Arial\" font-size=\"10\">C</text>" +
 | |
| "</g></svg>");
 | |
| 			myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
 | |
| 
 | |
| 		}
 | |
| 	}
 | |
| }
 |