diff --git a/PROMS/AdjustBuildRevision/Program.cs b/PROMS/AdjustBuildRevision/Program.cs
index 46f93fe3..773f3aaf 100644
--- a/PROMS/AdjustBuildRevision/Program.cs
+++ b/PROMS/AdjustBuildRevision/Program.cs
@@ -32,7 +32,7 @@ namespace AdjustBuildRevision
{
// Allow for setting build revision on either proms or the roeditor:
if (Directory.GetCurrentDirectory().ToUpper().Contains("REFOBJ"))
- outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.3.yyMM.dHH") + "\")");
+ outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.4.yyMM.dHH") + "\")");
else
outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.3.yyMM.dHH") + "\")");
// if (outline != line)
diff --git a/PROMS/Formats/fmtall/VEGP1all.xml b/PROMS/Formats/fmtall/VEGP1all.xml
index 29750164..4432611c 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 b1b34c18..91f4a886 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 fa17a95c..49932a6b 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 68630929..a6dfb8ef 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 052c8719..69d71ae8 100644
Binary files a/PROMS/Formats/fmtall/VEGPBckall.xml and b/PROMS/Formats/fmtall/VEGPBckall.xml differ
diff --git a/PROMS/Formats/genmacall/VEGPBck.svg b/PROMS/Formats/genmacall/VEGPBck.svg
index 91f088b6..5c1a41f7 100644
Binary files a/PROMS/Formats/genmacall/VEGPBck.svg and b/PROMS/Formats/genmacall/VEGPBck.svg differ
diff --git a/PROMS/Formats/genmacall/VEGPBckStps.svg b/PROMS/Formats/genmacall/VEGPBckStps.svg
index f81f5b07..b5638d3b 100644
Binary files a/PROMS/Formats/genmacall/VEGPBckStps.svg and b/PROMS/Formats/genmacall/VEGPBckStps.svg differ
diff --git a/PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.csproj b/PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.csproj
index 46a1ce81..69547b19 100644
--- a/PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.csproj
+++ b/PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.csproj
@@ -59,7 +59,7 @@
4
full
prompt
- x86
+ x64
false
@@ -85,6 +85,7 @@
none
prompt
false
+ x64
true
@@ -92,7 +93,7 @@
DEBUG;TRACE
285212672
full
- x86
+ x64
prompt
false
@@ -103,7 +104,7 @@
true
- x86
+ x64
prompt
false
diff --git a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.csproj b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.csproj
index 69260b95..37501190 100644
--- a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.csproj
+++ b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/ROEditor.csproj
@@ -7,7 +7,7 @@
true
- x86
+ x64
prompt
false
@@ -71,7 +71,7 @@
full
prompt
false
- x86
+ x64
bin\Release\
@@ -96,6 +96,7 @@
none
prompt
false
+ x64
true
@@ -103,7 +104,7 @@
DEBUG;TRACE
285212672
full
- x86
+ x64
prompt
false
diff --git a/PROMS/ReferencedObjects/LibSource/DBEncapsulation/DBEncapsulation.csproj b/PROMS/ReferencedObjects/LibSource/DBEncapsulation/DBEncapsulation.csproj
index 24c52712..6aeabba3 100644
--- a/PROMS/ReferencedObjects/LibSource/DBEncapsulation/DBEncapsulation.csproj
+++ b/PROMS/ReferencedObjects/LibSource/DBEncapsulation/DBEncapsulation.csproj
@@ -62,6 +62,7 @@
full
prompt
false
+ x64
bin\Release\
@@ -86,6 +87,7 @@
none
prompt
false
+ x64
true
@@ -93,7 +95,7 @@
DEBUG;TRACE
285212672
full
- x86
+ x64
prompt
false
@@ -104,7 +106,7 @@
true
- x86
+ x64
prompt
false
diff --git a/PROMS/ReferencedObjects/LibSource/Org.Mentalis.Files/Org.Mentalis.Files.csproj b/PROMS/ReferencedObjects/LibSource/Org.Mentalis.Files/Org.Mentalis.Files.csproj
index d214040b..5f3e659f 100644
--- a/PROMS/ReferencedObjects/LibSource/Org.Mentalis.Files/Org.Mentalis.Files.csproj
+++ b/PROMS/ReferencedObjects/LibSource/Org.Mentalis.Files/Org.Mentalis.Files.csproj
@@ -35,6 +35,7 @@
prompt
4
false
+ x64
pdbonly
@@ -44,13 +45,14 @@
prompt
4
false
+ x64
true
bin\Debug\
DEBUG;TRACE
full
- x86
+ x64
prompt
false
@@ -59,7 +61,7 @@
TRACE
true
pdbonly
- x86
+ x64
prompt
false
diff --git a/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.cs b/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.cs
index 2a5d8c8b..e90ede1e 100644
--- a/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.cs
+++ b/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.cs
@@ -409,7 +409,7 @@ namespace RODBInterface
GetDbServerInfo(ropath);
if (!dbProviderType.Equals((int)DB_PROVIDER.SQL_SERVER))
{
- strDatabaseConnectionCommand = "Provider=Microsoft.Jet.OLEDB.4.0;Password=\"\";User ID=Admin;Data Source=" + DataConnectionPath + "\\ROMaster.mdb;Mode=Share Deny None;Extended Properties=\"\";Jet OLEDB:System database=\"\";Jet OLEDB:Registry Path=\"\";Jet OLEDB:Database Password=\"\";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=\"\";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False";
+ strDatabaseConnectionCommand = "Provider=Microsoft.ACE.OLEDB.12.0;Password=\"\";User ID=Admin;Data Source=" + DataConnectionPath + "\\ROMaster.mdb;Mode=Share Deny None;Extended Properties=\"\";Jet OLEDB:System database=\"\";Jet OLEDB:Registry Path=\"\";Jet OLEDB:Database Password=\"\";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=\"\";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False";
}
}
#endregion
diff --git a/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.csproj b/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.csproj
index 12e54462..13f15e3f 100644
--- a/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.csproj
+++ b/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.csproj
@@ -62,6 +62,7 @@
full
prompt
false
+ x64
bin\Release\
@@ -86,6 +87,7 @@
none
prompt
false
+ x64
true
@@ -93,7 +95,7 @@
DEBUG;TRACE
285212672
full
- x86
+ x64
prompt
false
@@ -104,7 +106,7 @@
true
- x86
+ x64
prompt
false
@@ -171,6 +173,17 @@
VlnStatus
+
+
+ {4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}
+ 12
+ 0
+ 0
+ primary
+ False
+ True
+
+
diff --git a/PROMS/ReferencedObjects/LibSource/ROFST/ROFST.csproj b/PROMS/ReferencedObjects/LibSource/ROFST/ROFST.csproj
index 75a2ba87..48570cc2 100644
--- a/PROMS/ReferencedObjects/LibSource/ROFST/ROFST.csproj
+++ b/PROMS/ReferencedObjects/LibSource/ROFST/ROFST.csproj
@@ -62,6 +62,7 @@
full
prompt
false
+ x64
bin\Release\
@@ -86,6 +87,7 @@
none
prompt
false
+ x64
true
@@ -93,7 +95,7 @@
DEBUG;TRACE;Upgrade2005;
285212672
full
- x86
+ x64
prompt
false
@@ -104,7 +106,7 @@
true
- x86
+ x64
prompt
false
diff --git a/PROMS/ReferencedObjects/LibSource/ROField/ROFields.csproj b/PROMS/ReferencedObjects/LibSource/ROField/ROFields.csproj
index 16950805..a4f28cc5 100644
--- a/PROMS/ReferencedObjects/LibSource/ROField/ROFields.csproj
+++ b/PROMS/ReferencedObjects/LibSource/ROField/ROFields.csproj
@@ -62,6 +62,7 @@
full
prompt
false
+ x64
bin\Release\
@@ -86,6 +87,7 @@
none
prompt
false
+ x64
true
@@ -93,7 +95,7 @@
DEBUG;TRACE
285212672
full
- x86
+ x64
prompt
false
@@ -104,7 +106,7 @@
true
- x86
+ x64
prompt
false
diff --git a/PROMS/ReferencedObjects/LibSource/Utils/Utils.csproj b/PROMS/ReferencedObjects/LibSource/Utils/Utils.csproj
index fee231fd..fc072007 100644
--- a/PROMS/ReferencedObjects/LibSource/Utils/Utils.csproj
+++ b/PROMS/ReferencedObjects/LibSource/Utils/Utils.csproj
@@ -77,6 +77,7 @@
full
prompt
false
+ x64
bin\Release\
@@ -101,6 +102,7 @@
none
prompt
false
+ x64
true
@@ -108,7 +110,7 @@
DEBUG;TRACE
285212672
full
- x86
+ x64
prompt
false
@@ -119,7 +121,7 @@
true
- x86
+ x64
prompt
false
diff --git a/PROMS/ReferencedObjects/LibSource/VlnProfiler/VlnProfiler.csproj b/PROMS/ReferencedObjects/LibSource/VlnProfiler/VlnProfiler.csproj
index 5c482323..df4f647e 100644
--- a/PROMS/ReferencedObjects/LibSource/VlnProfiler/VlnProfiler.csproj
+++ b/PROMS/ReferencedObjects/LibSource/VlnProfiler/VlnProfiler.csproj
@@ -7,7 +7,7 @@
true
- x86
+ x64
prompt
false
@@ -73,6 +73,7 @@
full
prompt
false
+ x64
bin\Release\
@@ -97,6 +98,7 @@
none
prompt
false
+ x64
true
@@ -104,7 +106,7 @@
DEBUG;TRACE
285212672
full
- x86
+ x64
prompt
false
diff --git a/PROMS/ReferencedObjects/LibSource/VlnStatus/VlnStatus.csproj b/PROMS/ReferencedObjects/LibSource/VlnStatus/VlnStatus.csproj
index 1b9f33a0..90978560 100644
--- a/PROMS/ReferencedObjects/LibSource/VlnStatus/VlnStatus.csproj
+++ b/PROMS/ReferencedObjects/LibSource/VlnStatus/VlnStatus.csproj
@@ -62,6 +62,7 @@
full
prompt
false
+ x64
bin\Release\
@@ -86,6 +87,7 @@
none
prompt
false
+ x64
true
@@ -93,7 +95,7 @@
DEBUG;TRACE
285212672
full
- x86
+ x64
prompt
false
@@ -104,7 +106,7 @@
true
- x86
+ x64
prompt
false
diff --git a/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEditLib.csproj b/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEditLib.csproj
index e5629e60..2c914674 100644
--- a/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEditLib.csproj
+++ b/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEditLib.csproj
@@ -62,6 +62,7 @@
full
prompt
false
+ x64
bin\Release\
@@ -86,6 +87,7 @@
none
prompt
false
+ x64
true
@@ -93,7 +95,7 @@
DEBUG;TRACE
285212672
full
- x86
+ x64
prompt
false
@@ -104,7 +106,7 @@
true
- x86
+ x64
prompt
false
diff --git a/PROMS/RoAccessToSql/RoAccessToSql.cs b/PROMS/RoAccessToSql/RoAccessToSql.cs
index 9c2a23e4..afe5a3ae 100644
--- a/PROMS/RoAccessToSql/RoAccessToSql.cs
+++ b/PROMS/RoAccessToSql/RoAccessToSql.cs
@@ -229,7 +229,7 @@ namespace RoAccessToSql
if (sqlConnection.State == ConnectionState.Open)
{
// now try to open access db:
- string strDatabaseConnectionCommand = "Provider=Microsoft.Jet.OLEDB.4.0;Password=\"\";User ID=Admin;Data Source=" + MSAccessPath + "\\ROMaster.mdb;Mode=Share Deny None;Extended Properties=\"\";Jet OLEDB:System database=\"\";Jet OLEDB:Registry Path=\"\";Jet OLEDB:Database Password=\"\";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=\"\";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False";
+ string strDatabaseConnectionCommand = "Provider=Microsoft.ACE.OLEDB.12.0;Password=\"\";User ID=Admin;Data Source=" + MSAccessPath + "\\ROMaster.mdb;Mode=Share Deny None;Extended Properties=\"\";Jet OLEDB:System database=\"\";Jet OLEDB:Registry Path=\"\";Jet OLEDB:Database Password=\"\";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=\"\";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False";
using (OleDbConnection accessConnection = new OleDbConnection(strDatabaseConnectionCommand))
{
try
diff --git a/PROMS/RoAccessToSql/RoAccessToSql.csproj b/PROMS/RoAccessToSql/RoAccessToSql.csproj
index 87f2089f..d956be8a 100644
--- a/PROMS/RoAccessToSql/RoAccessToSql.csproj
+++ b/PROMS/RoAccessToSql/RoAccessToSql.csproj
@@ -100,6 +100,17 @@
+
+
+ {4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}
+ 12
+ 0
+ 0
+ primary
+ False
+ True
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 1.3
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- False
-
-
- Private
-
-
- Private
-
-
- False
-
-
- Private
-
-
- Private
-
-
- False
-
-
- Private
-
-
- Private
-
-
- False
-
-
- (Default)
-
-
- False
-
-
- False
-
-
- 8, 8
-
-
- True
-
-
- 80
-
-
- StatusBarFrm
-
-
- True
-
-
- Private
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs b/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs
deleted file mode 100644
index 386d145c..00000000
--- a/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-/*********************************************************************************************
- * Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
- * Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
- * ------------------------------------------------------------------------------
- * $Workfile: StatusMessageFrm.cs $ $Revision: 3 $
- * $Author: Jsj $ $Date: 5/11/04 9:30a $
- *
- * $History: StatusMessageFrm.cs $
- *
- * ***************** Version 3 *****************
- * User: Jsj Date: 5/11/04 Time: 9:30a
- * Updated in $/LibSource/VlnStatus
- *
- * ***************** Version 2 *****************
- * User: Jsj Date: 11/26/02 Time: 3:38p
- * Updated in $/LibSource/VlnStatus
- * Added overbounds check
- *********************************************************************************************/
-
-using System;
-using System.Drawing;
-using System.Collections;
-using System.ComponentModel;
-using System.Windows.Forms;
-
-namespace VlnStatus
-{
- ///
- /// Create status message window.
- ///
- public class StatusMessageFrm : System.Windows.Forms.Form
- {
- private System.Windows.Forms.Label lblStatMsg;
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.Container components = null;
-
- public StatusMessageFrm()
- {
- //
- // Required for Windows Form Designer support
- //
- InitializeComponent();
- }
-
- public StatusMessageFrm(string StatTitle)
- {
- //
- // Required for Windows Form Designer support
- //
- InitializeComponent();
-
- Text = StatTitle;
- }
-
- ///
- /// Clean up any resources being used.
- ///
- protected override void Dispose( bool disposing )
- {
- if( disposing )
- {
- if(components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose( disposing );
- }
-
- #region Windows Form Designer generated code
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.lblStatMsg = new System.Windows.Forms.Label();
- this.SuspendLayout();
- //
- // lblStatMsg
- //
- this.lblStatMsg.Location = new System.Drawing.Point(19, 20);
- this.lblStatMsg.Name = "lblStatMsg";
- this.lblStatMsg.Size = new System.Drawing.Size(420, 81);
- this.lblStatMsg.TabIndex = 0;
- this.lblStatMsg.Text = "Put Status Message Here";
- this.lblStatMsg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // StatusMessageFrm
- //
- this.AutoScaleBaseSize = new System.Drawing.Size(7, 19);
- this.ClientSize = new System.Drawing.Size(457, 117);
- this.ControlBox = false;
- this.Controls.Add(this.lblStatMsg);
- this.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "StatusMessageFrm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Status";
- this.TopMost = true;
- this.Load += new System.EventHandler(this.StatusMessageFrm_Load);
- this.ResumeLayout(false);
-
- }
- #endregion
-
- private void StatusMessageFrm_Load(object sender, System.EventArgs e)
- {
-
- }
-
- public string StatusMessage
- {
- get
- {
- return lblStatMsg.Text;
- }
- set
- {
- lblStatMsg.Text = value;
- lblStatMsg.Refresh();
- }
- }
-
- public string StatusBoxTitle
- {
- get
- {
- return Text;
- }
- set
- {
- Text = value;
- }
- }
- }
-}
diff --git a/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.resx b/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.resx
deleted file mode 100644
index 7edd5b3c..00000000
--- a/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.resx
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 1.3
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- False
-
-
- Private
-
-
- Private
-
-
- False
-
-
- (Default)
-
-
- False
-
-
- False
-
-
- 8, 8
-
-
- StatusMessageFrm
-
-
- True
-
-
- 80
-
-
- True
-
-
- Private
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj b/PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj
deleted file mode 100644
index b0ea1627..00000000
--- a/PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}
- Library
- Properties
- VlnStatus64
- VlnStatus64
- v4.8.1
- 512
- true
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- x64
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
- x64
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- Form
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs b/PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs
deleted file mode 100644
index a7a4e2cd..00000000
--- a/PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs
+++ /dev/null
@@ -1,148 +0,0 @@
-/*********************************************************************************************
- * Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
- * Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
- * ------------------------------------------------------------------------------
- * $Workfile: VlnStatusBar.cs $ $Revision: 4 $
- * $Author: Jsj $ $Date: 11/26/02 4:25p $
- *
- * $History: VlnStatusBar.cs $
- *
- * ***************** Version 4 *****************
- * User: Jsj Date: 11/26/02 Time: 4:25p
- * Updated in $/LibSource/VlnStatus
- * fixed problem with counter
- *
- * ***************** Version 3 *****************
- * User: Jsj Date: 11/26/02 Time: 3:38p
- * Updated in $/LibSource/VlnStatus
- * Added overbounds check
- *********************************************************************************************/
-using System;
-
-namespace VlnStatus
-{
- ///
- /// Creates a Status Window with a progression bar control.
- ///
- /// This class has two constructors. One allows you to pass in the title
- /// of the Status Box. The Other provides a default title of "Status".
- /// The Status Box Title can also be set/changed via the StatusBoxTitle
- /// property.
- ///
- ///
- ///
- public class VlnStatusBar
- {
- StatusBarFrm StatBar;
- private int Cnt;
-
- // Create a status window with the default title of "Status"
- public VlnStatusBar()
- {
- StatBar = new StatusBarFrm();
- StatBar.Show();
- }
-
- // Create a status window with the passed in title
- public VlnStatusBar(string Title)
- {
- StatBar = new StatusBarFrm(Title);
- StatBar.Show();
- }
-
- // Increament the the status bar by the passed in value.
- public void PerformStep(int val)
- {
-// StatBar.Value = val;
-// Cnt = val;
- BarValue = val;
- StatBar.PerformStep();
- }
-
- // Increament the the status bar by one
- public void PerformStep()
- {
-// StatBar.Value = StatBar.Value + 1;
- Cnt++;
- BarValue = Cnt;
- StatBar.PerformStep();
- }
-
- // This property gets or sets the current status bar value.
- public int BarValue
- {
- get
- {
- return StatBar.Value;
- }
- set
- {
- StatBar.Value = value;
- Cnt = value;
- }
- }
-
- // This property sets or gets the maximum value that the
- // BarValue property can be. i.e. when BarValue reaches this
- // number, the status bar is completely displayed.
- public int BarMax
- {
- get
- {
- return StatBar.Maximum;
- }
- set
- {
- StatBar.Maximum = value;
- }
- }
-
- // This property sets or gets the increamenting value used to
- // move the status bar. For example, if set to 5, each tick of
- // the status bar represents a value of 5.
- public int BarStepValue
- {
- get
- {
- return StatBar.Step;
- }
- set
- {
- StatBar.Step = value;
- }
- }
-
- // This property sets or gets the message above the status bar.
- public string StatMsg
- {
- get
- {
- return StatBar.StatusMessage;
- }
- set
- {
- StatBar.StatusMessage = value;
- }
- }
-
- // This property sets or gets the Status Window Title
- public string StatusBoxTitle
- {
- get
- {
- return StatBar.StatusBoxTitle;
- }
- set
- {
- StatBar.StatusBoxTitle = value;
- }
- }
-
- public void Dispose()
- {
- StatBar.Dispose();
- }
-
- }
-}
-
diff --git a/PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs b/PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs
deleted file mode 100644
index e0221ee8..00000000
--- a/PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-/*********************************************************************************************
- * Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
- * Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
- * ------------------------------------------------------------------------------
- * $Workfile: VlnStatusMessage.cs $ $Revision: 3 $
- * $Author: Jsj $ $Date: 11/26/02 3:38p $
- *
- * $History: VlnStatusMessage.cs $
- *
- * ***************** Version 3 *****************
- * User: Jsj Date: 11/26/02 Time: 3:38p
- * Updated in $/LibSource/VlnStatus
- * Added overbounds check
- *********************************************************************************************/
-
-using System;
-
-namespace VlnStatus
-{
- ///
- /// Creates a Status Window to display a status message.
- ///
- /// This class has two constructors. One allows you to pass in the title
- /// of the Status Box. The Other provides a default title of "Status".
- /// The Status Box Title can also be set/changed via the StatusBoxTitle
- /// property.
- ///
- ///
- public class VlnStatusMessage
- {
- StatusMessageFrm StatusMessageBox;
-
- // Create a status window with the default title of "Status"
- public VlnStatusMessage()
- {
- StatusMessageBox = new StatusMessageFrm();
- StatusMessageBox.Show();
- }
-
- // Create a status window with the passed in title.
- public VlnStatusMessage(string StatusBoxTitle)
- {
- StatusMessageBox = new StatusMessageFrm(StatusBoxTitle);
- StatusMessageBox.Show();
- }
-
- // This property gets or sets the current status message
- public string StatusMessage
- {
- get
- {
- return StatusMessageBox.StatusMessage;
- }
- set
- {
- StatusMessageBox.StatusMessage = value;
- }
- }
-
- // This property gets or sets the status box title
- public string StatusBoxTitle
- {
- get
- {
- return StatusMessageBox.StatusBoxTitle;
- }
- set
- {
- StatusMessageBox.StatusBoxTitle = value;
- }
- }
-
- public void Dispose()
- {
- StatusMessageBox.Dispose();
- }
-
- }
-}
diff --git a/PROMS/Volian.Controls.Library/DisplayTabControl.cs b/PROMS/Volian.Controls.Library/DisplayTabControl.cs
index c516993f..bda8b089 100644
--- a/PROMS/Volian.Controls.Library/DisplayTabControl.cs
+++ b/PROMS/Volian.Controls.Library/DisplayTabControl.cs
@@ -11,6 +11,7 @@ using DevComponents.DotNetBar;
using JR.Utils.GUI.Forms;
using Volian.Base.Library;
using Microsoft.Win32;
+using System.Linq;
namespace Volian.Controls.Library
{
@@ -261,24 +262,45 @@ namespace Volian.Controls.Library
get { return _ChgId; }
set { _ChgId = value; }
}
+
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
public bool EditorialChange
{
get
{
if (_ChgId == null) return true;
if (_ChgId == "") return true;
- if (_ChgId.ToUpper() == "EC") return true;
- return false;
- }
- }
- #endregion
- #region Events
- ///
- /// This event is raised when a the "Tab" of a DisplayItem is clicked with a mouse.
- /// So far this has just been used for demo purposes. It could be used to select a
- /// step and it's children for the purpose of copying.
- ///
- public event StepPanelEvent ItemClick;
+ if (_ChgId.ToUpper() == "EC") { return true;}
+
+ return IsInEditorialMode;
+ }
+ }
+
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
+ // property to hold if button in ribbon is toggled on or off
+ public bool IsInEditorialMode { get; set; } = false;
+
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
+ // This is used when button in the ribbon is toggled on/off
+ // It iterates through all previously opened tabs
+ // and updates the "Editorial Mode" button
+ // and background color to match those of the current tab
+ public void SetEdititorialModeForAllTabs(bool mode)
+ {
+ foreach (DisplayTabItem tabItem in _MyDisplayTabItems.Values.Where(tabItem => tabItem.MyStepTabPanel != null))
+ {
+ tabItem.MyStepTabPanel.MyStepTabRibbon.SetEditorialMode(mode);
+ }
+ }
+
+ #endregion
+ #region Events
+ ///
+ /// This event is raised when a the "Tab" of a DisplayItem is clicked with a mouse.
+ /// So far this has just been used for demo purposes. It could be used to select a
+ /// step and it's children for the purpose of copying.
+ ///
+ public event StepPanelEvent ItemClick;
///
/// Checks to see if the ItemClick event is handled and launches it
///
@@ -581,7 +603,8 @@ namespace Volian.Controls.Library
{
ItemInfo myItemInfo = myItemInfo2;
- if (myItemInfo.MyDocVersion == null) // bug fix: B2016-108 disconnected data will not have a MyDocVersion
+ //B2025-046 Remember Tabs failing when swapping versions of PROMS
+ if (myItemInfo?.MyDocVersion == null) // bug fix: B2016-108 disconnected data will not have a MyDocVersion
{
FlexibleMessageBox.Show(this, "Possible disconnected item", "Item Not Found");
return null;
diff --git a/PROMS/Volian.Controls.Library/RTBItem.cs b/PROMS/Volian.Controls.Library/RTBItem.cs
index 68ef343e..cb52e865 100644
--- a/PROMS/Volian.Controls.Library/RTBItem.cs
+++ b/PROMS/Volian.Controls.Library/RTBItem.cs
@@ -799,27 +799,41 @@ namespace Volian.Controls.Library
// if the plant has the change id option, the change id was entered when the program started.
// this should be saved for every piece of edited data. Note that the set of config
// item Step_MultipleChangeID has the save built in to it.
+ if (sc == null) sc = new StepConfig();
if (MyStepRTB.MyItemInfo.IsStep &&
MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds
&& !this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.EditorialChange)
{
- //StepConfig sc = MyStepRTB.MyItemInfo.MyConfig as StepConfig;
- if (sc == null) sc = new StepConfig();
sc.Step_ChangeID = this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.ChgId;
- //if (MyStepRTB.MyItemInfo.MyConfig == null) itm.MyContent.Config = sc.ToString();
+ }
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
+ // if in Editorial Mode, treat it the same as if the ChangeIds are set in the Format file
+ if (MyStepPanel.MyStepTabPanel.MyDisplayTabControl.IsInEditorialMode && !existingChangeBar)
+ {
+ sc.Step_ChangeIDEditorialMode = Volian.Base.Library.VlnSettings.UserID;
+ }
+ else
+ {
+ sc.Step_ChangeIDEditorialMode = null;
}
// B2020-017: If making an editorial change, clear the Change id. Having the change id on
// was adding/printing a change bar.
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
+ // if in Editorial Mode, treat it the same as if the ChangeIds are set in the Format file
if (MyStepRTB.MyItemInfo.IsStep &&
- MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds
- && this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.EditorialChange
- && hasChangeBar == false)
+ (MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds
+ || MyStepPanel.MyStepTabPanel.MyDisplayTabControl.IsInEditorialMode
+ )
+ && MyStepPanel.MyStepTabPanel.MyDisplayTabControl.EditorialChange
+ && !hasChangeBar)
{
if (sc == null) sc = new StepConfig();
sc.Step_ChangeID = null;
}
// B2015-024 Have Spell Checker text changes be an editorial change (not assign a change bar but keep existing change bar)
- if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.EditData.EditoralSpellCheck)
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
+ // if in Editorial Mode, treat it the same as if the Rditorial SprllCheck flag is set in the Format file
+ if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.EditData.EditoralSpellCheck || this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.IsInEditorialMode)
{
if (StepRTB.DidEditorialSpellCheck)
{
diff --git a/PROMS/Volian.Controls.Library/StepPanel.cs b/PROMS/Volian.Controls.Library/StepPanel.cs
index 728ad353..8f509a33 100644
--- a/PROMS/Volian.Controls.Library/StepPanel.cs
+++ b/PROMS/Volian.Controls.Library/StepPanel.cs
@@ -650,8 +650,13 @@ namespace Volian.Controls.Library
///
public Color ActiveColor
{
- get { return _ActiveColor; }
- set { _ActiveColor = value; }
+ get {
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
+ // if in Editorial Mode, use LightGreen background
+ _ActiveColor = MyStepTabPanel != null && MyStepTabPanel.MyDisplayTabControl.IsInEditorialMode ? Color.LightGreen : Color.SkyBlue;
+ return _ActiveColor;
+ }
+ set { _ActiveColor = value; }
}
///
/// Gets or Sets the Annotation backcolor for StepRTBs in the Panel
diff --git a/PROMS/Volian.Controls.Library/StepRTB.cs b/PROMS/Volian.Controls.Library/StepRTB.cs
index dcd59514..cc20f092 100644
--- a/PROMS/Volian.Controls.Library/StepRTB.cs
+++ b/PROMS/Volian.Controls.Library/StepRTB.cs
@@ -3760,7 +3760,12 @@ namespace Volian.Controls.Library
public bool SpellCheckNext()
{
int nBad = C1SpellChecker2.CheckControl(this, false, MySpellCheckDlg);
- if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.EditData.EditoralSpellCheck)
+
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
+ // if in Editorial Mode, treat it the same as if the EditorialSpellCheck flag is set in the Format file
+ bool editorialmode = (this.Parent.Parent.Parent as StepTabPanel).MyDisplayTabControl.IsInEditorialMode;
+
+ if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.EditData.EditoralSpellCheck || editorialmode)
DidEditorialSpellCheck = MySpellCheckDlg.DidCorrectSpelling; // B2015-024 spell checker in editoral mode
return (nBad >= 0); // nBad = -1 means user pressed Cancel button
}
diff --git a/PROMS/Volian.Controls.Library/StepTabPanel.cs b/PROMS/Volian.Controls.Library/StepTabPanel.cs
index c895ed09..a6d501d0 100644
--- a/PROMS/Volian.Controls.Library/StepTabPanel.cs
+++ b/PROMS/Volian.Controls.Library/StepTabPanel.cs
@@ -120,7 +120,7 @@ namespace Volian.Controls.Library
///
private void SetupStepTabRibbon()
{
- _MyStepTabRibbon = new StepTabRibbon();
+ _MyStepTabRibbon = new StepTabRibbon(_MyDisplayTabControl.IsInEditorialMode);
_MyStepTabRibbon.Dock = System.Windows.Forms.DockStyle.Top;
_MyStepTabRibbon.Location = new System.Drawing.Point(0, 0);
_MyStepTabRibbon.Name = "displayTabRibbon1";
diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs
index 37b57301..8a4a5f47 100644
--- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs
+++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs
@@ -995,7 +995,7 @@ namespace Volian.Controls.Library
// SetButtonAndMenuEnabling(true);
//}
#region Constructor
- public StepTabRibbon()
+ public StepTabRibbon(bool? IsInEditorialMode = false)
{
InitializeComponent();
this.btnInsSupInfo.Tag = string.Format("{0} {1}", (int)E_FromTypes.SupInfos, 1040); // Make type of rno (40) & special case 1000
@@ -1021,8 +1021,16 @@ namespace Volian.Controls.Library
// hide the import from Word file if not running in Debug mode
if (!VlnSettings.DebugMode)
rbnImpWrd.Visible = false;
- }
- void _RibbonControl_SizeChanged(object sender, EventArgs e)
+
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
+ // default Editorial Mode to what is set in the DisplayTabControl
+ SetEditorialMode(IsInEditorialMode != null && (bool) IsInEditorialMode);
+
+ }
+
+ public void SetEditorialMode(bool mode) => btnEditorialMode.Checked = btnCMEditorialMode.Checked = mode;
+
+ void _RibbonControl_SizeChanged(object sender, EventArgs e)
{
this.Size = _RibbonControl.Size;
}
@@ -3125,7 +3133,7 @@ namespace Volian.Controls.Library
btnCMRedo.Enabled = btnRedo.Enabled = _MyStepRTB.CanRedo;
btnCMUndo.Enabled = btnUndo.Enabled = _MyStepRTB.CanUndo;
}
- private void btnGoTo_Click(object sender, EventArgs e)
+ private void btnGoTo_Click(object sender, EventArgs e)
{
// if on a transition, go to the selected transition 'to'. If on
// a referenced object, bring up ReferencedObject Editor (for now, just put up a message box.
@@ -3211,7 +3219,29 @@ namespace Volian.Controls.Library
System.Diagnostics.Process.Start(roapp, args);
}
}
- private void btnChgTyp_Click(object sender, EventArgs e)
+
+ // C2015-028 Add Editorial Mode to PROMS Step Editor
+ private void btnEditorialMode_Click(object sender, EventArgs e)
+ {
+ //toggle button is selected
+ SetEditorialMode(!btnEditorialMode.Checked);
+
+ //set the overall flag in the displaytabcontrol
+ StepTabPanel tmp = Parent as StepTabPanel;
+ tmp.MyDisplayTabControl.IsInEditorialMode = btnEditorialMode.Checked;
+
+ //refresh the current item so the background color changes (LightGreen=Editorial Mode, SkyBlue=Normal Selected)
+ if (MyEditItem != null)
+ {
+ _MyEditItem.RefreshContent();
+ Application.DoEvents();
+ }
+
+ //set other preciously opened tabs to match the state of Editorial Mode in the current tab
+ tmp.MyDisplayTabControl.SetEdititorialModeForAllTabs(btnEditorialMode.Checked);
+ }
+
+ private void btnChgTyp_Click(object sender, EventArgs e)
{
StepPanelTabDisplayEventArgs args = new StepPanelTabDisplayEventArgs("Change Step Type");
MyEditItem.MyStepPanel.OnTabDisplay(sender, args);
@@ -3279,7 +3309,8 @@ namespace Volian.Controls.Library
rtabInsert.Visible = false;
rtabAdmin.Visible = false;
rtabReview.Select();
- btnCMEditMode1.Enabled = btnEditMode.Enabled = false; // don't allow reviewer toggle out of view mode
+ btnCMEditMode1.Enabled = btnEditMode.Enabled = btnCMEditorialMode.Enabled = false; // don't allow reviewer toggle out of view mode
+ btnCMEditorialMode.Visible = false;
}
}
public void SetupROEditorMode()
diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
index 33fc65fe..f3747452 100644
Binary files a/PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs and b/PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs differ
diff --git a/PROMS/Volian.Controls.Library/VlnSpellCheck.cs b/PROMS/Volian.Controls.Library/VlnSpellCheck.cs
index 00261916..e9a71054 100644
--- a/PROMS/Volian.Controls.Library/VlnSpellCheck.cs
+++ b/PROMS/Volian.Controls.Library/VlnSpellCheck.cs
@@ -27,10 +27,26 @@ namespace Volian.Controls.Library
while (MyEditItem.SpellCheckNext())
{
ItemInfo next = MyEditItem.MyItemInfo.SearchNext;
- if (next == null || !next.IsStep) // B2016-063 check if next is not a step type instead of specifically a section
- return; // spell check only current section
- MyEditItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
- }
+ //C2025-037 Evaluate the way that Spell Check (in step editor sections) is currently closing after one section.
+
+ if (next == null || next.IsProcedure) // B2016-063 check if next is not a step type instead of specifically a section
+ {
+ return; // spell check only current procedure
+ }
+
+ //If it is a word document, find the next non-word document
+ while (next.HasWordContent)
+ {
+ next = next.SearchNext;
+
+ if (next == null || next.IsProcedure) // B2016-063 check if next is not a step type instead of specifically a section
+ {
+ return; // spell check only current procedure
+ }
+ }
+
+ MyEditItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
+ }
MyEditItem.SetFocus();
}
diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs
index 90103d95..de678a4b 100644
--- a/PROMS/Volian.Print.Library/PromsPrinter.cs
+++ b/PROMS/Volian.Print.Library/PromsPrinter.cs
@@ -85,6 +85,14 @@ namespace Volian.Print.Library
ProgressSetup,
LoadVlnParagraph
}
+
+ //B2025-048 Problem with Printing CAS Steps
+ public enum PromsPrinterPrintType
+ {
+ Normal,
+ CAS_Only,
+ TCAS_only
+ }
public class PromsPrinter
{
public bool NeedSupInfoBreak = false;
@@ -331,6 +339,18 @@ namespace Volian.Print.Library
get { return _MergedPdf; }
set { _MergedPdf = value; }
}
+
+ //B2025-048 Problem with Printing CAS Steps
+ // default to Normal
+ // will skip certain logic if CAS Only or CTS Only
+ public PromsPrinterPrintType PromsPrinterPrintType { get; set; } = PromsPrinterPrintType.Normal;
+
+ //B2025-054 Wrong Page Numbers in CAS Summary
+ // when section title continued and CAS
+ // Flag for when should build the CAS_CTAS
+ //to avoid overwriting data
+ public bool ShouldPrint_CAS_CTAS { get; set; } = true;
+
public PromsPrinter(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, string backgroundFolder, bool openPDF, bool overWrite,
ChangeBarDefinition cbd, String pdfFile, bool insertBlankPages, bool batchPrint, string prefix, bool saveLinks, int removeTrailngHardReturnsAndManualPageBreaks, string blankPageText, bool didAll, MergedPdf mergedPdf, string watermarkColor, int PrtSectID = -1)
{
@@ -1266,7 +1286,7 @@ namespace Volian.Print.Library
set { _MyTimeCriticalActSummary = value; }
}
- public void CreateWordDocPdf(PdfContentByte cb, SectionInfo mySection)
+ public void CreateWordDocPdf(PdfContentByte cb, SectionInfo mySection)
{
if (mySection.PageNumber == -1) // If page num transition goes to a section, need the pagenumber of section.
{
diff --git a/PROMS/Volian.Print.Library/Volian.Print.Library.csproj b/PROMS/Volian.Print.Library/Volian.Print.Library.csproj
index 2f0665a3..d4694ccd 100644
--- a/PROMS/Volian.Print.Library/Volian.Print.Library.csproj
+++ b/PROMS/Volian.Print.Library/Volian.Print.Library.csproj
@@ -99,8 +99,8 @@
-
- ..\VEPROMS\VlnStatus64\bin\Debug\VlnStatus64.dll
+
+ ..\ReferencedObjects\LibSource\VlnStatus\bin\Debug\VlnStatus.dll
diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs
index afacd8a5..2f307726 100644
--- a/PROMS/Volian.Print.Library/vlnParagraph.cs
+++ b/PROMS/Volian.Print.Library/vlnParagraph.cs
@@ -2159,12 +2159,15 @@ namespace Volian.Print.Library
}
// If "doSectionTitleContinued" is true then print the section title with "(Continued)" appended to it
// format must have ContinueSectinHeader format flag set to true
+ //B2025-048 Problem with Printing CAS Steps
+ // skip this if printing CAS or CTAS - was causing it to
+ // skip/overwrite data
if (doSectionTitleContinued)
{
vlnParagraph sectContPara;
string contMsg = (MyItemInfo.ActiveSection != null) ? MyItemInfo.ActiveSection.MyDocStyle.Continue.SectionTitle.AppendToTitle : ""; // C2018-003 fixed use of getting the active section
- // For Calvert, the xoffset will be the highest level sections xoffset (there are metasections,
- // don't use their xoffset or the continue message is indented too much)
+ // For Calvert, the xoffset will be the highest level sections xoffset (there are metasections,
+ // don't use their xoffset or the continue message is indented too much)
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert)
{
float secContinueTabXoff = (float)MyItemInfo.MyDocStyle.Layout.LeftMargin;
@@ -2184,6 +2187,12 @@ namespace Volian.Print.Library
// get to the correct section for the message, i.e. if on a section, the message should be the parent
// section (not the activesection which is myself); if on a step, the message should be the active section
ItemInfo sectForCont = MyItemInfo.IsSection && MyItemInfo.MyParent.IsSection ? MyItemInfo.MyParent : MyItemInfo.ActiveSection;
+ //B2025-054 Wrong Page Numbers in CAS Summary
+ // when section title continued and CAS
+ //to avoid overwriting data
+ // - this will be built at a different call to vlnParagraph
+ if (MyPromsPrinter.PromsPrinterPrintType != PromsPrinterPrintType.Normal)
+ MyPromsPrinter.ShouldPrint_CAS_CTAS = false;
sectContPara = new vlnParagraph(MyParent.MyParent, cb, sectForCont, MyParent.XOffset, 0, 0, 0, MyParent.MyItemInfo.ActiveFormat, null, (contMsg == null || contMsg == "") ? " (Continued)" : contMsg, 0, false, MyPromsPrinter);
if (sectContPara.PartsLeft.Count > 0)
{
@@ -2194,7 +2203,7 @@ namespace Volian.Print.Library
vt.XOffset = secContinueTabXoff;
vt.Width = secContinueXoff - secContinueTabXoff;
sectContPara.XOffset = secContinueXoff;
- if ((wd + 12) > secContinueXoff - secContinueTabXoff) // 12 is 2 characters
+ if ((wd + 12) > secContinueXoff - secContinueTabXoff) // 12 is 2 characters
{
float dif = wd + 12 - (secContinueXoff - secContinueTabXoff);
vt.Width += dif;
@@ -2209,12 +2218,20 @@ namespace Volian.Print.Library
}
else
{
+ //B2025-054 Wrong Step Numbers
+ // when section title continued and CAS
+ //to avoid overwriting data
+ // - this will be built at a different call to vlnParagraph
+ if (MyPromsPrinter.PromsPrinterPrintType != PromsPrinterPrintType.Normal)
+ MyPromsPrinter.ShouldPrint_CAS_CTAS = false;
sectContPara = new vlnParagraph(MyParent.MyParent, cb, MyItemInfo.ActiveSection, MyParent.XOffset, 0, 0, 0, MyParent.MyItemInfo.ActiveFormat, null, (contMsg == null || contMsg == "") ? " (Continued)" : contMsg, 0, false, MyPromsPrinter);
float mytmpfloat = sectContPara.ParagraphToPdf(cb, yTopMargin, yTopMargin, yBottomMargin);
if (sectContPara.SectionContinuePrinted)
yPageStart -= sectContPara.Height + SixLinesPerInch;
}
}
+ //out of section title section - reset this back to true (default)
+ MyPromsPrinter.ShouldPrint_CAS_CTAS = true;
// see if this hls has footnotes, add to the footnote datastructure for processing at end of page.
if (MyItemInfo.IsHigh && MyPageHelper.NotesToFootNotesHLS.ContainsKey(MyItemInfo.ItemID)) AddFootNote(cb);
@@ -3593,11 +3610,11 @@ namespace Volian.Print.Library
BuildPlacekeeper(parent, itemInfo);
// Save step text information to be used to create a Continuous Action Summary
- BuildContinuousActionSummary(parent, itemInfo);
+ if (MyPromsPrinter.ShouldPrint_CAS_CTAS) BuildContinuousActionSummary(parent, itemInfo);
// F2022-024 Time Critical Step
// Save step text information to be used to create a Time Critical Action Summary
- BuildTimeCriticalActionSummary(parent, itemInfo);
+ if (MyPromsPrinter.ShouldPrint_CAS_CTAS) BuildTimeCriticalActionSummary(parent, itemInfo);
if (itemInfo.ActiveFormat.MyStepSectionLayoutData.BoxLeftAdj != null)
_MyBoxLeftAdj = float.Parse(itemInfo.ActiveFormat.MyStepSectionLayoutData.BoxLeftAdj);