diff --git a/PROMS/Formats/fmtall/AEPAPPRall.xml b/PROMS/Formats/fmtall/AEPAPPRall.xml index 8f7b9f11..281c30cb 100644 Binary files a/PROMS/Formats/fmtall/AEPAPPRall.xml and b/PROMS/Formats/fmtall/AEPAPPRall.xml differ diff --git a/PROMS/Formats/fmtall/AEPCHID_00all.xml b/PROMS/Formats/fmtall/AEPCHID_00all.xml index 44256210..5b8df9f7 100644 Binary files a/PROMS/Formats/fmtall/AEPCHID_00all.xml and b/PROMS/Formats/fmtall/AEPCHID_00all.xml differ diff --git a/PROMS/Formats/fmtall/AEPCHIDall.xml b/PROMS/Formats/fmtall/AEPCHIDall.xml index 7d605626..f23e30bc 100644 Binary files a/PROMS/Formats/fmtall/AEPCHIDall.xml and b/PROMS/Formats/fmtall/AEPCHIDall.xml differ diff --git a/PROMS/Formats/fmtall/AEPDEVall.xml b/PROMS/Formats/fmtall/AEPDEVall.xml index 00b1fe76..f09fd5a0 100644 Binary files a/PROMS/Formats/fmtall/AEPDEVall.xml and b/PROMS/Formats/fmtall/AEPDEVall.xml differ diff --git a/PROMS/Formats/fmtall/AEPSAMGFPall.xml b/PROMS/Formats/fmtall/AEPSAMGFPall.xml index 08fed244..170b6e4c 100644 Binary files a/PROMS/Formats/fmtall/AEPSAMGFPall.xml and b/PROMS/Formats/fmtall/AEPSAMGFPall.xml differ diff --git a/PROMS/Formats/fmtall/AEPSAMG_01all.xml b/PROMS/Formats/fmtall/AEPSAMG_01all.xml index eed16e42..40cb55c8 100644 Binary files a/PROMS/Formats/fmtall/AEPSAMG_01all.xml and b/PROMS/Formats/fmtall/AEPSAMG_01all.xml differ diff --git a/PROMS/Formats/fmtall/AEPSAMG_02all.xml b/PROMS/Formats/fmtall/AEPSAMG_02all.xml index 1b647254..e5932e82 100644 Binary files a/PROMS/Formats/fmtall/AEPSAMG_02all.xml and b/PROMS/Formats/fmtall/AEPSAMG_02all.xml differ diff --git a/PROMS/Formats/fmtall/AEPSAMGall.xml b/PROMS/Formats/fmtall/AEPSAMGall.xml index deb0b289..2003588c 100644 Binary files a/PROMS/Formats/fmtall/AEPSAMGall.xml and b/PROMS/Formats/fmtall/AEPSAMGall.xml differ diff --git a/PROMS/Formats/fmtall/AEP_00all.xml b/PROMS/Formats/fmtall/AEP_00all.xml index 340d6811..3dbb09c3 100644 Binary files a/PROMS/Formats/fmtall/AEP_00all.xml and b/PROMS/Formats/fmtall/AEP_00all.xml differ diff --git a/PROMS/Formats/fmtall/AEP_01all.xml b/PROMS/Formats/fmtall/AEP_01all.xml index 112568da..ee599216 100644 Binary files a/PROMS/Formats/fmtall/AEP_01all.xml and b/PROMS/Formats/fmtall/AEP_01all.xml differ diff --git a/PROMS/Formats/fmtall/AEP_02all.xml b/PROMS/Formats/fmtall/AEP_02all.xml index 00f02386..cd20bc82 100644 Binary files a/PROMS/Formats/fmtall/AEP_02all.xml and b/PROMS/Formats/fmtall/AEP_02all.xml differ diff --git a/PROMS/Formats/fmtall/AEPall.xml b/PROMS/Formats/fmtall/AEPall.xml index f05612c1..0aeb6110 100644 Binary files a/PROMS/Formats/fmtall/AEPall.xml and b/PROMS/Formats/fmtall/AEPall.xml differ diff --git a/PROMS/Formats/fmtall/BASEall.xml b/PROMS/Formats/fmtall/BASEall.xml index e08cd3f3..acf7b62d 100644 Binary files a/PROMS/Formats/fmtall/BASEall.xml and b/PROMS/Formats/fmtall/BASEall.xml differ diff --git a/PROMS/Formats/fmtall/BGEALNall.xml b/PROMS/Formats/fmtall/BGEALNall.xml index bd58d61a..7a3136f9 100644 Binary files a/PROMS/Formats/fmtall/BGEALNall.xml and b/PROMS/Formats/fmtall/BGEALNall.xml differ diff --git a/PROMS/Formats/fmtall/BGEEOP_00all.xml b/PROMS/Formats/fmtall/BGEEOP_00all.xml index 79e13513..65f648ae 100644 Binary files a/PROMS/Formats/fmtall/BGEEOP_00all.xml and b/PROMS/Formats/fmtall/BGEEOP_00all.xml differ diff --git a/PROMS/Formats/fmtall/BGEEOPall.xml b/PROMS/Formats/fmtall/BGEEOPall.xml index 509dc770..e5e1c8c9 100644 Binary files a/PROMS/Formats/fmtall/BGEEOPall.xml and b/PROMS/Formats/fmtall/BGEEOPall.xml differ diff --git a/PROMS/Formats/fmtall/BGEOI_00all.xml b/PROMS/Formats/fmtall/BGEOI_00all.xml index 3964d454..423c88d2 100644 Binary files a/PROMS/Formats/fmtall/BGEOI_00all.xml and b/PROMS/Formats/fmtall/BGEOI_00all.xml differ diff --git a/PROMS/Formats/fmtall/BGEOIall.xml b/PROMS/Formats/fmtall/BGEOIall.xml index ed699d05..23460136 100644 Binary files a/PROMS/Formats/fmtall/BGEOIall.xml and b/PROMS/Formats/fmtall/BGEOIall.xml differ diff --git a/PROMS/Formats/fmtall/BGESAM1all.xml b/PROMS/Formats/fmtall/BGESAM1all.xml index 6ec07e2d..2a357cd3 100644 Binary files a/PROMS/Formats/fmtall/BGESAM1all.xml and b/PROMS/Formats/fmtall/BGESAM1all.xml differ diff --git a/PROMS/Formats/fmtall/BGESTPall.xml b/PROMS/Formats/fmtall/BGESTPall.xml index ef860c71..4a865807 100644 Binary files a/PROMS/Formats/fmtall/BGESTPall.xml and b/PROMS/Formats/fmtall/BGESTPall.xml differ diff --git a/PROMS/Formats/fmtall/BGEVLall.xml b/PROMS/Formats/fmtall/BGEVLall.xml index d7758ad0..b616c0b9 100644 Binary files a/PROMS/Formats/fmtall/BGEVLall.xml and b/PROMS/Formats/fmtall/BGEVLall.xml differ diff --git a/PROMS/Formats/fmtall/BNPP1Newall.xml b/PROMS/Formats/fmtall/BNPP1Newall.xml index 03598b46..d13df054 100644 Binary files a/PROMS/Formats/fmtall/BNPP1Newall.xml and b/PROMS/Formats/fmtall/BNPP1Newall.xml differ diff --git a/PROMS/Formats/fmtall/BNPP1all.xml b/PROMS/Formats/fmtall/BNPP1all.xml index 3124199c..1d176017 100644 Binary files a/PROMS/Formats/fmtall/BNPP1all.xml and b/PROMS/Formats/fmtall/BNPP1all.xml differ diff --git a/PROMS/Formats/fmtall/BNPP2all.xml b/PROMS/Formats/fmtall/BNPP2all.xml index cf4a64a5..bd86f544 100644 Binary files a/PROMS/Formats/fmtall/BNPP2all.xml and b/PROMS/Formats/fmtall/BNPP2all.xml differ diff --git a/PROMS/Formats/fmtall/BNPPalrall.xml b/PROMS/Formats/fmtall/BNPPalrall.xml index 07790626..9cf45bab 100644 Binary files a/PROMS/Formats/fmtall/BNPPalrall.xml and b/PROMS/Formats/fmtall/BNPPalrall.xml differ diff --git a/PROMS/Formats/fmtall/BNPPbckall.xml b/PROMS/Formats/fmtall/BNPPbckall.xml index bd713ef6..6bf87d17 100644 Binary files a/PROMS/Formats/fmtall/BNPPbckall.xml and b/PROMS/Formats/fmtall/BNPPbckall.xml differ diff --git a/PROMS/Formats/fmtall/BNPPsamall.xml b/PROMS/Formats/fmtall/BNPPsamall.xml index a12ccd11..85912464 100644 Binary files a/PROMS/Formats/fmtall/BNPPsamall.xml and b/PROMS/Formats/fmtall/BNPPsamall.xml differ diff --git a/PROMS/Formats/fmtall/BVPS1all.xml b/PROMS/Formats/fmtall/BVPS1all.xml index a4691897..348196de 100644 Binary files a/PROMS/Formats/fmtall/BVPS1all.xml and b/PROMS/Formats/fmtall/BVPS1all.xml differ diff --git a/PROMS/Formats/fmtall/BVPS2all.xml b/PROMS/Formats/fmtall/BVPS2all.xml index 857e126c..cbcb3d01 100644 Binary files a/PROMS/Formats/fmtall/BVPS2all.xml and b/PROMS/Formats/fmtall/BVPS2all.xml differ diff --git a/PROMS/Formats/fmtall/BVPSAOPDEVall.xml b/PROMS/Formats/fmtall/BVPSAOPDEVall.xml index 68499889..fa295fdc 100644 Binary files a/PROMS/Formats/fmtall/BVPSAOPDEVall.xml and b/PROMS/Formats/fmtall/BVPSAOPDEVall.xml differ diff --git a/PROMS/Formats/fmtall/BVPSAOPall.xml b/PROMS/Formats/fmtall/BVPSAOPall.xml index 0e5b5940..70b95669 100644 Binary files a/PROMS/Formats/fmtall/BVPSAOPall.xml and b/PROMS/Formats/fmtall/BVPSAOPall.xml differ diff --git a/PROMS/Formats/fmtall/BVPSAtchall.xml b/PROMS/Formats/fmtall/BVPSAtchall.xml index 0c3648c9..f085aaae 100644 Binary files a/PROMS/Formats/fmtall/BVPSAtchall.xml and b/PROMS/Formats/fmtall/BVPSAtchall.xml differ diff --git a/PROMS/Formats/fmtall/BVPSBCKall.xml b/PROMS/Formats/fmtall/BVPSBCKall.xml index 78d3157f..537ea5d3 100644 Binary files a/PROMS/Formats/fmtall/BVPSBCKall.xml and b/PROMS/Formats/fmtall/BVPSBCKall.xml differ diff --git a/PROMS/Formats/fmtall/BVPSDEVall.xml b/PROMS/Formats/fmtall/BVPSDEVall.xml index e628f256..7911d58a 100644 Binary files a/PROMS/Formats/fmtall/BVPSDEVall.xml and b/PROMS/Formats/fmtall/BVPSDEVall.xml differ diff --git a/PROMS/Formats/fmtall/BVPSFlexDEVall.xml b/PROMS/Formats/fmtall/BVPSFlexDEVall.xml index b6bd7688..da6ceabc 100644 Binary files a/PROMS/Formats/fmtall/BVPSFlexDEVall.xml and b/PROMS/Formats/fmtall/BVPSFlexDEVall.xml differ diff --git a/PROMS/Formats/fmtall/BVPSNIBCKall.xml b/PROMS/Formats/fmtall/BVPSNIBCKall.xml index 9f397685..150a0e99 100644 Binary files a/PROMS/Formats/fmtall/BVPSNIBCKall.xml and b/PROMS/Formats/fmtall/BVPSNIBCKall.xml differ diff --git a/PROMS/Formats/fmtall/BVPSSAMGBCKall.xml b/PROMS/Formats/fmtall/BVPSSAMGBCKall.xml index 1ed04d9e..8468c05e 100644 Binary files a/PROMS/Formats/fmtall/BVPSSAMGBCKall.xml and b/PROMS/Formats/fmtall/BVPSSAMGBCKall.xml differ diff --git a/PROMS/Formats/fmtall/BVPSSAMGDEVall.xml b/PROMS/Formats/fmtall/BVPSSAMGDEVall.xml index 146414c1..d2566122 100644 Binary files a/PROMS/Formats/fmtall/BVPSSAMGDEVall.xml and b/PROMS/Formats/fmtall/BVPSSAMGDEVall.xml differ diff --git a/PROMS/Formats/fmtall/BVPSSAMGall.xml b/PROMS/Formats/fmtall/BVPSSAMGall.xml index 500af731..3830ed6c 100644 Binary files a/PROMS/Formats/fmtall/BVPSSAMGall.xml and b/PROMS/Formats/fmtall/BVPSSAMGall.xml differ diff --git a/PROMS/Formats/fmtall/CAL1all.xml b/PROMS/Formats/fmtall/CAL1all.xml index b584e1ab..30754760 100644 Binary files a/PROMS/Formats/fmtall/CAL1all.xml and b/PROMS/Formats/fmtall/CAL1all.xml differ diff --git a/PROMS/Formats/fmtall/CAL2_00all.xml b/PROMS/Formats/fmtall/CAL2_00all.xml index 2cceeba1..aae83cbe 100644 Binary files a/PROMS/Formats/fmtall/CAL2_00all.xml and b/PROMS/Formats/fmtall/CAL2_00all.xml differ diff --git a/PROMS/Formats/fmtall/CAL2all.xml b/PROMS/Formats/fmtall/CAL2all.xml index 53fc979c..87f3ee82 100644 Binary files a/PROMS/Formats/fmtall/CAL2all.xml and b/PROMS/Formats/fmtall/CAL2all.xml differ diff --git a/PROMS/Formats/fmtall/CALBCKall.xml b/PROMS/Formats/fmtall/CALBCKall.xml index b77bfad2..e6dbf06d 100644 Binary files a/PROMS/Formats/fmtall/CALBCKall.xml and b/PROMS/Formats/fmtall/CALBCKall.xml differ diff --git a/PROMS/Formats/fmtall/CALFSGBCKall.xml b/PROMS/Formats/fmtall/CALFSGBCKall.xml index f8324ab1..47738900 100644 Binary files a/PROMS/Formats/fmtall/CALFSGBCKall.xml and b/PROMS/Formats/fmtall/CALFSGBCKall.xml differ diff --git a/PROMS/Formats/fmtall/CALOTOall.xml b/PROMS/Formats/fmtall/CALOTOall.xml index 16b95356..db3d8424 100644 Binary files a/PROMS/Formats/fmtall/CALOTOall.xml and b/PROMS/Formats/fmtall/CALOTOall.xml differ diff --git a/PROMS/Formats/fmtall/CALSAMall.xml b/PROMS/Formats/fmtall/CALSAMall.xml index 443c285c..c0e6e7fc 100644 Binary files a/PROMS/Formats/fmtall/CALSAMall.xml and b/PROMS/Formats/fmtall/CALSAMall.xml differ diff --git a/PROMS/Formats/fmtall/CATADEVall.xml b/PROMS/Formats/fmtall/CATADEVall.xml index 98e11afb..9fb46055 100644 Binary files a/PROMS/Formats/fmtall/CATADEVall.xml and b/PROMS/Formats/fmtall/CATADEVall.xml differ diff --git a/PROMS/Formats/fmtall/CATBOXall.xml b/PROMS/Formats/fmtall/CATBOXall.xml index b36ef9ea..820c42c9 100644 Binary files a/PROMS/Formats/fmtall/CATBOXall.xml and b/PROMS/Formats/fmtall/CATBOXall.xml differ diff --git a/PROMS/Formats/fmtall/CATDEVall.xml b/PROMS/Formats/fmtall/CATDEVall.xml index 7de7047a..891b720e 100644 Binary files a/PROMS/Formats/fmtall/CATDEVall.xml and b/PROMS/Formats/fmtall/CATDEVall.xml differ diff --git a/PROMS/Formats/fmtall/CATEBCKall.xml b/PROMS/Formats/fmtall/CATEBCKall.xml index bcc3cae5..d31a021c 100644 Binary files a/PROMS/Formats/fmtall/CATEBCKall.xml and b/PROMS/Formats/fmtall/CATEBCKall.xml differ diff --git a/PROMS/Formats/fmtall/CATSAMall.xml b/PROMS/Formats/fmtall/CATSAMall.xml index cb87727e..e9614ae2 100644 Binary files a/PROMS/Formats/fmtall/CATSAMall.xml and b/PROMS/Formats/fmtall/CATSAMall.xml differ diff --git a/PROMS/Formats/fmtall/CATall.xml b/PROMS/Formats/fmtall/CATall.xml index 423c553b..57915e32 100644 Binary files a/PROMS/Formats/fmtall/CATall.xml and b/PROMS/Formats/fmtall/CATall.xml differ diff --git a/PROMS/Formats/fmtall/CPBCK2NHCall.xml b/PROMS/Formats/fmtall/CPBCK2NHCall.xml index 56f42580..f52712fc 100644 Binary files a/PROMS/Formats/fmtall/CPBCK2NHCall.xml and b/PROMS/Formats/fmtall/CPBCK2NHCall.xml differ diff --git a/PROMS/Formats/fmtall/CPBCK2all.xml b/PROMS/Formats/fmtall/CPBCK2all.xml index 927f93aa..41fb44e3 100644 Binary files a/PROMS/Formats/fmtall/CPBCK2all.xml and b/PROMS/Formats/fmtall/CPBCK2all.xml differ diff --git a/PROMS/Formats/fmtall/CPBCKNHC_00all.xml b/PROMS/Formats/fmtall/CPBCKNHC_00all.xml index a600eed9..daa3a4ef 100644 Binary files a/PROMS/Formats/fmtall/CPBCKNHC_00all.xml and b/PROMS/Formats/fmtall/CPBCKNHC_00all.xml differ diff --git a/PROMS/Formats/fmtall/CPBCKNHC_01all.xml b/PROMS/Formats/fmtall/CPBCKNHC_01all.xml index 386ce9fe..d9e89796 100644 Binary files a/PROMS/Formats/fmtall/CPBCKNHC_01all.xml and b/PROMS/Formats/fmtall/CPBCKNHC_01all.xml differ diff --git a/PROMS/Formats/fmtall/CPBCKNHCall.xml b/PROMS/Formats/fmtall/CPBCKNHCall.xml index 139f6851..ddac1c5a 100644 Binary files a/PROMS/Formats/fmtall/CPBCKNHCall.xml and b/PROMS/Formats/fmtall/CPBCKNHCall.xml differ diff --git a/PROMS/Formats/fmtall/CPBCK_00all.xml b/PROMS/Formats/fmtall/CPBCK_00all.xml index 9cda4a6c..bb7bcd67 100644 Binary files a/PROMS/Formats/fmtall/CPBCK_00all.xml and b/PROMS/Formats/fmtall/CPBCK_00all.xml differ diff --git a/PROMS/Formats/fmtall/CPBCK_01all.xml b/PROMS/Formats/fmtall/CPBCK_01all.xml index d42d1ef9..93fca284 100644 Binary files a/PROMS/Formats/fmtall/CPBCK_01all.xml and b/PROMS/Formats/fmtall/CPBCK_01all.xml differ diff --git a/PROMS/Formats/fmtall/CPBCKall.xml b/PROMS/Formats/fmtall/CPBCKall.xml index 1011cb56..d476b8b5 100644 Binary files a/PROMS/Formats/fmtall/CPBCKall.xml and b/PROMS/Formats/fmtall/CPBCKall.xml differ diff --git a/PROMS/Formats/fmtall/CPDEVall.xml b/PROMS/Formats/fmtall/CPDEVall.xml index de28c2d3..cbe47358 100644 Binary files a/PROMS/Formats/fmtall/CPDEVall.xml and b/PROMS/Formats/fmtall/CPDEVall.xml differ diff --git a/PROMS/Formats/fmtall/CPFDEVall.xml b/PROMS/Formats/fmtall/CPFDEVall.xml index 44247a28..71cdce58 100644 Binary files a/PROMS/Formats/fmtall/CPFDEVall.xml and b/PROMS/Formats/fmtall/CPFDEVall.xml differ diff --git a/PROMS/Formats/fmtall/CPFDataall.xml b/PROMS/Formats/fmtall/CPFDataall.xml index 1d0481ba..054e6b46 100644 Binary files a/PROMS/Formats/fmtall/CPFDataall.xml and b/PROMS/Formats/fmtall/CPFDataall.xml differ diff --git a/PROMS/Formats/fmtall/CPLAall.xml b/PROMS/Formats/fmtall/CPLAall.xml index 23bc820e..9037b47b 100644 Binary files a/PROMS/Formats/fmtall/CPLAall.xml and b/PROMS/Formats/fmtall/CPLAall.xml differ diff --git a/PROMS/Formats/fmtall/CPLRDEVall.xml b/PROMS/Formats/fmtall/CPLRDEVall.xml index c130953e..68edea59 100644 Binary files a/PROMS/Formats/fmtall/CPLRDEVall.xml and b/PROMS/Formats/fmtall/CPLRDEVall.xml differ diff --git a/PROMS/Formats/fmtall/CPLS2all.xml b/PROMS/Formats/fmtall/CPLS2all.xml index 99491631..0d84c250 100644 Binary files a/PROMS/Formats/fmtall/CPLS2all.xml and b/PROMS/Formats/fmtall/CPLS2all.xml differ diff --git a/PROMS/Formats/fmtall/CPLSAMall.xml b/PROMS/Formats/fmtall/CPLSAMall.xml index ebe547a8..5cef1de4 100644 Binary files a/PROMS/Formats/fmtall/CPLSAMall.xml and b/PROMS/Formats/fmtall/CPLSAMall.xml differ diff --git a/PROMS/Formats/fmtall/CPLSDEVall.xml b/PROMS/Formats/fmtall/CPLSDEVall.xml index d87cba46..520bded3 100644 Binary files a/PROMS/Formats/fmtall/CPLSDEVall.xml and b/PROMS/Formats/fmtall/CPLSDEVall.xml differ diff --git a/PROMS/Formats/fmtall/CPLSSDDall.xml b/PROMS/Formats/fmtall/CPLSSDDall.xml index 53c6b5df..0fc020c5 100644 Binary files a/PROMS/Formats/fmtall/CPLSSDDall.xml and b/PROMS/Formats/fmtall/CPLSSDDall.xml differ diff --git a/PROMS/Formats/fmtall/CPLSSUMall.xml b/PROMS/Formats/fmtall/CPLSSUMall.xml index 01a9ccd6..b88d5fdf 100644 Binary files a/PROMS/Formats/fmtall/CPLSSUMall.xml and b/PROMS/Formats/fmtall/CPLSSUMall.xml differ diff --git a/PROMS/Formats/fmtall/CPLSall.xml b/PROMS/Formats/fmtall/CPLSall.xml index 23268ada..f2cdd5d6 100644 Binary files a/PROMS/Formats/fmtall/CPLSall.xml and b/PROMS/Formats/fmtall/CPLSall.xml differ diff --git a/PROMS/Formats/fmtall/CPL_00all.xml b/PROMS/Formats/fmtall/CPL_00all.xml index a260a028..1f20da7e 100644 Binary files a/PROMS/Formats/fmtall/CPL_00all.xml and b/PROMS/Formats/fmtall/CPL_00all.xml differ diff --git a/PROMS/Formats/fmtall/CPL_01all.xml b/PROMS/Formats/fmtall/CPL_01all.xml index dfc8520e..ec953701 100644 Binary files a/PROMS/Formats/fmtall/CPL_01all.xml and b/PROMS/Formats/fmtall/CPL_01all.xml differ diff --git a/PROMS/Formats/fmtall/CPL_02all.xml b/PROMS/Formats/fmtall/CPL_02all.xml index bfaceb42..2ce46c39 100644 Binary files a/PROMS/Formats/fmtall/CPL_02all.xml and b/PROMS/Formats/fmtall/CPL_02all.xml differ diff --git a/PROMS/Formats/fmtall/CPL_03all.xml b/PROMS/Formats/fmtall/CPL_03all.xml index dca4a687..ed9f7660 100644 Binary files a/PROMS/Formats/fmtall/CPL_03all.xml and b/PROMS/Formats/fmtall/CPL_03all.xml differ diff --git a/PROMS/Formats/fmtall/CPLall.xml b/PROMS/Formats/fmtall/CPLall.xml index a96ee31b..590e163a 100644 Binary files a/PROMS/Formats/fmtall/CPLall.xml and b/PROMS/Formats/fmtall/CPLall.xml differ diff --git a/PROMS/Formats/fmtall/CPSAMGDEVall.xml b/PROMS/Formats/fmtall/CPSAMGDEVall.xml index ea200aaf..a785b79a 100644 Binary files a/PROMS/Formats/fmtall/CPSAMGDEVall.xml and b/PROMS/Formats/fmtall/CPSAMGDEVall.xml differ diff --git a/PROMS/Formats/fmtall/CPSAMGDataall.xml b/PROMS/Formats/fmtall/CPSAMGDataall.xml index bb413c1e..1cad3459 100644 Binary files a/PROMS/Formats/fmtall/CPSAMGDataall.xml and b/PROMS/Formats/fmtall/CPSAMGDataall.xml differ diff --git a/PROMS/Formats/fmtall/CWEDEVall.xml b/PROMS/Formats/fmtall/CWEDEVall.xml index e1b7e678..6027974e 100644 Binary files a/PROMS/Formats/fmtall/CWEDEVall.xml and b/PROMS/Formats/fmtall/CWEDEVall.xml differ diff --git a/PROMS/Formats/fmtall/CWER_00all.xml b/PROMS/Formats/fmtall/CWER_00all.xml index 98de1dcf..5e807c24 100644 Binary files a/PROMS/Formats/fmtall/CWER_00all.xml and b/PROMS/Formats/fmtall/CWER_00all.xml differ diff --git a/PROMS/Formats/fmtall/CWER_01all.xml b/PROMS/Formats/fmtall/CWER_01all.xml index eda02b59..5ea51cf1 100644 Binary files a/PROMS/Formats/fmtall/CWER_01all.xml and b/PROMS/Formats/fmtall/CWER_01all.xml differ diff --git a/PROMS/Formats/fmtall/CWERall.xml b/PROMS/Formats/fmtall/CWERall.xml index d87c0579..80434193 100644 Binary files a/PROMS/Formats/fmtall/CWERall.xml and b/PROMS/Formats/fmtall/CWERall.xml differ diff --git a/PROMS/Formats/fmtall/CWE_00all.xml b/PROMS/Formats/fmtall/CWE_00all.xml index bca6a430..83325fc8 100644 Binary files a/PROMS/Formats/fmtall/CWE_00all.xml and b/PROMS/Formats/fmtall/CWE_00all.xml differ diff --git a/PROMS/Formats/fmtall/CWE_01all.xml b/PROMS/Formats/fmtall/CWE_01all.xml index 811f09d1..6f9cf99a 100644 Binary files a/PROMS/Formats/fmtall/CWE_01all.xml and b/PROMS/Formats/fmtall/CWE_01all.xml differ diff --git a/PROMS/Formats/fmtall/CWEall.xml b/PROMS/Formats/fmtall/CWEall.xml index 0dbf6262..03a51696 100644 Binary files a/PROMS/Formats/fmtall/CWEall.xml and b/PROMS/Formats/fmtall/CWEall.xml differ diff --git a/PROMS/Formats/fmtall/ComPeakFlex11all.xml b/PROMS/Formats/fmtall/ComPeakFlex11all.xml index 6ba67177..fda1c8f8 100644 Binary files a/PROMS/Formats/fmtall/ComPeakFlex11all.xml and b/PROMS/Formats/fmtall/ComPeakFlex11all.xml differ diff --git a/PROMS/Formats/fmtall/ComPeakFlexall.xml b/PROMS/Formats/fmtall/ComPeakFlexall.xml index 1a134506..aa9cb01a 100644 Binary files a/PROMS/Formats/fmtall/ComPeakFlexall.xml and b/PROMS/Formats/fmtall/ComPeakFlexall.xml differ diff --git a/PROMS/Formats/fmtall/EBCKall.xml b/PROMS/Formats/fmtall/EBCKall.xml index e9120c57..0e1e729e 100644 Binary files a/PROMS/Formats/fmtall/EBCKall.xml and b/PROMS/Formats/fmtall/EBCKall.xml differ diff --git a/PROMS/Formats/fmtall/EFSGBCKall.xml b/PROMS/Formats/fmtall/EFSGBCKall.xml index de6c2ae5..95a44100 100644 Binary files a/PROMS/Formats/fmtall/EFSGBCKall.xml and b/PROMS/Formats/fmtall/EFSGBCKall.xml differ diff --git a/PROMS/Formats/fmtall/ELFDEVall.xml b/PROMS/Formats/fmtall/ELFDEVall.xml index a981400b..5b762e4b 100644 Binary files a/PROMS/Formats/fmtall/ELFDEVall.xml and b/PROMS/Formats/fmtall/ELFDEVall.xml differ diff --git a/PROMS/Formats/fmtall/ENall.xml b/PROMS/Formats/fmtall/ENall.xml index a7b8cd99..573856f7 100644 Binary files a/PROMS/Formats/fmtall/ENall.xml and b/PROMS/Formats/fmtall/ENall.xml differ diff --git a/PROMS/Formats/fmtall/ESFDEVall.xml b/PROMS/Formats/fmtall/ESFDEVall.xml index afefb549..e4935080 100644 Binary files a/PROMS/Formats/fmtall/ESFDEVall.xml and b/PROMS/Formats/fmtall/ESFDEVall.xml differ diff --git a/PROMS/Formats/fmtall/EXCLN_00all.xml b/PROMS/Formats/fmtall/EXCLN_00all.xml index bf47abeb..cdca5f29 100644 Binary files a/PROMS/Formats/fmtall/EXCLN_00all.xml and b/PROMS/Formats/fmtall/EXCLN_00all.xml differ diff --git a/PROMS/Formats/fmtall/EXCLN_01all.xml b/PROMS/Formats/fmtall/EXCLN_01all.xml index 1d7e5495..885f8e09 100644 Binary files a/PROMS/Formats/fmtall/EXCLN_01all.xml and b/PROMS/Formats/fmtall/EXCLN_01all.xml differ diff --git a/PROMS/Formats/fmtall/EXCLNall.xml b/PROMS/Formats/fmtall/EXCLNall.xml index 58f56bcc..f024c736 100644 Binary files a/PROMS/Formats/fmtall/EXCLNall.xml and b/PROMS/Formats/fmtall/EXCLNall.xml differ diff --git a/PROMS/Formats/fmtall/EXEAOPBCKall.xml b/PROMS/Formats/fmtall/EXEAOPBCKall.xml index 141383f5..d5e8db25 100644 Binary files a/PROMS/Formats/fmtall/EXEAOPBCKall.xml and b/PROMS/Formats/fmtall/EXEAOPBCKall.xml differ diff --git a/PROMS/Formats/fmtall/EXEBCK_00all.xml b/PROMS/Formats/fmtall/EXEBCK_00all.xml index abbcea50..3871a131 100644 Binary files a/PROMS/Formats/fmtall/EXEBCK_00all.xml and b/PROMS/Formats/fmtall/EXEBCK_00all.xml differ diff --git a/PROMS/Formats/fmtall/EXEBCKall.xml b/PROMS/Formats/fmtall/EXEBCKall.xml index c59ffcca..146af37a 100644 Binary files a/PROMS/Formats/fmtall/EXEBCKall.xml and b/PROMS/Formats/fmtall/EXEBCKall.xml differ diff --git a/PROMS/Formats/fmtall/EXEDEVall.xml b/PROMS/Formats/fmtall/EXEDEVall.xml index 68c53f98..7eebb869 100644 Binary files a/PROMS/Formats/fmtall/EXEDEVall.xml and b/PROMS/Formats/fmtall/EXEDEVall.xml differ diff --git a/PROMS/Formats/fmtall/EXEFLXBCKall.xml b/PROMS/Formats/fmtall/EXEFLXBCKall.xml index 70cad623..2b5f128d 100644 Binary files a/PROMS/Formats/fmtall/EXEFLXBCKall.xml and b/PROMS/Formats/fmtall/EXEFLXBCKall.xml differ diff --git a/PROMS/Formats/fmtall/EXESAMGBCKall.xml b/PROMS/Formats/fmtall/EXESAMGBCKall.xml index ddc29f8d..1f483867 100644 Binary files a/PROMS/Formats/fmtall/EXESAMGBCKall.xml and b/PROMS/Formats/fmtall/EXESAMGBCKall.xml differ diff --git a/PROMS/Formats/fmtall/EXESAMall.xml b/PROMS/Formats/fmtall/EXESAMall.xml index 278493b4..26f9b066 100644 Binary files a/PROMS/Formats/fmtall/EXESAMall.xml and b/PROMS/Formats/fmtall/EXESAMall.xml differ diff --git a/PROMS/Formats/fmtall/EXP1all.xml b/PROMS/Formats/fmtall/EXP1all.xml index 3172dddb..fdcb4e95 100644 Binary files a/PROMS/Formats/fmtall/EXP1all.xml and b/PROMS/Formats/fmtall/EXP1all.xml differ diff --git a/PROMS/Formats/fmtall/EXP2all.xml b/PROMS/Formats/fmtall/EXP2all.xml index 1793d294..ae69a146 100644 Binary files a/PROMS/Formats/fmtall/EXP2all.xml and b/PROMS/Formats/fmtall/EXP2all.xml differ diff --git a/PROMS/Formats/fmtall/FNPCASall.xml b/PROMS/Formats/fmtall/FNPCASall.xml index f931873b..f64883f9 100644 Binary files a/PROMS/Formats/fmtall/FNPCASall.xml and b/PROMS/Formats/fmtall/FNPCASall.xml differ diff --git a/PROMS/Formats/fmtall/FNPDEVall.xml b/PROMS/Formats/fmtall/FNPDEVall.xml index 263ff308..b0fcf35a 100644 Binary files a/PROMS/Formats/fmtall/FNPDEVall.xml and b/PROMS/Formats/fmtall/FNPDEVall.xml differ diff --git a/PROMS/Formats/fmtall/FNPEBKall.xml b/PROMS/Formats/fmtall/FNPEBKall.xml index 838aa146..b375037a 100644 Binary files a/PROMS/Formats/fmtall/FNPEBKall.xml and b/PROMS/Formats/fmtall/FNPEBKall.xml differ diff --git a/PROMS/Formats/fmtall/FNPNew2all.xml b/PROMS/Formats/fmtall/FNPNew2all.xml index 36e0ff5a..3f9a3bb4 100644 Binary files a/PROMS/Formats/fmtall/FNPNew2all.xml and b/PROMS/Formats/fmtall/FNPNew2all.xml differ diff --git a/PROMS/Formats/fmtall/FNPSAM1all.xml b/PROMS/Formats/fmtall/FNPSAM1all.xml index ee33a666..b55dcc96 100644 Binary files a/PROMS/Formats/fmtall/FNPSAM1all.xml and b/PROMS/Formats/fmtall/FNPSAM1all.xml differ diff --git a/PROMS/Formats/fmtall/FNP_00all.xml b/PROMS/Formats/fmtall/FNP_00all.xml index 13284ae3..2cfc9b1f 100644 Binary files a/PROMS/Formats/fmtall/FNP_00all.xml and b/PROMS/Formats/fmtall/FNP_00all.xml differ diff --git a/PROMS/Formats/fmtall/FNP_01all.xml b/PROMS/Formats/fmtall/FNP_01all.xml index 4ce4a7cb..79ccc29d 100644 Binary files a/PROMS/Formats/fmtall/FNP_01all.xml and b/PROMS/Formats/fmtall/FNP_01all.xml differ diff --git a/PROMS/Formats/fmtall/FNPall.xml b/PROMS/Formats/fmtall/FNPall.xml index 7f612abf..fc1d705e 100644 Binary files a/PROMS/Formats/fmtall/FNPall.xml and b/PROMS/Formats/fmtall/FNPall.xml differ diff --git a/PROMS/Formats/fmtall/FPLBCKall.xml b/PROMS/Formats/fmtall/FPLBCKall.xml index e5cdd7e3..3ac118ef 100644 Binary files a/PROMS/Formats/fmtall/FPLBCKall.xml and b/PROMS/Formats/fmtall/FPLBCKall.xml differ diff --git a/PROMS/Formats/fmtall/FPLall.xml b/PROMS/Formats/fmtall/FPLall.xml index 8a4fac55..6ea6720e 100644 Binary files a/PROMS/Formats/fmtall/FPLall.xml and b/PROMS/Formats/fmtall/FPLall.xml differ diff --git a/PROMS/Formats/fmtall/GENDEVall.xml b/PROMS/Formats/fmtall/GENDEVall.xml index 7cf8b547..51535c24 100644 Binary files a/PROMS/Formats/fmtall/GENDEVall.xml and b/PROMS/Formats/fmtall/GENDEVall.xml differ diff --git a/PROMS/Formats/fmtall/GENPLANall.xml b/PROMS/Formats/fmtall/GENPLANall.xml index 50eba234..d6bd95c9 100644 Binary files a/PROMS/Formats/fmtall/GENPLANall.xml and b/PROMS/Formats/fmtall/GENPLANall.xml differ diff --git a/PROMS/Formats/fmtall/GENSAM2all.xml b/PROMS/Formats/fmtall/GENSAM2all.xml index 1b7a93a9..ed8a7a97 100644 Binary files a/PROMS/Formats/fmtall/GENSAM2all.xml and b/PROMS/Formats/fmtall/GENSAM2all.xml differ diff --git a/PROMS/Formats/fmtall/GENSAMall.xml b/PROMS/Formats/fmtall/GENSAMall.xml index 40678112..8d145328 100644 Binary files a/PROMS/Formats/fmtall/GENSAMall.xml and b/PROMS/Formats/fmtall/GENSAMall.xml differ diff --git a/PROMS/Formats/fmtall/GENall.xml b/PROMS/Formats/fmtall/GENall.xml index 05f8bbaf..eba2b47f 100644 Binary files a/PROMS/Formats/fmtall/GENall.xml and b/PROMS/Formats/fmtall/GENall.xml differ diff --git a/PROMS/Formats/fmtall/GPCA_00all.xml b/PROMS/Formats/fmtall/GPCA_00all.xml index 3abfb79f..0af1bbc7 100644 Binary files a/PROMS/Formats/fmtall/GPCA_00all.xml and b/PROMS/Formats/fmtall/GPCA_00all.xml differ diff --git a/PROMS/Formats/fmtall/GPCAall.xml b/PROMS/Formats/fmtall/GPCAall.xml index 1aa996a1..feec0712 100644 Binary files a/PROMS/Formats/fmtall/GPCAall.xml and b/PROMS/Formats/fmtall/GPCAall.xml differ diff --git a/PROMS/Formats/fmtall/GPCall.xml b/PROMS/Formats/fmtall/GPCall.xml index 35cac9e1..82bc35f8 100644 Binary files a/PROMS/Formats/fmtall/GPCall.xml and b/PROMS/Formats/fmtall/GPCall.xml differ diff --git a/PROMS/Formats/fmtall/GinnaAOPBck_00all.xml b/PROMS/Formats/fmtall/GinnaAOPBck_00all.xml index d419882e..8dba0f71 100644 Binary files a/PROMS/Formats/fmtall/GinnaAOPBck_00all.xml and b/PROMS/Formats/fmtall/GinnaAOPBck_00all.xml differ diff --git a/PROMS/Formats/fmtall/GinnaAOPBckall.xml b/PROMS/Formats/fmtall/GinnaAOPBckall.xml index aeb7b152..1379254a 100644 Binary files a/PROMS/Formats/fmtall/GinnaAOPBckall.xml and b/PROMS/Formats/fmtall/GinnaAOPBckall.xml differ diff --git a/PROMS/Formats/fmtall/GinnaAttall.xml b/PROMS/Formats/fmtall/GinnaAttall.xml index 0d20f160..f08353ed 100644 Binary files a/PROMS/Formats/fmtall/GinnaAttall.xml and b/PROMS/Formats/fmtall/GinnaAttall.xml differ diff --git a/PROMS/Formats/fmtall/GinnaFSGPEall.xml b/PROMS/Formats/fmtall/GinnaFSGPEall.xml index 9d6b71f3..78860b4e 100644 Binary files a/PROMS/Formats/fmtall/GinnaFSGPEall.xml and b/PROMS/Formats/fmtall/GinnaFSGPEall.xml differ diff --git a/PROMS/Formats/fmtall/GinnaFSGall.xml b/PROMS/Formats/fmtall/GinnaFSGall.xml index 1ed1097a..b94e7bb7 100644 Binary files a/PROMS/Formats/fmtall/GinnaFSGall.xml and b/PROMS/Formats/fmtall/GinnaFSGall.xml differ diff --git a/PROMS/Formats/fmtall/GinnaFSGbck_00all.xml b/PROMS/Formats/fmtall/GinnaFSGbck_00all.xml index da8479f9..9a5c447a 100644 Binary files a/PROMS/Formats/fmtall/GinnaFSGbck_00all.xml and b/PROMS/Formats/fmtall/GinnaFSGbck_00all.xml differ diff --git a/PROMS/Formats/fmtall/GinnaFSGbckall.xml b/PROMS/Formats/fmtall/GinnaFSGbckall.xml index 310d13f4..cc5dc357 100644 Binary files a/PROMS/Formats/fmtall/GinnaFSGbckall.xml and b/PROMS/Formats/fmtall/GinnaFSGbckall.xml differ diff --git a/PROMS/Formats/fmtall/GinnaSAMGbck_00all.xml b/PROMS/Formats/fmtall/GinnaSAMGbck_00all.xml index 4179eb50..188a1213 100644 Binary files a/PROMS/Formats/fmtall/GinnaSAMGbck_00all.xml and b/PROMS/Formats/fmtall/GinnaSAMGbck_00all.xml differ diff --git a/PROMS/Formats/fmtall/GinnaSAMGbckall.xml b/PROMS/Formats/fmtall/GinnaSAMGbckall.xml index 31f454a1..5503a3b8 100644 Binary files a/PROMS/Formats/fmtall/GinnaSAMGbckall.xml and b/PROMS/Formats/fmtall/GinnaSAMGbckall.xml differ diff --git a/PROMS/Formats/fmtall/HLPDEVall.xml b/PROMS/Formats/fmtall/HLPDEVall.xml index 3779aa7e..a5d31f2b 100644 Binary files a/PROMS/Formats/fmtall/HLPDEVall.xml and b/PROMS/Formats/fmtall/HLPDEVall.xml differ diff --git a/PROMS/Formats/fmtall/HLPall.xml b/PROMS/Formats/fmtall/HLPall.xml index bbd8d5c5..8aaad979 100644 Binary files a/PROMS/Formats/fmtall/HLPall.xml and b/PROMS/Formats/fmtall/HLPall.xml differ diff --git a/PROMS/Formats/fmtall/IP2BCKall.xml b/PROMS/Formats/fmtall/IP2BCKall.xml index dd5d966e..ae3be1e0 100644 Binary files a/PROMS/Formats/fmtall/IP2BCKall.xml and b/PROMS/Formats/fmtall/IP2BCKall.xml differ diff --git a/PROMS/Formats/fmtall/IP2DEVall.xml b/PROMS/Formats/fmtall/IP2DEVall.xml index 0424ef0c..12965ae9 100644 Binary files a/PROMS/Formats/fmtall/IP2DEVall.xml and b/PROMS/Formats/fmtall/IP2DEVall.xml differ diff --git a/PROMS/Formats/fmtall/IP2_00all.xml b/PROMS/Formats/fmtall/IP2_00all.xml index 57af0573..3b03c532 100644 Binary files a/PROMS/Formats/fmtall/IP2_00all.xml and b/PROMS/Formats/fmtall/IP2_00all.xml differ diff --git a/PROMS/Formats/fmtall/IP2_01all.xml b/PROMS/Formats/fmtall/IP2_01all.xml index 163df4cc..4a00ee50 100644 Binary files a/PROMS/Formats/fmtall/IP2_01all.xml and b/PROMS/Formats/fmtall/IP2_01all.xml differ diff --git a/PROMS/Formats/fmtall/IP2_02all.xml b/PROMS/Formats/fmtall/IP2_02all.xml index 29d53ada..c709971a 100644 Binary files a/PROMS/Formats/fmtall/IP2_02all.xml and b/PROMS/Formats/fmtall/IP2_02all.xml differ diff --git a/PROMS/Formats/fmtall/IP2_03all.xml b/PROMS/Formats/fmtall/IP2_03all.xml index c5c8c924..89c2f667 100644 Binary files a/PROMS/Formats/fmtall/IP2_03all.xml and b/PROMS/Formats/fmtall/IP2_03all.xml differ diff --git a/PROMS/Formats/fmtall/IP2_04all.xml b/PROMS/Formats/fmtall/IP2_04all.xml index 1a5d6f52..1f0bce3a 100644 Binary files a/PROMS/Formats/fmtall/IP2_04all.xml and b/PROMS/Formats/fmtall/IP2_04all.xml differ diff --git a/PROMS/Formats/fmtall/IP2all.xml b/PROMS/Formats/fmtall/IP2all.xml index 13ccb604..745d6c8a 100644 Binary files a/PROMS/Formats/fmtall/IP2all.xml and b/PROMS/Formats/fmtall/IP2all.xml differ diff --git a/PROMS/Formats/fmtall/IP3DEV_00all.xml b/PROMS/Formats/fmtall/IP3DEV_00all.xml index 69b7b347..7056df92 100644 Binary files a/PROMS/Formats/fmtall/IP3DEV_00all.xml and b/PROMS/Formats/fmtall/IP3DEV_00all.xml differ diff --git a/PROMS/Formats/fmtall/IP3DEVall.xml b/PROMS/Formats/fmtall/IP3DEVall.xml index 3e99f89e..7e9fe3d2 100644 Binary files a/PROMS/Formats/fmtall/IP3DEVall.xml and b/PROMS/Formats/fmtall/IP3DEVall.xml differ diff --git a/PROMS/Formats/fmtall/IP3_00all.xml b/PROMS/Formats/fmtall/IP3_00all.xml index 734d49fc..b9cca806 100644 Binary files a/PROMS/Formats/fmtall/IP3_00all.xml and b/PROMS/Formats/fmtall/IP3_00all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_01all.xml b/PROMS/Formats/fmtall/IP3_01all.xml index 083837a6..a2f00d02 100644 Binary files a/PROMS/Formats/fmtall/IP3_01all.xml and b/PROMS/Formats/fmtall/IP3_01all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_02all.xml b/PROMS/Formats/fmtall/IP3_02all.xml index e438b741..f7ebce0f 100644 Binary files a/PROMS/Formats/fmtall/IP3_02all.xml and b/PROMS/Formats/fmtall/IP3_02all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_03all.xml b/PROMS/Formats/fmtall/IP3_03all.xml index f4adf19a..8958647b 100644 Binary files a/PROMS/Formats/fmtall/IP3_03all.xml and b/PROMS/Formats/fmtall/IP3_03all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_06all.xml b/PROMS/Formats/fmtall/IP3_06all.xml index 0917f041..8e5343f3 100644 Binary files a/PROMS/Formats/fmtall/IP3_06all.xml and b/PROMS/Formats/fmtall/IP3_06all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_07all.xml b/PROMS/Formats/fmtall/IP3_07all.xml index 7605f18b..da990ce4 100644 Binary files a/PROMS/Formats/fmtall/IP3_07all.xml and b/PROMS/Formats/fmtall/IP3_07all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_08all.xml b/PROMS/Formats/fmtall/IP3_08all.xml index a50ab0ca..cb2ce294 100644 Binary files a/PROMS/Formats/fmtall/IP3_08all.xml and b/PROMS/Formats/fmtall/IP3_08all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_09all.xml b/PROMS/Formats/fmtall/IP3_09all.xml index d09b3280..2931aff3 100644 Binary files a/PROMS/Formats/fmtall/IP3_09all.xml and b/PROMS/Formats/fmtall/IP3_09all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_10all.xml b/PROMS/Formats/fmtall/IP3_10all.xml index 8729e3b6..75e9a790 100644 Binary files a/PROMS/Formats/fmtall/IP3_10all.xml and b/PROMS/Formats/fmtall/IP3_10all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_11all.xml b/PROMS/Formats/fmtall/IP3_11all.xml index 7abfa984..7f2461c5 100644 Binary files a/PROMS/Formats/fmtall/IP3_11all.xml and b/PROMS/Formats/fmtall/IP3_11all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_12all.xml b/PROMS/Formats/fmtall/IP3_12all.xml index d73db84e..338f5500 100644 Binary files a/PROMS/Formats/fmtall/IP3_12all.xml and b/PROMS/Formats/fmtall/IP3_12all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_13all.xml b/PROMS/Formats/fmtall/IP3_13all.xml index 16757499..089fbfdc 100644 Binary files a/PROMS/Formats/fmtall/IP3_13all.xml and b/PROMS/Formats/fmtall/IP3_13all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_14all.xml b/PROMS/Formats/fmtall/IP3_14all.xml index 18daaee2..6358ee02 100644 Binary files a/PROMS/Formats/fmtall/IP3_14all.xml and b/PROMS/Formats/fmtall/IP3_14all.xml differ diff --git a/PROMS/Formats/fmtall/IP3_15all.xml b/PROMS/Formats/fmtall/IP3_15all.xml index 28812eba..59049897 100644 Binary files a/PROMS/Formats/fmtall/IP3_15all.xml and b/PROMS/Formats/fmtall/IP3_15all.xml differ diff --git a/PROMS/Formats/fmtall/IP3all.xml b/PROMS/Formats/fmtall/IP3all.xml index 459077ba..8504786a 100644 Binary files a/PROMS/Formats/fmtall/IP3all.xml and b/PROMS/Formats/fmtall/IP3all.xml differ diff --git a/PROMS/Formats/fmtall/MAINGall.xml b/PROMS/Formats/fmtall/MAINGall.xml index e0416c5c..2fcbb397 100644 Binary files a/PROMS/Formats/fmtall/MAINGall.xml and b/PROMS/Formats/fmtall/MAINGall.xml differ diff --git a/PROMS/Formats/fmtall/MCGBOXall.xml b/PROMS/Formats/fmtall/MCGBOXall.xml index 3ca80de3..81a9cafe 100644 Binary files a/PROMS/Formats/fmtall/MCGBOXall.xml and b/PROMS/Formats/fmtall/MCGBOXall.xml differ diff --git a/PROMS/Formats/fmtall/MCGDEVall.xml b/PROMS/Formats/fmtall/MCGDEVall.xml index f06d78c7..edbc0d69 100644 Binary files a/PROMS/Formats/fmtall/MCGDEVall.xml and b/PROMS/Formats/fmtall/MCGDEVall.xml differ diff --git a/PROMS/Formats/fmtall/MCGEBCKall.xml b/PROMS/Formats/fmtall/MCGEBCKall.xml index a845f319..6c13c421 100644 Binary files a/PROMS/Formats/fmtall/MCGEBCKall.xml and b/PROMS/Formats/fmtall/MCGEBCKall.xml differ diff --git a/PROMS/Formats/fmtall/MCGSAMall.xml b/PROMS/Formats/fmtall/MCGSAMall.xml index 2496d08d..0f8ac4bd 100644 Binary files a/PROMS/Formats/fmtall/MCGSAMall.xml and b/PROMS/Formats/fmtall/MCGSAMall.xml differ diff --git a/PROMS/Formats/fmtall/MCGall.xml b/PROMS/Formats/fmtall/MCGall.xml index 102f9698..92e44aa6 100644 Binary files a/PROMS/Formats/fmtall/MCGall.xml and b/PROMS/Formats/fmtall/MCGall.xml differ diff --git a/PROMS/Formats/fmtall/NSPAB_00all.xml b/PROMS/Formats/fmtall/NSPAB_00all.xml index 4a4f690c..5611ed53 100644 Binary files a/PROMS/Formats/fmtall/NSPAB_00all.xml and b/PROMS/Formats/fmtall/NSPAB_00all.xml differ diff --git a/PROMS/Formats/fmtall/NSPAB_01all.xml b/PROMS/Formats/fmtall/NSPAB_01all.xml index 4eca5298..d75d7714 100644 Binary files a/PROMS/Formats/fmtall/NSPAB_01all.xml and b/PROMS/Formats/fmtall/NSPAB_01all.xml differ diff --git a/PROMS/Formats/fmtall/NSPAB_02all.xml b/PROMS/Formats/fmtall/NSPAB_02all.xml index c33efe58..4717148c 100644 Binary files a/PROMS/Formats/fmtall/NSPAB_02all.xml and b/PROMS/Formats/fmtall/NSPAB_02all.xml differ diff --git a/PROMS/Formats/fmtall/NSPABall.xml b/PROMS/Formats/fmtall/NSPABall.xml index 8d45a290..0826f8be 100644 Binary files a/PROMS/Formats/fmtall/NSPABall.xml and b/PROMS/Formats/fmtall/NSPABall.xml differ diff --git a/PROMS/Formats/fmtall/NSPARP_00all.xml b/PROMS/Formats/fmtall/NSPARP_00all.xml index 703e8936..f6df8e7b 100644 Binary files a/PROMS/Formats/fmtall/NSPARP_00all.xml and b/PROMS/Formats/fmtall/NSPARP_00all.xml differ diff --git a/PROMS/Formats/fmtall/NSPARPall.xml b/PROMS/Formats/fmtall/NSPARPall.xml index 1889076d..379028dc 100644 Binary files a/PROMS/Formats/fmtall/NSPARPall.xml and b/PROMS/Formats/fmtall/NSPARPall.xml differ diff --git a/PROMS/Formats/fmtall/NSPBCKall.xml b/PROMS/Formats/fmtall/NSPBCKall.xml index e8559ea3..5d7289c9 100644 Binary files a/PROMS/Formats/fmtall/NSPBCKall.xml and b/PROMS/Formats/fmtall/NSPBCKall.xml differ diff --git a/PROMS/Formats/fmtall/NSPDEVall.xml b/PROMS/Formats/fmtall/NSPDEVall.xml index a70d4255..df39b32b 100644 Binary files a/PROMS/Formats/fmtall/NSPDEVall.xml and b/PROMS/Formats/fmtall/NSPDEVall.xml differ diff --git a/PROMS/Formats/fmtall/NSPEDEVall.xml b/PROMS/Formats/fmtall/NSPEDEVall.xml index 888f843a..53720016 100644 Binary files a/PROMS/Formats/fmtall/NSPEDEVall.xml and b/PROMS/Formats/fmtall/NSPEDEVall.xml differ diff --git a/PROMS/Formats/fmtall/NSPFCall.xml b/PROMS/Formats/fmtall/NSPFCall.xml index 0926ce08..6efbb9ce 100644 Binary files a/PROMS/Formats/fmtall/NSPFCall.xml and b/PROMS/Formats/fmtall/NSPFCall.xml differ diff --git a/PROMS/Formats/fmtall/NSPIFG2all.xml b/PROMS/Formats/fmtall/NSPIFG2all.xml index 05d58d75..640e7eae 100644 Binary files a/PROMS/Formats/fmtall/NSPIFG2all.xml and b/PROMS/Formats/fmtall/NSPIFG2all.xml differ diff --git a/PROMS/Formats/fmtall/NSPIFG_00all.xml b/PROMS/Formats/fmtall/NSPIFG_00all.xml index 1ca85fb5..d349193b 100644 Binary files a/PROMS/Formats/fmtall/NSPIFG_00all.xml and b/PROMS/Formats/fmtall/NSPIFG_00all.xml differ diff --git a/PROMS/Formats/fmtall/NSPIFGall.xml b/PROMS/Formats/fmtall/NSPIFGall.xml index cc6a4af0..567d63c3 100644 Binary files a/PROMS/Formats/fmtall/NSPIFGall.xml and b/PROMS/Formats/fmtall/NSPIFGall.xml differ diff --git a/PROMS/Formats/fmtall/NSPPEall.xml b/PROMS/Formats/fmtall/NSPPEall.xml index f33bce2c..ccfd09f5 100644 Binary files a/PROMS/Formats/fmtall/NSPPEall.xml and b/PROMS/Formats/fmtall/NSPPEall.xml differ diff --git a/PROMS/Formats/fmtall/NSPSAMDEVall.xml b/PROMS/Formats/fmtall/NSPSAMDEVall.xml index 6084c973..7ff88e65 100644 Binary files a/PROMS/Formats/fmtall/NSPSAMDEVall.xml and b/PROMS/Formats/fmtall/NSPSAMDEVall.xml differ diff --git a/PROMS/Formats/fmtall/NSPSAMall.xml b/PROMS/Formats/fmtall/NSPSAMall.xml index e7c4d73c..d5d06dba 100644 Binary files a/PROMS/Formats/fmtall/NSPSAMall.xml and b/PROMS/Formats/fmtall/NSPSAMall.xml differ diff --git a/PROMS/Formats/fmtall/NSPWGall.xml b/PROMS/Formats/fmtall/NSPWGall.xml index c77ed864..e5295791 100644 Binary files a/PROMS/Formats/fmtall/NSPWGall.xml and b/PROMS/Formats/fmtall/NSPWGall.xml differ diff --git a/PROMS/Formats/fmtall/NSP_00all.xml b/PROMS/Formats/fmtall/NSP_00all.xml index 149808fc..2aeb2ae2 100644 Binary files a/PROMS/Formats/fmtall/NSP_00all.xml and b/PROMS/Formats/fmtall/NSP_00all.xml differ diff --git a/PROMS/Formats/fmtall/NSPall.xml b/PROMS/Formats/fmtall/NSPall.xml index 85a5ba80..c1dfe167 100644 Binary files a/PROMS/Formats/fmtall/NSPall.xml and b/PROMS/Formats/fmtall/NSPall.xml differ diff --git a/PROMS/Formats/fmtall/OHLPall.xml b/PROMS/Formats/fmtall/OHLPall.xml index 1f1a79cb..eb95d12b 100644 Binary files a/PROMS/Formats/fmtall/OHLPall.xml and b/PROMS/Formats/fmtall/OHLPall.xml differ diff --git a/PROMS/Formats/fmtall/PROMSMan1all.xml b/PROMS/Formats/fmtall/PROMSMan1all.xml index 13a6cbb6..d1a6c5b8 100644 Binary files a/PROMS/Formats/fmtall/PROMSMan1all.xml and b/PROMS/Formats/fmtall/PROMSMan1all.xml differ diff --git a/PROMS/Formats/fmtall/PROMSMan2all.xml b/PROMS/Formats/fmtall/PROMSMan2all.xml index 166feab8..328704ca 100644 Binary files a/PROMS/Formats/fmtall/PROMSMan2all.xml and b/PROMS/Formats/fmtall/PROMSMan2all.xml differ diff --git a/PROMS/Formats/fmtall/RGEBCK_00all.xml b/PROMS/Formats/fmtall/RGEBCK_00all.xml index 06f64338..e306203d 100644 Binary files a/PROMS/Formats/fmtall/RGEBCK_00all.xml and b/PROMS/Formats/fmtall/RGEBCK_00all.xml differ diff --git a/PROMS/Formats/fmtall/RGEBCKall.xml b/PROMS/Formats/fmtall/RGEBCKall.xml index 02f3500a..b8e64702 100644 Binary files a/PROMS/Formats/fmtall/RGEBCKall.xml and b/PROMS/Formats/fmtall/RGEBCKall.xml differ diff --git a/PROMS/Formats/fmtall/RGEDEVall.xml b/PROMS/Formats/fmtall/RGEDEVall.xml index bf26da5b..79b6e3d4 100644 Binary files a/PROMS/Formats/fmtall/RGEDEVall.xml and b/PROMS/Formats/fmtall/RGEDEVall.xml differ diff --git a/PROMS/Formats/fmtall/RGESAM1all.xml b/PROMS/Formats/fmtall/RGESAM1all.xml index 13ec2d2f..d63a669a 100644 Binary files a/PROMS/Formats/fmtall/RGESAM1all.xml and b/PROMS/Formats/fmtall/RGESAM1all.xml differ diff --git a/PROMS/Formats/fmtall/RGESAM2all.xml b/PROMS/Formats/fmtall/RGESAM2all.xml index 36432670..3ac5fd11 100644 Binary files a/PROMS/Formats/fmtall/RGESAM2all.xml and b/PROMS/Formats/fmtall/RGESAM2all.xml differ diff --git a/PROMS/Formats/fmtall/RGESMPEall.xml b/PROMS/Formats/fmtall/RGESMPEall.xml index 3155d54b..7342e7e6 100644 Binary files a/PROMS/Formats/fmtall/RGESMPEall.xml and b/PROMS/Formats/fmtall/RGESMPEall.xml differ diff --git a/PROMS/Formats/fmtall/RGEall.xml b/PROMS/Formats/fmtall/RGEall.xml index b68d68bc..c14f6c86 100644 Binary files a/PROMS/Formats/fmtall/RGEall.xml and b/PROMS/Formats/fmtall/RGEall.xml differ diff --git a/PROMS/Formats/fmtall/RNPAOPBCK2NHCall.xml b/PROMS/Formats/fmtall/RNPAOPBCK2NHCall.xml index 35bc74aa..d97fcdc8 100644 Binary files a/PROMS/Formats/fmtall/RNPAOPBCK2NHCall.xml and b/PROMS/Formats/fmtall/RNPAOPBCK2NHCall.xml differ diff --git a/PROMS/Formats/fmtall/RNPAOPBCK2all.xml b/PROMS/Formats/fmtall/RNPAOPBCK2all.xml index b0356818..dc121fd7 100644 Binary files a/PROMS/Formats/fmtall/RNPAOPBCK2all.xml and b/PROMS/Formats/fmtall/RNPAOPBCK2all.xml differ diff --git a/PROMS/Formats/fmtall/RNPAOPBCKNHCall.xml b/PROMS/Formats/fmtall/RNPAOPBCKNHCall.xml index 905f6653..d9537e6f 100644 Binary files a/PROMS/Formats/fmtall/RNPAOPBCKNHCall.xml and b/PROMS/Formats/fmtall/RNPAOPBCKNHCall.xml differ diff --git a/PROMS/Formats/fmtall/RNPAOPBCKall.xml b/PROMS/Formats/fmtall/RNPAOPBCKall.xml index 883eecb6..e6649bed 100644 Binary files a/PROMS/Formats/fmtall/RNPAOPBCKall.xml and b/PROMS/Formats/fmtall/RNPAOPBCKall.xml differ diff --git a/PROMS/Formats/fmtall/SETDEVall.xml b/PROMS/Formats/fmtall/SETDEVall.xml index ff8246a8..7ab0cb43 100644 Binary files a/PROMS/Formats/fmtall/SETDEVall.xml and b/PROMS/Formats/fmtall/SETDEVall.xml differ diff --git a/PROMS/Formats/fmtall/SHEAall.xml b/PROMS/Formats/fmtall/SHEAall.xml index 8e6d81cb..ce0eed34 100644 Binary files a/PROMS/Formats/fmtall/SHEAall.xml and b/PROMS/Formats/fmtall/SHEAall.xml differ diff --git a/PROMS/Formats/fmtall/SHEDEVall.xml b/PROMS/Formats/fmtall/SHEDEVall.xml index c1ecf31b..0a160c30 100644 Binary files a/PROMS/Formats/fmtall/SHEDEVall.xml and b/PROMS/Formats/fmtall/SHEDEVall.xml differ diff --git a/PROMS/Formats/fmtall/SHERVSUall.xml b/PROMS/Formats/fmtall/SHERVSUall.xml index 4550000a..66ab43c8 100644 Binary files a/PROMS/Formats/fmtall/SHERVSUall.xml and b/PROMS/Formats/fmtall/SHERVSUall.xml differ diff --git a/PROMS/Formats/fmtall/SHESAMall.xml b/PROMS/Formats/fmtall/SHESAMall.xml index a94c3d4e..f7e58d03 100644 Binary files a/PROMS/Formats/fmtall/SHESAMall.xml and b/PROMS/Formats/fmtall/SHESAMall.xml differ diff --git a/PROMS/Formats/fmtall/SHESSD_00all.xml b/PROMS/Formats/fmtall/SHESSD_00all.xml index d2625f1c..7cad82fb 100644 Binary files a/PROMS/Formats/fmtall/SHESSD_00all.xml and b/PROMS/Formats/fmtall/SHESSD_00all.xml differ diff --git a/PROMS/Formats/fmtall/SHESSDall.xml b/PROMS/Formats/fmtall/SHESSDall.xml index be4cb63c..a15aa6f5 100644 Binary files a/PROMS/Formats/fmtall/SHESSDall.xml and b/PROMS/Formats/fmtall/SHESSDall.xml differ diff --git a/PROMS/Formats/fmtall/SHEall.xml b/PROMS/Formats/fmtall/SHEall.xml index d7b0c194..b2d912da 100644 Binary files a/PROMS/Formats/fmtall/SHEall.xml and b/PROMS/Formats/fmtall/SHEall.xml differ diff --git a/PROMS/Formats/fmtall/SUMSAMall.xml b/PROMS/Formats/fmtall/SUMSAMall.xml index 90c65d37..4b073fb5 100644 Binary files a/PROMS/Formats/fmtall/SUMSAMall.xml and b/PROMS/Formats/fmtall/SUMSAMall.xml differ diff --git a/PROMS/Formats/fmtall/SUMall.xml b/PROMS/Formats/fmtall/SUMall.xml index ffcf2e3d..6b2516f8 100644 Binary files a/PROMS/Formats/fmtall/SUMall.xml and b/PROMS/Formats/fmtall/SUMall.xml differ diff --git a/PROMS/Formats/fmtall/TPBCK2all.xml b/PROMS/Formats/fmtall/TPBCK2all.xml index d11646d4..bba6cf23 100644 Binary files a/PROMS/Formats/fmtall/TPBCK2all.xml and b/PROMS/Formats/fmtall/TPBCK2all.xml differ diff --git a/PROMS/Formats/fmtall/TPBCK_00all.xml b/PROMS/Formats/fmtall/TPBCK_00all.xml index 588632e6..0de66c2e 100644 Binary files a/PROMS/Formats/fmtall/TPBCK_00all.xml and b/PROMS/Formats/fmtall/TPBCK_00all.xml differ diff --git a/PROMS/Formats/fmtall/TPBCK_01all.xml b/PROMS/Formats/fmtall/TPBCK_01all.xml index 9b86c671..b386b7af 100644 Binary files a/PROMS/Formats/fmtall/TPBCK_01all.xml and b/PROMS/Formats/fmtall/TPBCK_01all.xml differ diff --git a/PROMS/Formats/fmtall/TPBCKall.xml b/PROMS/Formats/fmtall/TPBCKall.xml index 8201731c..6231868c 100644 Binary files a/PROMS/Formats/fmtall/TPBCKall.xml and b/PROMS/Formats/fmtall/TPBCKall.xml differ diff --git a/PROMS/Formats/fmtall/TP_00all.xml b/PROMS/Formats/fmtall/TP_00all.xml index ab0037b1..292c679a 100644 Binary files a/PROMS/Formats/fmtall/TP_00all.xml and b/PROMS/Formats/fmtall/TP_00all.xml differ diff --git a/PROMS/Formats/fmtall/TPall.xml b/PROMS/Formats/fmtall/TPall.xml index a58c0512..b3ea1fe4 100644 Binary files a/PROMS/Formats/fmtall/TPall.xml and b/PROMS/Formats/fmtall/TPall.xml differ diff --git a/PROMS/Formats/fmtall/TUECABNall.xml b/PROMS/Formats/fmtall/TUECABNall.xml index 73b39cab..d91e117a 100644 Binary files a/PROMS/Formats/fmtall/TUECABNall.xml and b/PROMS/Formats/fmtall/TUECABNall.xml differ diff --git a/PROMS/Formats/fmtall/TUECDEVall.xml b/PROMS/Formats/fmtall/TUECDEVall.xml index 4d8517db..33427987 100644 Binary files a/PROMS/Formats/fmtall/TUECDEVall.xml and b/PROMS/Formats/fmtall/TUECDEVall.xml differ diff --git a/PROMS/Formats/fmtall/TUECSAMG1all.xml b/PROMS/Formats/fmtall/TUECSAMG1all.xml index 4bf3cc1f..6a97976e 100644 Binary files a/PROMS/Formats/fmtall/TUECSAMG1all.xml and b/PROMS/Formats/fmtall/TUECSAMG1all.xml differ diff --git a/PROMS/Formats/fmtall/TUECSAMGall.xml b/PROMS/Formats/fmtall/TUECSAMGall.xml index 88ff5e7e..aae4b55d 100644 Binary files a/PROMS/Formats/fmtall/TUECSAMGall.xml and b/PROMS/Formats/fmtall/TUECSAMGall.xml differ diff --git a/PROMS/Formats/fmtall/TUECall.xml b/PROMS/Formats/fmtall/TUECall.xml index 77f4410d..c8bce8ef 100644 Binary files a/PROMS/Formats/fmtall/TUECall.xml and b/PROMS/Formats/fmtall/TUECall.xml differ diff --git a/PROMS/Formats/fmtall/TVASAMGBCKall.xml b/PROMS/Formats/fmtall/TVASAMGBCKall.xml index 9ddb061d..f9bb5495 100644 Binary files a/PROMS/Formats/fmtall/TVASAMGBCKall.xml and b/PROMS/Formats/fmtall/TVASAMGBCKall.xml differ diff --git a/PROMS/Formats/fmtall/TVASAMGall.xml b/PROMS/Formats/fmtall/TVASAMGall.xml index aef76cac..73f21981 100644 Binary files a/PROMS/Formats/fmtall/TVASAMGall.xml and b/PROMS/Formats/fmtall/TVASAMGall.xml differ diff --git a/PROMS/Formats/fmtall/VCSDEVall.xml b/PROMS/Formats/fmtall/VCSDEVall.xml index a52a17c7..99edf9c6 100644 Binary files a/PROMS/Formats/fmtall/VCSDEVall.xml and b/PROMS/Formats/fmtall/VCSDEVall.xml differ diff --git a/PROMS/Formats/fmtall/VCSSAMGDEVall.xml b/PROMS/Formats/fmtall/VCSSAMGDEVall.xml index e95d1dd9..b34fd22d 100644 Binary files a/PROMS/Formats/fmtall/VCSSAMGDEVall.xml and b/PROMS/Formats/fmtall/VCSSAMGDEVall.xml differ diff --git a/PROMS/Formats/fmtall/VEGP1all.xml b/PROMS/Formats/fmtall/VEGP1all.xml index 31e5e274..29750164 100644 Binary files a/PROMS/Formats/fmtall/VEGP1all.xml and b/PROMS/Formats/fmtall/VEGP1all.xml differ diff --git a/PROMS/Formats/fmtall/VEGP2all.xml b/PROMS/Formats/fmtall/VEGP2all.xml index dadeaf2b..b1b34c18 100644 Binary files a/PROMS/Formats/fmtall/VEGP2all.xml and b/PROMS/Formats/fmtall/VEGP2all.xml differ diff --git a/PROMS/Formats/fmtall/VEGPAlrall.xml b/PROMS/Formats/fmtall/VEGPAlrall.xml index 70bcb9e4..fa17a95c 100644 Binary files a/PROMS/Formats/fmtall/VEGPAlrall.xml and b/PROMS/Formats/fmtall/VEGPAlrall.xml differ diff --git a/PROMS/Formats/fmtall/VEGPBckStpsall.xml b/PROMS/Formats/fmtall/VEGPBckStpsall.xml index 8f3214a0..68630929 100644 Binary files a/PROMS/Formats/fmtall/VEGPBckStpsall.xml and b/PROMS/Formats/fmtall/VEGPBckStpsall.xml differ diff --git a/PROMS/Formats/fmtall/VEGPBckall.xml b/PROMS/Formats/fmtall/VEGPBckall.xml index 0e560e48..052c8719 100644 Binary files a/PROMS/Formats/fmtall/VEGPBckall.xml and b/PROMS/Formats/fmtall/VEGPBckall.xml differ diff --git a/PROMS/Formats/fmtall/VLNCASall.xml b/PROMS/Formats/fmtall/VLNCASall.xml index 468e96af..c812d0fe 100644 Binary files a/PROMS/Formats/fmtall/VLNCASall.xml and b/PROMS/Formats/fmtall/VLNCASall.xml differ diff --git a/PROMS/Formats/fmtall/WCN1all.xml b/PROMS/Formats/fmtall/WCN1all.xml index 4d967604..b5a3891b 100644 Binary files a/PROMS/Formats/fmtall/WCN1all.xml and b/PROMS/Formats/fmtall/WCN1all.xml differ diff --git a/PROMS/Formats/fmtall/WCN2all.xml b/PROMS/Formats/fmtall/WCN2all.xml index 02fef4ef..d38dd66d 100644 Binary files a/PROMS/Formats/fmtall/WCN2all.xml and b/PROMS/Formats/fmtall/WCN2all.xml differ diff --git a/PROMS/Formats/fmtall/WCNBCKall.xml b/PROMS/Formats/fmtall/WCNBCKall.xml index db358882..9b891354 100644 Binary files a/PROMS/Formats/fmtall/WCNBCKall.xml and b/PROMS/Formats/fmtall/WCNBCKall.xml differ diff --git a/PROMS/Formats/fmtall/WCNCKLall.xml b/PROMS/Formats/fmtall/WCNCKLall.xml index 6328289c..cfd7bf19 100644 Binary files a/PROMS/Formats/fmtall/WCNCKLall.xml and b/PROMS/Formats/fmtall/WCNCKLall.xml differ diff --git a/PROMS/Formats/fmtall/WCNCLBall.xml b/PROMS/Formats/fmtall/WCNCLBall.xml index d2aed0a0..430c4c54 100644 Binary files a/PROMS/Formats/fmtall/WCNCLBall.xml and b/PROMS/Formats/fmtall/WCNCLBall.xml differ diff --git a/PROMS/Formats/fmtall/WCNDEVall.xml b/PROMS/Formats/fmtall/WCNDEVall.xml index bb1bb7b9..67a50914 100644 Binary files a/PROMS/Formats/fmtall/WCNDEVall.xml and b/PROMS/Formats/fmtall/WCNDEVall.xml differ diff --git a/PROMS/Formats/fmtall/WCNFSGBCKall.xml b/PROMS/Formats/fmtall/WCNFSGBCKall.xml index 4c5e055f..92a63c71 100644 Binary files a/PROMS/Formats/fmtall/WCNFSGBCKall.xml and b/PROMS/Formats/fmtall/WCNFSGBCKall.xml differ diff --git a/PROMS/Formats/fmtall/WCNOFBall.xml b/PROMS/Formats/fmtall/WCNOFBall.xml index 22122195..b163b699 100644 Binary files a/PROMS/Formats/fmtall/WCNOFBall.xml and b/PROMS/Formats/fmtall/WCNOFBall.xml differ diff --git a/PROMS/Formats/fmtall/WCNSAMGBCKall.xml b/PROMS/Formats/fmtall/WCNSAMGBCKall.xml index 7f849a04..b87e9ba4 100644 Binary files a/PROMS/Formats/fmtall/WCNSAMGBCKall.xml and b/PROMS/Formats/fmtall/WCNSAMGBCKall.xml differ diff --git a/PROMS/Formats/fmtall/WCNSAM_00all.xml b/PROMS/Formats/fmtall/WCNSAM_00all.xml index e0faeeb7..d18a26f7 100644 Binary files a/PROMS/Formats/fmtall/WCNSAM_00all.xml and b/PROMS/Formats/fmtall/WCNSAM_00all.xml differ diff --git a/PROMS/Formats/fmtall/WCNSAMall.xml b/PROMS/Formats/fmtall/WCNSAMall.xml index 87cf1295..8f5d0df8 100644 Binary files a/PROMS/Formats/fmtall/WCNSAMall.xml and b/PROMS/Formats/fmtall/WCNSAMall.xml differ diff --git a/PROMS/Formats/fmtall/WCNSGIall.xml b/PROMS/Formats/fmtall/WCNSGIall.xml index 8f0e4e48..3b36717e 100644 Binary files a/PROMS/Formats/fmtall/WCNSGIall.xml and b/PROMS/Formats/fmtall/WCNSGIall.xml differ diff --git a/PROMS/Formats/fmtall/WCNTRNall.xml b/PROMS/Formats/fmtall/WCNTRNall.xml index 6deede3a..d3dacc38 100644 Binary files a/PROMS/Formats/fmtall/WCNTRNall.xml and b/PROMS/Formats/fmtall/WCNTRNall.xml differ diff --git a/PROMS/Formats/fmtall/WEP2all.xml b/PROMS/Formats/fmtall/WEP2all.xml index 24d5ac1e..8f5e5743 100644 Binary files a/PROMS/Formats/fmtall/WEP2all.xml and b/PROMS/Formats/fmtall/WEP2all.xml differ diff --git a/PROMS/Formats/fmtall/WEPBCKall.xml b/PROMS/Formats/fmtall/WEPBCKall.xml index 6380813e..7ffb858a 100644 Binary files a/PROMS/Formats/fmtall/WEPBCKall.xml and b/PROMS/Formats/fmtall/WEPBCKall.xml differ diff --git a/PROMS/Formats/fmtall/WEPENB_00all.xml b/PROMS/Formats/fmtall/WEPENB_00all.xml index 5c93aa56..199efb3d 100644 Binary files a/PROMS/Formats/fmtall/WEPENB_00all.xml and b/PROMS/Formats/fmtall/WEPENB_00all.xml differ diff --git a/PROMS/Formats/fmtall/WEPENB_01all.xml b/PROMS/Formats/fmtall/WEPENB_01all.xml index d242efc2..aeeac95f 100644 Binary files a/PROMS/Formats/fmtall/WEPENB_01all.xml and b/PROMS/Formats/fmtall/WEPENB_01all.xml differ diff --git a/PROMS/Formats/fmtall/WEPENBall.xml b/PROMS/Formats/fmtall/WEPENBall.xml index 5238ef5b..5d060295 100644 Binary files a/PROMS/Formats/fmtall/WEPENBall.xml and b/PROMS/Formats/fmtall/WEPENBall.xml differ diff --git a/PROMS/Formats/fmtall/WEPSAM2all.xml b/PROMS/Formats/fmtall/WEPSAM2all.xml index 7a621389..04c18bd0 100644 Binary files a/PROMS/Formats/fmtall/WEPSAM2all.xml and b/PROMS/Formats/fmtall/WEPSAM2all.xml differ diff --git a/PROMS/Formats/fmtall/WEPSAMGall.xml b/PROMS/Formats/fmtall/WEPSAMGall.xml index e64bcdf0..d2134bb9 100644 Binary files a/PROMS/Formats/fmtall/WEPSAMGall.xml and b/PROMS/Formats/fmtall/WEPSAMGall.xml differ diff --git a/PROMS/Formats/fmtall/WPBAall.xml b/PROMS/Formats/fmtall/WPBAall.xml index 9bb13fe0..71a2ad41 100644 Binary files a/PROMS/Formats/fmtall/WPBAall.xml and b/PROMS/Formats/fmtall/WPBAall.xml differ diff --git a/PROMS/Formats/fmtall/WPB_20all.xml b/PROMS/Formats/fmtall/WPB_20all.xml index c0457244..8abf8d89 100644 Binary files a/PROMS/Formats/fmtall/WPB_20all.xml and b/PROMS/Formats/fmtall/WPB_20all.xml differ diff --git a/PROMS/Formats/fmtall/WPB_22all.xml b/PROMS/Formats/fmtall/WPB_22all.xml index b2ff48bb..45dca9c6 100644 Binary files a/PROMS/Formats/fmtall/WPB_22all.xml and b/PROMS/Formats/fmtall/WPB_22all.xml differ diff --git a/PROMS/Formats/fmtall/WPBall.xml b/PROMS/Formats/fmtall/WPBall.xml index dbb01b9b..7b1e73b0 100644 Binary files a/PROMS/Formats/fmtall/WPBall.xml and b/PROMS/Formats/fmtall/WPBall.xml differ diff --git a/PROMS/Formats/fmtall/WPSARP_00all.xml b/PROMS/Formats/fmtall/WPSARP_00all.xml index 3efbe3df..3e8359c3 100644 Binary files a/PROMS/Formats/fmtall/WPSARP_00all.xml and b/PROMS/Formats/fmtall/WPSARP_00all.xml differ diff --git a/PROMS/Formats/fmtall/WPSARPall.xml b/PROMS/Formats/fmtall/WPSARPall.xml index 179fd56f..4661eae0 100644 Binary files a/PROMS/Formats/fmtall/WPSARPall.xml and b/PROMS/Formats/fmtall/WPSARPall.xml differ diff --git a/PROMS/Formats/fmtall/WPSBCK_00all.xml b/PROMS/Formats/fmtall/WPSBCK_00all.xml index 718f48ae..11b73d1d 100644 Binary files a/PROMS/Formats/fmtall/WPSBCK_00all.xml and b/PROMS/Formats/fmtall/WPSBCK_00all.xml differ diff --git a/PROMS/Formats/fmtall/WPSBCKall.xml b/PROMS/Formats/fmtall/WPSBCKall.xml index 959c14c6..87b97541 100644 Binary files a/PROMS/Formats/fmtall/WPSBCKall.xml and b/PROMS/Formats/fmtall/WPSBCKall.xml differ diff --git a/PROMS/Formats/fmtall/WPSDEVall.xml b/PROMS/Formats/fmtall/WPSDEVall.xml index 44230c01..81fc979d 100644 Binary files a/PROMS/Formats/fmtall/WPSDEVall.xml and b/PROMS/Formats/fmtall/WPSDEVall.xml differ diff --git a/PROMS/Formats/fmtall/WPSDOM_00all.xml b/PROMS/Formats/fmtall/WPSDOM_00all.xml index 63e1d262..b17fbc28 100644 Binary files a/PROMS/Formats/fmtall/WPSDOM_00all.xml and b/PROMS/Formats/fmtall/WPSDOM_00all.xml differ diff --git a/PROMS/Formats/fmtall/WPSDOM_01all.xml b/PROMS/Formats/fmtall/WPSDOM_01all.xml index 5e2a6551..59e40fd7 100644 Binary files a/PROMS/Formats/fmtall/WPSDOM_01all.xml and b/PROMS/Formats/fmtall/WPSDOM_01all.xml differ diff --git a/PROMS/Formats/fmtall/WPSDOM_02all.xml b/PROMS/Formats/fmtall/WPSDOM_02all.xml index 1748ddbb..39b2514e 100644 Binary files a/PROMS/Formats/fmtall/WPSDOM_02all.xml and b/PROMS/Formats/fmtall/WPSDOM_02all.xml differ diff --git a/PROMS/Formats/fmtall/WPSDOMall.xml b/PROMS/Formats/fmtall/WPSDOMall.xml index 2e3285de..1777be0c 100644 Binary files a/PROMS/Formats/fmtall/WPSDOMall.xml and b/PROMS/Formats/fmtall/WPSDOMall.xml differ diff --git a/PROMS/Formats/fmtall/WPSOP_00all.xml b/PROMS/Formats/fmtall/WPSOP_00all.xml index 0521ff1b..20f15a40 100644 Binary files a/PROMS/Formats/fmtall/WPSOP_00all.xml and b/PROMS/Formats/fmtall/WPSOP_00all.xml differ diff --git a/PROMS/Formats/fmtall/WPSOP_01all.xml b/PROMS/Formats/fmtall/WPSOP_01all.xml index 87c452f1..4ee3e679 100644 Binary files a/PROMS/Formats/fmtall/WPSOP_01all.xml and b/PROMS/Formats/fmtall/WPSOP_01all.xml differ diff --git a/PROMS/Formats/fmtall/WPSOP_02all.xml b/PROMS/Formats/fmtall/WPSOP_02all.xml index 666ef787..e0dd3ceb 100644 Binary files a/PROMS/Formats/fmtall/WPSOP_02all.xml and b/PROMS/Formats/fmtall/WPSOP_02all.xml differ diff --git a/PROMS/Formats/fmtall/WPSOP_03all.xml b/PROMS/Formats/fmtall/WPSOP_03all.xml index 9b6d20c6..16b02693 100644 Binary files a/PROMS/Formats/fmtall/WPSOP_03all.xml and b/PROMS/Formats/fmtall/WPSOP_03all.xml differ diff --git a/PROMS/Formats/fmtall/WPSOP_04all.xml b/PROMS/Formats/fmtall/WPSOP_04all.xml index 50be3e74..831e2b56 100644 Binary files a/PROMS/Formats/fmtall/WPSOP_04all.xml and b/PROMS/Formats/fmtall/WPSOP_04all.xml differ diff --git a/PROMS/Formats/fmtall/WPSOP_05all.xml b/PROMS/Formats/fmtall/WPSOP_05all.xml index 0f78c2dc..b6df9cc7 100644 Binary files a/PROMS/Formats/fmtall/WPSOP_05all.xml and b/PROMS/Formats/fmtall/WPSOP_05all.xml differ diff --git a/PROMS/Formats/fmtall/WPSOPall.xml b/PROMS/Formats/fmtall/WPSOPall.xml index 717c504e..85fadccc 100644 Binary files a/PROMS/Formats/fmtall/WPSOPall.xml and b/PROMS/Formats/fmtall/WPSOPall.xml differ diff --git a/PROMS/Formats/fmtall/WPSSAMGall.xml b/PROMS/Formats/fmtall/WPSSAMGall.xml index a36281ac..10bd9b2a 100644 Binary files a/PROMS/Formats/fmtall/WPSSAMGall.xml and b/PROMS/Formats/fmtall/WPSSAMGall.xml differ diff --git a/PROMS/Formats/fmtall/WPS_00all.xml b/PROMS/Formats/fmtall/WPS_00all.xml index 9cd4717c..b46d040c 100644 Binary files a/PROMS/Formats/fmtall/WPS_00all.xml and b/PROMS/Formats/fmtall/WPS_00all.xml differ diff --git a/PROMS/Formats/fmtall/WPS_01all.xml b/PROMS/Formats/fmtall/WPS_01all.xml index bf8c34b8..f4fd3609 100644 Binary files a/PROMS/Formats/fmtall/WPS_01all.xml and b/PROMS/Formats/fmtall/WPS_01all.xml differ diff --git a/PROMS/Formats/fmtall/WPS_02all.xml b/PROMS/Formats/fmtall/WPS_02all.xml index a34212bc..6c03d3b1 100644 Binary files a/PROMS/Formats/fmtall/WPS_02all.xml and b/PROMS/Formats/fmtall/WPS_02all.xml differ diff --git a/PROMS/Formats/fmtall/WPSall.xml b/PROMS/Formats/fmtall/WPSall.xml index ceca2be3..a2cc0888 100644 Binary files a/PROMS/Formats/fmtall/WPSall.xml and b/PROMS/Formats/fmtall/WPSall.xml differ diff --git a/PROMS/Formats/fmtall/fnpnmpall.xml b/PROMS/Formats/fmtall/fnpnmpall.xml index 4ffc6e81..94e7cff1 100644 Binary files a/PROMS/Formats/fmtall/fnpnmpall.xml and b/PROMS/Formats/fmtall/fnpnmpall.xml differ diff --git a/PROMS/Formats/fmtall/hlpfsgall.xml b/PROMS/Formats/fmtall/hlpfsgall.xml index 9dff23d9..123779de 100644 Binary files a/PROMS/Formats/fmtall/hlpfsgall.xml and b/PROMS/Formats/fmtall/hlpfsgall.xml differ diff --git a/PROMS/Formats/fmtall/vcb1all.xml b/PROMS/Formats/fmtall/vcb1all.xml index 03b9cf01..89b3f9c2 100644 Binary files a/PROMS/Formats/fmtall/vcb1all.xml and b/PROMS/Formats/fmtall/vcb1all.xml differ diff --git a/PROMS/Formats/fmtall/vcb2all.xml b/PROMS/Formats/fmtall/vcb2all.xml index 9580f673..4ccb3b9c 100644 Binary files a/PROMS/Formats/fmtall/vcb2all.xml and b/PROMS/Formats/fmtall/vcb2all.xml differ diff --git a/PROMS/Formats/fmtall/vcbaall.xml b/PROMS/Formats/fmtall/vcbaall.xml index 5aaa59cc..5c39c444 100644 Binary files a/PROMS/Formats/fmtall/vcbaall.xml and b/PROMS/Formats/fmtall/vcbaall.xml differ diff --git a/PROMS/Formats/fmtall/vcbalrall.xml b/PROMS/Formats/fmtall/vcbalrall.xml index db3d8dfa..a1cf541e 100644 Binary files a/PROMS/Formats/fmtall/vcbalrall.xml and b/PROMS/Formats/fmtall/vcbalrall.xml differ diff --git a/PROMS/Formats/fmtall/vcbbckall.xml b/PROMS/Formats/fmtall/vcbbckall.xml index d46ef914..243bb2e0 100644 Binary files a/PROMS/Formats/fmtall/vcbbckall.xml and b/PROMS/Formats/fmtall/vcbbckall.xml differ diff --git a/PROMS/Formats/fmtall/vcbeppall.xml b/PROMS/Formats/fmtall/vcbeppall.xml index f0ffafca..5afe836a 100644 Binary files a/PROMS/Formats/fmtall/vcbeppall.xml and b/PROMS/Formats/fmtall/vcbeppall.xml differ diff --git a/PROMS/Formats/fmtall/wst1all.xml b/PROMS/Formats/fmtall/wst1all.xml index e05e5820..bd723400 100644 Binary files a/PROMS/Formats/fmtall/wst1all.xml and b/PROMS/Formats/fmtall/wst1all.xml differ diff --git a/PROMS/Formats/fmtall/wst2all.xml b/PROMS/Formats/fmtall/wst2all.xml index 72ab28d6..6ab56c91 100644 Binary files a/PROMS/Formats/fmtall/wst2all.xml and b/PROMS/Formats/fmtall/wst2all.xml differ diff --git a/PROMS/Formats/fmtall/wstalrall.xml b/PROMS/Formats/fmtall/wstalrall.xml index c507679e..86c73973 100644 Binary files a/PROMS/Formats/fmtall/wstalrall.xml and b/PROMS/Formats/fmtall/wstalrall.xml differ diff --git a/PROMS/Formats/fmtall/wstbckall.xml b/PROMS/Formats/fmtall/wstbckall.xml index 78648e74..6e3b5519 100644 Binary files a/PROMS/Formats/fmtall/wstbckall.xml and b/PROMS/Formats/fmtall/wstbckall.xml differ diff --git a/PROMS/Formats/fmtall/wstcklall.xml b/PROMS/Formats/fmtall/wstcklall.xml index 8e9a8399..79f1a849 100644 Binary files a/PROMS/Formats/fmtall/wstcklall.xml and b/PROMS/Formats/fmtall/wstcklall.xml differ diff --git a/PROMS/Formats/fmtall/wstdcsall.xml b/PROMS/Formats/fmtall/wstdcsall.xml index 89cde50c..52b54977 100644 Binary files a/PROMS/Formats/fmtall/wstdcsall.xml and b/PROMS/Formats/fmtall/wstdcsall.xml differ diff --git a/PROMS/Formats/fmtall/wstdevall.xml b/PROMS/Formats/fmtall/wstdevall.xml index 01eb37b5..3c41fa2f 100644 Binary files a/PROMS/Formats/fmtall/wstdevall.xml and b/PROMS/Formats/fmtall/wstdevall.xml differ diff --git a/PROMS/Formats/fmtall/wstsamall.xml b/PROMS/Formats/fmtall/wstsamall.xml index 9cfbf913..73202e14 100644 Binary files a/PROMS/Formats/fmtall/wstsamall.xml and b/PROMS/Formats/fmtall/wstsamall.xml differ diff --git a/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs index 0cb038ff..59b4cfe1 100644 --- a/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs @@ -49,10 +49,8 @@ namespace VEPROMS this.imageCodecInfoBindingSource = new System.Windows.Forms.BindingSource(this.components); this.ppLblGrphFileExtDefault = new System.Windows.Forms.Label(); this.lblGrphFileExt = new System.Windows.Forms.Label(); - this.ppBtnDeftDisAutoDuplx = new DevComponents.DotNetBar.ButtonX(); this.ppBtnDefWatermark = new DevComponents.DotNetBar.ButtonX(); this.ppCmbxWatermark = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.ppLblAutoDuplexDefault = new System.Windows.Forms.Label(); this.ppLblWatermarkDefault = new System.Windows.Forms.Label(); this.ppNumUpDwnOvrdPrnPenWidth = new System.Windows.Forms.NumericUpDown(); this.label9 = new System.Windows.Forms.Label(); @@ -62,7 +60,6 @@ namespace VEPROMS this.label11 = new System.Windows.Forms.Label(); this.ppNumUpDwnAdjPrnStartPos = new System.Windows.Forms.NumericUpDown(); this.label12 = new System.Windows.Forms.Label(); - this.ppChbxDisAutoDuplex = new System.Windows.Forms.CheckBox(); this.label29 = new System.Windows.Forms.Label(); this.ppChkbxStMsgActive = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.ppRTxtStMsg = new System.Windows.Forms.RichTextBox(); @@ -434,20 +431,6 @@ namespace VEPROMS this.lblGrphFileExt.TabIndex = 19; this.lblGrphFileExt.Text = "Graphic File Extension"; // - // ppBtnDeftDisAutoDuplx - // - this.ppBtnDeftDisAutoDuplx.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDeftDisAutoDuplx.Location = new System.Drawing.Point(595, 22); - this.ppBtnDeftDisAutoDuplx.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.ppBtnDeftDisAutoDuplx.Name = "ppBtnDeftDisAutoDuplx"; - this.ppBtnDeftDisAutoDuplx.Size = new System.Drawing.Size(59, 25); - this.superTooltip1.SetSuperTooltip(this.ppBtnDeftDisAutoDuplx, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDeftDisAutoDuplx.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 150))); - this.ppBtnDeftDisAutoDuplx.TabIndex = 33; - this.ppBtnDeftDisAutoDuplx.Text = "Default"; - this.ppBtnDeftDisAutoDuplx.ThemeAware = true; - this.ppBtnDeftDisAutoDuplx.Visible = false; - this.ppBtnDeftDisAutoDuplx.Click += new System.EventHandler(this.ppBtnDeftDisAutoDuplx_Click); - // // ppBtnDefWatermark // this.ppBtnDefWatermark.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; @@ -480,20 +463,6 @@ namespace VEPROMS this.ppCmbxWatermark.WatermarkText = "select watermark option"; this.ppCmbxWatermark.SelectedValueChanged += new System.EventHandler(this.ppCmbxWatermark_SelectedValueChanged); // - // ppLblAutoDuplexDefault - // - this.ppLblAutoDuplexDefault.AutoSize = true; - this.ppLblAutoDuplexDefault.BackColor = System.Drawing.Color.Transparent; - this.ppLblAutoDuplexDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppLblAutoDuplexDefault.ForeColor = System.Drawing.Color.Gray; - this.ppLblAutoDuplexDefault.Location = new System.Drawing.Point(400, 46); - this.ppLblAutoDuplexDefault.Name = "ppLblAutoDuplexDefault"; - this.ppLblAutoDuplexDefault.Size = new System.Drawing.Size(64, 13); - this.superTooltip1.SetSuperTooltip(this.ppLblAutoDuplexDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the Automatic Duplex default setting", "", "Pressing the Default Button (to the right)\r\nwill reset the Automatic Duplex setti" + - "ng back\r\nto this default.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.ppLblAutoDuplexDefault.TabIndex = 51; - this.ppLblAutoDuplexDefault.Text = "(default ON)"; - // // ppLblWatermarkDefault // this.ppLblWatermarkDefault.AutoSize = true; @@ -594,22 +563,6 @@ namespace VEPROMS this.label12.TabIndex = 6; this.label12.Text = "Adjust Starting Position on Page (dots)"; // - // ppChbxDisAutoDuplex - // - this.ppChbxDisAutoDuplex.AutoSize = true; - this.ppChbxDisAutoDuplex.BackColor = System.Drawing.Color.Transparent; - this.ppChbxDisAutoDuplex.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.folderConfigBindingSource, "Print_DisableDuplex", true)); - this.ppChbxDisAutoDuplex.Location = new System.Drawing.Point(380, 22); - this.ppChbxDisAutoDuplex.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.ppChbxDisAutoDuplex.Name = "ppChbxDisAutoDuplex"; - this.ppChbxDisAutoDuplex.Size = new System.Drawing.Size(199, 20); - this.superTooltip1.SetSuperTooltip(this.ppChbxDisAutoDuplex, new DevComponents.DotNetBar.SuperTooltipInfo("Disable Automatic Duplex", "", "Checking this box will turn OFF the automatic duplexing used in some formats for " + - "Foldout pages.", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, false, new System.Drawing.Size(0, 0))); - this.ppChbxDisAutoDuplex.TabIndex = 32; - this.ppChbxDisAutoDuplex.Text = "Disable Automatic Duplexing"; - this.ppChbxDisAutoDuplex.UseVisualStyleBackColor = false; - this.ppChbxDisAutoDuplex.CheckedChanged += new System.EventHandler(this.ppChbxDisAutoDuplex_CheckedChanged); - // // label29 // this.label29.AutoSize = true; @@ -2277,10 +2230,7 @@ namespace VEPROMS // this.tcpOutputSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.tcpOutputSettings.Controls.Add(this.groupPanel2); - this.tcpOutputSettings.Controls.Add(this.ppBtnDeftDisAutoDuplx); - this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault); this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark); - this.tcpOutputSettings.Controls.Add(this.ppChbxDisAutoDuplex); this.tcpOutputSettings.Controls.Add(this.label29); this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark); this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault); @@ -2597,7 +2547,6 @@ namespace VEPROMS private System.Windows.Forms.Label label27; private System.Windows.Forms.Label label30; private System.Windows.Forms.Label label31; - private System.Windows.Forms.CheckBox ppChbxDisAutoDuplex; private System.Windows.Forms.Label label29; private System.Windows.Forms.BindingSource folderConfigBindingSource; private System.Windows.Forms.Label lblGrphFileExt; @@ -2610,7 +2559,6 @@ namespace VEPROMS private System.Windows.Forms.Label ppLblChgBarUserMsgTwoDefault; private System.Windows.Forms.Label ppLblChgBarUserMsgOneDefault; private System.Windows.Forms.Label ppLblWatermarkDefault; - private System.Windows.Forms.Label ppLblAutoDuplexDefault; private System.Windows.Forms.Label ppLblStpEditorColsDefault; private DevComponents.DotNetBar.SuperTooltip superTooltip1; private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxFormat; @@ -2630,7 +2578,6 @@ namespace VEPROMS private DevComponents.DotNetBar.ButtonX ppBtnDefCbTxt2; private DevComponents.DotNetBar.Controls.CheckBoxX ppCbShwDefSettings; private DevComponents.DotNetBar.ButtonX ppBtnDefEdCols; - private DevComponents.DotNetBar.ButtonX ppBtnDeftDisAutoDuplx; private System.Windows.Forms.FolderBrowserDialog dlgROFolder; private DevComponents.DotNetBar.ButtonX ppBtnChgTextColors; private DevComponents.DotNetBar.ColorPickerDropDown ppColorPickerViewModebckgnd; diff --git a/PROMS/VEPROMS User Interface/frmFolderProperties.cs b/PROMS/VEPROMS User Interface/frmFolderProperties.cs index 7c55c5dc..e0d3a6e7 100644 --- a/PROMS/VEPROMS User Interface/frmFolderProperties.cs +++ b/PROMS/VEPROMS User Interface/frmFolderProperties.cs @@ -116,9 +116,6 @@ namespace VEPROMS _DefaultWatermark = _FolderConfig.Print_Watermark.ToString(); SetupDefault(EnumDescConverter.GetEnumDescription(_FolderConfig.Print_Watermark), ppLblWatermarkDefault, ppCmbxWatermark); - // Get the default Disable Duplex - _DefaultDisableDuplex = _FolderConfig.Print_DisableDuplex; - ppLblAutoDuplexDefault.Text = string.Format("(Duplex {0})", (_DefaultDisableDuplex) ? "OFF" : "ON"); // Get the default Format Columns _DefaultFormatColumns = _FolderConfig.Format_Columns.ToString(); @@ -305,24 +302,6 @@ namespace VEPROMS ppLblGrphFileExtDefault.Visible = false; this.lblGrphFileExt.Visible = false; - // Set the auto duplex controls based on whether the format allows this: - // Note that the controls' visibility would not set correctly using the following two lines of code. That - // is why the more explicit logic was done. - //ppChbxDisAutoDuplex.Visible = _DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex; - //ppLblAutoDuplexDefault.Visible = ppBtnDeftDisAutoDuplx.Visible = ppLblAutoDuplexDefault.Visible; - FolderInfo fi = FolderInfo.Get(_FolderConfig.MyFolder.FolderID); - if (fi.ActiveFormat.PlantFormat.FormatData.PrintData.AllowDuplex) - { - ppChbxDisAutoDuplex.Visible = true; - ppLblAutoDuplexDefault.Visible = true; - ppBtnDeftDisAutoDuplx.Visible = true; - } - else - { - ppChbxDisAutoDuplex.Visible = false; - ppLblAutoDuplexDefault.Visible = false; - ppBtnDeftDisAutoDuplx.Visible = false; - } // HIDE the text box that allows the user to change the Procedure Panel's heading (title) on the panel bar ppRTxtHeading.Visible = false; lblHeading.Visible = false; @@ -664,20 +643,6 @@ namespace VEPROMS //tcpOutputSettings.Focus(); } - /// - /// Checkbox of the Disable Automatic Duplex changed. - /// - /// object - /// EventArgs - private void ppChbxDisAutoDuplex_CheckedChanged(object sender, EventArgs e) - { - if (!_Initializing) - { - _FolderConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked; - ppBtnDeftDisAutoDuplx.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (_DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked); - ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible; - } - } #endregion @@ -1174,7 +1139,6 @@ namespace VEPROMS ppLblChgBarUserMsgOneDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt1.Visible; ppLblChgBarUserMsgTwoDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt2.Visible; - ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible; ppLblStpEditorColsDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefEdCols.Visible; ppLblGrphFileExtDefault.Visible = (ppCbShwDefSettings.Checked || _IsVepromsNode) && ppBtnDefaultGrphFileExt.Visible; ppLblWatermarkDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefWatermark.Visible; @@ -1300,15 +1264,6 @@ namespace VEPROMS } } - private void ppBtnDeftDisAutoDuplx_Click(object sender, EventArgs e) - { - ppChbxDisAutoDuplex.Checked = _DefaultDisableDuplex; - _FolderConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked; - ppBtnDeftDisAutoDuplx.Visible = false; - ppLblAutoDuplexDefault.Visible = false; - //tcpOutputSettings.Focus(); - } - private void frmFolderProperties_Shown(object sender, EventArgs e) { ppRTxtName.Focus(); diff --git a/PROMS/VEPROMS User Interface/frmProcedureProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmProcedureProperties.Designer.cs index 2a826d34..cee5af17 100644 --- a/PROMS/VEPROMS User Interface/frmProcedureProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmProcedureProperties.Designer.cs @@ -74,9 +74,6 @@ namespace VEPROMS this.label41 = new System.Windows.Forms.Label(); this.ppNumUpDwnAdjPrnStartPos = new System.Windows.Forms.NumericUpDown(); this.label42 = new System.Windows.Forms.Label(); - this.ppBtnDeftDisAutoDuplx = new DevComponents.DotNetBar.ButtonX(); - this.ppLblAutoDuplexDefault = new System.Windows.Forms.Label(); - this.ppChbxDisAutoDuplex = new System.Windows.Forms.CheckBox(); this.ppBtnDefWatermark = new DevComponents.DotNetBar.ButtonX(); this.ppCmbxWatermark = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.ppLblWatermarkDefault = new System.Windows.Forms.Label(); @@ -712,52 +709,6 @@ namespace VEPROMS this.label42.TabIndex = 6; this.label42.Text = "Adjust Starting Position on Page (dots)"; // - // ppBtnDeftDisAutoDuplx - // - this.ppBtnDeftDisAutoDuplx.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDeftDisAutoDuplx.Location = new System.Drawing.Point(592, 30); - this.ppBtnDeftDisAutoDuplx.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.ppBtnDeftDisAutoDuplx.Name = "ppBtnDeftDisAutoDuplx"; - this.ppBtnDeftDisAutoDuplx.Size = new System.Drawing.Size(59, 25); - this.superTooltip1.SetSuperTooltip(this.ppBtnDeftDisAutoDuplx, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDeftDisAutoDuplx.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 150))); - this.ppBtnDeftDisAutoDuplx.TabIndex = 63; - this.ppBtnDeftDisAutoDuplx.TabStop = false; - this.ppBtnDeftDisAutoDuplx.Text = "Default"; - this.ppBtnDeftDisAutoDuplx.ThemeAware = true; - this.ppBtnDeftDisAutoDuplx.Visible = false; - this.ppBtnDeftDisAutoDuplx.Click += new System.EventHandler(this.ppBtnDeftDisAutoDuplx_Click); - // - // ppLblAutoDuplexDefault - // - this.ppLblAutoDuplexDefault.AutoSize = true; - this.ppLblAutoDuplexDefault.BackColor = System.Drawing.Color.Transparent; - this.ppLblAutoDuplexDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppLblAutoDuplexDefault.ForeColor = System.Drawing.Color.Gray; - this.ppLblAutoDuplexDefault.Location = new System.Drawing.Point(397, 54); - this.ppLblAutoDuplexDefault.Name = "ppLblAutoDuplexDefault"; - this.ppLblAutoDuplexDefault.Size = new System.Drawing.Size(86, 17); - this.superTooltip1.SetSuperTooltip(this.ppLblAutoDuplexDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the Automatic Duplex default setting", "", "Pressing the Default Button (to the right)\r\nwill reset the Automatic Duplex setti" + - "ng back\r\nto this default.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0))); - this.ppLblAutoDuplexDefault.TabIndex = 62; - this.ppLblAutoDuplexDefault.Text = "(default ON)"; - // - // ppChbxDisAutoDuplex - // - this.ppChbxDisAutoDuplex.AutoSize = true; - this.ppChbxDisAutoDuplex.BackColor = System.Drawing.Color.Transparent; - this.ppChbxDisAutoDuplex.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.procedureConfigBindingSource, "Print_DisableDuplex", true)); - this.ppChbxDisAutoDuplex.Location = new System.Drawing.Point(377, 30); - this.ppChbxDisAutoDuplex.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.ppChbxDisAutoDuplex.Name = "ppChbxDisAutoDuplex"; - this.ppChbxDisAutoDuplex.Size = new System.Drawing.Size(209, 21); - this.superTooltip1.SetSuperTooltip(this.ppChbxDisAutoDuplex, new DevComponents.DotNetBar.SuperTooltipInfo("Disable Automatic Duplex", "", "Checking this box will turn OFF the automatic duplexing used in some formats for " + - "Foldout pages.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0))); - this.ppChbxDisAutoDuplex.TabIndex = 61; - this.ppChbxDisAutoDuplex.TabStop = false; - this.ppChbxDisAutoDuplex.Text = "Disable Automatic Duplexing"; - this.ppChbxDisAutoDuplex.UseVisualStyleBackColor = false; - this.ppChbxDisAutoDuplex.CheckedChanged += new System.EventHandler(this.ppChbxDisAutoDuplex_CheckedChanged); - // // ppBtnDefWatermark // this.ppBtnDefWatermark.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; @@ -1709,10 +1660,7 @@ namespace VEPROMS // tcpOutputSettings // this.tcpOutputSettings.Controls.Add(this.ppGrpbxPrnAdj); - this.tcpOutputSettings.Controls.Add(this.ppBtnDeftDisAutoDuplx); this.tcpOutputSettings.Controls.Add(this.label18); - this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault); - this.tcpOutputSettings.Controls.Add(this.ppChbxDisAutoDuplex); this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault); this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark); this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark); @@ -2056,9 +2004,6 @@ namespace VEPROMS private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxWatermark; private System.Windows.Forms.Label ppLblWatermarkDefault; private System.Windows.Forms.Label label18; - private DevComponents.DotNetBar.ButtonX ppBtnDeftDisAutoDuplx; - private System.Windows.Forms.Label ppLblAutoDuplexDefault; - private System.Windows.Forms.CheckBox ppChbxDisAutoDuplex; private System.Windows.Forms.NumericUpDown ppNumUpDwnOvrdPrnPenWidth; private System.Windows.Forms.Label label39; private System.Windows.Forms.Label label40; diff --git a/PROMS/VEPROMS User Interface/frmProcedureProperties.cs b/PROMS/VEPROMS User Interface/frmProcedureProperties.cs index 4f90856c..19d5958d 100644 --- a/PROMS/VEPROMS User Interface/frmProcedureProperties.cs +++ b/PROMS/VEPROMS User Interface/frmProcedureProperties.cs @@ -168,9 +168,6 @@ namespace VEPROMS _DefaultFormatColumns = _ProcedureConfig.Format_Columns.ToString(); SetupDefault(EnumDescConverter.GetEnumDescription(_ProcedureConfig.Format_Columns), ppLblStpEditorColsDefault, ppCmbxStpEditorCols); - // Get the default Disable Duplex - _DefaultDisableDuplex = _ProcedureConfig.Print_DisableDuplex; - ppLblAutoDuplexDefault.Text = string.Format("(Duplex {0})", (_DefaultDisableDuplex) ? "OFF" : "ON"); _ProcedureConfig.ParentLookup = false; @@ -581,7 +578,6 @@ namespace VEPROMS ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible; ppLblChgBarUserMsgOneDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt1.Visible; ppLblChgBarUserMsgTwoDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt2.Visible; - ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible; } /// @@ -741,14 +737,6 @@ namespace VEPROMS //tcpOutputSettings.Focus(); } - private void ppBtnDeftDisAutoDuplx_Click(object sender, EventArgs e) - { - ppChbxDisAutoDuplex.Checked = _DefaultDisableDuplex; - _ProcedureConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked; - ppBtnDeftDisAutoDuplx.Visible = false; - ppLblAutoDuplexDefault.Visible = false; - //tcpOutputSettings.Focus(); - } private void ppTxbxChangeBarUserMsgOne_TextChanged(object sender, EventArgs e) { @@ -764,17 +752,6 @@ namespace VEPROMS //tcpOutputSettings.Focus(); } - private void ppChbxDisAutoDuplex_CheckedChanged(object sender, EventArgs e) - { - - if (!_Initializing) - { - _ProcedureConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked; - ppBtnDeftDisAutoDuplx.Visible = _DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked; - ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible; - //tcpOutputSettings.Focus(); - } - } private void frmProcedureProperties_Shown(object sender, EventArgs e) { diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs index cf799479..2d7606d6 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs @@ -76,14 +76,11 @@ namespace VEPROMS this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.ppBtnPDFLoc = new DevComponents.DotNetBar.ButtonX(); - this.ppBtnDeftDisAutoDuplx = new DevComponents.DotNetBar.ButtonX(); this.ppBtnDefWatermark = new DevComponents.DotNetBar.ButtonX(); this.ppCmbxWatermark = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.ppLblWatermarkDefault = new System.Windows.Forms.Label(); this.ppTxtBxPDFLoc = new System.Windows.Forms.TextBox(); this.label18 = new System.Windows.Forms.Label(); - this.ppLblAutoDuplexDefault = new System.Windows.Forms.Label(); - this.ppChbxDisAutoDuplex = new System.Windows.Forms.CheckBox(); this.label17 = new System.Windows.Forms.Label(); this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); this.ppCbShwDefSettings = new DevComponents.DotNetBar.Controls.CheckBoxX(); @@ -806,19 +803,6 @@ namespace VEPROMS this.ppBtnPDFLoc.TabIndex = 31; this.ppBtnPDFLoc.Click += new System.EventHandler(this.ppBtnPDFLoc_Click); // - // ppBtnDeftDisAutoDuplx - // - this.ppBtnDeftDisAutoDuplx.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDeftDisAutoDuplx.Location = new System.Drawing.Point(434, 60); - this.ppBtnDeftDisAutoDuplx.Margin = new System.Windows.Forms.Padding(2); - this.ppBtnDeftDisAutoDuplx.Name = "ppBtnDeftDisAutoDuplx"; - this.ppBtnDeftDisAutoDuplx.Size = new System.Drawing.Size(44, 20); - this.superTooltip1.SetSuperTooltip(this.ppBtnDeftDisAutoDuplx, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDeftDisAutoDuplx.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 150))); - this.ppBtnDeftDisAutoDuplx.TabIndex = 35; - this.ppBtnDeftDisAutoDuplx.Text = "Default"; - this.ppBtnDeftDisAutoDuplx.ThemeAware = true; - this.ppBtnDeftDisAutoDuplx.Click += new System.EventHandler(this.ppBtnDeftDisAutoDuplx_Click); - // // ppBtnDefWatermark // this.ppBtnDefWatermark.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; @@ -887,37 +871,6 @@ namespace VEPROMS this.label18.TabIndex = 54; this.label18.Text = "PDF Location"; // - // ppLblAutoDuplexDefault - // - this.ppLblAutoDuplexDefault.AutoSize = true; - this.ppLblAutoDuplexDefault.BackColor = System.Drawing.Color.Transparent; - this.ppLblAutoDuplexDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppLblAutoDuplexDefault.ForeColor = System.Drawing.Color.Gray; - this.ppLblAutoDuplexDefault.Location = new System.Drawing.Point(286, 80); - this.ppLblAutoDuplexDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.ppLblAutoDuplexDefault.Name = "ppLblAutoDuplexDefault"; - this.ppLblAutoDuplexDefault.Size = new System.Drawing.Size(64, 13); - this.superTooltip1.SetSuperTooltip(this.ppLblAutoDuplexDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the Automatic Duplex default setting", "", "Pressing the Default Button (to the right)\r\nwill reset the Automatic Duplex setti" + - "ng back\r\nto this default.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0))); - this.ppLblAutoDuplexDefault.TabIndex = 53; - this.ppLblAutoDuplexDefault.Text = "(default ON)"; - // - // ppChbxDisAutoDuplex - // - this.ppChbxDisAutoDuplex.AutoSize = true; - this.ppChbxDisAutoDuplex.BackColor = System.Drawing.Color.Transparent; - this.ppChbxDisAutoDuplex.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_DisableDuplex", true)); - this.ppChbxDisAutoDuplex.Location = new System.Drawing.Point(272, 60); - this.ppChbxDisAutoDuplex.Margin = new System.Windows.Forms.Padding(2); - this.ppChbxDisAutoDuplex.Name = "ppChbxDisAutoDuplex"; - this.ppChbxDisAutoDuplex.Size = new System.Drawing.Size(161, 17); - this.superTooltip1.SetSuperTooltip(this.ppChbxDisAutoDuplex, new DevComponents.DotNetBar.SuperTooltipInfo("Disable Automatic Duplex", "", "Checking this box will turn OFF the automatic duplexing used in some formats for " + - "Foldout pages.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0))); - this.ppChbxDisAutoDuplex.TabIndex = 34; - this.ppChbxDisAutoDuplex.Text = "Disable Automatic Duplexing"; - this.ppChbxDisAutoDuplex.UseVisualStyleBackColor = false; - this.ppChbxDisAutoDuplex.CheckedChanged += new System.EventHandler(this.ppChbxDisAutoDuplex_CheckedChanged); - // // label17 // this.label17.AutoSize = true; @@ -2419,10 +2372,7 @@ namespace VEPROMS this.tcpOutputSettings.Controls.Add(this.ppBtnPDFLoc); this.tcpOutputSettings.Controls.Add(this.ppChbxAlwaysOvrWrtPDF); this.tcpOutputSettings.Controls.Add(this.label17); - this.tcpOutputSettings.Controls.Add(this.ppBtnDeftDisAutoDuplx); this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark); - this.tcpOutputSettings.Controls.Add(this.ppChbxDisAutoDuplex); - this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault); this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark); this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault); this.tcpOutputSettings.DisabledBackColor = System.Drawing.Color.Empty; @@ -2905,8 +2855,6 @@ namespace VEPROMS private System.Windows.Forms.Label label17; private System.Windows.Forms.TextBox ppTxtBxPDFLoc; private System.Windows.Forms.Label label18; - private System.Windows.Forms.Label ppLblAutoDuplexDefault; - private System.Windows.Forms.CheckBox ppChbxDisAutoDuplex; private System.Windows.Forms.Label ppLblFormatDefault; private DevComponents.DotNetBar.SuperTooltip superTooltip1; private System.Windows.Forms.Label ppLblWatermarkDefault; @@ -2928,7 +2876,6 @@ namespace VEPROMS private System.Windows.Forms.Label ppLblDefSettingsInfo; private DevComponents.DotNetBar.Controls.CheckBoxX ppCbShwDefSettings; private DevComponents.DotNetBar.ButtonX ppBtnDefWatermark; - private DevComponents.DotNetBar.ButtonX ppBtnDeftDisAutoDuplx; private DevComponents.DotNetBar.ButtonX ppBtnPDFLoc; private DevComponents.DotNetBar.ButtonX ppBtnDefaultChgBar; private DevComponents.DotNetBar.ButtonX ppBtnDefCbTxt1; diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs index b0aa638f..8e3671cb 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs @@ -275,23 +275,6 @@ namespace VEPROMS // only allow update if association, and the RO update was not done and/or not completed ppBtnUpRoVals.Enabled = !_DocVersionConfig.MyDocVersion.ROfstLastCompleted || _DocVersionConfig.MyDocVersion.NewerRoFst; - // Set the auto duplex controls based on whether the format allows this: - // Note that the controls' visibility would not set correctly using the following two lines of code. That - // is why the more explicit logic was done. - //ppChbxDisAutoDuplex.Visible = _DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex; - //ppLblAutoDuplexDefault.Visible = ppBtnDeftDisAutoDuplx.Visible = ppLblAutoDuplexDefault.Visible; - if (_DocVersionConfig.MyDocVersion.MyFormat != null && _DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex) - { - ppChbxDisAutoDuplex.Visible = true; - ppLblAutoDuplexDefault.Visible = true; - ppBtnDeftDisAutoDuplx.Visible = true; - } - else - { - ppChbxDisAutoDuplex.Visible = false; - ppLblAutoDuplexDefault.Visible = false; - ppBtnDeftDisAutoDuplx.Visible = false; - } //add new applicability stuff if (_DocVersionConfig.Unit_Count > 0) @@ -886,9 +869,6 @@ namespace VEPROMS _DefaultWatermark = _DocVersionConfig.Print_Watermark.ToString(); SetupDefault(EnumDescConverter.GetEnumDescription(_DocVersionConfig.Print_Watermark), ppLblWatermarkDefault, ppCmbxWatermark); - // Get the default Disable Duplex - _DefaultDisableDuplex = _DocVersionConfig.Print_DisableDuplex; - ppLblAutoDuplexDefault.Text = string.Format("(Duplex {0})", (_DefaultDisableDuplex) ? "OFF" : "ON"); _DocVersionConfig.ParentLookup = false; } @@ -1094,13 +1074,6 @@ namespace VEPROMS } } - private void ppBtnDeftDisAutoDuplx_Click(object sender, EventArgs e) - { - ppChbxDisAutoDuplex.Checked = _DefaultDisableDuplex; - _DocVersionConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked; - ppBtnDeftDisAutoDuplx.Visible = false; - ppLblAutoDuplexDefault.Visible = false; - } private void frmVersionsProperties_Shown(object sender, EventArgs e) { @@ -1636,21 +1609,6 @@ namespace VEPROMS ppCmbxFormat.SelectedIndex = -1; } - /// - /// If checked, will disable automatic duplexing (ex Foldout Pages) - /// - /// - /// - private void ppChbxDisAutoDuplex_CheckedChanged(object sender, EventArgs e) - { - if (!_Initializing) - { - _DocVersionConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked; - ppBtnDeftDisAutoDuplx.Visible = (_DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked); - ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible; - } - - } /// /// Enable or disable the user specified change bar options base on the type @@ -1834,7 +1792,6 @@ namespace VEPROMS ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible; //ppLblPaginationDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefPagination.Visible; ppLblWatermarkDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefWatermark.Visible; - ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible; } /// diff --git a/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs index 9a2f75b6..b2797317 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs @@ -545,44 +545,8 @@ namespace VEPROMS.CSLA.Library OnPropertyChanged("Print_Watermark"); } } - [Category("Print Settings")] - [DisplayName("Disable Automatic Duplexing")] - [RefreshProperties(RefreshProperties.All)] - [Description("Disable Duplex Printing")] - public bool Print_DisableDuplex - { - get - { - string s = _Xp["PrintSettings", "disableduplex"]; - //If there is no value to get, then get the parent value (a.k.a. default value). - if (s == string.Empty) - s = _Xp.ParentValue("PrintSettings", "disableduplex"); // get the parent value - // If there is no parent value, then use the volian default - if (s == string.Empty) - s = "false";// default to volian default - - return bool.Parse(s); - } - set - { - // if value being saved is same as the parent value, then clear the value (save blank). This will - // reset the data to use the parent value. - - string parval = _Xp.ParentValue("PrintSettings", "disableduplex"); // get the parent value - - if (parval.Equals(string.Empty)) // if the parent value is empty, then use the volian default - parval = "false"; - - if (parval.Equals(value.ToString())) - _Xp["PrintSettings", "disableduplex"] = string.Empty; // reset to parent value - else - _Xp["PrintSettings", "disableduplex"] = value.ToString(); // save selected value - - OnPropertyChanged("Print_DisableDuplex"); - } - } - // C2019-004: Allow user to define duplex lank page text at the docversion level + // C2019-004: Allow user to define duplex blank page text at the docversion level [Category("Print Settings")] [DisplayName("Duplex Blank Page Text")] [RefreshProperties(RefreshProperties.All)] diff --git a/PROMS/VEPROMS.CSLA.Library/Config/FolderConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/FolderConfig.cs index 75abf38e..940b84d4 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/FolderConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/FolderConfig.cs @@ -812,43 +812,6 @@ namespace VEPROMS.CSLA.Library OnPropertyChanged("Print_Watermark"); } } - [Category("Print Settings")] - [DisplayName("Disable Automatic Duplexing")] - [RefreshProperties(RefreshProperties.All)] - [Description("Disable Duplex Printing")] - public bool Print_DisableDuplex - { - get - { - string s = _Xp["PrintSettings", "disableduplex"]; - - //If there is no value to get, then get the parent value (a.k.a. default value). - if (s == string.Empty) - s = _Xp.ParentValue("PrintSettings", "disableduplex"); // get the parent value - // If there is no parent value, then use the volian default - if (s == string.Empty) - s = "false";// default to volian default - - return bool.Parse(s); - } - set - { - // if value being saved is same as the parent value, then clear the value (save blank). This will - // reset the data to use the parent value. - - string parval = _Xp.ParentValue("PrintSettings", "disableduplex"); // get the parent value - - if (parval.Equals(string.Empty)) // if the parent value is empty, then use the volian default - parval = "False"; - - if (parval.Equals(value.ToString())) - _Xp["PrintSettings", "disableduplex"] = string.Empty; // reset to parent value - else - _Xp["PrintSettings", "disableduplex"] = value.ToString(); // save selected value - - OnPropertyChanged("Print_DisableDuplex"); - } - } // Change Bar Use from 16-bit code: // No Default // Without Change Bars diff --git a/PROMS/VEPROMS.CSLA.Library/Config/ProcConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/ProcConfig.cs index adb5dd7b..d3a5468f 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/ProcConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/ProcConfig.cs @@ -607,43 +607,6 @@ namespace VEPROMS.CSLA.Library } } [Category("Print Settings")] - [DisplayName("Disable Automatic Duplexing")] - [RefreshProperties(RefreshProperties.All)] - [Description("Disable Duplex Printing")] - public bool Print_DisableDuplex - { - get - { - string s = _Xp["PrintSettings", "disableduplex"]; - - //If there is no value to get, then get the parent value (a.k.a. default value). - if (s == string.Empty) - s = _Xp.ParentValue("PrintSettings", "disableduplex"); // get the parent value - // If there is no parent value, then use the volian default - if (s == string.Empty) - s = "false";// default to volian default - - return bool.Parse(s); - } - set - { - // if value being saved is same as the parent value, then clear the value (save blank). This will - // reset the data to use the parent value. - - string parval = _Xp.ParentValue("PrintSettings", "disableduplex"); // get the parent value - - if (parval.Equals(string.Empty)) // if the parent value is empty, then use the volian default - parval = "false"; - - if (parval.Equals(value.ToString())) - _Xp["PrintSettings", "disableduplex"] = string.Empty; // reset to parent value - else - _Xp["PrintSettings", "disableduplex"] = value.ToString(); // save selected value - - OnPropertyChanged("Print_DisableDuplex"); - } - } - [Category("Print Settings")] [DisplayName("Print All Not In Merge Pdfs")] [RefreshProperties(RefreshProperties.All)] [Description("Print All Do Not Include In Merge Pdfs")] diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index ca204abb..eae5674d 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -1481,9 +1481,6 @@ namespace VEPROMS.CSLA.Library int firstInc = item.ActiveFormat.MyStepSectionLayoutData.PaginateOnFirstSubstep ? 0 : 1; ItemInfo parent = item.ActiveParent as ItemInfo; - // TODO: Format flag 'TreatAsSequential': - // The following needs to account for use of format flag 'TreatAsSequential' when doing - // formats that have it. if (item.IsExactType("And") || item.IsExactType("Or") || item.IsExactType("ImplicitOr")) level++; //if (item.ParentAndOr) @@ -3392,6 +3389,9 @@ namespace VEPROMS.CSLA.Library return retval; } + // used in some background document formats - all appear to be set on a Caution type. + // This will place the text of this type (caution) on the same row (of the page) and to the left of its parent. + // Is also used as a step designatior for Commanche Peak public bool SameRowAsParent { get @@ -4621,7 +4621,6 @@ namespace VEPROMS.CSLA.Library tbformat = tbformat.Replace("{ROMAN}", roman); tbformat = tbformat.Substring(0, tbformat.Length - ((roman.Length - 1) > 0 ? (roman.Length - 1) : 0)); } - if (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.VirtualDotInHLSTab && tbformat.Contains("numeric") & ordinal > 9) _MyTab.AdjustTabSpace = true; if (tbformat.Contains("{numeric}") && ((MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_AddDotZeroStdHLS) == E_DocStructStyle.DSS_AddDotZeroStdHLS) && MyContent.Type == 20002) { tbformat = tbformat.Replace("{numeric}", ordinal.ToString().PadLeft(2) + ".0"); @@ -4963,7 +4962,7 @@ namespace VEPROMS.CSLA.Library && (LastRNO != null) && LastRNO.IsHigh && LastRNO.HasChildren && LastRNO.FirstChild(E_FromType.Step) != null && LastRNO.FirstChild(E_FromType.Step).IsSequential) { - level++; // 16bit has this: I didn't and mine worked most of time. + level++; if (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ImperfectStructurePlus4) level += 2; if (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ImperfectSubstep && !ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ImperfectStructurePlus4) PrintBias = -1; @@ -5891,12 +5890,6 @@ namespace VEPROMS.CSLA.Library get { return _RemovedStyleUnderline; } set { _RemovedStyleUnderline = value; } } - private bool _AdjustTabSpace = false; - public bool AdjustTabSpace - { - get { return _AdjustTabSpace; } - set { _AdjustTabSpace = value; } - } public Tab(VE_Font font) { MyFont = font; diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs index 15a2d82c..eb2a7849 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs @@ -962,7 +962,6 @@ namespace VEPROMS.CSLA.Library return myReturn; } - // TODO: For hlp: LowerCaseTranNumber - lower case substep numbers in transitions private static bool AddTransitionProcNum(TransitionBuilder tb) // Coded for HLP { string retstr = tb._ToItem.MyProcedure.MyContent.Number; diff --git a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs index 2c85aa55..52947440 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs @@ -11,6 +11,7 @@ namespace VEPROMS.CSLA.Library public class DocStyles : vlnFormatItem { [Description("Document Styles Name")] + //Not used in the PROMS code. Only used as a title for the DocStyles grouping private LazyLoad _Name; public string Name { @@ -65,6 +66,7 @@ namespace VEPROMS.CSLA.Library public DocStyle(XmlNode xmlNode) : base(xmlNode) { } public DocStyle() : base() { } #region IndexName + // a unuque number that is use in the SQL record to referenced the DocStyle for a seciton private LazyLoad _Index; public int? Index { @@ -74,6 +76,7 @@ namespace VEPROMS.CSLA.Library } } [Description("Document Styles Name")] + // Use in the lists that display the name of a seciton format style (Section Properties) private LazyLoad _Name; public string Name { @@ -84,6 +87,7 @@ namespace VEPROMS.CSLA.Library } #endregion #region Font + // the font to use for the section private VE_Font _Font; [Category("Font")] [DisplayName("Font")] @@ -101,7 +105,9 @@ namespace VEPROMS.CSLA.Library // This will adjust the top margin when the section title is not printed on the other pages. (CreateStepPDF() in PromsPrinter.cs) [Category("Miscellaneous")] [Description("AdjustTopMarginOnStepContinuePages")] - private LazyLoad _AdjustTopMarginOnStepContinuePages; + + // used with the "PSOnlyFirst" in pagelist so that a section title is printed only on the first page of the section. This will adjust the top margin when the section title is not printed on the other pages. + private LazyLoad _AdjustTopMarginOnStepContinuePages; public int AdjustTopMarginOnStepContinuePages { get @@ -115,6 +121,9 @@ namespace VEPROMS.CSLA.Library #region numberingsequence [Category("Miscellaneous")] [Description("Numbering Sequence")] + // defines how the page numbers are counted (i.e. count with procedure, + // count just within this section, don't count, etc). + // - see E_NumberingSequence in Enum.cs private LazyLoad _NumberingSequence; public E_NumberingSequence? NumberingSequence { @@ -123,10 +132,12 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NumberingSequence, "@NumberingSequence"); } } - #endregion + #endregion numberingsequence + #region IndexOtherThanFirstPage [Category("Miscellaneous")] [Description("IndexOtherThanFirstPage")] + // references the DocStyle to use for pages two through the last page of the section. this is used along with the "Where" setting "UseOnFirstPage" private LazyLoad _IndexOtherThanFirstPage; public int? IndexOtherThanFirstPage { @@ -135,7 +146,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IndexOtherThanFirstPage, "@IndexOtherThanFirstPage"); } } - #endregion + #endregion IndexOtherThanFirstPage + #region SecOvrideSupInfoTabOff // This overrides the tab position of the Supplemental Information steps at the section level // This will also override the overall supplemental Information tab adjustment set at the format level (SupInfoTabOff) @@ -149,10 +161,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SecOvrideSupInfoTabOff, "@SecOvrideSupInfoTabOff"); } } - #endregion + #endregion SecOvrideSupInfoTabOff + #region IsStepSection [Category("Miscellaneous")] [Description("Is a Step Section")] + + // When set to True, the section uses the PROMS Step editor, when set to False, Word is used to edit the section contents private LazyLoad _IsStepSection; public bool IsStepSection { @@ -161,10 +176,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IsStepSection, "@IsStepSection"); } } - #endregion + #endregion IsStepSection + #region Inactive [Category("Miscellaneous")] [Description("Is Active Section Type")] + + // when set to True, the section type is hidden from the user + // - but this section type could still be used "internally" by PROMS (i.e. when "Where" is set to "UseOnAllButFirstPage") + // - is also used to keep un-used section types around for future use private LazyLoad _Inactive; public bool Inactive { @@ -173,10 +193,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Inactive, "@Inactive"); } } - #endregion + #endregion Inactive + #region SupplementalInfo [Category("Miscellaneous")] [Description("Supports Supplemental Information")] + + // Use in SAMG procedures, flag that tells PROMS this section type can have Supplemental Information. + // This information is entered as an RNO off of a step but is printed on the backside of the previous page + // (like a foldout page) so that it is visable along with the steps that it applies. private LazyLoad _SupplementalInformation; public bool SupplementalInformation { @@ -185,8 +210,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SupplementalInformation, "@SupplementalInformation"); } } - // B2023-060: Pagination - if section uses supplemental information, use the Section's properties/pagination (continuous or - // separate) rather than always setting to separate + + // B2023-060: Procedures with Supplemental Information will assume that all sections are printed separately. + // This flag will use the Section's properties/pagination (continuous or separate) + // rather than always setting to separate [Category("Miscellaneous")] [Description("Supports Supplemental Information Pagination")] private LazyLoad _SupInfoNoPaginOverride; @@ -197,9 +224,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SupInfoNoPaginOverride, "@SupInfoNoPaginOverride"); } } + // F2023-035: WCN - allow for change in left margin for supplemental information pages by - // setting a value in the DocStyle for the adjustment. This is used when importing the vlnParagraph page - // page & when doing pagelist items + // setting a value in the DocStyle for the adjustment. This is used when importing the vlnParagraph page + // page & when doing pagelist items + // summary: adjustment to the left margin for the associated supplemental information pages private LazyLoad _SupInfoMargAdj; public float? SupInfoMargAdj { @@ -208,11 +237,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SupInfoMargAdj, "@SupInfoMargAdj"); } } - - #endregion + + #endregion SupplementalInfo + #region LandscapePageList [Category("Miscellaneous")] [Description("Should PageList be landscape")] + + // this will rotate the associated PageStyle information 180 degrees to the left private LazyLoad _LandscapePageList; public bool LandscapePageList { @@ -221,11 +253,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _LandscapePageList, "@LandscapePageList"); } } - #endregion + #endregion LandscapePageList + #region ShowSectionTitles [Category("Miscellaneous")] [Description("Should Section Titles be shown")] private LazyLoad _ShowSectionTitles; + // like the ShowSectionTitles at the StepSectionLayData level - turns on printing the section number and title on the first page of the section. This allows it to be controled based on which section type was selected, so long as it's set to false at the StepSectionLayData level. public bool ShowSectionTitles { get @@ -233,10 +267,12 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ShowSectionTitles, "@ShowSectionTitles"); } } - #endregion + #endregion ShowSectionTitles + #region ResetFirstPageOnSection [Category("Miscellaneous")] [Description("Reset first page of section on Separate pagination section")] + // put in for V.C. Summer private LazyLoad _ResetFirstPageOnSection; public bool ResetFirstPageOnSection { @@ -245,10 +281,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ResetFirstPageOnSection, "@ResetFirstPageOnSection"); } } - #endregion + #endregion ResetFirstPageOnSection + #region IncludeInTOC [Category("Miscellaneous")] [Description("Include in Auto Table Of Contents")] + + // this will include the section in the Automatic Table Of Contents by default (unless it's turned off in Section Properties) private LazyLoad _IncludeInTOC; public bool IncludeInTOC { @@ -257,10 +296,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IncludeInTOC, "@IncludeInTOC"); } } - #endregion + #endregion IncludeInTOC + #region UseCheckOffs [Category("Miscellaneous")] [Description("Section Uses Checkoffs")] + + // turns on the ability for a step editor section to have checkoffs private LazyLoad _UseCheckOffs; public bool UseCheckOffs { @@ -269,10 +311,12 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseCheckOffs, "@UseCheckOffs"); } } - #endregion + #endregion UseCheckOffs + #region UseCheckOffs [Category("Miscellaneous")] [Description("Section Uses MetaSection ColSByLevel")] + // the section uses the MetaSection ColSByLevel setting (based on step text level) to position the step on the page private LazyLoad _UseColSByLevel; public bool UseColSByLevel { @@ -281,22 +325,12 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseColSByLevel, "@UseColSByLevel"); } } - #endregion - #region Oldtonew - [Category("Miscellaneous")] - [Description("Convert from old to new")] - private LazyLoad _OldToNew; - public int? OldToNew - { - get - { - return LazyLoad(ref _OldToNew, "@OldToNew"); - } - } - #endregion + #endregion UseCheckOffs + #region CancelSectTitle [Category("Miscellaneous")] [Description("Section Cancel Section Title")] + // this will prevent the section number and title from printing at the beginning of the section. This is set to false when the section number and/or title is printed from the PageStyle instead private LazyLoad _CancelSectTitle; public bool CancelSectTitle { @@ -305,7 +339,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CancelSectTitle, "@CancelSectTitle"); } } - #endregion + #endregion CancelSectTitle + #region DontInsertBlankPages [Category("Miscellaneous")] [Description("Don't insert blank pages in this section when printing duplex with blank pages")] @@ -318,13 +353,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DontInsertBlankPages, "@DontInsertBlankPages"); } } - #endregion + #endregion DontInsertBlankPages + #region CenterLine //CenterLineX="261.9" CenterLineYTop="673.2" CenterLineYBottom="44.2" private LazyLoad _CenterLineX; [Category("CenterLine")] [DisplayName("X Location")] [Description("Distance from left side of page")] + // horizontal positon of a center line that is drawn on the printed page public float? CenterLineX { get @@ -332,6 +369,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CenterLineX, "@CenterLineX"); } } + + // the vertical starting positon of a center line that is drawn on the printed page private LazyLoad _CenterLineYTop; [Category("CenterLine")] [DisplayName("Y Top Location")] @@ -343,6 +382,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CenterLineYTop, "@CenterLineYTop"); } } + + // the vertical ending positon of a center line that is drawn on the printed page private LazyLoad _CenterLineYBottom; [Category("CenterLine")] [DisplayName("Y Bottom Location")] @@ -354,10 +395,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CenterLineYBottom, "@CenterLineYBottom"); } } + private LazyLoad _CLineWidth; [Category("CenterLine")] [DisplayName("Line Width")] [Description("Width of Lines Internal to Boxes")] + + // overrides the default pen width (.95) used to draw the center line public float? CLineWidth { get @@ -365,10 +409,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CLineWidth, "@CLineWidth"); } } - #endregion + #endregion CenterLine + #region OptionalSectionContent [Category("Miscellaneous")] [Description("Section Optional Content")] + + // don't print the "No Section Content" message when section is empty private LazyLoad _OptionalSectionContent; public bool OptionalSectionContent { @@ -377,10 +424,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _OptionalSectionContent, "@OptionalSectionContent"); } } - #endregion + #endregion OptionalSectionContent + #region Section Number Flags [Category("Miscellaneous")] [Description("Don't parse the section number - use DisplayNumber value")] + + // when creating a section tab, use as was entered in section properties private LazyLoad _DontParseSectionNumber; public bool DontParseSectionNumber { @@ -390,9 +440,13 @@ namespace VEPROMS.CSLA.Library } } #endregion + #region SpecialStepsFoldout [Category("Miscellaneous")] [Description("Section Special Steps Foldout")] + + // (for step editor foldouts) reduces white space on the foldout page to allow more information on the page, + // also special handling of step tabs when section numbers normally are part of step numbers private LazyLoad _SpecialStepsFoldout; public bool SpecialStepsFoldout { @@ -401,8 +455,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpecialStepsFoldout, "@SpecialStepsFoldout"); } } + [Category("Miscellaneous")] [Description("Section Special Steps Foldout with white space")] + + // allow for all of the other special foldout formatting, but not compress the page private LazyLoad _SpecialStepsFoldoutKeepWhiteSpace; public bool SpecialStepsFoldoutKeepWhiteSpace { @@ -411,8 +468,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpecialStepsFoldoutKeepWhiteSpace, "@SpecialStepsFoldoutKeepWhiteSpace"); } } + [Category("Miscellaneous")] [Description("Section Extra Line Header")] + // add and extra blank line before a Caution/Note header, appears to be used with SpecialStepsFoldout logic + // and the SpaceIn set on Caution and Note step types private LazyLoad _ExtraLineHeader; public bool ExtraLineHeader { @@ -421,10 +481,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ExtraLineHeader, "@ExtraLineHeader"); } } - #endregion + #endregion SpecialStepsFoldout + #region UndSpecialStepsFoldout [Category("Miscellaneous")] [Description("Section Cancel Section Title")] + + // used in Foldout section types, will underline the High Level Steps of a Foldout (Step Editor Section) private LazyLoad _UndSpecialStepsFoldout; public bool UndSpecialStepsFoldout { @@ -433,11 +496,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UndSpecialStepsFoldout, "@UndSpecialStepsFoldout"); } } - #endregion + #endregion UndSpecialStepsFoldout + #region CoverNoMergedPageNum [Category("Miscellaneous")] [Description("Cover Page Do Not Show Page Count")] - private LazyLoad _CoverNoMergedPageNum; // F2021-046: flag if cover page section doesn't print page number on first page of merged pdf: + + // F2021-046: When doing the Merge option when printing all procedures, flag if cover page section + // doesn't print the merged page number on first page of the merged pdf (used in printing Alarm Procedure sets) + private LazyLoad _CoverNoMergedPageNum; public bool CoverNoMergedPageNum { get @@ -445,10 +512,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CoverNoMergedPageNum, "@CoverNoMergedPageNum"); } } - #endregion + #endregion CoverNoMergedPageNum + #region AlignHLSTabWithSect [Category("Miscellaneous")] [Description("Align HLS Tab With Sect")] + + // Align the starting position of the High Level Step to be under the section header (section title). + // The step width is also ajusted to fit within the page margins private LazyLoad _AlignHLSTabWithSect; public bool AlignHLSTabWithSect { @@ -457,10 +528,17 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AlignHLSTabWithSect, "@AlignHLSTabWithSect"); } } - #endregion + #endregion AlignHLSTabWithSect + #region AdjSectTitleLoc [Category("Miscellaneous")] [Description("Adjust Section Title Location")] + + // When high level steps are used as the high level section number and title (a ".0" is added to the high level + // step number). This flag adds additional tabbing logic (location & numbering) and deals with printing + // the INITIAL header (checkoffs/signoffs) when then continuous pagination is set with other sections. + // This was added to support Barakah’s meta sections step/sub-step tabbing and the INITIAL sign off header + // placement in the page header. private LazyLoad _AdjSectTitleLoc; public bool AdjSectTitleLoc // B2022-129: don't indent HLS when flag is on (Barakah - single column step attachment with meta sect) { @@ -469,12 +547,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AdjSectTitleLoc, "@AdjSectTitleLoc"); } } - #endregion + #endregion AdjSectTitleLoc + #region ShowAlarmPointWindowInfo [Category("Miscellaneous")] [Description("Show Alarm Point Table Info in Step Editor")] - private LazyLoad _ShowAlarmPointWindowInfo; + //C2021-018 show alarm point RO data in step editor (BNPP Alarms) + // used to display Alarm Point Table RO values in the editor. A read-only Note type is used, off of step the section title, to display the Alarm Point table RO information. + private LazyLoad _ShowAlarmPointWindowInfo; public bool ShowAlarmPointWindowInfo { get @@ -482,10 +563,17 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ShowAlarmPointWindowInfo, "@ShowAlarmPointWindowInfo"); } } - #endregion + #endregion ShowAlarmPointWindowInfo + #region ComponentList [Category("Miscellaneous")] [Description("Component List")] + + // this is used generate a could different types of section and step formatting. + // Along with this flag, it uses a Template (defined in the format file) + // and specially defined step and sub-step types to create specialized formatting when printed. + // It's used for Calvert Cliffs Alarm Point pages, Calvert Cliffs Valve List sections, + // and Farley Component List tales (Figure section in EOP procedures). private LazyLoad _ComponentList; public bool ComponentList { @@ -494,12 +582,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ComponentList, "@ComponentList"); } } - #endregion + #endregion ComponentList + #region pagestyle private PageStyle _pagestyle; [Category("Miscellaneous")] [DisplayName("Page Style")] [Description("Page Style")] + + // Get the PageStyle associated with the DocStyle public PageStyle pagestyle { get @@ -510,7 +601,8 @@ namespace VEPROMS.CSLA.Library return _pagestyle; } } - #endregion + #endregion pagestyle + #region SubElements private Layout _Layout; public Layout Layout @@ -595,6 +687,8 @@ namespace VEPROMS.CSLA.Library [Category("Layout")] [DisplayName("Top Margin on Printed Page")] [Description("Top Margin on Printed Page")] + + // The top point of the printed page to start printing the step text (or section number/title) public float? TopMargin { get @@ -608,6 +702,8 @@ namespace VEPROMS.CSLA.Library [Category("Location")] [DisplayName("Number of lines required for footer")] [Description("Number of lines required for footer")] + + // space to reserve if needed for bottom page messages (ex: continue message) public float? FooterLength { get @@ -615,11 +711,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _FooterLength, "@FooterLength"); } } + #endregion + #region ChangeBarAdjustment // B2023-052: Beaver Valley - Inconsistent change bar location private LazyLoad _AbsChgBarAdj; [Category("Location")] [DisplayName("Absolute change bar adjustment for margin differences")] [Description("Absolute change bar adjustment for margin differences")] + + // when AbsoluteFixedChangeColumn flag is used it is from the LeftMargin. If a unique section has a different LeftMarge define, change bars in that section will not be located at the same location as the other sections. This allows for an adjustment to the change bar location to match the other sections public float? AbsChgBarAdj { get @@ -627,12 +727,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AbsChgBarAdj, "@AbsChgBarAdj"); } } - #endregion + #endregion ChangeBarAdjustment + #region LeftMargin private LazyLoad _LeftMargin; [Category("Location")] [DisplayName("Size of left margin")] [Description("Size of left margin")] + + // the absolute left position on the printed page that text can be printed. other format variables and PageStyle column positions used this as the starting reference point public float? LeftMargin { get @@ -662,12 +765,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _LeftMargin, "@LeftMargin"); } } - #endregion + #endregion LeftMargin + #region PageLength private LazyLoad _PageLength; [Category("Location")] [DisplayName("Length of Page")] [Description("Length of Page")] + + // the length of the printable area for step text (also for Word sections) - used to determin page breaks when printing public float? PageLength { get @@ -698,12 +804,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PageLength, "@PageLength"); } } - #endregion + #endregion PageLength + #region PageWidth private LazyLoad _PageWidth; [Category("Location")] [DisplayName("Width of Page")] [Description("Width of Page")] + + // width of the printed page from the LeftMargin (defines the Right Margin of the section) public float? PageWidth { get @@ -711,12 +820,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PageWidth, "@PageWidth"); } } - #endregion + #endregion PageWidth + #region MSWordXAdj private LazyLoad _MSWordXAdj; [Category("Location")] [DisplayName("MSWord X Adjustment")] [Description("X Placement of PDF during Print")] + + // used for landscape Word sections, adjusts the Horizontal position on the printed page public float? MSWordXAdj { get @@ -724,12 +836,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MSWordXAdj, "@MSWordXAdj"); } } - #endregion + #endregion MSWordXAdj + #region MSWordYAdj private LazyLoad _MSWordYAdj; [Category("Location")] [DisplayName("MSWord Y Adjustment")] [Description("Y Placement of PDF during Print")] + + // used for landscape Word sections, adjusts the Vertical position on the printed page public float? MSWordYAdj { get @@ -737,12 +852,17 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MSWordYAdj, "@MSWordYAdj"); } } - #endregion + #endregion MSWordYAdj + #region SectionMacro private LazyLoad _SectionMacro; [Category("Extras")] [DisplayName("Section Macro")] [Description("Section Macro Prints With Title")] + + // will print a defined print macro with the section title. + // (ex. Westinghouse Alarms format will print a solid line before the section title + // for the "Line Above Section Title" section style) public string SectionMacro { get @@ -750,10 +870,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SectionMacro, "@SectionMacro"); } } - #endregion + #endregion SectionMacro + + #region CenterToStepThenPage [Category("Layout")] [Description("CenterToStepThenPage")] + + // centering position of Tables and Figures is calulated first with repect to the table or figure width, then that positionm is centered with respect the printable page width and left margin private LazyLoad _CenterToStepThenPage; public bool CenterToStepThenPage { @@ -762,10 +886,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CenterToStepThenPage, "@CenterToStepThenPage"); } } - #endregion + #endregion CenterToStepThenPage } - #endregion - #region SectTop + #endregion Layout + + #region SectTopWcnTraining [TypeConverter(typeof(ExpandableObjectConverter))] public class SectTop : vlnFormatItem { @@ -789,6 +914,8 @@ namespace VEPROMS.CSLA.Library [Category("Section Continue Msg")] [DisplayName("Margin for Section top msg")] [Description("Margin for Section top msg")] + + // used to position Responsibility text for Wolf Creek Training format public float? Margin { get @@ -796,12 +923,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Margin, "@Margin"); } } - #endregion + #endregion Margin + #region MaxLen private LazyLoad _MaxLen; [Category("Section Continue Msg")] [DisplayName("MaxLen for text within the column")] [Description("MaxLen for text within the column")] + + // the maxium length of Responsibility text (Wolf Creek Training format) public int? MaxLen { get @@ -809,12 +939,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MaxLen, "@MaxLen"); } } - #endregion + #endregion MaxLen #region Message private LazyLoad _Message; [Category("Continue Msg")] [DisplayName("Section Top Continue Msg")] [Description("Section Top Continue Msg")] + + // top continue message used only for Wolf Creek Training format public string Message { get @@ -822,9 +954,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Message, "@Message"); } } - #endregion + #endregion Message } - #endregion + #endregion SectTopWcnTraining + #region ContinueAll #region Continue [TypeConverter(typeof(ExpandableObjectConverter))] @@ -897,6 +1030,8 @@ namespace VEPROMS.CSLA.Library [Category("Continue Msg")] [DisplayName("Margin for top msg")] [Description("Margin for top msg")] + + //value added to the left margin when calculating the center point of a top continue message. public float? Margin { get @@ -904,7 +1039,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Margin, "@Margin"); } } - #endregion + #endregion Margin + #region RowOverride // C2019-044 put in for Barakah Single Column format // specify the row to put the top continue message @@ -921,11 +1057,14 @@ namespace VEPROMS.CSLA.Library } } #endregion + #region UseStepTabs private LazyLoad _UseStepTabs; [Category("Continue Msg")] [DisplayName("Flag to use step tabs")] [Description("Flag to use step tabs")] + + // added for Comanche Peak will print out step tabs as a top comtinue message. public bool UseStepTabs { get @@ -933,12 +1072,21 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseStepTabs, "@UseStepTabs"); } } - #endregion + #endregion UseStepTabs + #region HLS private LazyLoad _HLS; [Category("Continue Msg")] [DisplayName("Include HLS in top continue msg")] [Description("Include HLS in top continue msg")] + + // include the High Level Step in the top continue message + // - see DoTopContinueMsg in VlnParagraph for details + // set to "1" will use high level step tab and text + // set to "4" the high level step text is the section title, appears when fist level sub-step breaks + // set to "7" similar logic as "4" but for Vogtle Main Control Room alarms but use high level step text + // set to "6" handle when break occures on Caution/Note + // set to "3" special logic for Calvert Cliffs Alarms (the two column part) public int? HLS { get @@ -946,12 +1094,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _HLS, "@HLS"); } } - #endregion + #endregion HLS + #region PlaceAtLeftMargin private LazyLoad _PlaceAtLeftMargin; // F2019-033 only use the Left Margin plus any Top message margin [Category("Continue Msg")] [DisplayName("Flag to position at left margin")] [Description("Flag to position at left margin")] + + // position the top continue message with respect only to the left margin public bool PlaceAtLeftMargin { get @@ -959,7 +1110,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PlaceAtLeftMargin, "@PlaceAtLeftMargin"); } } - #endregion + #endregion PlaceAtLeftMargin + #region Message private LazyLoad _RemoveBullet; public bool RemoveBullet // C2021-024: WCN1 if bullet exists in combined tab, stop right before bullet. @@ -969,10 +1121,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RemoveBullet, "@RemoveBullet"); } } + private LazyLoad _Message; [Category("Continue Msg")] [DisplayName("Top Continue Msg")] [Description("Top Continue Msg")] + + // the top continue message string - may caontain special formatting items - see DoTopContinueMsg in vlnParagraph for different format settings public string Message { get @@ -980,9 +1135,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Message, "@Message"); } } - #endregion + #endregion Message } - #endregion + + #endregion Top + #region Bottom [TypeConverter(typeof(ExpandableObjectConverter))] public class Bottom : vlnFormatItem @@ -1007,6 +1164,8 @@ namespace VEPROMS.CSLA.Library [Category("Continue Msg")] [DisplayName("Margin for bottom msg")] [Description("Margin for bottom msg")] + + // horitzontal position of the bottom continue message from the left margin public float? Margin { get @@ -1014,12 +1173,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Margin, "@Margin"); } } - #endregion + #endregion Margin + #region MarginR BGE private LazyLoad _MarginR; [Category("Continue Msg")] [DisplayName("Margin for bottom msg RNO Column (if in both columns)")] [Description("Margin for bottom msg RNO Column (if in both columns)")] + + // horitzontal position from the left margin for a RNO bottom continue message public float? MarginR { get @@ -1027,20 +1189,23 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MarginR, "@MarginR"); } } - #endregion + #endregion MarginR BGE + #region Location [Category("Continue Msg")] [Description("Bottom Continue Location")] - - private LazyLoad _NumberingSequence; - public E_NumberingSequence? NumberingSequence - { - get - { - return LazyLoad(ref _NumberingSequence, "@NumberingSequence"); - } - } private LazyLoad _Location; + + // location of the bottom continue message + // E_ContBottomLoc list (ENum.cs): + // EndOfText = 0, + // BtwnTextAndBottom = 1, + // BottomOfPage = 2, + // BelowBottom1 = 3, + // BottomWithFooter = 4, - added for BGE for Alarms. This puts continue message on bottom AND if in CONDITION/RESPONSE table, at bottom of both columns. + // EndOfText2 = 5, + // BtwnTextAndBottom2 = 6 - Added for BGE, their continue message was a line or so too far down the page + public E_ContBottomLoc? Location { get @@ -1048,6 +1213,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Location, "@Location"); } } + + // flag for cases where step text was printing on top of the bottom continue messsage due to how a step was paginated - put in for Farley private LazyLoad _NoOverrideSpace; public bool NoOverrideSpace { @@ -1056,6 +1223,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoOverrideSpace, "@NoOverrideSpace"); } } + + // Location Adjustment of the calculated vertical position of the bottom continue message (from Location setting) private LazyLoad _LocAdj; public int? LocAdj { @@ -1065,7 +1234,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _LocAdj, "@LocAdj"); } } - #endregion + #endregion Location + #region Message private LazyLoad _RemoveBullet; public bool RemoveBullet // C2021-024: WCN1 if bullet exists in combined tab, stop right before bullet. @@ -1075,10 +1245,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RemoveBullet, "@RemoveBullet"); } } + private LazyLoad _Message; [Category("Continue Msg")] [DisplayName("Bottom Continue Msg")] [Description("Bottom Continue Msg")] + + //the bottom continue message string - may caontain special formatting items + //- see DoBottomContinueMsg in vlnParagraph for different format settings public string Message { get @@ -1086,9 +1260,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Message, "@Message"); } } - #endregion + #endregion Message } - #endregion + #endregion Bottom + #region SectionTitle [TypeConverter(typeof(ExpandableObjectConverter))] public class SectionTitle : vlnFormatItem @@ -1100,6 +1275,8 @@ namespace VEPROMS.CSLA.Library [Category("Section Title Continue Msg")] [DisplayName("AppendToTitle")] [Description("Append Text to Section Title For Continue Msg")] + + // continue message to add to the section title public string AppendToTitle { get @@ -1107,10 +1284,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AppendToTitle, "@AppendToTitle"); } } - #endregion + #endregion AppendToTitle } - #endregion //SectionTitle - continue setting - #endregion + #endregion //SectionTitle - continue setting + #endregion ContinueAll + #region End [TypeConverter(typeof(ExpandableObjectConverter))] public class End : vlnFormatItem @@ -1135,6 +1313,8 @@ namespace VEPROMS.CSLA.Library [Category("End Msg")] [DisplayName("End Msg Exists")] [Description("End Msg Exists")] + + // vertical positon adjustment of the End message public int? Flag { get @@ -1142,12 +1322,15 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Flag, "@Flag"); } } - #endregion + #endregion Flag + #region Message private LazyLoad _Message; [Category("End Msg")] [DisplayName("End Message")] [Description("End Message")] + + // End Message Text public string Message { get @@ -1155,6 +1338,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Message, "@Message"); } } + public string FixedMessage { get @@ -1162,6 +1346,8 @@ namespace VEPROMS.CSLA.Library return Message == null ? null : Message.Replace("\n","\r\n").Replace(@"{par}","\r\n"); } } + + // amount of space from the left margin to print the End Message private LazyLoad _Margin; public float? Margin { @@ -1170,6 +1356,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Margin, "@Margin"); } } + + // print the end message at the end of each sub-section private LazyLoad _EndMessageOnEachSubSection; public bool EndMessageOnEachSubSection { @@ -1178,9 +1366,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _EndMessageOnEachSubSection, "@EndMessageOnEachSubSection"); } } - #endregion + #endregion Message } - #endregion + #endregion End + #region Final [TypeConverter(typeof(ExpandableObjectConverter))] public class Final : vlnFormatItem @@ -1191,6 +1380,8 @@ namespace VEPROMS.CSLA.Library [Category("Final Msg")] [DisplayName("Final Message")] [Description("Final Message")] + + // Final Message text to be printed on last page of procedure public string Message { get @@ -1199,7 +1390,8 @@ namespace VEPROMS.CSLA.Library } } } - #endregion + #endregion Final + #region StructureStyle [TypeConverter(typeof(ExpandableObjectConverter))] public class StructureStyle : vlnFormatItem @@ -1210,6 +1402,13 @@ namespace VEPROMS.CSLA.Library [Category("Structure Style")] [Description("Where Used")] private LazyLoad _Where; + + // where with repect to the section is this DocStyle/PageList relationship used: + // UseOnAllPages (all pages of the section), UseOnFirstPage (only the first page of the section), + // UseOnAllButFirstPage (all except for the first page of the section). + // Note that when UseOnFirstPage is used, it but reference a DocStyle (IndexOtherThanFirstPage) + // that uses UseOnAllButFirstPage. + public E_DocStyleUse? Where { get @@ -1217,10 +1416,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Where, "@Where"); } } - #endregion + #endregion Where + #region Style [Category("Structure Style")] [Description("Style")] + + // allow us to identify a specialized type of section (Table of Contents, Foldout Page, etc) as well as other unique formatting that deviates from the normal formatting/data entry of the procedure. See "E_DocStructStyle" in VEPROMS.CSLA.Library\ENums.cs for alist of the possible flags and descriptions. private LazyLoad _Style; public E_DocStructStyle? Style { @@ -1229,8 +1431,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Style, "@Style"); } } - #endregion + #endregion Style } - #endregion - #endregion + #endregion StructureStyle + #endregion DocStyleAll } diff --git a/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs b/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs index beb4276d..27a22aee 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs @@ -127,10 +127,6 @@ namespace VEPROMS.CSLA.Library [Flags] public enum E_DocStructStyle : ulong { - //USEONALLPAGES = 0, // Default - //USEONFIRSTPAGE = 1, // Use only on the first page - //USEONALLBUTFIRSTPAGE = 2, // Use on all but the first page - //USEONLASTPAGE = 4, // NO LOGIC exists for this selection. Use only on the last page None = 0, UseSectionFoldout = 8, // Attach section foldouts (only active if using SectionLevelFoldouts_ON DontCountFoldoutPgs = 16, // Used with the USESECTIONFOLDOUT flag. Keeps foldout pages from @@ -138,7 +134,7 @@ namespace VEPROMS.CSLA.Library TableOfContents = 32, DontCountInTabOfCont = 64, Placekeeper = 128, - Align1StLevSubWHLS = 0x00000100, // guess? + Align1StLevSubWHLS = 0x00000100, // the first level sub-step will start at the same column as the high level step DoubleBoxHLS = 0x00000200, UseAltCntrline = 0x00000400, DontNumberInTOC = 0x00000800, // Don't include page number for this section in the Table of Contents diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PageStyles.cs b/PROMS/VEPROMS.CSLA.Library/Format/PageStyles.cs index df70d5d1..a1af31b5 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PageStyles.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PageStyles.cs @@ -21,6 +21,7 @@ namespace VEPROMS.CSLA.Library public PageStyle() : base() { } #endregion #region Business Methods + // description to associate with a DocStyle private LazyLoad _Name; [DisplayName("Name")] [Description("Page Style Name")] @@ -31,6 +32,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Name, "@Name"); } } + + // a unuque number that is referenced from the DocStyles private LazyLoad _Index; [DisplayName("Index")] [Description("Page Style Index")] @@ -41,6 +44,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Index, "@Index"); } } + private PageItems _PageItems; public PageItems PageItems { @@ -66,6 +70,7 @@ namespace VEPROMS.CSLA.Library } #endregion #region PageItem + // this links up the group in public class PageItem : vlnFormatItem { #region Constructor @@ -92,6 +97,8 @@ namespace VEPROMS.CSLA.Library return (_RelatedItem == null) ? _RelatedItem = new RelatedItem(SelectSingleNode("RelatedItem")) : _RelatedItem; } } + + // this can be an actual token, in curly braces, that dynamically gets replaced with information, or just plain text private LazyLoad _Token; [Category("Content")] [DisplayName("Content")] @@ -103,6 +110,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Token, "@Token"); } } + + // the row on the page to place the Item private LazyLoad _Row; [Category("Location")] [DisplayName("Vertical Position")] @@ -114,6 +123,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Row, "@Row"); } } + + // the column on the page to place the Item private LazyLoad _Col; [Category("Location")] [DisplayName("Horizontal Position")] @@ -125,6 +136,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Col, "@Col"); } } + + // the justification at the Col position in which to print the Token information private LazyLoad _Justify; public E_Justify? Justify { @@ -133,6 +146,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Justify, "@Justify"); } } + + //run the PROMS Replace Words logic on the resulting text of Token private LazyLoad _RepWords; // F2021-053: Do replace words in page list public bool RepWords { @@ -141,6 +156,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RepWords, "@RepWords"); } } + + //Flag to tell PROMS to get the alarm value information based on the specified Child applicability private LazyLoad _ROLkUpMatch; // C2021-065 (BNPP Alarms format) public bool ROLkUpMatch { @@ -149,6 +166,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ROLkUpMatch, "@ROLkUpMatch"); } } + + // Flag to specify if that PageStyle Item should be used in creating alarm point information + // for viewing in the PROMS step editor + // this information is displayed in a Note that it build on the fly when first opening an Alarm Point page private LazyLoad _ROLkUpInEditor; // C2021-018 (BNPP Alarms format) public bool ROLkUpInEditor { @@ -157,6 +178,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ROLkUpInEditor, "@ROLkUpInEditor"); } } + + // defines a maxium width before the resolved PSI token (procedure specific information) text is wrapped + // on to the next line private LazyLoad _MaxWidth; public int? MaxWidth { @@ -165,6 +189,7 @@ namespace VEPROMS.CSLA.Library return (LazyLoad(ref _MaxWidth, "@MaxWidth")); } } + // MaxWidth, above, flagged that, if there was more than 1 line, the topmargin would be adjusted by however // many lines the PSI item contained (for wst alarms). The MaxWidthCurPage is used when that adjustment // should not be made, the length of the PSI item is only relevant for the current page. @@ -177,6 +202,8 @@ namespace VEPROMS.CSLA.Library return (LazyLoad(ref _MaxWidthCurPage, "@MaxWidthCurPage")); } } + + // the resolved pagestype item font size will be reduce in order to fit within the defined width private LazyLoad _FontShrinkAftLen; // F2021-066 & 070 (text len before shrinking font) public int? FontShrinkAftLen { @@ -185,6 +212,8 @@ namespace VEPROMS.CSLA.Library return (LazyLoad(ref _FontShrinkAftLen, "@FontShrinkAftLen")); } } + + // used in Alarm Point Table page style values with FontShrinkAftLen set, will display this message if the text cannot be shrunk enough (and be readable) to fit within the defined width private LazyLoad _FontTooSmallMsg; // F2021-066 message if can't shrink enough public string FontTooSmallMsg { @@ -193,7 +222,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _FontTooSmallMsg, "@FontTooSmallMsg"); } } + // F2023-039 allow to select text color of a pagelist line + // sets a text color for the page style Item private LazyLoad _TextColor; public string TextColor { @@ -202,6 +233,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TextColor, "@TextColor"); } } + + // set to a string, will remove the matching string from the end // F2023-112 Vogtle Units 3 & Backgrounds - trim the ending "-B" from the procedure number (used in title box of page header) private LazyLoad _TrimEnding; public string TrimEnding @@ -235,6 +268,8 @@ namespace VEPROMS.CSLA.Library public RelatedItem() : base() { } #endregion #region Business Methods + + // the name of the PSI logical token to check private LazyLoad _Token; [Category("RelatedContent")] [DisplayName("RelatedContent")] @@ -246,6 +281,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Token, "@Token"); } } + + // new Row value to use for PageStyle Item private LazyLoad _Row; [Category("Location")] [DisplayName("Vertical Position")] @@ -257,6 +294,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Row, "@Row"); } } + + // new Col value to use for PageStyle Item private LazyLoad _Col; [Category("Location")] [DisplayName("Horizontal Position")] @@ -268,6 +307,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Col, "@Col"); } } + + // new Justify value to use for PageStyle Item private LazyLoad _Justify; public E_Justify? Justify { diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index faf65a31..153cd329 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -546,6 +546,8 @@ namespace VEPROMS.CSLA.Library return _Font == null? _Font = new VE_Font(base.XmlNode): _Font; } } + + // Defines the printed page size (ex: US Letter, A4) private PDFPageSize _PDFPageSize; public PDFPageSize PDFPageSize // C2020-002 paper size is now set in the format files { @@ -594,6 +596,7 @@ namespace VEPROMS.CSLA.Library } set { _SymbolList = value; } } + // gets the high level node that contains setting used in the procedure step editor private EditData _EditData; public EditData EditData { @@ -602,6 +605,7 @@ namespace VEPROMS.CSLA.Library return _EditData == null ? _EditData = new EditData(SelectSingleNode("EditData")): _EditData; } } + // gets the high level node that contains settings used to generate PDFs (print) private PrintData _PrintData; public PrintData PrintData { @@ -610,6 +614,7 @@ namespace VEPROMS.CSLA.Library return _PrintData == null? _PrintData = new PrintData(SelectSingleNode("PrintData")):_PrintData; } } + // get high level node containing settings used for both edit and print private ProcData _ProcData; public ProcData ProcData { @@ -618,6 +623,7 @@ namespace VEPROMS.CSLA.Library return _ProcData == null? _ProcData = new ProcData(SelectSingleNode("ProcData")):_ProcData; } } + // get high level node containing settings pertraining to sections of a procedure private SectData _SectData; public SectData SectData { @@ -626,6 +632,7 @@ namespace VEPROMS.CSLA.Library return _SectData == null? _SectData = new SectData(SelectSingleNode("SectData")):_SectData; } } + // get a list of box formatting information primarily used for Cautions, Notes, and Warnings. private BoxList _BoxList; public BoxList BoxList { @@ -635,6 +642,7 @@ namespace VEPROMS.CSLA.Library } set { _BoxList = value; } } + // gets a list of trainsition formatting information for various types of transitions private TransData _TransData; public TransData TransData { @@ -643,6 +651,7 @@ namespace VEPROMS.CSLA.Library return _TransData == null? _TransData = new TransData(SelectSingleNode("TransData")):_TransData; } } + // get format settings related to handling Referenced Object values private ROData _ROData; public ROData ROData { @@ -651,6 +660,7 @@ namespace VEPROMS.CSLA.Library return _ROData == null ? _ROData = new ROData(SelectSingleNode("ROData")) : _ROData; } } + // gets a list containing all of the defined step types and step parts (high level, sub-steps, cations, notes, etc) private StepDataList _StepDataList; public StepDataList StepDataList { @@ -919,6 +929,8 @@ namespace VEPROMS.CSLA.Library public class PDFPageSize : vlnFormatItem { public PDFPageSize(XmlNode xmlNode) : base(xmlNode) { } + + // Defines the printed page size (ex: US Letter, A4) private LazyLoad _PaperSize; public string PaperSize { @@ -1162,23 +1174,7 @@ namespace VEPROMS.CSLA.Library [TypeConverter(typeof(ExpandableObjectConverter))] public class EditData : vlnFormatItem { - public EditData(XmlNode xmlNode) : base(xmlNode) { } - private LazyLoad _EMode; - public E_EMode? EMode - { - get - { - return LazyLoad(ref _EMode, "@EMode"); - } - } - private LazyLoad _PromptForCautionType; - public bool PromptForCautionType - { - get - { - return LazyLoad(ref _PromptForCautionType, "@PromptForCautionType"); - } - } + public EditData(XmlNode xmlNode) : base(xmlNode) { } // Put in for Farley. This puts editor in editoral mode while a spell check being performed // - No change bars will be added // - existing change bars will remain @@ -1198,15 +1194,9 @@ namespace VEPROMS.CSLA.Library public class PrintData : vlnFormatItem { public PrintData(XmlNode xmlNode) : base(xmlNode) { } - private VersionIdTextList _VersionIdTextList; - public VersionIdTextList VersionIdTextList - { - get - { - return _VersionIdTextList == null? _VersionIdTextList = new VersionIdTextList(SelectNodes("VersionIdText/string")):_VersionIdTextList; - } - set { _VersionIdTextList = value; } - } + + // List of procedure descriptions (ProcDescr) inwhich we match the beginning of a procedure number + // in order to print procedure description text via a pagelist token private ProcDescrList _ProcDescrList; public ProcDescrList ProcDescrList { @@ -1215,14 +1205,9 @@ namespace VEPROMS.CSLA.Library return _ProcDescrList == null? _ProcDescrList = new ProcDescrList(SelectNodes("ProcDescrList/ProcDescr")):_ProcDescrList; } } - private LazyLoad _DoPrnDrvrAdjusts; - public int? DoPrnDrvrAdjusts - { - get - { - return LazyLoad(ref _DoPrnDrvrAdjusts, "@DoPrnDrvrAdjusts"); - } - } + + // an offset value for the placement of step tabs used in a Supplemental Information section of SAMG procedures + // to allow space for a Note or Caution tab. private LazyLoad _SupInfoTabOff; public int? SupInfoTabOff { @@ -1231,6 +1216,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SupInfoTabOff, "@SupInfoTabOff"); } } + + // Flag to determin if the parent tab is used as the first part of a supplemental info step/sub-step tab. private LazyLoad _SupInfoIncludeParTab; public bool SupInfoIncludeParTab { @@ -1239,6 +1226,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SupInfoIncludeParTab, "@SupInfoIncludeParTab"); } } + + // Shift the hoizontal positon of a step by 12 if the supplemental Info step tab was going to print over step text private LazyLoad _SupInfoAdjustXOffForLongTab; public bool SupInfoAdjustXOffForLongTab { @@ -1247,14 +1236,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SupInfoAdjustXOffForLongTab, "@SupInfoAdjustXOffForLongTab"); } } - private LazyLoad _TopOfPageThing; - public string TopOfPageThing - { - get - { - return LazyLoad(ref _TopOfPageThing, "@TopOfPageThing"); - } - } + + // flag to allow user to enter the procedure revision number, either a forward or back slash, + // then the revision date or revision text private LazyLoad _DoRevDate; public bool DoRevDate { @@ -1263,14 +1247,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DoRevDate, "@DoRevDate"); } } - private LazyLoad _AlternateFoldoutPages; - public bool AlternateFoldoutPages - { - get - { - return LazyLoad(ref _AlternateFoldoutPages, "@AlternateFoldoutPages"); - } - } + + // Print alternate foldout pages within a defined range of procedure step pages. + // You can have multiple Foldout Page sections within a procedure, + // each pertaining to a range of steps (ranges cannot overlap) - used by Shearon Harris private LazyLoad _AlternateFloatingFoldout; public bool AlternateFloatingFoldout { @@ -1279,6 +1259,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AlternateFloatingFoldout, "@AlternateFloatingFoldout"); } } + + // Allows the user to identify a procedure section that is to be used as a foldout page + // that is printed on the backside of procedure step pages private LazyLoad _SectionLevelFoldouts; public bool SectionLevelFoldouts { @@ -1287,6 +1270,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SectionLevelFoldouts, "@SectionLevelFoldouts"); } } + + // This will replace any forward or back slash character they may be in the procedures's PDF file name + // with the character defined in the plant's format file private LazyLoad _SlashReplace; public string SlashReplace { @@ -1295,6 +1281,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SlashReplace, "@SlashReplace"); } } + + // Flag - (flag is named incorrectly) when set allows user to append to the procedure's revision number, + // a backslash character followed by a revision date private LazyLoad _RevDateWithForwardSlash; public bool RevDateWithForwardSlash { @@ -1303,6 +1292,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RevDateWithForwardSlash, "@RevDateWithForwardSlash"); } } + + // On the Working Draft Properties page, Turns on a text box for the user to enter in a unit number + // that is used on cover pages and in the page header - D.C. Cook and Calvert Cliffs formats private LazyLoad _UnitNumber; public bool UnitNumber { @@ -1311,6 +1303,12 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UnitNumber, "@UnitNumber"); } } + + // Flag allow for using the UnitProcSetString transition defintion variable which will build + // a prefix to the referenced procedure number + // ex: UnitProcSetString ="{PSI:UNITCOM}-{SI:SETNAME}-{PSI:SETID|4023}-" will look for UNITCOM in + // the Procedure Specific Information, then SETNAME in the Set Specific Information (working draft), + // then the SETID in the Procedure Specific Information (or use 4023) if nothing is entered private LazyLoad _OutSideTransSetName; //B2019-072: For AEP, use PSI & SI for outside transition text public bool OutSideTransSetName { @@ -1319,6 +1317,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _OutSideTransSetName, "@OutSideTransSetName"); } } + + // For Calvert Cliffs, this allows for double letted step tabs, speical handling in Transitions, + // special pagination logic for their style of procedures private LazyLoad _SpecialCaseCalvert; public bool SpecialCaseCalvert { @@ -1327,6 +1328,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpecialCaseCalvert, "@SpecialCaseCalvert"); } } + + // Calvert Alarms have the top part of the alarm point page in single column, the the bottom part in two column. + // Also special processing of Note, Cautions and Warnings private LazyLoad _SpecialCaseCalvertAlarm; public bool SpecialCaseCalvertAlarm { @@ -1335,6 +1339,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpecialCaseCalvertAlarm, "@SpecialCaseCalvertAlarm"); } } + + // Special pagination logic to handle out of the ordinary procedure formating and steps with RNOs + // that go on for pages private LazyLoad _SpecialCaseCalvertPagination; public bool SpecialCaseCalvertPagination { @@ -1343,7 +1350,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpecialCaseCalvertPagination, "@SpecialCaseCalvertPagination"); } } + // B2023-034 for use with Beaver Valley AOP format + // This allows for the use of the UseOnFirst docstyle setting on a mixture of sections and sub-sections private LazyLoad _UseOnFirstForSeparatePaginationOnSubSect; public bool UseOnFirstForSeparatePaginationOnSubSect { @@ -1352,7 +1361,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseOnFirstForSeparatePaginationOnSubSect, "@UseOnFirstForSeparatePaginationOnSubSect"); } } - // B2023-043 for use with Beaver Valley AOP format - allow attributes, such as superscript on section titles when printing + + // B2023-043 for use with Beaver Valley AOP format - allow attributes, such as superscript on section titles + // when printing private LazyLoad _SectionTitleWithAttributes; public bool SectionTitleWithAttributes { @@ -1361,6 +1372,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SectionTitleWithAttributes, "@SectionTitleWithAttributes"); } } + + // Format Flag enabling special formatting and printing of training materials - Wolf Creek Training format private LazyLoad _WCNTraining; public bool WCNTraining { @@ -1369,6 +1382,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _WCNTraining, "@WCNTraining"); } } + + // Only used in Calvert Cliffs Valve format - only supporting code checks to see + // if a note should be a footnote private LazyLoad _HorizontalSubsteps; public bool HorizontalSubsteps { @@ -1377,54 +1393,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _HorizontalSubsteps, "@HorizontalSubsteps"); } } - private LazyLoad _SpecialStepsFoldout; - public bool SpecialStepsFoldout - { - get - { - return LazyLoad(ref _SpecialStepsFoldout, "@SpecialStepsFoldout"); - } - } - private LazyLoad _SpecialStepsFoldoutKeepWhiteSpace; - public bool SpecialStepsFoldoutKeepWhiteSpace - { - get - { - return LazyLoad(ref _SpecialStepsFoldoutKeepWhiteSpace, "@SpecialStepsFoldoutKeepWhiteSpace"); - } - } - private LazyLoad _AllowDuplex; - public bool AllowDuplex - { - get - { - return LazyLoad(ref _AllowDuplex, "@AllowDuplex"); - } - } - private LazyLoad _AccessoryDocsInDuplex; - public bool AccessoryDocsInDuplex - { - get - { - return LazyLoad(ref _AccessoryDocsInDuplex, "@AccessoryDocsInDuplex"); - } - } - private LazyLoad _FoldoutsInDuplex; - public bool FoldoutsInDuplex - { - get - { - return LazyLoad(ref _FoldoutsInDuplex, "@FoldoutsInDuplex"); - } - } - private LazyLoad _PagelistChangeIDsWithCommas; - public bool PagelistChangeIDsWithCommas - { - get - { - return LazyLoad(ref _PagelistChangeIDsWithCommas, "@PagelistChangeIDsWithCommas"); - } - } + + // Doesn't reset the paglist for the first sub-section when printing + // - appears to be needed for plants with AP1000 procedures private LazyLoad _SpecialCaseWestinghouse; public bool SpecialCaseWestinghouse { @@ -1433,6 +1404,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpecialCaseWestinghouse, "@SpecialCaseWestinghouse"); } } + // Put in for Comanche Peak to print "COMMON" for the unit number instead of "Unit 0" private LazyLoad _PrintCommonForZeroUnit; public bool PrintCommonForZeroUnit @@ -1442,7 +1414,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PrintCommonForZeroUnit, "@PrintCommonForZeroUnit"); } } - private LazyLoad _NoBlankHlsAndFirstSub; // F2021-033: Barakah Alarm: no blank line between HLS & first substep + + // F2021-033: Barakah Alarm: no blank line between HLS & first substep + private LazyLoad _NoBlankHlsAndFirstSub; public bool NoBlankHlsAndFirstSub { get @@ -1450,7 +1424,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoBlankHlsAndFirstSub, "@NoBlankHlsAndFirstSub"); } } - private LazyLoad _NoBlankLastNoteCautionWarn; // F2021-025: Barakah Alarm: no blank line between last Note/Caution/Warn & box line + + // F2021-025: Barakah Alarm: no blank line between last Note/Caution/Warn & box line + private LazyLoad _NoBlankLastNoteCautionWarn; public bool NoBlankLastNoteCautionWarn { get @@ -1458,7 +1434,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoBlankLastNoteCautionWarn, "@NoBlankLastNoteCautionWarn"); } } - private LazyLoad _NoteCautionCenterOneAllTypes; // F2023-126: Vogtle Alarms - center single line caution/note if more than one type exist off step + + // F2023-126: Vogtle Alarms - center single line caution/note if more than one type exist off step + private LazyLoad _NoteCautionCenterOneAllTypes; public bool NoteCautionCenterOneAllTypes { get @@ -1466,7 +1444,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoteCautionCenterOneAllTypes, "@NoteCautionCenterOneAllTypes"); } } - private LazyLoad _ChkBoxToGeneratePointListText; // C2021-063 Barakah Alarm: check box to generate Alarm Point List Text + + // C2021-063 Barakah Alarm: check box to generate Alarm Point List Text + private LazyLoad _ChkBoxToGeneratePointListText; public bool ChkBoxToGeneratePointListText { get @@ -1474,7 +1454,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ChkBoxToGeneratePointListText, "@ChkBoxToGeneratePointListText"); } } - // C2022-004 When a procedure is approved, force the watermark of the unit number (defined in the format file under UnitWatermarkData) + + // C2022-004 When a procedure is approved, force the watermark of the unit number + // (defined in the format file under UnitWatermarkData) private LazyLoad _UseUnitWatermarkOnApproved; public bool UseUnitWatermarkOnApproved { @@ -1483,6 +1465,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseUnitWatermarkOnApproved, "@UseUnitWatermarkOnApproved"); } } + // B2022-086: Barakah - flag to adjust ypagesize for pagination when 1st and later pages have different printable box size private LazyLoad _AdjFirstSecDocStylesInPagination; public bool AdjFirstSecDocStylesInPagination @@ -1492,6 +1475,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AdjFirstSecDocStylesInPagination, "@AdjFirstSecDocStylesInPagination"); } } + + // Adjust the image size to better fit on the printed page private LazyLoad _AdjustLargeImage; public bool AdjustLargeImage { @@ -1501,46 +1486,15 @@ namespace VEPROMS.CSLA.Library } } } - #endregion - #region VersionIdText - [TypeConverter(typeof(ExpandableObjectConverter))] - public class VersionIdText : vlnFormatItem - { - public VersionIdText(XmlNode xmlNode) : base(xmlNode) { } - public VersionIdText() : base() { } - private LazyLoad _Text; - public string Text - { - get - { - return LazyLoad(ref _Text, "text()"); - } - } - public override string GetPDDisplayName() - { return "Text"; } - public override string GetPDDescription() - { return string.Format("VersionIdText '{0}'", Text); } - public override string GetPDCategory() - { return "Version Id Text"; } - public override string ToString() - { - return Text; - } - } - #endregion - #region VersionIdTextList - [TypeConverter(typeof(vlnListConverter))] - public class VersionIdTextList : vlnFormatList - { - public VersionIdTextList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } - } - #endregion + #endregion PrintData #region ProcDescr [TypeConverter(typeof(ExpandableObjectConverter))] public partial class ProcDescr : vlnFormatItem //: BusinessBase, IDisposable { public ProcDescr(XmlNode xmlNode) : base(xmlNode) { } public ProcDescr() : base() { } + + // procedure number part (pattern) to match to find a description to use with the {PROCDESC} pagelist token private LazyLoad _MatchProcNumber; public string MatchProcNumber { @@ -1549,6 +1503,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MatchProcNumber, "@MatchProcNumber"); } } + + // The description text associated with a MatchProcNumber Text is used to replace the {PROCDES1} pagelist private LazyLoad _ProcDescr1; public string ProcDescr1 { @@ -1557,6 +1513,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ProcDescr1, "@ProcDescr1"); } } + + // A second description text associated with a MatchProcNumber. Text is used to replace the {PROCDES2} private LazyLoad _ProcDescr2; public string ProcDescr2 { @@ -1576,24 +1534,15 @@ namespace VEPROMS.CSLA.Library { public ProcDescrList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } - #endregion - #endregion - #endregion + #endregion ProcDescrList + #endregion ProcDescr + #endregion PrintDataAll #region ProcDataAll #region ProcData [TypeConverter(typeof(ExpandableObjectConverter))] public class ProcData : vlnFormatItem { public ProcData(XmlNode xmlNode) : base(xmlNode) { } - private ProcedureSuffixList _ProcedureSuffixList; - public ProcedureSuffixList ProcedureSuffixList - { - get - { - return _ProcedureSuffixList == null ? _ProcedureSuffixList = new ProcedureSuffixList(SelectNodes("ProcedureSuffix/string")) : _ProcedureSuffixList; - } - set { _ProcedureSuffixList = value; } - } private ChangeBarData _ChangeBarData; public ChangeBarData ChangeBarData { @@ -1637,6 +1586,9 @@ namespace VEPROMS.CSLA.Library return localvalue ?? LazyLoad(ref _CheckOffUCF, "@CheckOffUCF"); } } + + // specifies the maxiumn length of the procedure title before PROMS considers to wrap the title + // this is used with the {PROCTITLE} PageStyle toekn private LazyLoad _TitleLength; public int? TitleLength { @@ -1645,6 +1597,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TitleLength, "@TitleLength"); } } + + // Length of the procedure title before wrapping on the Cover Page. T + // his is used with the {COVERPROCTITLE} PageSytle token private LazyLoad _CoverTitleLength; public int? CoverTitleLength { @@ -1653,14 +1608,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CoverTitleLength, "@CoverTitleLength"); } } - private LazyLoad _ProcedureSuffixFlags; - public string ProcedureSuffixFlags - { - get - { - return LazyLoad(ref _ProcedureSuffixFlags, "@ProcedureSuffixFlags"); - } - } + + // Uppercase the procedure title when printed private LazyLoad _CapitalizeTitle; public bool CapitalizeTitle { @@ -1669,14 +1618,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CapitalizeTitle, "@CapitalizeTitle"); } } - private LazyLoad _ChangeStyleForEverySection; - public bool ChangeStyleForEverySection - { - get - { - return LazyLoad(ref _ChangeStyleForEverySection, "@ChangeStyleForEverySection"); - } - } + + // If a procedure or section does not have a title PROMS puts in "" as default title text + // by default (base format) PROMS will print "" + // When set to False, this flag prevents PROMS printing the text "" + // This also affects transiton references private LazyLoad _PrintNoTitle; public bool PrintNoTitle { @@ -1685,6 +1631,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PrintNoTitle, "@PrintNoTitle"); } } + + // This will print Notes at the bottom of the page as footnotes + // Use by Calvert Cliffs (BGE) primarily for their landscaped valve sections private LazyLoad _NotesToFootnotes; public bool NotesToFootnotes { @@ -1693,77 +1642,30 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NotesToFootnotes, "@NotesToFootnotes"); } } + + // C2021-027: Procedure level PC/PC + // This allows us to assign an entire procedure's applicability level + // instead of just the sections and steps private LazyLoad _ProcAppl; - public bool ProcAppl // C2021-027: Procedure level PC/PC + public bool ProcAppl { get { return LazyLoad(ref _ProcAppl, "@ProcAppl"); } } - private LazyLoad _CountFoldoutPages; - public bool CountFoldoutPages - { - get - { - return LazyLoad(ref _CountFoldoutPages, "@CountFoldoutPages"); - } - } - private LazyLoad _ForeColor; - public string ForeColor - { - get - { - return LazyLoad(ref _ForeColor, "@ForeColor"); - } - } - private LazyLoad _BackColor; - public string BackColor - { - get - { - return LazyLoad(ref _BackColor, "@BackColor"); - } - } - } - #endregion - #region ProcedureSuffix - [TypeConverter(typeof(ExpandableObjectConverter))] - public class ProcedureSuffix : vlnFormatItem - { - public ProcedureSuffix(XmlNode xmlNode) : base(xmlNode) { } - public ProcedureSuffix() : base() { } - private LazyLoad _Text; - public string Text - { - get - { - return LazyLoad(ref _Text, "text()"); - } - } - public override string GetPDDisplayName() - { return "Text"; } - public override string GetPDDescription() - { return string.Format("ProcedureSuffix '{0}'", Text); } - public override string GetPDCategory() - { return "Procedure Suffix"; } - public override string ToString() - { - return Text; - } - } - #endregion - #region ProcedureSuffixList - [TypeConverter(typeof(vlnListConverter))] - public class ProcedureSuffixList : vlnFormatList - { - public ProcedureSuffixList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } + #endregion #region PsiAll [TypeConverter(typeof(ExpandableObjectConverter))] public class PSI : vlnFormatItem { + // Procedure Specific Information (context menu from a procedure in the tree view) + // Will create a window based on the settings in the plant's format file + // Allows for procedure specific information that is printed via the format file's + // PageList structure. Used for procedure specific text in page headers + // and cover pages (i.e. signaure names, dates, Use Categories) public PSI(XmlNode xmlNode) : base(xmlNode) { } private LazyLoad _x; public int? x @@ -1782,6 +1684,7 @@ namespace VEPROMS.CSLA.Library } } private LazyLoad _Caption; + // caption for the PSI window public string Caption { get @@ -1790,6 +1693,7 @@ namespace VEPROMS.CSLA.Library } } private LazyLoad _ButtonsOnBottom; // change to bool + // place the OK and Cancel buttons on the bottom of the PSI window public string ButtonsOnBottom { get @@ -1797,6 +1701,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ButtonsOnBottom, "@ButtonsOnBottom"); } } + // returns a list of labels that are defined in the format's PSI structure private SILabels _LabelList; public SILabels LabelList { @@ -1805,6 +1710,7 @@ namespace VEPROMS.CSLA.Library return _LabelList == null ? _LabelList = new SILabels(SelectNodes("/PlantFormat/FormatData/ProcData/PSI/Label")) : _LabelList; } } + // returns a list of fields that are defined in the format's PSI structure private SIFields _FieldList; public SIFields FieldList { @@ -1819,6 +1725,7 @@ namespace VEPROMS.CSLA.Library public SILabels(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } + // PSI label class public class SILabel : vlnFormatItem { public SILabel(XmlNode xmlNode) : base(xmlNode) { } @@ -1876,6 +1783,7 @@ namespace VEPROMS.CSLA.Library { public SIFields(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } + // PSI field class public class SIField : vlnFormatItem { public SIField(XmlNode xmlNode) : base(xmlNode) { } @@ -1955,6 +1863,8 @@ namespace VEPROMS.CSLA.Library } #endregion #region SIAll + // classes to handle Set Specific information + // Same as PSI but accessable only from the Working draft tree node [TypeConverter(typeof(ExpandableObjectConverter))] public class SI : vlnFormatItem { @@ -1975,6 +1885,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _y, "@y"); } } + // caption for the the Set Specific information window private LazyLoad _Caption; public string Caption { @@ -1983,6 +1894,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Caption, "@Caption"); } } + // the the OK and Cancel buttons on the bottom of the SI Window private LazyLoad _ButtonsOnBottom; // change to bool public string ButtonsOnBottom { @@ -2155,6 +2067,9 @@ namespace VEPROMS.CSLA.Library if (retlist2 != null && retlist2.Count > 0) foreach (CheckOffHeader co in retlist2) retlist.Add(co); _CheckOffHeaderList = retlist; } + + // This is used with the {INITIALS} pagelist token and will put the word "INITIALS" at the specified pagelist + // location for the checkoff column header. Used by Calvert Cliffs (BGEOI and BGESTP formats) private LazyLoad _CheckOffHeaderInPagelist; public bool CheckOffHeaderInPagelist { @@ -2163,6 +2078,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CheckOffHeaderInPagelist, "@CheckOffHeaderInPagelist"); } } + // Menu heading for checkoffs/signoffs. When this is set to "Signoff", the checkoff list is not enabled private LazyLoad _Menu; public string Menu { @@ -2171,30 +2087,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Menu, "@Menu"); } } - private LazyLoad _AllowSectEdit; - public bool AllowSectEdit - { - get - { - return LazyLoad(ref _AllowSectEdit, "@AllowSectEdit"); - } - } - private LazyLoad _AllowStepEdit; - public bool AllowStepEdit - { - get - { - return LazyLoad(ref _AllowStepEdit, "@AllowStepEdit"); - } - } - private LazyLoad _UseCheckOffsIn; - public int? UseCheckOffsIn - { - get - { - return LazyLoad(ref _UseCheckOffsIn, "@UseCheckOffsIn"); - } - } + + // this will make room on the page for checkoffs by adjusting the step text width. Used for cases where there isn't + // a checkoff header (we adjust step text width when a checkoff header is printed) private LazyLoad _CheckOffAdjustment; public float? CheckOffAdjustment { @@ -2203,6 +2098,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CheckOffAdjustment, "@CheckOffAdjustment"); } } + // used for checkoff (initial line) next to the step number tab. the XLocation number is added to the left margin private LazyLoad _XLocation; public float? XLocation { @@ -2211,6 +2107,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _XLocation, "@XLocation"); } } + + // relative location of the checkoff based on the text width and its location on the page private LazyLoad _RelXLocation; public float? RelXLocation { @@ -2219,7 +2117,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RelXLocation, "@RelXLocation"); } } - + + //Start printing the checkoff on the last line of the step text (when set here applies to all checkofs) private LazyLoad _DropCheckOff; public bool DropCheckOff { @@ -2228,6 +2127,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DropCheckOff, "@DropCheckOff"); } } + + // put checkoff only on High Level Steps private LazyLoad _CheckOffOnHLSOnly; public bool CheckOffOnHLSOnly { @@ -2236,6 +2137,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CheckOffOnHLSOnly, "@CheckOffOnHLSOnly"); } } + + // SkipSpaces puts the checkoff macro (if specified in the format) next to the step tab + // the print logic looks at the step tab and skips (backwards) the lenth (width) of the tab + // to position the checkoff + // - this is used for Bryon and Braidwood private LazyLoad _SkipSpaces; public bool SkipSpaces { @@ -2244,7 +2150,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SkipSpaces, "@SkipSpaces"); } } + // put in for Bryon and Braidwood + // enables the selection of a checkoff only when on a sub-step type private LazyLoad _CheckoffOnSubStepsOnly; public bool CheckoffOnSubStepsOnly { @@ -2253,6 +2161,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CheckoffOnSubStepsOnly, "@CheckoffOnSubStepsOnly"); } } + // C2019-040 This will adjust the right margin (making room for the checkoff) without the need of selecting a checkoff header // the flag allows us to use existing coding that prior to this was restricted by format file name private LazyLoad _CheckoffsWithoutHeader; @@ -2279,7 +2188,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Index, "@Index"); } } - private LazyLoad _OrderBy; // C2020-003 used to sort list of checkoffs in the combo box + // C2020-003 used to sort list of checkoffs in the combo box + // a foat number can be used (ex 2.75) to fine tune the sorting + private LazyLoad _OrderBy; public float? OrderBy { get @@ -2287,6 +2198,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _OrderBy, "@OrderBy"); } } + // User Interface Mark (UIMark) is the deimal number of an ASCII character that is desplayed in the step editor + // to indicate the selected checkoff private LazyLoad _UIMark; public int? UIMark { @@ -2295,14 +2208,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UIMark, "@UIMark"); } } - private LazyLoad _CheckOffWidAdjust; - public float? CheckOffWidAdjust - { - get - { - return LazyLoad(ref _CheckOffWidAdjust, "@CheckOffWidAdjust"); - } - } + + // If a positive numer, start the checkoff that number of lines minus one down from the start of the text + // and add that many lines after. + // If it's negative number, start the checkoff on the same line as the text + // and add positive of that number of lines after the checkoff macro. (see vlnPaaragraph.cs) private LazyLoad _CheckOffXtraLines; public float? CheckOffXtraLines { @@ -2311,6 +2221,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CheckOffXtraLines, "@CheckOffXtraLines"); } } + + // Add blank lines to make room for loner signoffs (checkoffs) private LazyLoad _CheckOffNumberOfLines; public float? CheckOffNumberOfLines { @@ -2319,6 +2231,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CheckOffNumberOfLines, "@CheckOffNumberOfLines"); } } + + //Descriptive text shown in the checkoff selection list private LazyLoad _MenuItem; public string MenuItem { @@ -2327,6 +2241,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MenuItem, "@MenuItem"); } } + + // Name of the macro defined in the correspoinding SVG (GenMac) file. + // The print logic uese this macro to draw the checkoff private LazyLoad _Macro; public string Macro { @@ -2335,6 +2252,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Macro, "@Macro"); } } + + //Don’t' print the checkoff if the step text is empty (all spaces or hardspaces) private LazyLoad _NotOnEmpty; public bool NotOnEmpty { @@ -2343,6 +2262,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NotOnEmpty, "@NotOnEmpty"); } } + + // Start printing the checkoff on the last line of the step text (applies to just this checkoff) private LazyLoad _DropCheckOff; public bool DropCheckOff { @@ -2384,6 +2305,7 @@ namespace VEPROMS.CSLA.Library [TypeConverter(typeof(ExpandableObjectConverter))] public class CheckOffHeader : vlnFormatItem,IVlnIndexedFormatItem { + // Column header for the printed checkoff column public CheckOffHeader(XmlNode xmlNode) : base(xmlNode) { } public CheckOffHeader() : base() { } private LazyLoad _Index; @@ -2402,6 +2324,8 @@ namespace VEPROMS.CSLA.Library return (_Font == null ? _Font = new VE_Font(base.XmlNode) : _Font); } } + + // the checkoff column heading text (when printed) private LazyLoad _CheckOffHeading; public string CheckOffHeading { @@ -2445,6 +2369,11 @@ namespace VEPROMS.CSLA.Library public class ChangeBarData : vlnFormatItem { public ChangeBarData(XmlNode xmlNode) : base(xmlNode) { } + // Comma separated list of column positions for each of the change bar types: + // With Text + // Outside Box + // AER on LEFT, RNO on Right + // To the Left of Text private LazyLoad _DefaultCBLoc; public string DefaultCBLoc { @@ -2453,62 +2382,45 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DefaultCBLoc, "@DefaultCBLoc"); } } + // text that is place next to the change bar + // DateChgID (Date and Change ID) + // RevNum (Revision Number) + // ChgID (Change ID) + // None (No Change Bar Message) + // UserDef (User Defined Message) private LazyLoad _ChangeBarMessage; public string ChangeBarMessage - { - get - { - return LazyLoad(ref _ChangeBarMessage, "@ChangeBarMessage"); - } + { + get + { + return LazyLoad(ref _ChangeBarMessage, "@ChangeBarMessage"); + } } + // FixedChangeColumn + - Column location for change bars + // 0 - Separate AER and RNO change bars to the right of the text + // -10 to -1 - Change bars on left (specify # of columns from the text) + // <-10 - AER change bars on the left and RNO change bars on the right. private LazyLoad _FixedChangeColumn; public int? FixedChangeColumn - { - get - { + { + get + { return LazyLoad(ref _FixedChangeColumn, "@FixedChangeColumn"); - } + } } + // specific location of change bars for text in AER column + // - appears to be used when FixedChageColumn is set to a number <-10 private LazyLoad _FixedAERChangeColumn; public int? FixedAERChangeColumn - { - get - { - return LazyLoad(ref _FixedAERChangeColumn, "@FixedAERChangeColumn"); - } - } - private LazyLoad _ChangeSummaryStyle; - public E_Style? ChangeSummaryStyle { get { - return LazyLoad(ref _ChangeSummaryStyle, "@ChangeSummaryStyle"); - } - } - private LazyLoad _ChangeBarStyle; - public E_Style? ChangeBarStyle - { - get - { - return LazyLoad(ref _ChangeBarStyle, "@ChangeBarStyle"); - } - } - private LazyLoad _SpecialChangeBar; - public string SpecialChangeBar - { - get - { - return LazyLoad(ref _SpecialChangeBar, "@SpecialChangeBar"); - } - } - private LazyLoad _CondensedChangeBar; - public bool CondensedChangeBar - { - get - { - return LazyLoad(ref _CondensedChangeBar, "@CondensedChangeBar"); + return LazyLoad(ref _FixedAERChangeColumn, "@FixedAERChangeColumn"); } } + + // if the format has the absolutefixedchangecolumn format flag, then always use the fixedchangecolumn from the + // format, otherwise, use the default column based on the selected location, stored in the base format. private LazyLoad _AbsoluteFixedChangeColumn; public bool AbsoluteFixedChangeColumn { @@ -2517,6 +2429,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AbsoluteFixedChangeColumn, "@AbsoluteFixedChangeColumn"); } } + + // Continue the change bar through the blank lines for consectutive changed steps private LazyLoad _ContinuousChangeBars; public bool ContinuousChangeBars { @@ -2525,14 +2439,12 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ContinuousChangeBars, "@ContinuousChangeBars"); } } - private LazyLoad _ChgBarMessageFromEdit; - public bool ChgBarMessageFromEdit - { - get - { - return LazyLoad(ref _ChgBarMessageFromEdit, "@ChgBarMessageFromEdit"); - } - } + + // will allow user to type in a change ID text to be placed next to the the change bar for the piece of changed text + // user is prompted to enter a change ID when opening a procedure. + // A Change ID tab i placed on the procedure editor ribbon to allow the user to modify the change id entered + // upon opening the procedure + // an option on the step properties pannel allows user to modify the change id text for that piece of changed text. private LazyLoad _ChangeIds; public bool ChangeIds { @@ -2541,6 +2453,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ChangeIds, "@ChangeIds"); } } + // extend the change bar that is on the last RNO step down to the RNO separator + // (only a couple plants and a RNO separator) private LazyLoad _ChangeBarToRNOSep; public bool ChangeBarToRNOSep { @@ -2549,14 +2463,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ChangeBarToRNOSep, "@ChangeBarToRNOSep"); } } - private LazyLoad _ChangeBarsOnLinkedText; - public bool ChangeBarsOnLinkedText - { - get - { - return LazyLoad(ref _ChangeBarsOnLinkedText, "@ChangeBarsOnLinkedText"); - } - } + + // don't do one continuous change bar when there are multiple Notes or Caution types next to each other private LazyLoad _SeparateChangeBarsForDiffNotesCautions; public bool SeparateChangeBarsForDiffNotesCautions { @@ -2574,6 +2482,8 @@ namespace VEPROMS.CSLA.Library public class SectData : vlnFormatItem { public SectData(XmlNode xmlNode) : base(xmlNode) { } + // contains settings for when(if) the procedure's section number is printed on the page (controled by checkbox + // on section property page) private SectionNumber _SectionNumber; public SectionNumber SectionNumber { @@ -2583,6 +2493,8 @@ namespace VEPROMS.CSLA.Library return _SectionNumber; } } + // contains setting for when (if) the procedure's section title (section header) is printed (controled by checkbox + // on section property page) private SectionHeader _SectionHeader; public SectionHeader SectionHeader { @@ -2592,6 +2504,8 @@ namespace VEPROMS.CSLA.Library return _SectionHeader; } } + + // this contains a start position and length of a line that will be drawn at the end of a section - WCNTRN private SectionHeaderSeparatorLine _SectionHeaderSeparatorLine; public SectionHeaderSeparatorLine SectionHeaderSeparatorLine { @@ -2601,6 +2515,8 @@ namespace VEPROMS.CSLA.Library return _SectionHeaderSeparatorLine; } } + + // contains settings pertaining to the PROMS Step Sections (non-Word sections) private StepSectionData _StepSectionData; public StepSectionData StepSectionData { @@ -2610,6 +2526,8 @@ namespace VEPROMS.CSLA.Library return _StepSectionData; } } + + // contains settings pertaining to Word Editor section types private AccSectionData _AccSectionData; public AccSectionData AccSectionData { @@ -2624,7 +2542,7 @@ namespace VEPROMS.CSLA.Library { get { - if (_MetaSectionList == null) _MetaSectionList = new MetaSectionList(SelectNodes("MetaSectionData/MetaSection"),MyFormat); + if (_MetaSectionList == null) _MetaSectionList = new MetaSectionList(SelectNodes("MetaSectionData/MetaSection"), MyFormat); return _MetaSectionList; } set { _MetaSectionList = value; } @@ -2643,18 +2561,23 @@ namespace VEPROMS.CSLA.Library { get { - return (_ReplaceSymbolCharList == null) ? _ReplaceSymbolCharList = new ReplaceSymbolCharList(SelectNodes("ReplaceSymbolChars/ReplaceChar"),MyFormat) : _ReplaceSymbolCharList; + return (_ReplaceSymbolCharList == null) ? _ReplaceSymbolCharList = new ReplaceSymbolCharList(SelectNodes("ReplaceSymbolChars/ReplaceChar"), MyFormat) : _ReplaceSymbolCharList; } set { _ReplaceSymbolCharList = value; } } + // The maxium length of section titles before PROMS will split it onto another line + // - used when section titles are printed via pagelist private LazyLoad _SectionTitleLength; public int? SectionTitleLength - { - get - { - return LazyLoad(ref _SectionTitleLength, "@SectionTitleLength"); - } + { + get + { + return LazyLoad(ref _SectionTitleLength, "@SectionTitleLength"); + } } + + // The maxium length of the section number plus the section title before PROMS will split it onto another line + // - used when section number and title are printed on the same line via pagelist private LazyLoad _SectionNumberAndTitleLength; public int? SectionNumberAndTitleLength { @@ -2663,6 +2586,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SectionNumberAndTitleLength, "@SectionNumberAndTitleLength"); } } + + // The maxium length of the section number plus the section title before PROMS will split it onto another line + // - used when section number and title are printed on the same line via pagelist + // - used for landscaped sections private LazyLoad _SectNumAndTlLenLand; // B2021-119: large titles on Landscape Word Attachments are printing on 2 lines. public int? SectNumAndTlLenLand { @@ -2671,38 +2598,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SectNumAndTlLenLand, "@SectNumAndTlLenLand"); } } - private LazyLoad _ForeColor; - public string ForeColor - { - get - { - return LazyLoad(ref _ForeColor, "@ForeColor"); - } - } - private LazyLoad _BackColor; - public string BackColor - { - get - { - return LazyLoad(ref _BackColor, "@BackColor"); - } - } - private LazyLoad _MetaSectEndMessage; - public bool MetaSectEndMessage - { - get - { - return LazyLoad(ref _MetaSectEndMessage, "@MetaSectEndMessage"); - } - } - private LazyLoad _ReadOnlyTypeInContMsg; - public bool ReadOnlyTypeInContMsg - { - get - { - return LazyLoad(ref _ReadOnlyTypeInContMsg, "@ReadOnlyTypeInContMsg"); - } - } + + // flag to determine if the ReplaceWords logic will be run on non-Setpoint RO values private LazyLoad _ReplaceWordsInROs; public bool ReplaceWordsInROs { @@ -2721,6 +2618,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoReplaceQuoteParenWords, "@NoReplaceQuoteParenWords"); } } + + // When set to true, turns on the option to add sub-sections to non-Word sections private LazyLoad _UseMetaSections; public bool UseMetaSections { @@ -2729,6 +2628,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseMetaSections, "@UseMetaSections"); } } + + // when printing count the sub-section level towards the step level + // - works only when the TieTabToLevel format flag is also true private LazyLoad _CountSubSectionsForLevel; public bool CountSubSectionsForLevel { @@ -2737,6 +2639,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CountSubSectionsForLevel, "@CountSubSectionsForLevel"); } } + + // prints a list of phone numbers at the bottom of the page + // - Calvert Cliffs private LazyLoad _PrintPhoneList; public bool PrintPhoneList { @@ -2745,6 +2650,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PrintPhoneList, "@PrintPhoneList"); } } + + // Set the default to NO for the automatic Indent of sub sections (this a a check box on the section properties page) private LazyLoad _DefaultNoSubAutoIndent; public bool DefaultNoSubAutoIndent { @@ -2753,30 +2660,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DefaultNoSubAutoIndent, "@DefaultNoSubAutoIndent"); } } - private LazyLoad _NonEditableSteps; - public bool NonEditableSteps - { - get - { - return LazyLoad(ref _NonEditableSteps, "@NonEditableSteps"); - } - } - private LazyLoad _SearchAllReplaceWords; - public bool SearchAllReplaceWords - { - get - { - return LazyLoad(ref _SearchAllReplaceWords, "@SearchAllReplaceWords"); - } - } - private LazyLoad _SecTitleContinue; - public bool SecTitleContinue - { - get - { - return LazyLoad(ref _SecTitleContinue, "@SecTitleContinue"); - } - } + + // convert the caret (^) to he delta symbol in Referenced Objects (RO) return values private LazyLoad _ConvertCaretToDelta; public bool ConvertCaretToDelta { @@ -2785,6 +2670,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ConvertCaretToDelta, "@ConvertCaretToDelta"); } } + //B2019-037 throw back from DOS VE-PROMS, convert "~" to subscript and "#" to superscript in RO return values private LazyLoad _UseTildaPoundCharsForSuperSubScriptInROValues; public bool UseTildaPoundCharsForSuperSubScriptInROValues @@ -2794,7 +2680,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseTildaPoundCharsForSuperSubScriptInROValues, "@UseTildaPoundCharsForSuperSubScriptInROValues"); } } - // C2022-021 will convert ">=" to the greater than or equal symbol, "<=" to the less than or equal symbol and plus/minus for RO return values + + // C2022-021 will convert ">=" to the greater than or equal symbol, "<=" to the less than or equal symbol and "+-" to plus/minus symbol for RO return values private LazyLoad _ConvertGTELTEPMinROValue; public bool ConvertGTELTEPMinROValue { @@ -2803,7 +2690,12 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ConvertGTELTEPMinROValue, "@ConvertGTELTEPMinROValue"); } } - // C2019-043 will convert "->" to the right arrow symbol and "<-" to the left arrow symbol for RO return values + + // C2019-043 will convert "->" to the right arrow symbol and "<-" to the left arrow symbol + // for RO return values. + // was put in Barakah (BNPP) but found issue when RO was in a PROMS table cell, + // logic was added to no do this convert if in a table. + // BNPP decided to turned it off in altogether in their format files. private LazyLoad _UseDashGreaterLessThenForArrowsInROValue; public bool UseDashGreaterLessThenForArrowsInROValue { @@ -2812,6 +2704,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseDashGreaterLessThenForArrowsInROValue, "@UseDashGreaterLessThenForArrowsInROValue"); } } + + // Use only for RO return values placed in Word sections, the underbar character '_' + // will toggle underlining ON/OFF in the RO return value text private LazyLoad _ConvertUnderscoreToUnderline; public bool ConvertUnderscoreToUnderline { @@ -2821,6 +2716,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ConvertUnderscoreToUnderline, "@ConvertUnderscoreToUnderline"); } } + // This format flag turns off the Replace Words functionality. // in 16-bit proms, this was done simply by having an empty Replace Words list. // in 32-bit the inheiradence logic finds a replace words list in the base format @@ -2833,6 +2729,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TurnOffReplaceWords, "@TurnOffReplaceWords"); } } + // B2022-002: Section text is printing into the INITIAL column (BNPP1new) private LazyLoad _AdjWidthForCheckOff; public bool AdjWidthForCheckOff @@ -2850,22 +2747,27 @@ namespace VEPROMS.CSLA.Library { public SectionNumber(XmlNode xmlNode) : base(xmlNode) { } public SectionNumber() : base() { } + + // starting position from the left margin inwhich to place the section number private LazyLoad _Pos; public float? Pos - { - get - { - return LazyLoad(ref _Pos, "@Pos"); - } + { + get + { + return LazyLoad(ref _Pos, "@Pos"); + } } + // Left (PSLeft), Center (PSCenter) + // justification of the text for the starting position (Pos) private LazyLoad _Just; public string Just - { - get + { + get { return LazyLoad(ref _Just, "@Just"); - } + } } + // only for a first level section, print using a font size of 14 and sytle of bold private LazyLoad _Level0Big; public bool Level0Big { @@ -2890,6 +2792,8 @@ namespace VEPROMS.CSLA.Library { public SectionHeader(XmlNode xmlNode) : base(xmlNode) { } public SectionHeader() : base() { } + + // starting position from the left margin inwhich to place the section number private LazyLoad _Pos; public float? Pos { @@ -2898,6 +2802,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Pos, "@Pos"); } } + // Left (PSLeft), Center (PSCenter) + // justification of the text for the starting position (Pos) private LazyLoad _Just; public string Just { @@ -2906,6 +2812,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Just, "@Just"); } } + // only for a first level section, print using a font size of 14 and sytle of bold private LazyLoad _Level0Big; public bool Level0Big { @@ -2914,6 +2821,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Level0Big, "@Level0Big"); } } + // Turn off underlining of section title for sub-sections private LazyLoad _OnlyUnderlineTopSect; public bool OnlyUnderlineTopSect { @@ -2922,6 +2830,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _OnlyUnderlineTopSect, "@OnlyUnderlineTopSect"); } } + //Turn off bolding of section title for sub-sections private LazyLoad _OnlyBoldTopSect; public bool OnlyBoldTopSect { @@ -2955,6 +2864,8 @@ namespace VEPROMS.CSLA.Library { public SectionHeaderSeparatorLine(XmlNode xmlNode) : base(xmlNode) { } public SectionHeaderSeparatorLine() : base() { } + + // starting position, from the left margin, of the sparator line private LazyLoad _XStartPos; public float? XStartPos { @@ -2963,6 +2874,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _XStartPos, "@XStartPos"); } } + // Length of the spearator line private LazyLoad _Length; public float? Length { @@ -2985,7 +2897,7 @@ namespace VEPROMS.CSLA.Library { get { - return (_TextTypeValueList == null)? _TextTypeValueList = new TextTypeValueList(SelectNodes("TextTypeValue/short")): _TextTypeValueList; + return (_TextTypeValueList == null) ? _TextTypeValueList = new TextTypeValueList(SelectNodes("TextTypeValue/short")) : _TextTypeValueList; } set { _TextTypeValueList = value; } } @@ -2994,61 +2906,16 @@ namespace VEPROMS.CSLA.Library { get { - return (_TextTypeList == null)? _TextTypeList = new TextTypeList(SelectNodes("TextType/string")): _TextTypeList; + return (_TextTypeList == null) ? _TextTypeList = new TextTypeList(SelectNodes("TextType/string")) : _TextTypeList; } set { _TextTypeList = value; } } - //private SeqTabList _SeqTabList; - //public SeqTabList SeqTabList - //{ - // get - // { - // return (_SeqTabList == null)? _SeqTabList = new SeqTabList(SelectNodes("SeqTab/string")): _SeqTabList; - // } - // set { _SeqTabList = value; } - //} - //private PreSeqTabEditList _PreSeqTabEditList; - //public PreSeqTabEditList PreSeqTabEditList - //{ - // get - // { - // return (_PreSeqTabEditList == null) ?_PreSeqTabEditList = new PreSeqTabEditList(SelectNodes("PreSeqTabEdit/string")): _PreSeqTabEditList; - // } - // set { _PreSeqTabEditList = value; } - //} - //private PreSeqTabPrintList _PreSeqTabPrintList; - //public PreSeqTabPrintList PreSeqTabPrintList - //{ - // get - // { - // return (_PreSeqTabPrintList == null)? _PreSeqTabPrintList = new PreSeqTabPrintList(SelectNodes("PreSeqTabPrint/string")):_PreSeqTabPrintList; - // } - // set { _PreSeqTabPrintList = value; } - //} - //private PostSeqTabEditList _PostSeqTabEditList; - //public PostSeqTabEditList PostSeqTabEditList - //{ - // get - // { - // return (_PostSeqTabEditList == null)? _PostSeqTabEditList = new PostSeqTabEditList(SelectNodes("PostSeqTabEdit/string")): _PostSeqTabEditList; - // } - // set { _PostSeqTabEditList = value; } - //} - //private PostSeqTabPrintList _PostSeqTabPrintList; - //public PostSeqTabPrintList PostSeqTabPrintList - //{ - // get - // { - // return (_PostSeqTabPrintList == null)? _PostSeqTabPrintList = new PostSeqTabPrintList(SelectNodes("PostSeqTabPrint/string")): _PostSeqTabPrintList; - // } - // set { _PostSeqTabPrintList = value; } - //} private UnderlineTerminateList _UnderlineTerminateList; public UnderlineTerminateList UnderlineTerminateList { get { - return (_UnderlineTerminateList == null)? _UnderlineTerminateList = new UnderlineTerminateList(SelectNodes("UnderlineTerminate/string")):_UnderlineTerminateList; + return (_UnderlineTerminateList == null) ? _UnderlineTerminateList = new UnderlineTerminateList(SelectNodes("UnderlineTerminate/string")) : _UnderlineTerminateList; } set { _UnderlineTerminateList = value; } } @@ -3057,7 +2924,7 @@ namespace VEPROMS.CSLA.Library { get { - return (_ObserveNCString1List == null)? _ObserveNCString1List = new ObserveNCString1List(SelectNodes("ObserveNCString1/string")): _ObserveNCString1List; + return (_ObserveNCString1List == null) ? _ObserveNCString1List = new ObserveNCString1List(SelectNodes("ObserveNCString1/string")) : _ObserveNCString1List; } set { _ObserveNCString1List = value; } } @@ -3066,7 +2933,7 @@ namespace VEPROMS.CSLA.Library { get { - return (_ObserveNCString2List == null)? _ObserveNCString2List = new ObserveNCString2List(SelectNodes("ObserveNCString2/string")):_ObserveNCString2List; + return (_ObserveNCString2List == null) ? _ObserveNCString2List = new ObserveNCString2List(SelectNodes("ObserveNCString2/string")) : _ObserveNCString2List; } set { _ObserveNCString2List = value; } } @@ -3075,23 +2942,17 @@ namespace VEPROMS.CSLA.Library { get { - return (_StepSectionLayoutData == null)? _StepSectionLayoutData = new StepSectionLayoutData(SelectSingleNode("StpSectLayData")):_StepSectionLayoutData; - } - } - private StepSectionEditData _StepSectionEditData; - public StepSectionEditData StepSectionEditData - { - get - { - return (_StepSectionEditData == null)? _StepSectionEditData = new StepSectionEditData(SelectSingleNode("StpSectEditData")): _StepSectionEditData; + return (_StepSectionLayoutData == null) ? _StepSectionLayoutData = new StepSectionLayoutData(SelectSingleNode("StpSectLayData")) : _StepSectionLayoutData; } } + + // a list of the sequential tab formatting based on the level of the step/sub-step private SeqTabFmtList _SeqTabFmtList; public SeqTabFmtList SeqTabFmtList { get { - return (_SeqTabFmtList == null) ? _SeqTabFmtList = new SeqTabFmtList(SelectNodes("SequentialTabFormat/SeqTabFmt"),MyFormat) : _SeqTabFmtList; + return (_SeqTabFmtList == null) ? _SeqTabFmtList = new SeqTabFmtList(SelectNodes("SequentialTabFormat/SeqTabFmt"), MyFormat) : _SeqTabFmtList; } } private StepSectionPrintData _StepSectionPrintData; @@ -3102,70 +2963,29 @@ namespace VEPROMS.CSLA.Library return (_StepSectionPrintData == null) ? _StepSectionPrintData = new StepSectionPrintData(SelectSingleNode("StpSectPrtData")) : _StepSectionPrintData; } } - private LazyLoad _TopRow; - public int? TopRow - { - get - { - return LazyLoad(ref _TopRow, "@TopRow"); - } - } - //private LazyLoad _SeqStart; - //public string SeqStart - //{ - // get - // { - // return LazyLoad(ref _SeqStart, "@SeqStart"); - // } - //} - //private LazyLoad _LeftJustSeqTab; - //public string LeftJustSeqTab - //{ - // get - // { - // return LazyLoad(ref _LeftJustSeqTab, "@LeftJustSeqTab") ; - // } - //} - //private LazyLoad _HighSeqStart; - //public int? HighSeqStart - //{ - // get - // { - // return LazyLoad(ref _HighSeqStart, "@HighSeqStart"); - // } - //} + // indent character used in RTF + // base format has this set to "0" which the code that uses this will resign this to "\x5" private LazyLoad _IndentToken; public string IndentToken - { - get - { - return LazyLoad(ref _IndentToken, "@IndentToken"); - } - } - private LazyLoad _NumberOfHighLevelSteps; - public int? NumberOfHighLevelSteps - { - get - { - return LazyLoad(ref _NumberOfHighLevelSteps, "@NumberOfHighLevelSteps"); - } - } - private LazyLoad _NumberOfSubStypeTypes; - public int? NumberOfSubStypeTypes - { + { get { - return LazyLoad(ref _NumberOfSubStypeTypes, "@NumberOfSubStepTypes"); - } + return LazyLoad(ref _IndentToken, "@IndentToken"); + } } + // this is the default bullet character used for sub-step types that are indented and then use a bullet as the + // sub-step tab. Base format has this as a solid bullet (ascii character number 7), + // other plants use lower cased 'o' for an open bullet. private LazyLoad _IdentB; public string IdentB - { - get + { + get { return LazyLoad(ref _IdentB, "@IdentB"); - } + } } + // special step tabbing and print formatting for enhanced background documennts + // - required by Wolf Creek's background format. private LazyLoad _WolfCreekBackgroundFormat; public bool WolfCreekBackgroundFormat { @@ -3174,6 +2994,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _WolfCreekBackgroundFormat, "@WolfCreekBackgroundFormat"); } } + + // special formatting of steps and sub-steps to create an on the fly table when printed private LazyLoad _WolfcreekCKLFormat; public bool WolfcreekCKLFormat { @@ -3182,14 +3004,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _WolfcreekCKLFormat, "@WolfcreekCKLFormat"); } } - private LazyLoad _WolfcreekCKLBackgndFormat; - public bool WolfcreekCKLBackgndFormat - { - get - { - return LazyLoad(ref _WolfcreekCKLBackgndFormat, "@WolfcreekCKLBackgndFormat"); - } - } + + // special formatting Vogtle Unit 3 and 4 Backgrounds: allows use of override width on AND and List sub-step types, + // and the calculation of the width of the paragraph sub-step type private LazyLoad _Vogtle3and4BackgroundFormat; public bool Vogtle3and4BackgroundFormat { @@ -3198,6 +3015,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Vogtle3and4BackgroundFormat, "@Vogtle3and4BackgroundFormat"); } } + + // This translates into nx10x10y where y is superscripted. + // For example, .E3 -> x103 where 3 is superscripted + // and 10.E5 -> 10x10-5 where 5 is superscripted private LazyLoad _FortranFormatNumbers; public bool FortranFormatNumbers { @@ -3206,14 +3027,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _FortranFormatNumbers, "@FortranFormatNumbers"); } } - private LazyLoad _UseTopContinueMessageAtEnd; - public bool UseTopContinueMessageAtEnd - { - get - { - return LazyLoad(ref _UseTopContinueMessageAtEnd, "@UseTopContinueMessageAtEnd"); - } - } + + // FloatingContinueMessage format flag: + // if breaking at the AER put continue message in left column, + // if breaking RNO put continue message in Right column. private LazyLoad _FloatingContinueMessage; public bool FloatingContinueMessage { @@ -3222,14 +3039,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _FloatingContinueMessage, "@FloatingContinueMessage"); } } - private LazyLoad _WrapSameAsEdit; - public bool WrapSameAsEdit - { - get - { - return LazyLoad(ref _WrapSameAsEdit, "@WrapSameAsEdit"); - } - } + + // used when section title is not printed via the pagelist, will print the title with "continued" + // appended to it when the section print multiple pages private LazyLoad _ContinueSectionHeader; public bool ContinueSectionHeader { @@ -3238,6 +3050,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ContinueSectionHeader, "@ContinueSectionHeader"); } } + + // the font size of the text that is sub-scripted is made smaller private LazyLoad _CompressHPSub; public bool CompressHPSub { @@ -3246,6 +3060,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CompressHPSub, "@CompressHPSub"); } } + + // the font size of the text that is super-scripted is made smaller private LazyLoad _CompressHPSuper; public bool CompressHPSuper { @@ -3254,6 +3070,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CompressHPSuper, "@CompressHPSuper"); } } + + // special handling of super and sub scripts when the font is a proportial font private LazyLoad _CompressPropSubSup; public bool CompressPropSubSup { @@ -3262,30 +3080,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CompressPropSubSup, "@CompressPropSubSup"); } } - private LazyLoad _UndSpecialStepsFoldout; - public bool UndSpecialStepsFoldout - { - get - { - return LazyLoad(ref _UndSpecialStepsFoldout, "@UndSpecialStepsFoldout"); - } - } - private LazyLoad _UnderlineAllMetaTitles; - public bool UnderlineAllMetaTitles - { - get - { - return LazyLoad(ref _UnderlineAllMetaTitles, "@UnderlineAllMetaTitles"); - } - } - private LazyLoad _BoldOnlySectionZero; - public bool BoldOnlySectionZero - { - get - { - return LazyLoad(ref _BoldOnlySectionZero, "@BoldOnlySectionZero"); - } - } + // used in Ginna's Attachment format // adjust the width of the Cautions and Note to not exend page the end of the HLS width // ie, shorten the width if the Caution or Note is off of a sub-step @@ -3307,6 +3102,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _OnlyBulletSameCautionNoteType, "@OnlyBulletSameCautionNoteType"); } } + + // ImperfectStructure is used so that the sequential numbering for substeps under an RNO is not same + // numbering (alpha vs numeric), if the HLS has substeps - WCN uses this, as well as other plants. + // skips the step tab level ahead by 2 more private LazyLoad _ImperfectStructure; public bool ImperfectStructure { @@ -3315,6 +3114,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ImperfectStructure, "@ImperfectStructure"); } } + + // like imperfectStructure, but only for the first level RNO private LazyLoad _ImperfectSubstep; public bool ImperfectSubstep { @@ -3323,6 +3124,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ImperfectSubstep, "@ImperfectSubstep"); } } + + // used with ImperfectStructure, skips the step tab level ahead by 2 more (for a total of 4) private LazyLoad _ImperfectStructurePlus4; public bool ImperfectStructurePlus4 { @@ -3331,6 +3134,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ImperfectStructurePlus4, "@ImperfectStructurePlus4"); } } + + // When the sub-step tab include it's parent tab, this flag will ignor any step/sub-step tabs that are not a number or letter private LazyLoad _SkipNonSeqTabWithPar; public bool SkipNonSeqTabWithPar { @@ -3339,6 +3144,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SkipNonSeqTabWithPar, "@SkipNonSeqTabWithPar"); } } + + // when determining the sub-step level (for tabs and printing), count only sequential sub-steps (excluding RNOs, Cautions, and Notes private LazyLoad _CountAllSubLevels; public bool CountAllSubLevels { @@ -3347,22 +3154,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CountAllSubLevels, "@CountAllSubLevels"); } } - private LazyLoad _UseMultiLineSectionTitle; - public bool UseMultiLineSectionTitle - { - get - { - return LazyLoad(ref _UseMultiLineSectionTitle, "@UseMultiLineSectionTitle"); - } - } - private LazyLoad _AdjustRNOCautionNoteWidth; - public bool AdjustRNOCautionNoteWidth - { - get - { - return LazyLoad(ref _AdjustRNOCautionNoteWidth, "@AdjustRNOCautionNoteWidth"); - } - } + + // don't reset (remove) the indent (RTF indent char) on step text when there are hard returns private LazyLoad _DontResetIndentOnNewline; public bool DontResetIndentOnNewline { @@ -3371,7 +3164,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DontResetIndentOnNewline, "@DontResetIndentOnNewline"); } } + // C2018-024 I in Arial font changed to I in TimesNewRoman + // put in for McGuire (MCGall format) private LazyLoad _ChangeFontUpperCaseIinArial; public bool ChangeFontUpperCaseIinArial { @@ -3381,7 +3176,7 @@ namespace VEPROMS.CSLA.Library } } } - #endregion + #endregion - StepSectionData #region TextTypeValue [TypeConverter(typeof(ExpandableObjectConverter))] public class TextTypeValue : vlnFormatItem @@ -3390,11 +3185,11 @@ namespace VEPROMS.CSLA.Library public TextTypeValue() : base() { } private LazyLoad _TheValue; public int? TheValue - { - get + { + get { return LazyLoad(ref _TheValue, "text()"); - } + } } public override string GetPDDisplayName() { return "Value"; } @@ -3407,14 +3202,14 @@ namespace VEPROMS.CSLA.Library return TheValue.ToString(); } } - #endregion + #endregion - TextTypeValue #region TextTypeValueList [TypeConverter(typeof(vlnListConverter))] public class TextTypeValueList : vlnFormatList { public TextTypeValueList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } - #endregion + #endregion - TextTypeValueList #region TextType [TypeConverter(typeof(ExpandableObjectConverter))] public class TextType : vlnFormatItem @@ -3424,11 +3219,11 @@ namespace VEPROMS.CSLA.Library //[Category("Strings")] private LazyLoad _Text; public string Text - { - get + { + get { - return LazyLoad(ref _Text, "text()"); - } + return LazyLoad(ref _Text, "text()"); + } } public override string GetPDDisplayName() { return "Text"; } @@ -3441,180 +3236,14 @@ namespace VEPROMS.CSLA.Library return Text; } } - #endregion + #endregion - TextType #region TextTypeList [TypeConverter(typeof(vlnListConverter))] public class TextTypeList : vlnFormatList { public TextTypeList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } - #endregion - #region OLD - SeqTab - //[TypeConverter(typeof(ExpandableObjectConverter))] - //public class SeqTab : vlnFormatItem - //{ - // public SeqTab(XmlNode xmlNode) : base(xmlNode) { } - // public SeqTab() : base() { } - // private LazyLoad _Text; - // public string Text - // { - // get - // { - // return LazyLoad(ref _Text, "text()"); - // } - // } - // public override string GetPDDisplayName() - // { return "Text"; } - // public override string GetPDDescription() - // { return string.Format("SeqTab '{0}'", Text); } - // public override string GetPDCategory() - // { return "Seq Tab"; } - // public override string ToString() - // { - // return Text; - // } - //} - #endregion - #region OLD - SeqTabList - //[TypeConverter(typeof(vlnListConverter))] - //public class SeqTabList : vlnFormatList - //{ - // public SeqTabList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } - //} - #endregion - #region OLD - PreSeqTabEdit - //[TypeConverter(typeof(ExpandableObjectConverter))] - //public class PreSeqTabEdit : vlnFormatItem - //{ - // public PreSeqTabEdit(XmlNode xmlNode) : base(xmlNode) { } - // public PreSeqTabEdit() : base() { } - // //[Category("Strings")] - // private LazyLoad _Text; - // public string Text - // { - // get - // { - // return LazyLoad(ref _Text, "text()"); - // } - // } - // public override string GetPDDisplayName() - // { return "Text"; } - // public override string GetPDDescription() - // { return string.Format("PreSeqTabEdit '{0}'", Text); } - // public override string GetPDCategory() - // { return "PreSeq Tab Edit"; } - // public override string ToString() - // { - // return Text; - // } - //} - #endregion - #region OLD - PreSeqTabEditList - //[TypeConverter(typeof(vlnListConverter))] - //public class PreSeqTabEditList : vlnFormatList - //{ - // public PreSeqTabEditList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } - //} - #endregion - #region OLD - PreSeqTabPrint - //[TypeConverter(typeof(ExpandableObjectConverter))] - //public class PreSeqTabPrint : vlnFormatItem - //{ - // public PreSeqTabPrint(XmlNode xmlNode) : base(xmlNode) { } - // public PreSeqTabPrint() : base() { } - // private LazyLoad _Text; - // public string Text - // { - // get - // { - // return LazyLoad(ref _Text, "text()"); - // } - // } - // public override string GetPDDisplayName() - // { return "Text"; } - // public override string GetPDDescription() - // { return string.Format("PreSeqTabPrint '{0}'", Text); } - // public override string GetPDCategory() - // { return "PreSeq Tab Printt"; } - // public override string ToString() - // { - // return Text; - // } - //} - #endregion - #region OLD - PreSeqTabPrintList - //[TypeConverter(typeof(vlnListConverter))] - //public class PreSeqTabPrintList : vlnFormatList - //{ - // public PreSeqTabPrintList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } - //} - #endregion - #region OLD - PostSeqTabEdit - //[TypeConverter(typeof(ExpandableObjectConverter))] - //public class PostSeqTabEdit : vlnFormatItem - //{ - // public PostSeqTabEdit(XmlNode xmlNode) : base(xmlNode) { } - // public PostSeqTabEdit() : base() { } - // private LazyLoad _Text; - // public string Text - // { - // get - // { - // return LazyLoad(ref _Text, "text()"); - // } - // } - // public override string GetPDDisplayName() - // { return "Text"; } - // public override string GetPDDescription() - // { return string.Format("PostSeqTabEdit '{0}'", Text); } - // public override string GetPDCategory() - // { return "PostSeq Tab Edit"; } - // public override string ToString() - // { - // return Text; - // } - //} - #endregion - #region OLD - PostSeqTabEditList - //[TypeConverter(typeof(vlnListConverter))] - //public class PostSeqTabEditList : vlnFormatList - //{ - // public PostSeqTabEditList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } - //} - #endregion - #region OLD - PostSeqTabPrint - //[TypeConverter(typeof(ExpandableObjectConverter))] - //public class PostSeqTabPrint : vlnFormatItem - //{ - // public PostSeqTabPrint(XmlNode xmlNode) : base(xmlNode) { } - // public PostSeqTabPrint() : base() { } - // private LazyLoad _Text; - // public string Text - // { - // get - // { - // return LazyLoad(ref _Text, "text()"); - // } - // } - // public override string GetPDDisplayName() - // { return "Text"; } - // public override string GetPDDescription() - // { return string.Format("PostSeqTabPrint '{0}'", Text); } - // public override string GetPDCategory() - // { return "PostSeq Tab Printt"; } - // public override string ToString() - // { - // return Text; - // } - //} - #endregion - #region OLD - PostSeqTabPrintList - //[TypeConverter(typeof(vlnListConverter))] - //public class PostSeqTabPrintList : vlnFormatList - //{ - // public PostSeqTabPrintList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } - //} - #endregion + #endregion - TextTypeList #region UnderlineTerminate [TypeConverter(typeof(ExpandableObjectConverter))] public class UnderlineTerminate : vlnFormatItem @@ -3640,14 +3269,14 @@ namespace VEPROMS.CSLA.Library return Text; } } - #endregion + #endregion - UnderlineTerminate #region UnderlineTerminateList [TypeConverter(typeof(vlnListConverter))] public class UnderlineTerminateList : vlnFormatList { public UnderlineTerminateList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } - #endregion + #endregion - UnderlineTerminateList #region ObserveNCString1 [TypeConverter(typeof(ExpandableObjectConverter))] public class ObserveNCString1 : vlnFormatItem @@ -3673,14 +3302,14 @@ namespace VEPROMS.CSLA.Library return Text; } } - #endregion + #endregion - ObserveNCString1 #region ObserveNCString1List [TypeConverter(typeof(vlnListConverter))] public class ObserveNCString1List : vlnFormatList { public ObserveNCString1List(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } - #endregion + #endregion - ObserveNCString1List #region ObserveNCString2 [TypeConverter(typeof(ExpandableObjectConverter))] public class ObserveNCString2 : vlnFormatItem @@ -3706,38 +3335,51 @@ namespace VEPROMS.CSLA.Library return Text; } } - #endregion + #endregion - ObserveNCString2 #region ObserveNCString2List [TypeConverter(typeof(vlnListConverter))] public class ObserveNCString2List : vlnFormatList { public ObserveNCString2List(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } - #endregion + #endregion - ObserveNCString2List #region ReplaceStr + + // ReplaceStr is a ReplaceStrData item containing the string to find and the string to replace it + // it also has flags to control where the replacements are allows (high level step, sub-steps, etc) + // ex: + [TypeConverter(typeof(ExpandableObjectConverter))] public class ReplaceStr : vlnFormatItem { public ReplaceStr(XmlNode xmlNode) : base(xmlNode) { } public ReplaceStr() : base() { } [Category("Strings")] + + // the string what will be replaced private LazyLoad _ReplaceWord; public string ReplaceWord - { - get + { + get { return LazyLoad(ref _ReplaceWord, "@ReplaceWord"); - } + } } [Category("Strings")] + // string to use for the replacement + private LazyLoad _ReplaceWith; public string ReplaceWith - { - get + { + get { return LazyLoad(ref _ReplaceWith, "@ReplaceWith"); - } + } } + // flags to control where the replacement is allowed: + // ex: "High, RNO, Caution, Note, Table, Substep, Attach" + // see E_ReplaceFlags in "CSLA.Library\Format\ENums.cs" for the complete list + private LazyLoad _Flag; public E_ReplaceFlags? Flag { @@ -3749,7 +3391,7 @@ namespace VEPROMS.CSLA.Library public override string GetPDDisplayName() { return ReplaceWord; } public override string GetPDDescription() - { return string.Format("Replace '{0}' with '{1}'",ReplaceWord,ReplaceWith); } + { return string.Format("Replace '{0}' with '{1}'", ReplaceWord, ReplaceWith); } public override string GetPDCategory() { return "Words to Replace"; } public override string ToString() @@ -3758,20 +3400,23 @@ namespace VEPROMS.CSLA.Library } } - #endregion + #endregion - ReplaceStr #region ReplaceStrList [TypeConverter(typeof(vlnListConverter))] - public class ReplaceStrList : vlnFormatList + public class ReplaceStrList : vlnFormatList { public ReplaceStrList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } - #endregion + #endregion - ReplaceStrList #region ReplaceChar + // Information to replace a symbol character with a new size and/or a difference symbol [TypeConverter(typeof(ExpandableObjectConverter))] public class ReplaceChar : vlnFormatItem, IVlnIndexedFormatItem { public ReplaceChar(XmlNode xmlNode) : base(xmlNode) { } public ReplaceChar() : base() { } + + // A unique index number for this symbol list private LazyLoad _Index; public int? Index { @@ -3781,6 +3426,8 @@ namespace VEPROMS.CSLA.Library } } [Category("Strings")] + + //The Unicode number of the symbol we are replacing private LazyLoad _Unicode; public string Unicode { @@ -3790,6 +3437,8 @@ namespace VEPROMS.CSLA.Library } } [Category("Strings")] + + //The Unicode number of the symbol we want to use instead (this is optional) private LazyLoad _Replace; public string Replace { @@ -3799,6 +3448,8 @@ namespace VEPROMS.CSLA.Library } } [Category("Strings")] + + // The font family of the replacement symbol character (this is optional) private LazyLoad _Family; public string Family { @@ -3808,6 +3459,7 @@ namespace VEPROMS.CSLA.Library } } [Category("FontStyle?")] + // the font style for the symbol character (bold, Italics, Underline) - this is optional private LazyLoad _Style; // format has E_Style value. The public will translate it to a systemdrawing.FontStyle used in printing public FontStyle? Style { @@ -3826,10 +3478,12 @@ namespace VEPROMS.CSLA.Library sdfStyle |= FontStyle.Underline; } return sdfStyle; // return systemdrawing.FontStyle - //return LazyLoad(ref _Style, "@Style"); + //return LazyLoad(ref _Style, "@Style"); } } [Category("float?")] + + // The font size of the replacement symbol character (this is optional) private LazyLoad _Size; public float? Size { @@ -3850,10 +3504,10 @@ namespace VEPROMS.CSLA.Library } } - #endregion + #endregion - ReplaceChar #region ReplaceSymbolCharList [TypeConverter(typeof(vlnIndexedListConverter))] - public class ReplaceSymbolCharList : vlnIndexedFormatList + public class ReplaceSymbolCharList : vlnIndexedFormatList { public ReplaceSymbolCharList(XmlNodeList xmlNodeList, IFormatOrFormatInfo myFormat) : base(xmlNodeList, myFormat) { } public override vlnIndexedFormatList InheritedList @@ -3867,43 +3521,23 @@ namespace VEPROMS.CSLA.Library } } } - #endregion + #endregion - ReplaceSymbolCharList #region StepSectionLayoutData public class StepSectionLayoutData : vlnFormatItem { public StepSectionLayoutData(XmlNode xmlNode) : base(xmlNode) { } - private TopOfPage _TopOfPage; - public TopOfPage TopOfPage - { - get - { - return (_TopOfPage == null)? _TopOfPage = new TopOfPage(SelectSingleNode("TopOfPage")): _TopOfPage; - } - } + // the font and placement settings for the separator words used for OR the sub-steps + // and the Explicit And sub-steps private Separator _Separator; public Separator Separator { get { - return (_Separator == null) ?_Separator = new Separator(SelectSingleNode("Separator")):_Separator; + return (_Separator == null) ? _Separator = new Separator(SelectSingleNode("Separator")) : _Separator; } } - private LazyLoad _LastLineToStartStep; - public float? LastLineToStartStep - { - get - { - return LazyLoad(ref _LastLineToStartStep, "@LastLineToStartStep"); - } - } - private LazyLoad _LineDrawingOption; - public int? LineDrawingOption - { - get - { - return LazyLoad(ref _LineDrawingOption, "@LineDrawingOption"); - } - } + // the size of a tab in points. If not set, then 6 points will be used. + // note - don't add and set this to Base format, some code check for no value set private LazyLoad _TabPtsPerChar; public float? TabPtsPerChar { @@ -3912,6 +3546,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TabPtsPerChar, "@TabPtsPerChar"); } } + // will define the placement of Notes, Cautions, and Warning with repect to the step they apply + // value is a string containing a list of StepData Index numbers for the defined Cautions and Notes types - a Warning is a redifined Caution or Note private LazyLoad _CautionNoteOrder; public string CautionNoteOrder { @@ -3920,70 +3556,58 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CautionNoteOrder, "@CautionNoteOrder"); } } + + // starting position for High Level step text from the left margin private LazyLoad _ColS; public float? ColS - { - get - { + { + get + { return LazyLoad(ref _ColS, "@ColS"); - } + } } + + // starting positon for cautions and notes that do not have a border (box format associated to it) private LazyLoad _ColT; public float? ColT - { - get + { + get { return LazyLoad(ref _ColT, "@ColT"); - } - } - private LazyLoad _ColAbs; - public float? ColAbs - { - get - { - return LazyLoad(ref _ColAbs, "@ColAbs"); - } + } } + + // Width of Text (note/caution) fields. This is overridden by BxTxtWidth, if the text is boxed. private LazyLoad _WidT; public float? WidT - { - get + { + get { return LazyLoad(ref _WidT, "@WidT"); - } + } } + + // default column mode of the step editor sections - used in Section Properties + // if PMode is zero, the default column mode is two column private LazyLoad _PMode; public int? PMode - { - get + { + get { return LazyLoad(ref _PMode, "@PMode"); - } + } } + + // default column mode of the step editor sections - used in Procedure Properties private LazyLoad _ColumnMode; public int? ColumnMode - { - get + { + get { return LazyLoad(ref _ColumnMode, "@ColumnMode"); - } - } - private LazyLoad _MaxRNO; - public int? MaxRNO - { - get - { - return LazyLoad(ref _MaxRNO, "@MaxRNO"); - } - } - private LazyLoad _MaxRNOTable; - public string MaxRNOTable - { - get - { - return LazyLoad(ref _MaxRNOTable, "@MaxRNOTable"); - } + } } + // set the width of RNO text to be same as its parent - put in for V.C. Summer (SUM formats) private LazyLoad _RNOWidthSameAsHighParent; public bool RNOWidthSameAsHighParent { @@ -3992,6 +3616,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOWidthSameAsHighParent, "@RNOWidthSameAsHighParent"); } } + // used with the RNOWidthSameAsHighParent flag, is width value if this is the top RNO (parent RNO) + // - put in for V.C. Summer (SUM formats) private LazyLoad _SingleColumnRNOIndent; public float? SingleColumnRNOIndent { @@ -4000,6 +3626,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SingleColumnRNOIndent, "@SingleColumnRNOIndent"); } } + + // B2020-140 for Wolf Creek check boxes in tables were printing too high in the table cells - added format variable to overide topPlacementAdjust (WCN format files) private LazyLoad _OverrideTableTopIndent; public int? OverrideTableTopIndent { @@ -4008,54 +3636,47 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _OverrideTableTopIndent, "@OverrideTableTopIndent"); } } + // the space between columns of the procedure text (between AER and RNO columns) private LazyLoad _ColRTable; public string ColRTable - { - get + { + get { return LazyLoad(ref _ColRTable, "@ColRTable"); - } + } } + + // the high level step text width, in the PROMS editor, based on on many columns the procedure has private LazyLoad _WidSTableEdit; public string WidSTableEdit - { - get + { + get { return LazyLoad(ref _WidSTableEdit, "@WidSTableEdit"); - } + } } + + // the high level step text width, when printed, based on on many columns the procedure has private LazyLoad _WidSTablePrint; public string WidSTablePrint - { - get - { + { + get + { return LazyLoad(ref _WidSTablePrint, "@WidSTablePrint"); - } - } - private LazyLoad _AdjRNOCol; - public float? AdjRNOCol - { - get - { - return LazyLoad(ref _AdjRNOCol, "@AdjRNOCol"); - } - } - private LazyLoad _EndMessagePos; - public int? EndMessagePos - { - get - { - return LazyLoad(ref _EndMessagePos, "@EndMessagePos"); - } + } } + + // Adjust the RNO width off the high level step private LazyLoad _RNOWidthAlt; public string RNOWidthAlt - { - get - { + { + get + { return LazyLoad(ref _RNOWidthAlt, "@RNOWidthAlt"); - } + } } + + // adjust the RNO width for all RNOs - D.C. Cook (AEP formats) private LazyLoad _RNOWidthAltAll; public int? RNOWidthAltAll { @@ -4064,6 +3685,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOWidthAltAll, "@RNOWidthAltAll"); } } + // adjust the width of the RNO off of an AER sub-step private LazyLoad _RNOWidthAdj; public string RNOWidthAdj { @@ -4072,6 +3694,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOWidthAdj, "@RNOWidthAdj"); } } + + // Use the parent's RNO indent private LazyLoad _UseRNOParentIdent; public string UseRNOParentIdent { @@ -4080,6 +3704,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseRNOParentIdent, "@UseRNOParentIdent"); } } + // Adjusts the placement of the Note and Caution tabs in deviations private LazyLoad _DevNoteOrCautionTabOffset; public string DevNoteOrCautionTabOffset { @@ -4088,6 +3713,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DevNoteOrCautionTabOffset, "@DevNoteOrCautionTabOffset"); } } + + // adjustment to the starting positoin of the note/caution boxes + // - this is used sub-formats for Byron and Braidwood (CEW_00, EXCLN01) private LazyLoad _BoxLeftAdj; public string BoxLeftAdj { @@ -4096,78 +3724,20 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BoxLeftAdj, "@BoxLeftAdj"); } } - private LazyLoad _HLSWidthOVRD; - public int? HLSWidthOVRD - { - get - { - return LazyLoad(ref _HLSWidthOVRD, "@HLSWidthOVRD"); - } - } - private LazyLoad _SubPaginationWght; - public int? SubPaginationWght - { - get - { - return LazyLoad(ref _SubPaginationWght, "@SubPaginationWght"); - } - } - private LazyLoad _TextTitleAdjustment; - public int? TextTitleAdjustment - { - get - { - return LazyLoad(ref _TextTitleAdjustment, "@TextTitleAdjustment"); - } - } - private VE_Font _VertStyle; - public VE_Font VertStyle + + // B2019-049 added check for table being in a Caution or Note - if so, use the single column setting for the format variable TableCenterPos + private LazyLoad _TableCenterPos; + public string TableCenterPos { get { - return (_VertStyle == null)? _VertStyle = new VE_Font(base.XmlNode): _VertStyle; + return LazyLoad(ref _TableCenterPos, "@TableCenterPos"); } } - private LazyLoad _TableCenterPos; - public string TableCenterPos - { - get - { - return LazyLoad(ref _TableCenterPos, "@TableCenterPos"); - } - } - private LazyLoad _LowerLimitDivisor; - public string LowerLimitDivisor - { - get - { - return LazyLoad(ref _LowerLimitDivisor, "@LowerLimitDivisor"); - } - } - private LazyLoad _NonLinkedStepNumber; - public string NonLinkedStepNumber - { - get - { - return LazyLoad(ref _NonLinkedStepNumber, "@NonLinkedStepNumber"); - } - } - private LazyLoad _NonLinkedCautNoteNumber; - public string NonLinkedCautNoteNumber - { - get - { - return LazyLoad(ref _NonLinkedCautNoteNumber, "@NonLinkedCautNoteNumber"); - } - } - private LazyLoad _NonLinkedRNONumber; - public string NonLinkedRNONumber - { - get - { - return LazyLoad(ref _NonLinkedRNONumber, "@NonLinkedRNONumber"); - } - } + + // Turn on editing and printing format for Deviation Documents (non-enhanced document) + // uses the Caution and Note type for the EOP and ERG step number, the widths are reduced + // and they are placed to the left of the high level step text private LazyLoad _Dev_Format; public bool Dev_Format { @@ -4176,6 +3746,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Dev_Format, "@Dev_Format"); } } + // links procedure step number and text (also links Cautions and Note). Uses a template for the step editor to enter deviation and support text (like enhanced backgrounds). Prints like the non-enhanced deviation document private LazyLoad _EnhancedShortFormDev; public bool EnhancedShortFormDev { @@ -4184,6 +3755,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _EnhancedShortFormDev, "@EnhancedShortFormDev"); } } + + // this flag is set in the plant format file when you want to be able to break steps that begin in the + // middle of the page. If this flag is not set, then any step that will not fit on a single page will + // cause a page break, i.e. start at the top of the next page. private LazyLoad _SpecialPageBreakFlag; public bool SpecialPageBreakFlag { @@ -4192,6 +3767,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpecialPageBreakFlag, "@SpecialPageBreakFlag"); } } + + // paginate on a step if the entire step will fit on it's own page but not fit on the remainer of the current page private LazyLoad _PaginateOnStepThatWillFitOnBlankPage; public bool PaginateOnStepThatWillFitOnBlankPage { @@ -4200,6 +3777,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PaginateOnStepThatWillFitOnBlankPage, "@PaginateOnStepThatWillFitOnBlankPage"); } } + + // allows the first child to be separated from its parent private LazyLoad _PaginateOnFirstSubstep; public bool PaginateOnFirstSubstep { @@ -4208,15 +3787,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PaginateOnFirstSubstep, "@PaginateOnFirstSubstep"); } } - private LazyLoad _PaginateOnFirstSubstep2X; - public bool PaginateOnFirstSubstep2X - { - get - { - return LazyLoad(ref _PaginateOnFirstSubstep2X, "@PaginateOnFirstSubstep2X"); - } - } - private LazyLoad _PageBreakParentWithTable; // B2020-101: Add format flag for table pagination + + // keep the table's parent with the table (if at all possible, don't break the table from the parent) + private LazyLoad _PageBreakParentWithTable; // B2020-101: Add format flag for table pagination public bool PageBreakParentWithTable { get @@ -4224,34 +3797,23 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PageBreakParentWithTable, "@PageBreakParentWithTable"); } } - private LazyLoad _UseHalfLines; - public bool UseHalfLines - { - get - { - return LazyLoad(ref _UseHalfLines, "@UseHalfLines"); - } - } - //private LazyLoad _TryToFillHalfOfPage; C2019-030 Removed Unused Code - //public bool TryToFillHalfOfPage - //{ - // get - // { - // return LazyLoad(ref _TryToFillHalfOfPage, "@TryToFillHalfOfPage"); - // } - //} + + + // when needed to fit an entire step on a page, PROMS will print the step at 7 lines per inch instead of the standard 6 lines per inch private LazyLoad _CompressSteps; public bool CompressSteps { get { if (PlantFormat.IgnoreUCF) return LazyLoad(ref _CompressSteps, "@CompressSteps"); - bool? localvalue = null; - FormatConfig fc = PlantFormat.GetFormatConfig(MyFormat); - if (fc != null) localvalue = fc.PlantFormat.FormatData.Flags.CompressSteps; + bool? localvalue = null; + FormatConfig fc = PlantFormat.GetFormatConfig(MyFormat); + if (fc != null) localvalue = fc.PlantFormat.FormatData.Flags.CompressSteps; return localvalue ?? LazyLoad(ref _CompressSteps, "@CompressSteps"); } } + // use the STExtraSpace value (defined for each step type) at the top of page + // when that step/sub-step type is the first step part on the page private LazyLoad _DoSTExtraAtTop; public bool DoSTExtraAtTop { @@ -4260,6 +3822,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DoSTExtraAtTop, "@DoSTExtraAtTop"); } } + + // even if a step will fit on a page by itself, print as much of the step as logically possible on the current page private LazyLoad _KeepStepsOnPage; public bool KeepStepsOnPage { @@ -4269,9 +3833,9 @@ namespace VEPROMS.CSLA.Library } } private LazyLoad _NoOrphans1; - /// - /// B2017-154 Np Orphans (single sub-step left over from previous page) No Children - /// + // B2017-154 No Orphans (single sub-step left over from previous page) No Children + // - Don't leave an orphan on the next page if the high level step and first sub-step will fit on the current page + // note: this was put in the V.C.Summ AP1000 plant public bool NoOrphans1 { get @@ -4279,6 +3843,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoOrphans1, "@NoOrphans1"); } } + + // the format default setting as to whether each procedure section start on their own page + // The base format has this set to true - each section starts on a new page private LazyLoad _BreakOnSections; public bool BreakOnSections { @@ -4287,6 +3854,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BreakOnSections, "@BreakOnSections"); } } + + // will print the section number and title before printing the section text. used only with the PROMS + // step editor sections (not Word sections). section number and title will print only on the first page + // of the section. a check box on the section properties page turns printing of this on/off private LazyLoad _ShowSectionTitles; public bool ShowSectionTitles { @@ -4295,6 +3866,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ShowSectionTitles, "@ShowSectionTitles"); } } + + // will print the defined section end message for single columns sections. + // the default setting is True private LazyLoad _EndForSingle; public bool EndForSingle { @@ -4303,14 +3877,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _EndForSingle, "@EndForSingle"); } } - private LazyLoad _PaginateOnFirstSubstep3X; - public bool PaginateOnFirstSubstep3X - { - get - { - return LazyLoad(ref _PaginateOnFirstSubstep3X, "@PaginateOnFirstSubstep3X"); - } - } + // Special pagination case used in some background document formats. This will turn off the KeepStepsOnPage flag when a paragraph off of a High Level step was put on next page (IP2 bck: E-3/References), and a paragraph was writing into the footer (FR-H.1 step 2.2.3.1. KBR 10/14/14) private LazyLoad _PaginateOnLowerStepLevel; public bool PaginateOnLowerStepLevel { @@ -4319,7 +3886,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PaginateOnLowerStepLevel, "@PaginateOnLowerStepLevel"); } } + // B2023-088: alarm format pagination + // Special pagination for Alarm procedures to keep substeps with the high level step private LazyLoad _AlarmPagination; public bool AlarmPagination { @@ -4328,6 +3897,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AlarmPagination, "@AlarmPagination"); } } + + // For McGuire and Catawba, they use CustomSpacing which inserts a blank line before high level steps + // if we paginate on one of these blank lines, we want to skip that blank line so that there isn't an + // extra blank line at the top of the page. private LazyLoad _CustomSpacing; public bool CustomSpacing { @@ -4336,22 +3909,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CustomSpacing, "@CustomSpacing"); } } - private LazyLoad _SplitStepInPrntStep; - public bool SplitStepInPrntStep - { - get - { - return LazyLoad(ref _SplitStepInPrntStep, "@SplitStepInPrntStep"); - } - } - private LazyLoad _LineAboveUnderSection; - public bool LineAboveUnderSection - { - get - { - return LazyLoad(ref _LineAboveUnderSection, "@LineAboveUnderSection"); - } - } + + // when set to False, a caluation for centering text is done with respect to the CPI defined for + // the font to better match the centering of the 16-bit VEPROMS application private LazyLoad _PicaIgnoreFiveSixths; public bool PicaIgnoreFiveSixths { @@ -4360,22 +3920,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PicaIgnoreFiveSixths, "@PicaIgnoreFiveSixths"); } } - private LazyLoad _SpaceForNoSecNumb; - public bool SpaceForNoSecNumb - { - get - { - return LazyLoad(ref _SpaceForNoSecNumb, "@SpaceForNoSecNumb"); - } - } - private LazyLoad _PageBreakOnFirstBlankLine; - public bool PageBreakOnFirstBlankLine - { - get - { - return LazyLoad(ref _PageBreakOnFirstBlankLine, "@PageBreakOnFirstBlankLine"); - } - } + + // keep sub-steps together - on a page by themselves private LazyLoad _PutOnPageByItself; public bool PutOnPageByItself { @@ -4384,14 +3930,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PutOnPageByItself, "@PutOnPageByItself"); } } - private LazyLoad _PaginateAtHighestPaginLevel; - public bool PaginateAtHighestPaginLevel - { - get - { - return LazyLoad(ref _PaginateAtHighestPaginLevel, "@PaginateAtHighestPaginLevel"); - } - } + + // If a high level step, the 16bit code uses the value of the extra space + // from the high level step format regardless of what type of high level step it is: + // Added check for UseSTExtraRealValue, if set, we want to use what is set for the specific step type private LazyLoad _UseSTExtraRealValue; public bool UseSTExtraRealValue { @@ -4400,14 +3942,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseSTExtraRealValue, "@UseSTExtraRealValue"); } } - private LazyLoad _DoSectionSeparatorLine; - public bool DoSectionSeparatorLine - { - get - { - return LazyLoad(ref _DoSectionSeparatorLine, "@DoSectionSeparatorLine"); - } - } + + // Causes step tabs to be built according to the actual level, with respect to the section level and the step level (i.e. sub-sections count as a level) private LazyLoad _TieTabToLevel; public bool TieTabToLevel { @@ -4416,6 +3952,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TieTabToLevel, "@TieTabToLevel"); } } + + // treat sub-sections and High Level Steps as if they are at the same procedure structure level. This is used with the TieTabToLevel flag private LazyLoad _SubSectAndHighSameLevel; public bool SubSectAndHighSameLevel { @@ -4424,42 +3962,21 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SubSectAndHighSameLevel, "@SubSectAndHighSameLevel"); } } - private LazyLoad _HighLevelRNOBeforeAERSubsteps; - public bool HighLevelRNOBeforeAERSubsteps - { - get - { - return LazyLoad(ref _HighLevelRNOBeforeAERSubsteps, "@HighLevelRNOBeforeAERSubsteps"); - } - } - private LazyLoad _UseStepTypeWidthOverride; - public bool UseStepTypeWidthOverride - { - get - { - return LazyLoad(ref _UseStepTypeWidthOverride, "@UseStepTypeWidthOverride"); - } - } - private LazyLoad _UseStepTypeWidthOverrideEditPrint; - public bool UseStepTypeWidthOverrideEditPrint - { - get - { - return LazyLoad(ref _UseStepTypeWidthOverrideEditPrint, "@UseStepTypeWidthOverrideEditPrint"); - } - } + + // compress only part of the step (i.e. a sub-step) so that the entire step can fit on a page private LazyLoad _PartialStepCompression; public bool PartialStepCompression { get { if (PlantFormat.IgnoreUCF) return LazyLoad(ref _PartialStepCompression, "@PartialStepCompression"); - bool? localvalue = null; - FormatConfig fc = PlantFormat.GetFormatConfig(MyFormat); - if (fc != null) localvalue = fc.PlantFormat.FormatData.Flags.PartialStepCompression; + bool? localvalue = null; + FormatConfig fc = PlantFormat.GetFormatConfig(MyFormat); + if (fc != null) localvalue = fc.PlantFormat.FormatData.Flags.PartialStepCompression; return localvalue ?? LazyLoad(ref _PartialStepCompression, "@PartialStepCompression"); } } + // remove the ".0" from a bottom continue message private LazyLoad _VirtualDotInHLSTab; public bool VirtualDotInHLSTab { @@ -4468,30 +3985,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _VirtualDotInHLSTab, "@VirtualDotInHLSTab"); } } - private LazyLoad _OverrideEnhancedTabs; - public bool OverrideEnhancedTabs - { - get - { - return LazyLoad(ref _OverrideEnhancedTabs, "@OverrideEnhancedTabs"); - } - } - private LazyLoad _RNO; - public bool RNO - { - get - { - return LazyLoad(ref _RNO, "@RNO"); - } - } - private LazyLoad _OnlySingleColumn; - public bool OnlySingleColumn - { - get - { - return LazyLoad(ref _OnlySingleColumn, "@OnlySingleColumn"); - } - } + // was put in for NSP's Cautions and Notes which are not boxed but formatted differently than other non-boxed Cautions and Notes, allow to specify a starting column and width where the Note/Caution step types are defined private LazyLoad _NullBox; public bool NullBox { @@ -4500,6 +3994,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NullBox, "@NullBox"); } } + + // turns on the ability to add Notes and Cautions off of a Section title in the PROMS step editor private LazyLoad _AllowNoteCautionAdd; public bool AllowNoteCautionAdd { @@ -4508,7 +4004,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AllowNoteCautionAdd, "@AllowNoteCautionAdd"); } } - // F2024-049 changed to specify the sub-step level via the format file (Generic EOP and Vogtle 3&4) + + // F2024-037 reset the seq sub-step numbering if the parent is an un-numbered high level step + // F2024-049 changed to specify the level, to change to, via the format file (Generic EOP and Vogtle 3&4) private LazyLoad _ResetSeqNumberingAfterUnnumberedHLS; public int? ResetSeqNumberingAfterUnnumberedHLS { @@ -4518,50 +4016,24 @@ namespace VEPROMS.CSLA.Library } } } - #endregion - #region TopOfPage - public class TopOfPage : vlnFormatItem - { - public TopOfPage(XmlNode xmlNode) : base(xmlNode) { } - private LazyLoad _Row; - public float? Row - { - get - { - return LazyLoad(ref _Row, "@Row"); - } - } - private LazyLoad _Col; - public float? Col - { - get - { - return LazyLoad(ref _Col, "@Col"); - } - } - private VE_Font _Font; - public VE_Font Font - { - get - { - return (_Font == null? _Font = new VE_Font(base.XmlNode): _Font); - } - } - } - #endregion + #endregion - StepSectionLayoutData #region Separator public class Separator : vlnFormatItem { public Separator(XmlNode xmlNode) : base(xmlNode) { } + + //the placement setting for the separator words used for OR the sub-steps and the Explicit And sub-steps private LazyLoad _Location; public int? Location - { - get - { + { + get + { return LazyLoad(ref _Location, "@Location"); //return LazyLoad(ref _SeparatorLocation, "@SeparatorLocation"); - } + } } + + // the font specifications for the separator text for OR the sub-steps and the Explicit And sub-steps private VE_Font _Font; public VE_Font Font { @@ -4571,49 +4043,18 @@ namespace VEPROMS.CSLA.Library } } } - #endregion - #region StepSectionEditData - public class StepSectionEditData : vlnFormatItem - { - public StepSectionEditData(XmlNode xmlNode) : base(xmlNode) { } - private LazyLoad _ColSScreenAdj; - public float? ColSScreenAdj - { - get - { - return LazyLoad(ref _ColSScreenAdj, "@ColSScreenAdj"); - } - } - private LazyLoad _ScrnAdjRNOText; - public float? ScrnAdjRNOText - { - get - { - return LazyLoad(ref _ScrnAdjRNOText, "@ScrnAdjRNOText"); - } - } - private LazyLoad _ColRScreen; - public string ColRScreen - { - get - { - return LazyLoad(ref _ColRScreen, "@ColRScreen"); - } - } - } - #endregion + #endregion - Separator #region StepSectionPrintData public class StepSectionPrintData : vlnFormatItem { public StepSectionPrintData(XmlNode xmlNode) : base(xmlNode) { } - private LazyLoad _ImmStepHdrCol; - public float? ImmStepHdrCol - { - get - { - return LazyLoad(ref _ImmStepHdrCol, "@ImmStepHdrCol"); - } - } + + // use for the box printed around Continuous Action Steps (if defined in plant format) + // this controls whether there is 1 line or 2 lines between the box line and + // the starting/ending yoffset of the HLS. + // default is False - will put 2 lines between the box line and step text + // when set to True - will put 1 line between the box line and step text resulting in + // no extra line between the box and top/bottom of step. private LazyLoad _DiffContActBox; public bool DiffContActBox { @@ -4622,6 +4063,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DiffContActBox, "@DiffContActBox"); } } + // will allow the drawing of a box round substeps that have a defined box private LazyLoad _ContActBoxOnSubSteps; public bool ContActBoxOnSubSteps { @@ -4630,22 +4072,18 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ContActBoxOnSubSteps, "@ContActBoxOnSubSteps"); } } - private LazyLoad _SecColHdrforActPMode; - public int? SecColHdrforActPMode - { - get - { - return LazyLoad(ref _SecColHdrforActPMode, "@SecColHdrforActPMode"); - } - } + // this will print the defined string after the last RNO for a step or sub-step + // some plants print a string of a couple spaces to add an extra blank line instead private LazyLoad _RNOSepString; public string RNOSepString - { - get + { + get { return LazyLoad(ref _RNOSepString, "@RNOSepString"); - } + } } + + // specify the length of the RNO separator. if not set, then code uses length of RNOSepString. if no RNOSepString then the code creates an empty RNO separtor. private LazyLoad _RNOSepLineLength; public float? RNOSepLineLength { @@ -4654,30 +4092,27 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOSepLineLength, "@RNOSepLineLength"); } } + // will print the defined string between each High Level Step type. Used in the Long Form Deviation format private LazyLoad _HLStpSeparatorString; public string HLStpSeparatorString - { - get - { - return LazyLoad(ref _HLStpSeparatorString, "@HLStpSeparatorString"); - } - } - private LazyLoad _HLRNOStpSeparatorString; - public string HLRNOStpSeparatorString - { - get - { - return LazyLoad(ref _HLRNOStpSeparatorString, "@HLRNOStpSeparatorString"); - } - } - private LazyLoad _LowerCaseRevNum; - public bool LowerCaseRevNum { get { - return LazyLoad(ref _LowerCaseRevNum, "@LowerCaseRevNum"); + return LazyLoad(ref _HLStpSeparatorString, "@HLStpSeparatorString"); } } + + // will print the defined string between each High Level RNO Step type. Used in the Long Form Deviation format + private LazyLoad _HLRNOStpSeparatorString; + public string HLRNOStpSeparatorString + { + get + { + return LazyLoad(ref _HLRNOStpSeparatorString, "@HLRNOStpSeparatorString"); + } + } + + // turns on the ability to enter a procedure set revision number (string) on the Working Draft properties page private LazyLoad _UseXtraRevNumber; public bool UseXtraRevNumber { @@ -4686,14 +4121,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseXtraRevNumber, "@UseXtraRevNumber"); } } - private LazyLoad _SpecialLandscapeMode; - public bool SpecialLandscapeMode - { - get - { - return LazyLoad(ref _SpecialLandscapeMode, "@SpecialLandscapeMode"); - } - } + + // Don't all step text to print past right margin. put in for Point Beach's Background document private LazyLoad _LimitWidToPageWid; public bool LimitWidToPageWid { @@ -4702,6 +4131,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _LimitWidToPageWid, "@LimitWidToPageWid"); } } + // add the parent tab to the step or sub-step tab private LazyLoad _CombinedTabIncludeParenTabs; public bool CombinedTabIncludeParenTabs { @@ -4710,31 +4140,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CombinedTabIncludeParenTabs, "@CombinedTabIncludeParenTabs"); } } - private VE_Font _ModifiedTextStyle; - public VE_Font ModifiedTextStyle - { - get - { - return (_ModifiedTextStyle == null)? _ModifiedTextStyle = new VE_Font(base.XmlNode):_ModifiedTextStyle; - } - } - private VE_Font _ImmStepHdrStyle; - public VE_Font ImmStepHdrStyle - { - get - { - return (_ImmStepHdrStyle == null)? _ImmStepHdrStyle = new VE_Font(base.XmlNode):_ImmStepHdrStyle; - } - } - private ImmStepHdrList _ImmStepHdrList; - public ImmStepHdrList ImmStepHdrList - { - get - { - return (_ImmStepHdrList == null)? _ImmStepHdrList = new ImmStepHdrList(SelectNodes("ImmStepHdrList/string")):_ImmStepHdrList; - } - set { _ImmStepHdrList = value; } - } + + // a list of hard coded tab placement adjustments per step level private LeftJustifyList _LeftJustifyList; public LeftJustifyList LeftJustifyList { @@ -4745,52 +4152,20 @@ namespace VEPROMS.CSLA.Library set { _LeftJustifyList = value; } } } - #region ImmStepHdr - [TypeConverter(typeof(ExpandableObjectConverter))] - public class ImmStepHdr : vlnFormatItem - { - public ImmStepHdr(XmlNode xmlNode) : base(xmlNode) { } - public ImmStepHdr() : base() { } - private LazyLoad _Text; - public string Text - { - get - { - return LazyLoad(ref _Text, "text()"); - } - } - public override string GetPDDisplayName() - { return "Text"; } - public override string GetPDDescription() - { return string.Format("ImmStepHdr '{0}'", Text); } - public override string GetPDCategory() - { return "Imm Step Hdr"; } - public override string ToString() - { - return Text; - } - } - #endregion - #region ImmStepHdrList - [TypeConverter(typeof(vlnListConverter))] - public class ImmStepHdrList : vlnFormatList - { - public ImmStepHdrList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } - } - #endregion - #region LeftJustifyList - [TypeConverter(typeof(vlnListConverter))] - public class LeftJustifyList : vlnFormatList - { - public LeftJustifyList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } - } - #endregion +#region LeftJustifyList +[TypeConverter(typeof(vlnListConverter))] +public class LeftJustifyList : vlnFormatList +{ +public LeftJustifyList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } +} #region LeftJustify [TypeConverter(typeof(ExpandableObjectConverter))] public class LeftJustify : vlnFormatItem, IVlnIndexedFormatItem { public LeftJustify(XmlNode xmlNode) : base(xmlNode) { } public LeftJustify() : base() { } + + // represents the step level in which to use the LeftJustify Size value private LazyLoad _Index; public int? Index { @@ -4799,6 +4174,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Index, "@Index"); } } + + // the LeftJustify value private LazyLoad _Size; public float? Size { @@ -4808,15 +4185,17 @@ namespace VEPROMS.CSLA.Library } } } - #endregion - #endregion + #endregion - LeftJustify + #endregion - LeftJustifyList + #endregion - StepSectionPrintData #region SeqTabFmtAll #region SeqTabFmt [TypeConverter(typeof(ExpandableObjectConverter))] - public class SeqTabFmt : vlnFormatItem,IVlnIndexedFormatItem + public class SeqTabFmt : vlnFormatItem, IVlnIndexedFormatItem { public SeqTabFmt() : base() { } - private LazyLoad _Index; //not included - is it needed? + // index number of each SeqTabFmt item in the SequentialTabFormat list + private LazyLoad _Index; [Description("SeqTab Index")] public int? Index { @@ -4825,6 +4204,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Index, "@Index"); } } + + // the token representing the type of tab to use. ex: {numeric} for a number, {alpha} for a letter private LazyLoad _TabToken; public string TabToken { @@ -4833,6 +4214,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TabToken, "@TabToken"); } } + + // the formatting definition for that tab (usually uses the "{seq}" token). defines if the tab ends with a period, closed parenthesis, etc. + // this format setting is also used for printing - we currently ignore the format setting for PrintTabFormat private LazyLoad _TabFormat; public string TabFormat { @@ -4841,6 +4225,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TabFormat, "@TabFormat"); } } + + // the formatting definition for that tab. defines if the tab ends with a period, closed parenthesis, etc. + // - we currently ignore this format setting when printing and use the value of TabFormat instead. + // leaving it this way in case we find a need to have different tab formats for editor and printing private LazyLoad _PrintTabFormat; public string PrintTabFormat { @@ -4849,16 +4237,18 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TabFormat, "@PrintTabFormat"); } } + + // when the tab is built with parent tab information, don't trim the parent tab (don't remove the surrounding spaces before building the tab private LazyLoad _DontTrimParentTabBeforeAppending; // B2019-011 for Barakah Alarm format public bool DontTrimParentTabBeforeAppending { - get - { - return LazyLoad(ref _DontTrimParentTabBeforeAppending, "@DontTrimParentTabBeforeAppending"); - } + get + { + return LazyLoad(ref _DontTrimParentTabBeforeAppending, "@DontTrimParentTabBeforeAppending"); + } } public override string GetPDDisplayName() - { return string.Format("Index [{0}]",Index); } + { return string.Format("Index [{0}]", Index); } public override string GetPDDescription() { return string.Format("Sequential Tab Format Index '{0}' Format '{1}'", Index, TabFormat); } public override string GetPDCategory() @@ -4867,13 +4257,13 @@ namespace VEPROMS.CSLA.Library { return TabFormat; } - } - #endregion + } + # endregion - SeqTabFmt #region SeqTabFmtList [TypeConverter(typeof(vlnIndexedListConverter))] public class SeqTabFmtList : vlnIndexedFormatList { - public SeqTabFmtList(XmlNodeList xmlNodeList,IFormatOrFormatInfo myFormat) : base(xmlNodeList,myFormat) { } + public SeqTabFmtList(XmlNodeList xmlNodeList, IFormatOrFormatInfo myFormat) : base(xmlNodeList, myFormat) { } public override vlnIndexedFormatList InheritedList { get @@ -4885,23 +4275,17 @@ namespace VEPROMS.CSLA.Library } } } - #endregion - #endregion - #endregion + #endregion - SeqTabFmtList + #endregion - SeqTabFmtAll + #endregion - StepSectionDataAll + #region AccSectionDataAll #region AccSectionData [TypeConverter(typeof(ExpandableObjectConverter))] public class AccSectionData : vlnFormatItem { public AccSectionData(XmlNode xmlNode) : base(xmlNode) { } - private LazyLoad _AutoContActSumSection; - public int? AutoContActSumSection - { - get - { - return LazyLoad(ref _AutoContActSumSection, "@AutoContActSumSection"); - } - } + //formatting information for the automatic table of contents private TableOfContentsData _TableOfContentsData; public TableOfContentsData TableOfContentsData { @@ -4910,68 +4294,86 @@ namespace VEPROMS.CSLA.Library return (_TableOfContentsData == null ? _TableOfContentsData = new TableOfContentsData(SelectSingleNode("TableOfContentsData")) : _TableOfContentsData); } } + + // formatting information for the generation of the Continuous Action Summary. + // Creates a table in an instance of Word that can be copied into a PROMS Word section + // and then modified as needed. (Node in XML is misspelled) private ConitnuousActionSummaryData _ContinuousActionSummaryData; public ConitnuousActionSummaryData ContinuousActionSummaryData { - get - { - return (_ContinuousActionSummaryData == null? _ContinuousActionSummaryData = new ConitnuousActionSummaryData(SelectSingleNode("ConitnuousActionSummaryData")) : _ContinuousActionSummaryData); + get + { + return (_ContinuousActionSummaryData == null ? _ContinuousActionSummaryData = new ConitnuousActionSummaryData(SelectSingleNode("ConitnuousActionSummaryData")) : _ContinuousActionSummaryData); } } } - #endregion + #endregion - AccSectionData + #region TableOfContentsData public class TableOfContentsData : vlnFormatItem { public TableOfContentsData(XmlNode xmlNode) : base(xmlNode) { } + + // positon of the section number from the left margin private LazyLoad _TofCSecNumPos; public float? TofCSecNumPos - { - get + { + get { return LazyLoad(ref _TofCSecNumPos, "@TofCSecNumPos"); - } + } } + // position of the section title from the left margin private LazyLoad _TofCSecTitlePos; public float? TofCSecTitlePos - { - get + { + get { return LazyLoad(ref _TofCSecTitlePos, "@TofCSecTitlePos"); } } + + // length of the section title before wrapping onto the next line private LazyLoad _TofCSecTitleLen; public int? TofCSecTitleLen - { - get + { + get { return LazyLoad(ref _TofCSecTitleLen, "@TofCSecTitleLen"); - } + } } + + // positon of the the section's starting page number private LazyLoad _TofCPageNumPos; public float? TofCPageNumPos - { - get + { + get { return LazyLoad(ref _TofCPageNumPos, "@TofCPageNumPos"); - } + } } + + // the character used for the spaces between the section title and the page number - i.e. leader dots private LazyLoad _TofCSpaceChar; public string TofCSpaceChar - { - get + { + get { return LazyLoad(ref _TofCSpaceChar, "@TofCSpaceChar"); - } + } } + + // the line spaces between each item on the table of contents private LazyLoad _TofCLineSpacing; public float? TofCLineSpacing - { - get + { + get { return LazyLoad(ref _TofCLineSpacing, "@TofCLineSpacing"); - } + } } + + // specify how many section / sub-sections to include on the TOC page private LazyLoad _TofCNumLevels; public int? TofCNumLevels { @@ -4980,6 +4382,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TofCNumLevels, "@TofCNumLevels"); } } + + // specify after which section level to start indenting the entries on the TOC page private LazyLoad _TofCStartIndentAfterLevel; public int? TofCStartIndentAfterLevel { @@ -4988,6 +4392,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TofCStartIndentAfterLevel, "@TofCStartIndentAfterLevel"); } } + + // flag to underline the first level section titles private LazyLoad _TofCUnderlineFirstLevelTitle; public bool TofCUnderlineFirstLevelTitle { @@ -4996,6 +4402,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TofCUnderlineFirstLevelTitle, "@TofCUnderlineFirstLevelTitle"); } } + + // specify the page number alignment with respect to the page number position - default is left justify private LazyLoad _TofCPageNumAlign; public string TofCPageNumAlign { @@ -5005,6 +4413,8 @@ namespace VEPROMS.CSLA.Library return (tocPgNumAlgn == null || tocPgNumAlgn == "") ? "Left" : tocPgNumAlgn; } } + + // a replacement section title for "Procedure Steps" - put in for V.C. Summer private LazyLoad _TofCProcedureStepsTitle; public string TofCProcedureStepsTitle { @@ -5014,6 +4424,8 @@ namespace VEPROMS.CSLA.Library return (tocProcStepsTitle == null || tocProcStepsTitle == "") ? "" : tocProcStepsTitle; } } + + // specify the line spacing to be just for the sub-sections entries private LazyLoad _TofCLineSpacingSub; public int? TofCLineSpacingSub { @@ -5022,6 +4434,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TofCLineSpacingSub, "@TofCLineSpacingSub"); } } + // if the Group Heading (defined in section's properties automation tab) is also part of the section number, + // remove it the Group Heading text from the section number - VEGP1, VEGP2 private LazyLoad _TofCRemoveGrpNameInSects; public bool TofCRemoveGrpNameInSects { @@ -5030,7 +4444,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TofCRemoveGrpNameInSects, "@TofCRemoveGrpNameInSects"); } } + // C2021-015: Barakah High Level Steps in Table of Contents + // if set in the Step Properties pannel private LazyLoad _TofCAllowHLS; public bool TofCAllowHLS { @@ -5044,15 +4460,18 @@ namespace VEPROMS.CSLA.Library { get { - return (_Font == null) ?_Font = new VE_Font(base.XmlNode):_Font; + return (_Font == null) ? _Font = new VE_Font(base.XmlNode) : _Font; } } } - #endregion + #endregion - TableOfContentsData + #region ConitnuousActionSummary public class ConitnuousActionSummaryData : vlnFormatItem { public ConitnuousActionSummaryData(XmlNode xmlNode) : base(xmlNode) { } + + // include the section number and title for the sections that contains continuous action steps private LazyLoad _IncludeSectionNumAndTitle; public bool IncludeSectionNumAndTitle { @@ -5061,6 +4480,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IncludeSectionNumAndTitle, "@IncludeSectionNumAndTitle"); } } + // the font and font styles to use for the continuous action summary private VE_Font _Font; public VE_Font Font { @@ -5070,15 +4490,18 @@ namespace VEPROMS.CSLA.Library } } } - #endregion - #endregion + #endregion - ConitnuousActionSummary + #endregion - AccSectionDataAll + #region MetaSectionAll #region MetaSection [TypeConverter(typeof(ExpandableObjectConverter))] - public class MetaSection : vlnFormatItem,IVlnIndexedFormatItem + public class MetaSection : vlnFormatItem, IVlnIndexedFormatItem { public MetaSection(XmlNode xmlNode) : base(xmlNode) { } public MetaSection() : base() { } + + // represents the section level private LazyLoad _Index; public int? Index { @@ -5087,45 +4510,43 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Index, "@Index"); } } + // the column adjustment (indent) inwhich to print the section number for that level of section (sub-section) private LazyLoad _SecNumPositionAdj; public float? SecNumPositionAdj - { - get + { + get { return LazyLoad(ref _SecNumPositionAdj, "@SecNumPositionAdj"); - } + } } + + // the column adjustment (indent) inwhich to print the section title for that level of section (sub-section) private LazyLoad _SecTitlePositionAdj; public float? SecTitlePositionAdj - { - get + { + get { return LazyLoad(ref _SecTitlePositionAdj, "@SecTitlePositionAdj"); - } + } } + // adjustment (indent) for the high level steps for that level of section (sub-section) private LazyLoad _ColSByLevel; public float? ColSByLevel - { - get + { + get { return LazyLoad(ref _ColSByLevel, "@ColSByLevel"); - } - } - private LazyLoad _TofCPositionAdj; - public float? TofCPositionAdj - { - get - { - return LazyLoad(ref _TofCPositionAdj, "@TofCPositionAdj"); - } + } } + + // adjustment for the width of the high level steps for that level of section (sub-section) private LazyLoad _WidSAdjByLevel; public float? WidSAdjByLevel - { - get + { + get { return LazyLoad(ref _WidSAdjByLevel, "@WidSAdjByLevel"); - } + } } public override string GetPDDisplayName() { return string.Format("[{0}]", Index); } @@ -5133,16 +4554,17 @@ namespace VEPROMS.CSLA.Library { return "Meta Section Values"; } public override string ToString() { - return String.Format("{0}, {1}, {2}, {3}, {4}", SecNumPositionAdj, SecTitlePositionAdj, ColSByLevel, TofCPositionAdj, TofCPositionAdj); + return String.Format("{0}, {1}, {2}, {3}", SecNumPositionAdj, SecTitlePositionAdj, ColSByLevel, WidSAdjByLevel); } } - #endregion + #endregion - MetaSection + #region MetaSectionList [TypeConverter(typeof(vlnIndexedListConverter))] public class MetaSectionList : vlnIndexedFormatList { - public MetaSectionList(XmlNodeList xmlNodeList,IFormatOrFormatInfo myFormat) : base(xmlNodeList,myFormat) { } + public MetaSectionList(XmlNodeList xmlNodeList, IFormatOrFormatInfo myFormat) : base(xmlNodeList, myFormat) { } public override vlnIndexedFormatList InheritedList { get @@ -5153,18 +4575,19 @@ namespace VEPROMS.CSLA.Library return null; } } - - } - #endregion - #endregion - #endregion + #endregion - MetaSectionList + #endregion - MetaSectionAll + #endregion - SectDataAll + #region StepDataAll #region Step [TypeConverter(typeof(ExpandableObjectConverter))] - public class StepData : vlnFormatItem,IVlnIndexedFormatItem + public class StepData : vlnFormatItem, IVlnIndexedFormatItem { public StepData() : base() { } + + // translated to a step type number - this number is used to allow the BASE format settting in the Plant formats private LazyLoad _Index; [Description("Step Index")] public int? Index @@ -5174,14 +4597,17 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Index, "@Index"); } } + + // text description of the step part type (ex. High, Caution, Note) private LazyLoad _Type; public string Type - { - get + { + get { return LazyLoad(ref _Type, "@Type"); } } + // the step type from which settings are inherited private LazyLoad _ParentType; public string ParentType { @@ -5190,6 +4616,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ParentType, "@ParentType"); } } + // user cannot directly edit the text in step type - usually auto generated text like TITLEWITHTEXTBELOW used in background documents private LazyLoad _ReadOnly; public bool ReadOnly { @@ -5198,6 +4625,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ReadOnly, "@ReadOnly"); } } + + // Less space between text and bottom line of Caution Box private LazyLoad _NoYBxAdjust; // F2021-038: SHE/SHEA less space after top line & before bottom line public bool NoYBxAdjust { @@ -5206,7 +4635,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoYBxAdjust, "@NoYBxAdjust"); } } - //private LazyLoad _SeparateWarning; // KBR: To be used for Proms Express to separate out warnings from notes/cautions on ribbon, etc + //private LazyLoad _SeparateWarning; // KBR: To be used for Proms Express to separate out warnings from notes/cautions on ribbon, etc - NO CODE TO SUPPORT THIS YET AND IS NOT SET IN PROMS EXPRESS FORMATS //public bool SeparateWarning //{ // get @@ -5214,6 +4643,8 @@ namespace VEPROMS.CSLA.Library // return LazyLoad(ref _SeparateWarning, "@SeparateWarning"); // } //} + + // when set to Truen the step type will not appear in the insert step or sub-step lists. used to turn off (remove) the availability of step types that are not used or needed by the customer private LazyLoad _Inactive; public bool Inactive { @@ -5222,7 +4653,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Inactive, "@Inactive"); } } - // F2018-022 Added step type flag to append a ".0" to the end of the high level step - put in for Westinghouse single column format (wst1) + + // F2018-022 Added step type flag to append a ".0" to the end of the high level step + // - put in for Westinghouse single column format (wst1) + // - used when a high level step is used as a section number and title private LazyLoad _AppendDotZero; public bool AppendDotZero { @@ -5232,6 +4666,8 @@ namespace VEPROMS.CSLA.Library } } // F2019-069: Barakah Hold Point - set xoffset to parent's tab + // put in for BNPP (Barakah). the Hold Point (note type) needed indented the same as the high level step + // that it apples to, instead of centering it on the page like a normal Note type private LazyLoad _ColUseParentTab; public bool ColUseParentTab { @@ -5240,6 +4676,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ColUseParentTab, "@ColUseParentTab"); } } + + // this will override the ColS format setting for the specific step type private LazyLoad _ColOverride; public float? ColOverride { @@ -5248,17 +4686,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ColOverride, "@ColOverride"); } } - private LazyLoad _ColOverrideEdit; - public float? ColOverrideEdit - { - get - { - return LazyLoad(ref _ColOverrideEdit, "@ColOverrideEdit"); - } - } + // this will override the WidS format setting for the specific step type private LazyLoad _WidthOverride; - public string WidthOverride { get @@ -5266,49 +4696,42 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _WidthOverride, "@WidthOverride"); } } - //private LazyLoad _WidthOverride; - //public float? WidthOverride - //{ - // get - // { - // return LazyLoad(ref _WidthOverride, "@WidthOverride"); - // } - //} - private LazyLoad _WidthOverrideEdit; - - public float? WidthOverrideEdit + // Separtor text that is printed beween consecutive step items of this type + // ex: "-OR-" may be printed between two consecutive OR sub-step types + private LazyLoad _Sep; + public string Sep { get { - return LazyLoad(ref _WidthOverrideEdit, "@WidthOverrideEdit"); + return LazyLoad(ref _Sep, "@Sep"); } } - private LazyLoad _Sep; - public string Sep - { - get - { - return LazyLoad(ref _Sep, "@Sep"); - } - } + + // a text string that is placed before the text of this step type. + // Used in the Checklist formats to draw lines (for a table) when printed. + // Also used to add a step text designator character before step text private LazyLoad _Prefix; public string Prefix - { - get + { + get { return LazyLoad(ref _Prefix, "@Prefix"); } } + // a text string that is placed after the text of this step type. Used in the Checklist formats to draw lines (for a table) when printed. private LazyLoad _Suffix; public string Suffix - { - get + { + get { return LazyLoad(ref _Suffix, "@Suffix"); - } + } } + // F2019-069: Barakah Hold Point - allow for default text (for Barakah it is 'Hold Point') + //whenever this step type is added to a step, + //this text field will automatically be populated with this text private LazyLoad _DefaultText; public string DefaultText { @@ -5317,23 +4740,21 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DefaultText, "@DefaultText"); } } - private LazyLoad _UnderlineTheseChar; - public string UnderlineTheseChar - { - get - { - return LazyLoad(ref _UnderlineTheseChar, "@UnderlineTheseChar"); - } - } + + // defines the positioning of the vertical table lines (to define columns). Used for the Checklist Formats which dymanically builds a table based on step and sub-step levels private LazyLoad _VertPos; public string VertPos - { - get + { + get { return LazyLoad(ref _VertPos, "@VertPos"); - } + } } - + // appears to be used for RNOs (step type 40) to control whether there are two blank lines or one line + // between the RNO steps. + // This needs set to true along with SpaceDouble in order for double spacing to happen. + // Default (BASE format) is set to True. + private LazyLoad _DoubleSpace; public bool DoubleSpace { @@ -5342,14 +4763,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DoubleSpace, "@DoubleSpace"); } } - private LazyLoad _EnhancedStepNumFromPrev; - public bool EnhancedStepNumFromPrev - { - get - { - return LazyLoad(ref _EnhancedStepNumFromPrev, "@EnhancedStepNumFromPrev"); - } - } + + // If 'UseSmartTemplate' is True, the template (defined in FormatData.TPL) will have starting location & widths, + // and other data for the listed step types. Data from the template overrides width data as specified by + // the step type format data. private LazyLoad _UseSmartTemplate; public bool UseSmartTemplate { @@ -5358,7 +4775,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseSmartTemplate, "@UseSmartTemplate"); } } - + + // If 'UseOldTemplate' is True, the template (defined in FormatData.TPL) will define the sub-steps to + // automatically insert when this step is inserted in the procedure data. Mainly used by Enhanced Backgrounds + // and Deviations, but has been used in procedure step formats for specialized items private LazyLoad _UseOldTemplate; public bool UseOldTemplate { @@ -5367,6 +4787,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseOldTemplate, "@UseOldTemplate"); } } + + // appears to provide extra control as to when the STExtraSpace value is used for extra line spacing private LazyLoad _AlwaysUseExtraLines; public bool AlwaysUseExtraLines { @@ -5375,6 +4797,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AlwaysUseExtraLines, "@AlwaysUseExtraLines"); } } + // Used for Notes and Cautions that are boxed, create a separate box for each different Note and Caution type. private LazyLoad _SeparateBox; public bool SeparateBox { @@ -5383,6 +4806,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SeparateBox, "@SeparateBox"); } } + + // Used for Cautions that are boxed, create a separate box for each different Caution type. private LazyLoad _SeparateBoxCautions; public bool SeparateBoxCautions { @@ -5391,6 +4816,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SeparateBoxCautions, "@SeparateBoxCautions"); } } + // appears to be used for RNOs (step type 40) to control whether there are two blank lines or one between the RNO steps. This needs set to true along with DoubleSpace in order for double spacing to happen. Default (BASE format) is set to True. private LazyLoad _SpaceDouble; public bool SpaceDouble { @@ -5399,22 +4825,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpaceDouble, "@SpaceDouble"); } } - private LazyLoad _ReduceLineAfter; - public bool ReduceLineAfter - { - get - { - return LazyLoad(ref _ReduceLineAfter, "@ReduceLineAfter"); - } - } - private LazyLoad _SameLevel; - public bool SameLevel - { - get - { - return LazyLoad(ref _SameLevel, "@SameLevel"); - } - } + + // This will bold the High Level RNO text - whether the high level step is bolded or not (code doesn't check for that) - this is only set on the RNO step type private LazyLoad _BoldHighLevel; public bool BoldHighLevel { @@ -5423,6 +4835,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BoldHighLevel, "@BoldHighLevel"); } } + + // used on Note and Caution types, will put an extra blank line before the Note or Caution tab private LazyLoad _OneLineBeforeTab; public bool OneLineBeforeTab { @@ -5431,14 +4845,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _OneLineBeforeTab, "@OneLineBeforeTab"); } } - private LazyLoad _CheckOffOnAllSteps; - public bool CheckOffOnAllSteps - { - get - { - return LazyLoad(ref _CheckOffOnAllSteps, "@CheckOffOnAllSteps"); - } - } + + // Turns on the boxing of an entire step (usually LossOfAC high level step type) private LazyLoad _BoxIt; public bool BoxIt { @@ -5447,38 +4855,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BoxIt, "@BoxIt"); } } - private LazyLoad _Boxed; - public bool Boxed - { - get - { - return LazyLoad(ref _Boxed, "@Boxed"); - } - } - private LazyLoad _XLines_StepFix; - public bool XLines_StepFix - { - get - { - return LazyLoad(ref _XLines_StepFix, "@XLines_StepFix"); - } - } - private LazyLoad _Rebox; - public bool Rebox - { - get - { - return LazyLoad(ref _Rebox, "@Rebox"); - } - } - private LazyLoad _SpcHdr; - public bool SpcHdr - { - get - { - return LazyLoad(ref _SpcHdr, "@SpcHdr"); - } - } + + // only put a bottom continue message if we are breaking on an RNO step. + // this flag is set only on the RNO (index 40) step type private LazyLoad _ContinueOnly; public bool ContinueOnly { @@ -5487,22 +4866,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ContinueOnly, "@ContinueOnly"); } } - private LazyLoad _SepAfterAER; - public bool SepAfterAER - { - get - { - return LazyLoad(ref _SepAfterAER, "@SepAfterAER"); - } - } - private LazyLoad _UseAlternateStepBox; - public bool UseAlternateStepBox - { - get - { - return LazyLoad(ref _UseAlternateStepBox, "@UseAlternateStepBox"); - } - } + + // underline the text that follows a "- " for this step type private LazyLoad _UnderlineAfterDashSpace; public bool UnderlineAfterDashSpace { @@ -5511,6 +4876,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UnderlineAfterDashSpace, "@UnderlineAfterDashSpace"); } } + // F2019-065: Allow uppercase of high level steps to be defined in the format private LazyLoad _UpperCase; public bool UpperCase @@ -5520,6 +4886,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UpperCase, "@UpperCase"); } } + + // this is applied to Caution and Note step types. + // When set, it will add an extra blank line for cases where the top of the page is a boxed caution or note + // - to move it away from the top page border line private LazyLoad _SpaceIn; public bool SpaceIn { @@ -5528,6 +4898,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpaceIn, "@SpaceIn"); } } + + // Each step of this type will alway start on a new page. This is used background formats. private LazyLoad _PageBreakOnStep; public bool PageBreakOnStep { @@ -5536,6 +4908,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PageBreakOnStep, "@PageBreakOnStep"); } } + // if there is no section number defined for the step section and the section title is printed on the page (using the check box on section properties), then align the procedure step tab to the same starting column as the section title private LazyLoad _AlignNullTabWSectHead; public bool AlignNullTabWSectHead { @@ -5544,6 +4917,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AlignNullTabWSectHead, "@AlignNullTabWSectHead"); } } + + // For Calvert Cliffs (BGE formats), when AlignNullTabWSectHead is used in BGEEOP (see EOP-0/Purpose ), + // it caused BGESTP's to print LossOfAC steps (unnumbered HLS) too far to the left. + // The ForceAlignNullTabWSectHead was introduced so that for that step type (LossOfAC) in STP/OI format + // so that the title position was used instead of the section number position private LazyLoad _ForceAlignNullTabWSectHead; public bool ForceAlignNullTabWSectHead { @@ -5552,6 +4930,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ForceAlignNullTabWSectHead, "@ForceAlignNullTabWSectHead"); } } + + // force the alignment of the high level step tab with the section title private LazyLoad _AlignHLSTabWithSectOvride; public bool AlignHLSTabWithSectOvride { @@ -5560,6 +4940,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AlignHLSTabWithSectOvride, "@AlignHLSTabWithSectOvride"); } } + + // set on selected sub-step types, allows sub-steps to use the type attributes of a Note or Caution that they are a part off private LazyLoad _TextSubFollowsTextStyle; public bool TextSubFollowsTextStyle { @@ -5568,6 +4950,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TextSubFollowsTextStyle, "@TextSubFollowsTextStyle"); } } + + // Additional indenting (spaces) to use when the sub-step type is inside a caution or note type private LazyLoad _CautionOrNoteSubstepIndent; public int? CautionOrNoteSubstepIndent { @@ -5576,14 +4960,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CautionOrNoteSubstepIndent, "@CautionOrNoteSubstepIndent"); } } - private LazyLoad _TreatAsSequential; - public bool TreatAsSequential - { - get - { - return LazyLoad(ref _TreatAsSequential, "@TreatAsSequential"); - } - } + + // adjust the placement of a Caution or Note when it's in an RNO and is not off of the high level RNO (adds another blank line) private LazyLoad _MatchUpRNO; public bool MatchUpRNO { @@ -5592,6 +4970,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MatchUpRNO, "@MatchUpRNO"); } } + + // used for Background formats - tell PROMS that the text for this step type is printed via the pagelist (PageStyle) logic as part of the page header information private LazyLoad _InPageList; public bool InPageList { @@ -5600,6 +4980,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _InPageList, "@InPageList"); } } + + // will center the text within the defined step type width if the text length is shorter than the step type width. + // Used on the Note and Caution step types private LazyLoad _CenterOneLineOnly; public bool CenterOneLineOnly { @@ -5608,6 +4991,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CenterOneLineOnly, "@CenterOneLineOnly"); } } + // used with CenterOneLineOnly, will not center the single line note/caution text if it as sub-steps private LazyLoad _CenterOnlyIfNoSubs; public bool CenterOnlyIfNoSubs { @@ -5616,7 +5000,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CenterOnlyIfNoSubs, "@CenterOnlyIfNoSubs"); } } + // F2021-042: Added FormatStepData.AlwaysCenter for BNPP1 - Critical Step text always must be centered + // step type is always centered on the page private LazyLoad _AlwaysCenter; public bool AlwaysCenter { @@ -5625,22 +5011,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AlwaysCenter, "@AlwaysCenter"); } } - private LazyLoad _SubTableGetsUp1Level; - public bool SubTableGetsUp1Level - { - get - { - return LazyLoad(ref _SubTableGetsUp1Level, "@SubTableGetsUp1Level"); - } - } - private LazyLoad _Remember; - public bool Remember - { - get - { - return LazyLoad(ref _Remember, "@Remember"); - } - } + + // additional logic to better center single line Notes and Cautions that are used in the RNO column private LazyLoad _CenterOneLineAdjust; public bool CenterOneLineAdjust { @@ -5649,62 +5021,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CenterOneLineAdjust, "@CenterOneLineAdjust"); } } - private LazyLoad _Break; - public bool Break - { - get - { - return LazyLoad(ref _Break, "@Break"); - } - } - private LazyLoad _BreakEquipmentList; - public bool BreakEquipmentList - { - get - { - return LazyLoad(ref _BreakEquipmentList, "@BreakEquipmentList"); - } - } - private LazyLoad _BreakCautionsNotesOnSubstps; - public bool BreakCautionsNotesOnSubstps - { - get - { - return LazyLoad(ref _BreakCautionsNotesOnSubstps, "@BreakCautionsNotesOnSubstps"); - } - } - private LazyLoad _CenterTextWithinWidth; - public bool CenterTextWithinWidth - { - get - { - return LazyLoad(ref _CenterTextWithinWidth, "@CenterTextWithinWidth"); - } - } - private LazyLoad _NewlineAfter; - public bool NewlineAfter - { - get - { - return LazyLoad(ref _NewlineAfter, "@NewlineAfter"); - } - } - private LazyLoad _StartLineWithDash; - public bool StartLineWithDash - { - get - { - return LazyLoad(ref _StartLineWithDash, "@StartLineWithDash"); - } - } - private LazyLoad _BlankLineBeforeSubStep; - public bool BlankLineBeforeSubStep - { - get - { - return LazyLoad(ref _BlankLineBeforeSubStep, "@BlankLineBeforeSubStep"); - } - } + + // used on Caution and Note step types, for steps that have multiple Cautions and/or Notes, + // this will put the Caution or Note tab for each of them private LazyLoad _AlwaysTab; public bool AlwaysTab { @@ -5713,6 +5032,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AlwaysTab, "@AlwaysTab"); } } + + // Don't put a blank line between multiple RNOs private LazyLoad _NoSpaceMultipleRNOs; public bool NoSpaceMultipleRNOs { @@ -5721,6 +5042,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoSpaceMultipleRNOs, "@NoSpaceMultipleRNOs"); } } + + // allows cautions type to be changed to notes and notes changed to cautions private LazyLoad _MixCautionsAndNotes; public bool MixCautionsAndNotes { @@ -5729,6 +5052,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MixCautionsAndNotes, "@MixCautionsAndNotes"); } } + + // set on the RNO step type, will grab and use the high level step's tab for the RNO private LazyLoad _NumberHighLevel; public bool NumberHighLevel { @@ -5737,6 +5062,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NumberHighLevel, "@NumberHighLevel"); } } + + // set on RNO step types, determines the RNO tab base on the RNO level private LazyLoad _NumberWithLevel; public bool NumberWithLevel { @@ -5745,6 +5072,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NumberWithLevel, "@NumberWithLevel"); } } + + // default is set to True. If set to False, then only the high level RNO step + // will use the high level step's tab (used with the NumberHighLevel format flag) private LazyLoad _OffsetTab; public bool OffsetTab { @@ -5753,6 +5083,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _OffsetTab, "@OffsetTab"); } } + + // put in for Farley, value to adjust the xoffset of the step tab based on where the right edge of the text is. + // Their RNO's are numbered with parent numbering so the calculations for determining + // the xoffset backs up from the right edge. private LazyLoad _AdjHighLevelTab; public float? AdjHighLevelTab { @@ -5761,6 +5095,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AdjHighLevelTab, "@AdjHighLevelTab"); } } + // sets an indent value for child steps (sub-steps) under the TitleWithTextBelow step type private LazyLoad _ChildIndent; public float? ChildIndent { @@ -5769,30 +5104,11 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ChildIndent, "@ChildIndent"); } } - private LazyLoad _LeftJustifyBorderless; - public bool LeftJustifyBorderless - { - get - { - return LazyLoad(ref _LeftJustifyBorderless, "@LeftJustifyBorderless"); - } - } - private LazyLoad _StepNumIfOnlyOne; - public bool StepNumIfOnlyOne - { - get - { - return LazyLoad(ref _StepNumIfOnlyOne, "@StepNumIfOnlyOne"); - } - } - private LazyLoad _LJTabs; - public bool LJTabs - { - get - { - return LazyLoad(ref _LJTabs, "@LJTabs"); - } - } + + // RNO's off of sequential sub-steps will get the parent's (AER sub-step) tab + // - BASE format has this set to True and is set on RNO step type. + // NSP (Prairie Island) has this set to False in some of their formats to allow + // the RNO sub-step type to be use as a signoff/initial line private LazyLoad _NumberSubs; public bool NumberSubs { @@ -5801,22 +5117,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NumberSubs, "@NumberSubs"); } } - private LazyLoad _BulletOnContinuous; - public bool BulletOnContinuous - { - get - { - return LazyLoad(ref _BulletOnContinuous, "@BulletOnContinuous"); - } - } - private LazyLoad _StepNumberForHighLevel; - public bool StepNumberForHighLevel - { - get - { - return LazyLoad(ref _StepNumberForHighLevel, "@StepNumberForHighLevel"); - } - } + + // used in some background document formats - all appear to be set on a Caution type. + // This will place the text of this type (caution) on the same row (of the page) and to the left of its parent. + // Is also used as a step designatior for Commanche Peak private LazyLoad _SameRowAsParent; public bool SameRowAsParent { @@ -5825,6 +5129,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SameRowAsParent, "@SameRowAsParent"); } } + + // Used in Comanche Peak EOP and Flex formats for step designators. Will allow a hard return to be used for multiple step designators. private LazyLoad _SameRowAsParentMultiLines; public bool SameRowAsParentMultiLines { @@ -5833,6 +5139,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SameRowAsParentMultiLines, "@SameRowAsParentMultiLines"); } } + // is set to False in BASE format (not set to True in any other format as of 2024Jun21). When set to False, we disable the ability to enter another Checkoff in an RNO part if the the parent RNO already has a checkoff set. private LazyLoad _CheckOffSameAsParent; public bool CheckOffSameAsParent { @@ -5841,6 +5148,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CheckOffSameAsParent, "@CheckOffSameAsParent"); } } + + // pad the step number so that is has at least two digits (ex step 1 would be step 01) private LazyLoad _AtLeastTwoDigits; public bool AtLeastTwoDigits { @@ -5849,22 +5158,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AtLeastTwoDigits, "@AtLeastTwoDigits"); } } - private LazyLoad _UseInAcTable; - public bool UseInAcTable - { - get - { - return LazyLoad(ref _UseInAcTable, "@UseInAcTable"); - } - } - private LazyLoad _Number; - public bool Number - { - get - { - return LazyLoad(ref _Number, "@Number"); - } - } + + // Put three blank line before this step type (when printed) private LazyLoad _ThreeBlanksAbove; public bool ThreeBlanksAbove { @@ -5873,58 +5168,43 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ThreeBlanksAbove, "@ThreeBlanksAbove"); } } - private LazyLoad _CheckOffs; - public bool CheckOffs - { - get - { - return LazyLoad(ref _CheckOffs, "@CheckOffs"); - } - } - private LazyLoad _Quoted; - public bool Quoted - { - get - { - return LazyLoad(ref _Quoted, "@Quoted"); - } - } - private VE_Font GetUCFFontAsVE_Font() - { - // if formatconfig & step list, then go through to see if index exists, if so and if there is a font, use it: - if (MyFormat.PlantFormat.FormatConfig != null && MyFormat.PlantFormat.FormatConfig.PlantFormat != null && MyFormat.PlantFormat.FormatConfig.PlantFormat.FormatData != null && MyFormat.PlantFormat.FormatConfig.PlantFormat.FormatData.StepData != null) - { - foreach (FormatConfig.Step stp in MyFormat.PlantFormat.FormatConfig.PlantFormat.FormatData.StepData) - { - if (Convert.ToInt32(stp.Index) == (int)Index && stp.FontDesc != null && stp.FontDesc.Font != null && stp.FontDesc.Font != "") - { - System.Drawing.FontConverter cvt = new System.Drawing.FontConverter(); - System.Drawing.Font windowsFont = cvt.ConvertFromString(stp.FontDesc.Font) as System.Drawing.Font; - E_Style myStyle = E_Style.None; - if (windowsFont.Bold) myStyle |= E_Style.Bold; - if (windowsFont.Underline) myStyle |= E_Style.Underline; - if (windowsFont.Italic) myStyle |= E_Style.Italics; - return (new VE_Font(windowsFont.Name, (int)windowsFont.Size, myStyle, windowsFont.SizeInPoints)); - } - } - } - return null; - } + private VE_Font GetUCFFontAsVE_Font() + { + // if formatconfig & step list, then go through to see if index exists, if so and if there is a font, use it: + if (MyFormat.PlantFormat.FormatConfig != null && MyFormat.PlantFormat.FormatConfig.PlantFormat != null && MyFormat.PlantFormat.FormatConfig.PlantFormat.FormatData != null && MyFormat.PlantFormat.FormatConfig.PlantFormat.FormatData.StepData != null) + { + foreach (FormatConfig.Step stp in MyFormat.PlantFormat.FormatConfig.PlantFormat.FormatData.StepData) + { + if (Convert.ToInt32(stp.Index) == (int)Index && stp.FontDesc != null && stp.FontDesc.Font != null && stp.FontDesc.Font != "") + { + System.Drawing.FontConverter cvt = new System.Drawing.FontConverter(); + System.Drawing.Font windowsFont = cvt.ConvertFromString(stp.FontDesc.Font) as System.Drawing.Font; + + E_Style myStyle = E_Style.None; + if (windowsFont.Bold) myStyle |= E_Style.Bold; + if (windowsFont.Underline) myStyle |= E_Style.Underline; + if (windowsFont.Italic) myStyle |= E_Style.Italics; + return (new VE_Font(windowsFont.Name, (int)windowsFont.Size, myStyle, windowsFont.SizeInPoints)); + } + } + } + return null; + } private VE_Font _Font; public VE_Font Font { get { - if (PlantFormat.IgnoreUCF) return (_Font == null) ?_Font = new VE_Font(base.XmlNode): _Font; - if (_Font != null) return (_Font); - VE_Font vef = GetUCFFontAsVE_Font(); - if (vef != null) - { - _Font = vef; - return vef; - } - return (_Font == null) ?_Font = new VE_Font(base.XmlNode): _Font; + if (PlantFormat.IgnoreUCF) return (_Font == null) ? _Font = new VE_Font(base.XmlNode) : _Font; + if (_Font != null) return (_Font); + VE_Font vef = GetUCFFontAsVE_Font(); + if (vef != null) + { + _Font = vef; + return vef; + } + return (_Font == null) ? _Font = new VE_Font(base.XmlNode) : _Font; } } private StepLayoutData _StepLayoutData; @@ -5932,7 +5212,7 @@ namespace VEPROMS.CSLA.Library { get { - return (_StepLayoutData == null)? _StepLayoutData = new StepLayoutData(base.XmlNode): _StepLayoutData; + return (_StepLayoutData == null) ? _StepLayoutData = new StepLayoutData(base.XmlNode) : _StepLayoutData; } } private StepEditData _StepEditData; @@ -5963,6 +5243,11 @@ namespace VEPROMS.CSLA.Library { return string.Format("{0}", Type); } + + // by default, all continuous action steps and sub-steps are included in the PROMS generated + // continuous Action Summary. Not all formats (plants) use dedicated continuous action steps and sub-steps + // and sometimes these step type are redefined for other purposes. + // Setting this to True will exclude this step type from the Continuouse Action Summary. private LazyLoad _ExcludeFromContActSum; public bool ExcludeFromContActSum { @@ -5972,6 +5257,7 @@ namespace VEPROMS.CSLA.Library } } //F2022-024 Time Critical Action Step + //By default, Time Critical Action steps are included on the PROMS generated Time Critical Action Summary. Setting this to True will not automatically include it on the Time Critical Action Summary. private LazyLoad _ExcludeFromTimeCriticalActSum; public bool ExcludeFromTimeCriticalActSum { @@ -5982,237 +5268,237 @@ namespace VEPROMS.CSLA.Library } } - #endregion - #region StepDataList - [TypeConverter(typeof(vlnIndexedListConverter))] - public class StepDataList : vlnIndexedFormatList +#endregion +#region StepDataList +[TypeConverter(typeof(vlnIndexedListConverter))] +public class StepDataList : vlnIndexedFormatList +{ +//public new StepData this[int index] +//{ +// get +// { +// foreach (StepData stepData in this) +// if (stepData.Index == index) return stepData; +// return null; +// } +//} +public override vlnIndexedFormatList InheritedList +{ + get { - //public new StepData this[int index] - //{ - // get - // { - // foreach (StepData stepData in this) - // if (stepData.Index == index) return stepData; - // return null; - // } - //} - public override vlnIndexedFormatList InheritedList - { - get - { - IFormatOrFormatInfo parentFormat = MyFormat.MyIParent; - if (parentFormat != null) - return parentFormat.PlantFormat.FormatData.StepDataList; - return null; - } - } - public StepData this[string type] - { - get - { - foreach (StepData stepData in this) - if (stepData.Type == type) return stepData; - StepDataList ttlParent = (StepDataList) InheritedList; //Check Inherited Value - if (ttlParent != null) - return ttlParent[type]; // note that this is recursive, i.e. if doesn't get found in parent, goes to parent's parent. - return null; - } - } - // the following was commented out because it uses the vlnFormat version of the code that indexes the list. - //public StepData this[int index] - //{ - // get - // { - // foreach (StepData stepData in this) - // if (stepData.Index == index) return stepData; - // StepDataList ttlParent = (StepDataList)InheritedList; //Check Inherited Value - // if (ttlParent != null) - // return ttlParent[index]; - // return null; - // } - //} - public StepDataList(XmlNodeList xmlNodeList, IFormatOrFormatInfo myFormat) : base(xmlNodeList, myFormat) { } - private StepData _HLS; - public StepData HLS - { - get - { - if (_HLS!=null) return _HLS; - foreach (StepData sd in this) - { - if (sd.Type == "High") - { - _HLS = sd; - return sd; - } - } - return null; - } - } - private StepData _Caution; - public StepData Caution - { - get - { - if (_Caution != null) return _Caution; - foreach (StepData sd in this) - { - if (sd.Type == "Caution") - { - _Caution = sd; - return sd; - } - } - return null; - } - } - private StepData _Note; - public StepData Note - { - get - { - if (_Note != null) return _Note; - foreach (StepData sd in this) - { - if (sd.Type == "Note") - { - _Note = sd; - return sd; - } - } - return null; - } - } - private StepData _RNO; - public StepData RNO - { - get - { - if (_RNO != null) return _RNO; - foreach (StepData sd in this) - { - if (sd.Type == "RNOType") - { - _RNO = sd; - return sd; - } - } - return null; - } - } - private StepData _Fig; - public StepData Fig - { - get - { - if (_Fig != null) return _Fig; - foreach (StepData sd in this) - { - if (sd.Type == "Figure") - { - _Fig = sd; - return sd; - } - } - return null; - } - } - private StepData _Table; - public StepData Table - { - get - { - if (_Table != null) return _Table; - foreach (StepData sd in this) - { - if (sd.Type == "Table") - { - _Table = sd; - return sd; - } - } - return null; - } - } - private StepData _Substep; - public StepData Substep - { - get - { - if (_Substep != null) return _Substep; - foreach (StepData sd in this) - { - if (sd.Type == "Substep") - { - _Substep = sd; - return sd; - } - } - return null; - } - } - // EmbeddedObject has been commented out, 'Equations' are separate top level items. - // This code was left here in case Equations , and other OLE objects, end up - // under the EmbeddedObject: - - // EmbeddedObject has inheritted types that represent OLE objects. - // The first of these is 'Equation'. Another that may be implemented later is Image. - // This is a special case, since only 'Equation' exists on initial development of - // embedded objects, 'skip' the embedded object layer when creating the list and - // go right to the equations. - //private StepData _EmbeddedObject; - //public StepData EmbeddedObject - //{ - // get - // { - // if (_EmbeddedObject != null) return _EmbeddedObject; - // foreach (StepData sd in this) - // { - // if (sd.Type == "EmbeddedObject") - // { - // _Equation = sd; - // return sd; - // } - // } - // return null; - // } - //} - private StepData _Equation; - public StepData Equation // equation has a parent of embedded object. - { - get - { - if (_Equation != null) return _Equation; - foreach (StepData sd in this) - { - if (sd.Type == "Equation") - { - _Equation = sd; - return sd; - } - } - // Handle inheritance (step data may not be in current format, may inherit from parents): - IFormatOrFormatInfo parentFormat = this.MyFormat.PlantFormat.FormatData.MyParentFormat; - while (parentFormat != null) - { - vlnIndexedFormatList InheritedList = parentFormat.PlantFormat.FormatData.StepDataList; - if (InheritedList != null) - { - foreach (StepData sdi in InheritedList) - { - if (sdi.Type == "Equation") - { - _Equation = sdi; - return sdi; - } - } - } - parentFormat = parentFormat.PlantFormat.FormatData.MyParentFormat; - } - return null; - } - } + IFormatOrFormatInfo parentFormat = MyFormat.MyIParent; + if (parentFormat != null) + return parentFormat.PlantFormat.FormatData.StepDataList; + return null; } +} +public StepData this[string type] +{ + get + { + foreach (StepData stepData in this) + if (stepData.Type == type) return stepData; + StepDataList ttlParent = (StepDataList) InheritedList; //Check Inherited Value + if (ttlParent != null) + return ttlParent[type]; // note that this is recursive, i.e. if doesn't get found in parent, goes to parent's parent. + return null; + } +} +// the following was commented out because it uses the vlnFormat version of the code that indexes the list. +//public StepData this[int index] +//{ +// get +// { +// foreach (StepData stepData in this) +// if (stepData.Index == index) return stepData; +// StepDataList ttlParent = (StepDataList)InheritedList; //Check Inherited Value +// if (ttlParent != null) +// return ttlParent[index]; +// return null; +// } +//} +public StepDataList(XmlNodeList xmlNodeList, IFormatOrFormatInfo myFormat) : base(xmlNodeList, myFormat) { } +private StepData _HLS; +public StepData HLS +{ + get + { + if (_HLS!=null) return _HLS; + foreach (StepData sd in this) + { + if (sd.Type == "High") + { + _HLS = sd; + return sd; + } + } + return null; + } +} +private StepData _Caution; +public StepData Caution +{ + get + { + if (_Caution != null) return _Caution; + foreach (StepData sd in this) + { + if (sd.Type == "Caution") + { + _Caution = sd; + return sd; + } + } + return null; + } +} +private StepData _Note; +public StepData Note +{ + get + { + if (_Note != null) return _Note; + foreach (StepData sd in this) + { + if (sd.Type == "Note") + { + _Note = sd; + return sd; + } + } + return null; + } +} +private StepData _RNO; +public StepData RNO +{ + get + { + if (_RNO != null) return _RNO; + foreach (StepData sd in this) + { + if (sd.Type == "RNOType") + { + _RNO = sd; + return sd; + } + } + return null; + } +} +private StepData _Fig; +public StepData Fig +{ + get + { + if (_Fig != null) return _Fig; + foreach (StepData sd in this) + { + if (sd.Type == "Figure") + { + _Fig = sd; + return sd; + } + } + return null; + } +} +private StepData _Table; +public StepData Table +{ + get + { + if (_Table != null) return _Table; + foreach (StepData sd in this) + { + if (sd.Type == "Table") + { + _Table = sd; + return sd; + } + } + return null; + } +} +private StepData _Substep; +public StepData Substep +{ + get + { + if (_Substep != null) return _Substep; + foreach (StepData sd in this) + { + if (sd.Type == "Substep") + { + _Substep = sd; + return sd; + } + } + return null; + } +} +// EmbeddedObject has been commented out, 'Equations' are separate top level items. +// This code was left here in case Equations , and other OLE objects, end up +// under the EmbeddedObject: + +// EmbeddedObject has inheritted types that represent OLE objects. +// The first of these is 'Equation'. Another that may be implemented later is Image. +// This is a special case, since only 'Equation' exists on initial development of +// embedded objects, 'skip' the embedded object layer when creating the list and +// go right to the equations. +//private StepData _EmbeddedObject; +//public StepData EmbeddedObject +//{ +// get +// { +// if (_EmbeddedObject != null) return _EmbeddedObject; +// foreach (StepData sd in this) +// { +// if (sd.Type == "EmbeddedObject") +// { +// _Equation = sd; +// return sd; +// } +// } +// return null; +// } +//} +private StepData _Equation; +public StepData Equation // equation has a parent of embedded object. +{ + get + { + if (_Equation != null) return _Equation; + foreach (StepData sd in this) + { + if (sd.Type == "Equation") + { + _Equation = sd; + return sd; + } + } + // Handle inheritance (step data may not be in current format, may inherit from parents): + IFormatOrFormatInfo parentFormat = this.MyFormat.PlantFormat.FormatData.MyParentFormat; + while (parentFormat != null) + { + vlnIndexedFormatList InheritedList = parentFormat.PlantFormat.FormatData.StepDataList; + if (InheritedList != null) + { + foreach (StepData sdi in InheritedList) + { + if (sdi.Type == "Equation") + { + _Equation = sdi; + return sdi; + } + } + } + parentFormat = parentFormat.PlantFormat.FormatData.MyParentFormat; + } + return null; + } +} +} #endregion #region StepLayoutData [TypeConverter(typeof(ExpandableObjectConverter))] @@ -6222,22 +5508,8 @@ namespace VEPROMS.CSLA.Library : base(xmlNode) { } - private LazyLoad _ForeColor; - public string ForeColor - { - get - { - return LazyLoad(ref _ForeColor, "StepLayoutData/@ForeColor"); - } - } - private LazyLoad _BackColor; - public string BackColor - { - get - { - return LazyLoad(ref _BackColor, "StepLayoutData/@BackColor"); - } - } + + // add extra spacing before this step type private LazyLoad _STExtraSpace; public int? STExtraSpace { @@ -6246,6 +5518,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _STExtraSpace, "StepLayoutData/@STExtraSpace"); } } + + // the number referencing the definition of a box around that step type - used for Caution and Note boxes private LazyLoad _STBoxindex; public int? STBoxindex { @@ -6254,6 +5528,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _STBoxindex, "StepLayoutData/@STBoxindex"); } } + + // will add a blank line after every N number of items private LazyLoad _EveryNLines; public int? EveryNLines { @@ -6262,6 +5538,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _EveryNLines, "StepLayoutData/@EveryNLines"); } } + + // position the step item to start in the same column as it's parent private LazyLoad _AlignWithParentTab; public bool AlignWithParentTab { @@ -6289,22 +5567,8 @@ namespace VEPROMS.CSLA.Library return (_TypeMenu == null) ? _TypeMenu = new TypeMenu(base.XmlNode) : _TypeMenu; } } - private LazyLoad _ForeColor; - public string ForeColor - { - get - { - return LazyLoad(ref _ForeColor, "StepEditData/@ForeColor"); - } - } - private LazyLoad _BackColor; - public string BackColor - { - get - { - return LazyLoad(ref _BackColor, "StepEditData/@BackColor"); - } - } + + // list of actions defining what can be added to this step type (ex. addingNext, addingPrev, addingNote, addingCaution, addingTable) private LazyLoad _AcTable; public E_AccStep? AcTable { @@ -6313,6 +5577,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AcTable, "StepEditData/@AcTable"); } } + // specify if this step type can be selected in the PROMS Search module private LazyLoad _Searchable; public bool Searchable { @@ -6323,6 +5588,7 @@ namespace VEPROMS.CSLA.Library } } #endregion + #region StepPrintData [TypeConverter(typeof(ExpandableObjectConverter))] public class StepPrintData : vlnFormatItem @@ -6331,6 +5597,7 @@ namespace VEPROMS.CSLA.Library : base(xmlNode) { } + // allows a Horizontal adjustment (the tab and the text) of the step type when printed private LazyLoad _PosAdjust; public float? PosAdjust { @@ -6339,6 +5606,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _PosAdjust, "StepPrintData/@PosAdjust"); } } + + // when printing, if this HLS uses a smart template (checklist formats) this value is used to determine when to split across 2 lines private LazyLoad _HLSLength; public int? HLSLength { @@ -6347,6 +5616,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _HLSLength, "StepPrintData/@HLSLength"); } } + // used to set the text justification when it is something other than Left Justified private LazyLoad _Justify; public string Justify { @@ -6355,6 +5625,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Justify, "StepPrintData/@Justify"); } } + // B2022-003: BNPP Alarms (BNPPalr) - This will add a blank line after the sub of the sub-step private LazyLoad _BlankAfterSubWithSub; public bool BlankAfterSubWithSub // B2022-003: BNPP Alarms (BNPPalr) - incorrect line spacing for substeps off substeps. { @@ -6365,6 +5636,7 @@ namespace VEPROMS.CSLA.Library } } #endregion + #region TypeMenu [TypeConverter(typeof(ExpandableObjectConverter))] public class TypeMenu : vlnFormatItem @@ -6373,6 +5645,7 @@ namespace VEPROMS.CSLA.Library : base(xmlNode) { } + // This controls whether or not a step or sub-step type appears in the Insert and Search options for the user to select private LazyLoad _InMenu; public bool InMenu { @@ -6381,6 +5654,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _InMenu, "StepEditData/TypeMenu/@InMenu"); } } + // RNOs are a specal case. This controls whether or not a RNO type appears in the Insert and Search options for the user to select private LazyLoad _RnoInMenu; public bool RnoInMenu { @@ -6389,6 +5663,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RnoInMenu, "StepEditData/TypeMenu/@RnoInMenu"); } } + + // The name of the step/sub-step type that appears in step/substep menus and lists. + // This allows us to override the default name private LazyLoad _MenuItem; public string MenuItem { @@ -6397,6 +5674,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MenuItem, "StepEditData/TypeMenu/@MenuItem"); } } + + // used to define an alternative menu name for when the sub-step type is used in an RNO (right column) private LazyLoad _RnoMenuItem; public string RnoMenuItem { @@ -6405,6 +5684,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RnoMenuItem, "StepEditData/TypeMenu/@RnoMenuItem"); } } + // text to appear for the reason why a step/sub-step type cannot be changed private LazyLoad _NoChgReason; public string NoChgReason { @@ -6413,6 +5693,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoChgReason, "StepEditData/TypeMenu/@NoChgReason"); } } + // use with the Caution and Note sub-step types - specifes which other Cautions and Note types the current Caution or Note could be changed to via Step Properties private LazyLoad _AlternateNameList; public string AlternateNameList { @@ -6428,6 +5709,10 @@ namespace VEPROMS.CSLA.Library public class Bullet : vlnFormatItem { public Bullet(XmlNode xmlNode) : base(xmlNode) { } + + // Pairie Island (NSP) Caution and Note tabs use a larger font + // - When using a bullet for multiple Cautions/Notes, use the font size of the Caution/Note text instead of the tab. + // all the formats that use this specify the font and font size the the Font setting (below) private LazyLoad _Separate; public bool Separate { @@ -6436,6 +5721,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Separate, "TabData/Bullet/@Separate"); } } + // defines a font to use for the bullet character private VE_Font _Font; public VE_Font Font { @@ -6460,6 +5746,8 @@ namespace VEPROMS.CSLA.Library : base(xmlNode) { } + + // list of one or more print macros to print with the step tab (used for a checkoff or inital line next to step number) private MacroList _MacroList; public MacroList MacroList { @@ -6468,6 +5756,8 @@ namespace VEPROMS.CSLA.Library return _MacroList == null ? _MacroList = new MacroList(SelectNodes("TabData/MacroList/Macro")) : _MacroList; } } + + // Used to define a designator character to appear in the Step Editor for when the printed character is a macro // F2022-024 used with the Time Critial Step type (used in Robinson EOP/AOP format) // this will put the character asigned in the Time Critial Step format defination next to the step tab on the edit screen // When this step is printed, a macro named Clock (genmac format file) is used instead to print a clock symbol @@ -6479,6 +5769,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MacroEditTag, "TabData/@MacroEditTag"); } } + + // defines the formatting of the step tab on the edit screen private LazyLoad _IdentEdit; public string IdentEdit { @@ -6487,6 +5779,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IdentEdit, "TabData/@IdentEdit"); } } + // defines the formatting of the step tab when printed private LazyLoad _IdentPrint; public string IdentPrint { @@ -6495,6 +5788,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IdentPrint, "TabData/@Ident"); } } + + // used in background document formats - allows us to put the step number on one line, then the step text on the next line and it allows us to define prefix text used before each. private LazyLoad _IdentAltPrint; public string IdentAltPrint { @@ -6503,6 +5798,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IdentAltPrint, "TabData/@IdentAltPrint"); } } + + // defines a step type's corresponding RNO tab seen in the PROMS Step Editor private LazyLoad _RNOIdentEdit; public string RNOIdentEdit { @@ -6511,6 +5808,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOIdentEdit, "TabData/@RNOIdentEdit"); } } + + // defines a step type's corresponding RNO tab for the printed output private LazyLoad _RNOIdent; public string RNOIdent { @@ -6519,6 +5818,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOIdent, "TabData/@RNOIdent"); } } + // this uses the same format item as RNOIdent private LazyLoad _RNOIdentPrint; public string RNOIdentPrint { @@ -6527,6 +5827,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOIdentPrint, "TabData/@RNOIdent"); } } + + // don't use the defined macro when creating a step tab for the step type's RNO private LazyLoad _RNOExcludeMacros; public bool RNOExcludeMacros { @@ -6535,6 +5837,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOExcludeMacros, "TabData/@RNOExcludeMacros"); } } + + // Don't Align Tabs for numeric tabs that can go to 2 digits - Default is False - we do align numeric tabs + // - used in the Indian Point Unit 2 Background format (IP2BCK) private LazyLoad _NoTabAlign; public bool NoTabAlign { @@ -6543,6 +5848,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoTabAlign, "TabData/@NoTabAlign"); } } + + // used for Caution and Note steps, include the step number along with the Caution or Note tab + // was put in for V.C. Summer Units 3 & 4 formats private LazyLoad _IncludeStepNum; public bool IncludeStepNum { @@ -6551,6 +5859,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IncludeStepNum, "TabData/@IncludeStepNum"); } } + // used for Caution and Note steps, include the section number along with the Caution or Note tab + // - used with IncludeStepNum + // was put in for V.C. Summer Units 3 & 4 formats private LazyLoad _IncludeSectionNum; public bool IncludeSectionNum { @@ -6559,6 +5870,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IncludeSectionNum, "TabData/@IncludeSectionNum"); } } + // used to center justify the resulting Caution or Note tab within the defined Caution or Note box private LazyLoad _Justify; public string Justify { @@ -6567,6 +5879,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Justify, "TabData/@Justify"); } } + + // put in for V.C. Summer's Transition Caution Transition Note types - The text of these types contain a transtion link and is used for the Caution or Note tab of the "normal" Caution or Note - used with IsTransition TabData flag private LazyLoad _UsePreviousStyle; public bool UsePreviousStyle { @@ -6575,6 +5889,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UsePreviousStyle, "TabData/@UsePreviousStyle"); } } + + // The text of these types contain a transtion link and is used for the Caution or Note tab of the "normal" Caution or Note private LazyLoad _IsTransition; public bool IsTransition { @@ -6583,6 +5899,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IsTransition, "TabData/@IsTransition"); } } + + // set a hard-coded with of the step tab private LazyLoad _IdentWidth; public float? IdentWidth { @@ -6591,6 +5909,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IdentWidth, "TabData/@IdentWidth"); } } + + // adjustment for step type's RNO tab width private LazyLoad _RNOAdjustTabSize; public float? RNOAdjustTabSize { @@ -6599,6 +5919,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOAdjustTabSize, "TabData/@RNOAdjustTabSize"); } } + + // adjustment to the horizontal position of the step tab's print macro private LazyLoad _MacroTabAdjust; public float? MacroTabAdjust { @@ -6607,6 +5929,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MacroTabAdjust, "TabData/@MacroTabAdjust"); } } + // specified font to use for the step tab private VE_Font _Font; public VE_Font Font { @@ -6620,6 +5943,8 @@ namespace VEPROMS.CSLA.Library return _Font; } } + + // gets the step tab's bull information if so defined private Bullet _Bullet; public Bullet Bullet { @@ -6628,6 +5953,9 @@ namespace VEPROMS.CSLA.Library return (_Bullet == null) ? _Bullet = new Bullet(base.XmlNode) : _Bullet; } } + + // will prevent white space from being removed before and after the Tab text + // - only used when tab justification is Centered private LazyLoad _NoTrim; public bool NoTrim { @@ -6636,6 +5964,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoTrim, "TabData/@NoTrim"); } } + + // use the entire section number when building the step tab - existing logic looked for the text "Attachmen" then used the letter/number that followed it private LazyLoad _UseEntireSectionNum; public bool UseEntireSectionNum { @@ -6644,7 +5974,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseEntireSectionNum, "TabData/@UseEntireSectionNum"); } } - // this will remove white space before/after the tab value + + // this will remove white space before/after the sequential tab value // put in for Vogtal Units 3 & 4 formats for continuous action sub-steps // they have tab value within parenthesis and for a single digit/letter we don't want the white steps before or after it private LazyLoad _TrimSeqTabValue; @@ -6657,7 +5988,7 @@ namespace VEPROMS.CSLA.Library } } - #endregion + #endregion StepTab #region MacroList [TypeConverter(typeof(vlnListConverter))] public class MacroList : vlnNamedFormatList @@ -6672,13 +6003,15 @@ namespace VEPROMS.CSLA.Library } } } - #endregion + #endregion MacroList #region Macro [TypeConverter(typeof(ExpandableObjectConverter))] public class Macro : vlnFormatItem, IVlnNamedFormatItem { public Macro(XmlNode xmlNode) : base(xmlNode) { } public Macro() : base() { } + + // used to identify the tab's print macro private LazyLoad _Name; public string Name { @@ -6687,6 +6020,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Name, "@Name"); } } + + // the name of the print macro defined in the format's corresponding SVG (genmac) file private LazyLoad _MacroDef; public string MacroDef { @@ -6696,6 +6031,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MacroDef, "@Macro"); } } + + // the name of the print macro defined in the format's corresponding SVG (genmac) file + // that is only used when the step type is used in a single column procedure private LazyLoad _SingleColMacroDef; public string SingleColMacroDef { @@ -6705,6 +6043,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SingleColMacroDef, "@SingleColMacro"); } } + + // hard coded horizontal addjustment used before printing the macro private LazyLoad _MacroXOffSet; public float? MacroXOffSet { @@ -6713,6 +6053,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MacroXOffSet, "@MacroXOffSet"); } } + + // a width adjustment to the print macro (usually a negative value) private LazyLoad _SingleColWidthAdjust; public float? SingleColWidthAdjust { @@ -6721,6 +6063,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SingleColWidthAdjust, "@SingleColWidthAdjust"); } } + + // locate the macro along with the tab's offset. + // however, if the tab is more than 2 characters long, adjust so that it aligns with the + // last two characters, not the first 2. private LazyLoad _LocWithXOff; public bool? LocWithXOff { @@ -6729,7 +6075,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _LocWithXOff, "@LocWithXOff"); } } - + + // Groupings is used to only have the macro if there are N or more of the type in the grouping. private LazyLoad _Grouping; public int? Grouping { @@ -6739,6 +6086,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Grouping, "@Grouping"); } } + + // only add this macro to the result list if the item is not in the RNO column. private LazyLoad _NotInRNO; public bool NotInRNO { @@ -6748,14 +6097,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NotInRNO, "@NotInRNO"); } } - + private bool? _Inherited; public bool Inherited { get { - if (_Inherited == null) SetupStepInheritance(); - return (bool) _Inherited; + if (_Inherited == null) SetupStepInheritance(); + return (bool)_Inherited; } } private void SetupStepInheritance() @@ -6769,20 +6118,22 @@ namespace VEPROMS.CSLA.Library if (xn != null) { _MacroDef = new LazyLoad(RetrieveString(xn.SelectSingleNode("@Macro"))); - _Grouping = new LazyLoad(RetrieveInt("@Grouping" ,xn.SelectSingleNode("@Grouping"))); - _NotInRNO = new LazyLoad(RetrieveBool( xn.SelectSingleNode("@NotInRNO"))); + _Grouping = new LazyLoad(RetrieveInt("@Grouping", xn.SelectSingleNode("@Grouping"))); + _NotInRNO = new LazyLoad(RetrieveBool(xn.SelectSingleNode("@NotInRNO"))); } } } -#endregion + #endregion Macro #endregion #region BoxDataAll #region Box [TypeConverter(typeof(ExpandableObjectConverter))] - public class Box : vlnFormatItem,IVlnIndexedFormatItem + public class Box : vlnFormatItem, IVlnIndexedFormatItem { public Box(XmlNode xmlNode) : base(xmlNode) { } public Box() : base() { } + + // used by the step type to reference which box to use (Cautions, Notes) private LazyLoad _Index; public int? Index { @@ -6791,22 +6142,27 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Index, "@Index"); } } + // This was added to support 3 line box for VC Summer Units 3 & 4 Alarms. It is only checked in the 'double line' vlnbox.cs code! private LazyLoad _NumLines; - public int? NumLines // This was added to support 3 line box for VC Summer Alarms. It is only checked in 'double line' vlnbox.cs code! + public int? NumLines { get { return LazyLoad(ref _NumLines, "@NumLines"); } } + + // the column where the box starts printing private LazyLoad _Start; public float? Start - { - get + { + get { return LazyLoad(ref _Start, "@Start"); - } + } } + + // the column where to stop printing the box private LazyLoad _End; public float? End { @@ -6815,6 +6171,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _End, "@End"); } } + + // column position to start printing the text that is inside the box private LazyLoad _TxtStart; public float? TxtStart { @@ -6823,6 +6181,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TxtStart, "@TxtStart"); } } + + // the length of the text before it wraps to the next line private LazyLoad _TxtWidth; public float? TxtWidth { @@ -6831,14 +6191,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TxtWidth, "@TxtWidth"); } } - private LazyLoad _Height; - public float? Height - { - get - { - return LazyLoad(ref _Height, "@Height"); - } - } + + // an absolute position from the left margin where the Caution or Note tab text (box header) is placed within the drawn box - used for boxed Cautions and/or Notes - Caution or Note tab justification needs to be "Centered" private LazyLoad _TabPos; public float? TabPos { @@ -6847,15 +6201,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TabPos, "@TabPos"); } } - private LazyLoad _TxtRowAdj; - public int? TxtRowAdj - { - get - { - return LazyLoad(ref _TxtRowAdj, "@TxtRowAdj"); - } - } - private LazyLoad _ThickDouble; // F2021-026: Barakah single column 2 thick double lines around Warnings + + // this will adjust the line spacing when an extra thick line is used for a box, so that the text below the box doesn't hit up against the bottom of the box + private LazyLoad _ThickDouble; // F2021-026: Barakah single column 2 thick double lines around Warnings public bool ThickDouble { get @@ -6863,14 +6211,18 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ThickDouble, "@ThickDouble"); } } + + // the character used for the Upper Right Corner of the box private LazyLoad _BXURC; public string BXURC - { - get + { + get { return LazyLoad(ref _BXURC, "@BXURC"); - } + } } + + // the character used to drawn the Horizontal line of the box private LazyLoad _BXHorz; public string BXHorz { @@ -6879,6 +6231,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXHorz, "@BXHorz"); } } + + // the character used for the Upper Left Corner of the box private LazyLoad _BXULC; public string BXULC { @@ -6887,6 +6241,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXULC, "@BXULC"); } } + // the character used for the vertcal lines of the left and right sides of the box private LazyLoad _BXVert; public string BXVert { @@ -6895,6 +6250,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXVert, "@BXVert"); } } + + // the character used for the left side that connect to a horizontal line + // (usually the char looks like a T that is rotated to the left 90 degrees) private LazyLoad _BXMLS; public string BXMLS { @@ -6903,6 +6261,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXMLS, "@BXMLS"); } } + + // the character used for the right side that connect to a horizontal line + // (usually the char looks like a T that is rotated to the right 90 degrees) private LazyLoad _BXMRS; public string BXMRS { @@ -6911,6 +6272,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXMRS, "@BXMRS"); } } + + // the character used for the Lower (bottom) Right Corner of the box private LazyLoad _BXLRC; public string BXLRC { @@ -6919,6 +6282,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXLRC, "@BXLRC"); } } + + // the character used for the Lower (bottom) Left Corner of the box private LazyLoad _BXLLC; public string BXLLC { @@ -6927,6 +6292,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXLLC, "@BXLLC"); } } + + // character used in the middle of the box an intersection of four cells + // - looks like a big plus sign private LazyLoad _BXMID; public string BXMID { @@ -6935,6 +6303,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXMID, "@BXMID"); } } + + // character used for the Lower Horizontal line (bottom of the box) private LazyLoad _BXLHorz; public string BXLHorz { @@ -6943,6 +6313,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXLHorz, "@BXLHorz"); } } + // character use on the top line of the box that will connect to a horizontal line in the next row of the box + // - looks like a "T" character private LazyLoad _BXUMID; public string BXUMID { @@ -6951,6 +6323,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXUMID, "@BXUMID"); } } + + // character use on the bottom line of the box that will connect to a horizontal line in the row above- looks like an upside down "T" character private LazyLoad _BXLMID; public string BXLMID { @@ -6959,12 +6333,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BXLMID, "@BXLMID"); } } + // a specific font to use for the box drawing characters private VE_Font _Font; public VE_Font Font { get { - return (_Font == null) ?_Font = new VE_Font(base.XmlNode):_Font; + return (_Font == null) ? _Font = new VE_Font(base.XmlNode) : _Font; } } public override string GetPDDisplayName() @@ -6976,6 +6351,7 @@ namespace VEPROMS.CSLA.Library return String.Format("{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}, {11}", BXURC, BXHorz, BXULC, BXVert, BXMLS, BXMRS, BXLRC, BXLLC, BXMID, BXLHorz, BXUMID, BXLMID); } + // this return string is used in a Switch/Case statement to determin the visual style of the box when printing public string BoxStyle { get @@ -6985,7 +6361,7 @@ namespace VEPROMS.CSLA.Library } } } - #endregion + #endregion Box #region BoxList [TypeConverter(typeof(vlnIndexedListConverter))] public class BoxList : vlnIndexedFormatList @@ -7003,8 +6379,8 @@ namespace VEPROMS.CSLA.Library } } - #endregion - #endregion + #endregion Boxlist + #endregion BoxDataAll #region TransDataAll #region TransData [TypeConverter(typeof(ExpandableObjectConverter))] @@ -7015,18 +6391,22 @@ namespace VEPROMS.CSLA.Library { get { - return(_TransTypeList == null || _TransTypeList.MaxIndex==0)? _TransTypeList = new TransTypeList(SelectNodes("TransTypeData/TransTypes"),MyFormat): _TransTypeList; + return (_TransTypeList == null || _TransTypeList.MaxIndex == 0) ? _TransTypeList = new TransTypeList(SelectNodes("TransTypeData/TransTypes"), MyFormat) : _TransTypeList; } } public TransData(XmlNode xmlNode) : base(xmlNode) { } + + // a character that is placed before and after the title that's in the transition text private LazyLoad _DelimiterForTransitionTitle; public string DelimiterForTransitionTitle - { - get + { + get { return LazyLoad(ref _DelimiterForTransitionTitle, "@DelimiterForTransitionTitle"); - } + } } + + // used to clean up step/sub-step delimeters so they are all just periods in transitions and are removed when getting step/sub-step tab for some reports private LazyLoad _StepSubstepDelimeter; public string StepSubstepDelimeter { @@ -7035,6 +6415,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _StepSubstepDelimeter, "@StepSubstepDelimeter"); } } + + // string to use between the first step and last step of the transition ("Through" vs "Thur" etc.) private LazyLoad _ThroughString; public string ThroughString { @@ -7043,14 +6425,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ThroughString, "@ThroughString"); } } - private LazyLoad _SpecifiedSubstepsOnly; - public bool SpecifiedSubstepsOnly - { - get - { - return LazyLoad(ref _SpecifiedSubstepsOnly, "@SpecifiedSubstepsOnly"); - } - } + + // this will uppercase the transition text private LazyLoad _CapsTransitions; public bool CapsTransitions { @@ -7059,6 +6435,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CapsTransitions, "@CapsTransitions"); } } + + // this will uppercase the section title inside the transition private LazyLoad _CapsTransitionsSection; public bool CapsTransitionsSection { @@ -7067,22 +6445,18 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CapsTransitionsSection, "@CapsTransitionsSection"); } } - private LazyLoad _CapTranStep; - public bool CapTranStep - { - get - { - return LazyLoad(ref _CapTranStep, "@CapTranStep"); - } - } + + // this will underline the transsition text private LazyLoad _Underline; public bool Underline { - get + get { return LazyLoad(ref _Underline, "@Underline"); } } + + // add the high level step number to the sub-step tab in the transition private LazyLoad _TStepNoFlag; public bool TStepNoFlag { @@ -7091,14 +6465,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TStepNoFlag, "@TStepNoFlag"); } } - private LazyLoad _LowerCaseTranNumber; - public bool LowerCaseTranNumber - { - get - { - return LazyLoad(ref _LowerCaseTranNumber, "@LowerCaseTranNumber"); - } - } + + // will uppercase AND in And transition type private LazyLoad _UpcaseTranAnd; public bool UpcaseTranAnd { @@ -7107,14 +6475,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UpcaseTranAnd, "@UpcaseTranAnd"); } } - private LazyLoad _SuppressAndInTran; - public bool SuppressAndInTran - { - get - { - return LazyLoad(ref _SuppressAndInTran, "@SuppressAndInTran"); - } - } + + // will uppercase the first letter of each word in the transition private LazyLoad _Cap1stCharTrans; public bool Cap1stCharTrans { @@ -7123,7 +6485,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Cap1stCharTrans, "@Cap1stCharTrans"); } } - // Title Case section title + + // Title Case section title in the transition private LazyLoad _Cap1stCharTransSection; public bool Cap1stCharTransSection { @@ -7132,7 +6495,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Cap1stCharTransSection, "@Cap1stCharTransSection"); } } - // Title Case section number + // Title Case Section Number in the transition private LazyLoad _Cap1stCharTransSectionNumber; public bool Cap1stCharTransSectionNumber { @@ -7141,7 +6504,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Cap1stCharTransSectionNumber, "@Cap1stCharTransSectionNumber"); } } - // Parens around section title + + // put parenthesis around section title private LazyLoad _ParensAroundSectionTitle; public bool ParensAroundSectionTitle { @@ -7150,6 +6514,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ParensAroundSectionTitle, "@ParensAroundSectionTitle"); } } + + // turns on the option to add a page number to the transition BUT only for transition types 1, 2, and 4 private LazyLoad _UseTransitionModifier; public bool UseTransitionModifier { @@ -7158,6 +6524,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseTransitionModifier, "@UseTransitionModifier"); } } + + // will include a page number with the transitions - will not turn on option box to add a the page number private LazyLoad _UseSpecificTransitionModifier; public bool UseSpecificTransitionModifier { @@ -7166,6 +6534,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseSpecificTransitionModifier, "@UseSpecificTransitionModifier"); } } + + // the specific page number is always printed even if it is next or previous page, instead of using the 'Next Page' or 'Previous Page' text private LazyLoad _UseSpecificPageNo; public bool UseSpecificPageNo { @@ -7174,6 +6544,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseSpecificPageNo, "@UseSpecificPageNo"); } } + + // indclude the section number and section title when the {Sect Hdr} transition format token is used - set to False if we only want the section number private LazyLoad _UseSecTitles; public bool UseSecTitles { @@ -7182,6 +6554,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseSecTitles, "@UseSecTitles"); } } + + // turn on the section selection list for transitions that use the default steps section private LazyLoad _DoSectionTransitions; public bool DoSectionTransitions { @@ -7190,6 +6564,7 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DoSectionTransitions, "@DoSectionTransitions"); } } + // having a default step section specified is not required for transitions with section information private LazyLoad _NoDefaultSectReq; public bool NoDefaultSectReq { @@ -7198,14 +6573,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NoDefaultSectReq, "@NoDefaultSectReq"); } } - private LazyLoad _AllowTransitionFromSection; - public bool AllowTransitionFromSection - { - get - { - return LazyLoad(ref _AllowTransitionFromSection, "@AllowTransitionFromSection"); - } - } + + // replace spaces with hard spaces in procedure number private LazyLoad _HardSpTranProcNumb; public bool HardSpTranProcNumb { @@ -7214,6 +6583,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _HardSpTranProcNumb, "@HardSpTranProcNumb"); } } + + // replaces the frist occurence of a space to a hard space private LazyLoad _XchngTranSpForHard; public bool XchngTranSpForHard { @@ -7222,22 +6593,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _XchngTranSpForHard, "@XchngTranSpForHard"); } } - private LazyLoad _AbsoluteTransitionUpdate; - public bool AbsoluteTransitionUpdate - { - get - { - return LazyLoad(ref _AbsoluteTransitionUpdate, "@AbsoluteTransitionUpdate"); - } - } - private LazyLoad _LowerCaseStepInTran; - public bool LowerCaseStepInTran - { - get - { - return LazyLoad(ref _LowerCaseStepInTran, "@LowerCaseStepInTran"); - } - } + + // Bold all of the transition text private LazyLoad _BoldTransition; public bool BoldTransition { @@ -7246,6 +6603,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BoldTransition, "@BoldTransition"); } } + + // Bold the transition if it's not in a high level step private LazyLoad _BoldTransitionExceptHLS; public bool BoldTransitionExceptHLS { @@ -7254,7 +6613,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BoldTransitionExceptHLS, "@BoldTransitionExceptHLS"); } } - // B2017-269 Don't bold transition if font for step is bold + + // B2017-269 Don't bold transition if a high level step or font for step is bold private LazyLoad _BoldTransitionExceptBoldHLS; public bool BoldTransitionExceptBoldHLS { @@ -7263,6 +6623,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BoldTransitionExceptBoldHLS, "@BoldTransitionExceptBoldHLS"); } } + + // remove the "s" in "Procedure Steps" (section title) when transition references only one step private LazyLoad _AdjustStepTransitionText; public bool AdjustStepTransitionText { @@ -7271,16 +6633,19 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AdjustStepTransitionText, "@AdjustStepTransitionText"); } } - //ProcLevelPCPC + + // remove the parent/child unit designators from the procedure number in the transition references private LazyLoad _ProcLevelPCPC; - public bool ProcLevelPCPC // B2022-004: Remove Proc PC/PC token from transition text + public bool ProcLevelPCPC // B2022-004: Remove Proc PC/PC token from transition text { get { return LazyLoad(ref _ProcLevelPCPC, "@ProcLevelPCPC"); } } + // F2024-030 for Vogtle Units 3 & 4, added KeepOnePCPCTag flag to keep one of the PC/PC tokens when editing + // keep one of the parent/child unit designators in the transition reference private LazyLoad _KeepOnePCPCTag; public bool KeepOnePCPCTag { @@ -7290,13 +6655,15 @@ namespace VEPROMS.CSLA.Library } } } - #endregion + #endregion TransData #region TransType [TypeConverter(typeof(ExpandableObjectConverter))] - public class TransType : vlnFormatItem,IVlnIndexedFormatItem + public class TransType : vlnFormatItem, IVlnIndexedFormatItem { public TransType(XmlNode xmlNode) : base(xmlNode) { } public TransType() : base() { } + + // allows us to re-define a default transition (from BASE format) and create new transition types private LazyLoad _Index; public int? Index { @@ -7305,6 +6672,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Index, "@Index"); } } + + // holdover from 16bit, used to define whether transitions are range (types 2 & 3). this is used in the logic for transitions with page numbers private LazyLoad _Type; public int? Type { @@ -7313,6 +6682,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Type, "@TransType"); } } + + // defines the contents that including in a Transition type. private LazyLoad _TransFormat; public string TransFormat { @@ -7321,6 +6692,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TransFormat, "@TransFormat"); } } + + // defines what procedure information is selectable in the User Interface used to select a transition type to insert in the procedure text private LazyLoad _TransUI; public E_TransUI? TransUI { @@ -7329,6 +6702,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TransUI, "@TransUI"); } } + + // defines what is shown in list of transition types, on the User Interface used to select a transition type to insert in the procedure text private LazyLoad _TransMenu; public string TransMenu { @@ -7337,8 +6712,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TransMenu, "@TransMenu"); } } - private LazyLoad _UnitProcSetString; //B2019-072: For AEP, use PSI & SI for outside transition text - public string UnitProcSetString // this is format of string to preface transition with + + //B2019-072: For AEP, use PSI & SI for outside transition text. + // ex: UnitProcSetString ="{PSI:UNITCOM}-{SI:SETNAME}-{PSI:SETID|4023}-" will look for UNITCOM in + // the Procedure Specific Information, then SETNAME in the Set Specific Information (working draft), + // then the SETID in the Procedure Specific Information (or use 4023) if nothing is entered + private LazyLoad _UnitProcSetString; + public string UnitProcSetString { get { @@ -7351,15 +6731,15 @@ namespace VEPROMS.CSLA.Library { return "Transition Type Data"; } public override string ToString() { - return string.Format("{0} - {1}",TransFormat, TransMenu); + return string.Format("{0} - {1}", TransFormat, TransMenu); } } - #endregion + #endregion TransType #region TransTypeList [TypeConverter(typeof(vlnIndexedListConverter))] public class TransTypeList : vlnIndexedFormatList { - public TransTypeList(XmlNodeList xmlNodeList, IFormatOrFormatInfo myFormat) : base(xmlNodeList,myFormat) { } + public TransTypeList(XmlNodeList xmlNodeList, IFormatOrFormatInfo myFormat) : base(xmlNodeList, myFormat) { } public override vlnIndexedFormatList InheritedList { get @@ -7371,12 +6751,16 @@ namespace VEPROMS.CSLA.Library } } } - #endregion + #endregion TransTypeList + #region RoData [TypeConverter(typeof(ExpandableObjectConverter))] public class ROData : vlnFormatItem { public ROData(XmlNode xmlNode) : base(xmlNode) { } + + //In a sequence of RO values, the unit appears with every value + //(e.g., "25 gpm and 30 gpm" vs. "25 and 30 gpm") private LazyLoad _AllUnits; public bool AllUnits { @@ -7385,6 +6769,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _AllUnits, "@AllUnits"); } } + + // If a R0 follows a "- " then it will be uppercased, THE "- " can be anywere in the text before the RO value private LazyLoad _UpRoAftrDash; public bool UpRoAftrDash { @@ -7393,6 +6779,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UpRoAftrDash, "@UpRoAftrDash"); } } + + // Put in for Wolf Creek, where the "- " should be right before the link for the RO to be uppercased. private LazyLoad _UpRoImmAftrDashSpace; public bool UpRoImmAftrDashSpace { @@ -7401,6 +6789,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UpRoImmAftrDashSpace, "@UpRoImmAftrDashSpace"); } } + + // Always uppercase the RO value units (PSI, GPM, etc.) private LazyLoad _UpcaseAllRoUnits; public bool UpcaseAllRoUnits { @@ -7409,6 +6799,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UpcaseAllRoUnits, "@UpcaseAllRoUnits"); } } + + // Forces the units for a RO to be uppercased for high level steps private LazyLoad _CapHighRo; public bool CapHighRo { @@ -7417,6 +6809,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CapHighRo, "@CapHighRo"); } } + + // uppercase ROs anywhere if no lower case text follows and an upper case letter immediately precedes the RO. private LazyLoad _CapRoIfLastLower; public bool CapRoIfLastLower { @@ -7425,6 +6819,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CapRoIfLastLower, "@CapRoIfLastLower"); } } + + // uppercase the RO, if it is a Setpoint type of RO, anywhere if no lower case text follows and an upper case letter immediately precedes the RO. private LazyLoad _CapSPIfLastLower; public bool CapSPIfLastLower { @@ -7433,6 +6829,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CapSPIfLastLower, "@CapSPIfLastLower"); } } + + // Uppercase the RO Unit if the previous letter is uppercase private LazyLoad _UpRoIfPrevUpper; public bool UpRoIfPrevUpper { @@ -7441,6 +6839,8 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UpRoIfPrevUpper, "@UpRoIfPrevUpper"); } } + + // Underline all ROs, values and Units private LazyLoad _UnderlineRo; public bool UnderlineRo { @@ -7449,6 +6849,9 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UnderlineRo, "@UnderlineRo"); } } + + // Cap only the first letters of the units in a high level RO + // used in FLP (Turkey Point) format private LazyLoad _CapFirstLetterInHighRO; public bool CapFirstLetterInHighRO { @@ -7457,6 +6860,10 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CapFirstLetterInHighRO, "@CapFirstLetterInHighRO"); } } + + // put in for Byron and Braidwood which has RO values containing non-PROMS procedure references as ROs. + // need to replace the unicode dash (\u8209?) with the dash character before the RO is resolved in order + // to retain the the upper and lower case lettering of the procedure number in the RO value (B2019-171) private LazyLoad _DoSpaceDashBeforeROResolve; public bool DoSpaceDashBeforeROResolve { @@ -7466,8 +6873,8 @@ namespace VEPROMS.CSLA.Library } } } - #endregion - #endregion + #endregion RoData + #endregion TransDataAll #region SupportClasses public class StepDataRetval { @@ -7489,6 +6896,6 @@ namespace VEPROMS.CSLA.Library Index = index; } } - #endregion + #endregion SupportClasses } diff --git a/PROMS/Volian.Controls.Library/EditItem.cs b/PROMS/Volian.Controls.Library/EditItem.cs index eb7437be..e8d9aeb4 100644 --- a/PROMS/Volian.Controls.Library/EditItem.cs +++ b/PROMS/Volian.Controls.Library/EditItem.cs @@ -2973,11 +2973,6 @@ namespace Volian.Controls.Library TopMostEditItem.ItemLocation = new Point(TopMostEditItem.ItemLocation.X, _MyParentEditItem.Bottom); //TextWidth = _WidthAdjust + borderWidth + MyStepPanel.ToDisplay(_MyStepSectionLayoutData.WidSTableEdit, Convert.ToInt32(_MyStepSectionLayoutData.PMode) - 1); ContentWidth = _WidthAdjust + BorderWidth + MyStepPanel.ToDisplay(MyStepSectionLayoutData.WidSTableEdit, MyItemInfo.ColumnMode); - //ContentWidth = _WidthAdjust + BorderWidth; - //if (MyItemInfo.FormatStepData.WidthOverrideEdit != null && MyItemInfo.FormatStepData.WidthOverrideEdit > 0) - // ContentWidth += MyStepPanel.ToDisplay(MyItemInfo.FormatStepData.WidthOverrideEdit); - //else - // ContentWidth += MyStepPanel.ToDisplay(MyStepSectionLayoutData.WidSTableEdit, MyItemInfo.ColumnMode); break; case 2: // Step // if Table then determine width and location based upon it's parent's location diff --git a/PROMS/Volian.Controls.Library/StepRTB.cs b/PROMS/Volian.Controls.Library/StepRTB.cs index ca343df9..a8f052cd 100644 --- a/PROMS/Volian.Controls.Library/StepRTB.cs +++ b/PROMS/Volian.Controls.Library/StepRTB.cs @@ -611,7 +611,7 @@ namespace Volian.Controls.Library // RichTextBox will not allow the character to be removed this way and the RichTextBox // will beep. So, to keep from going in an infintie loop, the value of indchar is incremented. SelectedRtf = SelectedRtf.Replace(@"\'05", ""); - indchar++;// Don't so the same one twice. + indchar++;// Don't do the same one twice. } if (MyItemInfo != null && MyItemInfo.ActiveFormat != null && MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.DontResetIndentOnNewline) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index d056d8e7..5148bd3e 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -3179,7 +3179,7 @@ namespace Volian.Print.Library // C2021-024: WCN1 if bullet exists in combined tab, stop right before bullet. // B2021-085 & 087: crash if noBullet was null. Also, if null, see if text in parent. if no text, replace the // "%s." with noBullet (null) which won't put out just a '.' as step number. - if (MyItemInfo.MyDocStyle.Continue.Top.RemoveBullet) + if (MyItemInfo.MyDocStyle.Continue.Bottom.RemoveBullet) { if (tmp == null && MyItemInfo.IsCautionOrNotePart) tmp = MyItemInfo.MyParent.CombinedTab; if (tmp != null) @@ -7047,19 +7047,6 @@ namespace Volian.Print.Library if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffHeaderInPagelist) return true; return false; } - // Currently not used. - // - //private bool UseCheckOffsDocStyle(int oldToNew, FormatInfo formatInfo) - //{ - // int bit, retval=0; - // int mask=1; - - // for(bit=0; bit < 32; bit++){ - // if ((oldToNew & mask) != 0 && ((int)formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.UseCheckOffsIn & mask) !=0) retval = 1; - // mask <<= 1; - // } - // return retval > 0; - //} } /// diff --git a/PROMS/Volian.Print.Library/vlnPrintObject.cs b/PROMS/Volian.Print.Library/vlnPrintObject.cs index 392f8a19..b09edea2 100644 --- a/PROMS/Volian.Print.Library/vlnPrintObject.cs +++ b/PROMS/Volian.Print.Library/vlnPrintObject.cs @@ -192,26 +192,7 @@ namespace Volian.Print.Library } public float GetParagraphHeight(PdfContentByte cb, Paragraph iParagraph, string suffix, float width, bool throwException) { - VlnSvgPageHelper ph = null; - if(cb != null) ph = cb.PdfWriter.PageEvent as VlnSvgPageHelper; float heightAll = GetHeight(cb, iParagraph, suffix, width, throwException); - if (ph != null && ph.MyPromsPrinter.DebugOutput && !MyPageHelper.Back32BitPROMS) - { - vlnParagraph myParagraph = this as vlnParagraph; - if (myParagraph != null) - { - //if (myParagraph.MyItemInfo.FormatStepData != null && myParagraph.MyItemInfo.FormatStepData.Font.Family == "Prestige Elite Tall") - //if (!myParagraph.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.WrapSameAsEdit) - //{ - // Chunk chk = RemoveLastCharacter(iParagraph); - // float heightAllButOne = GetHeight(cb, iParagraph, width, throwException); - // if (heightAll != heightAllButOne) - // return heightAllButOne; - // if (chk != null) - // RestoreLastCharacter(iParagraph, chk); - //} - } - } return heightAll; } private static void RestoreLastCharacter(Paragraph iParagraph, Chunk chk)