Compare commits
15 Commits
C2026-007_
...
Developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| c328140441 | |||
| a10798c983 | |||
| 06909e260f | |||
| 5eca8a5150 | |||
| 88a13f9864 | |||
| e03ae6195a | |||
| c3cacaf407 | |||
| 4b479b3ceb | |||
| c78cb805fb | |||
| d17688fc9d | |||
| fd59b9d5f0 | |||
| 0e71c9f5f5 | |||
| ed615dbb31 | |||
| e9ad57f588 | |||
| 7636fe7686 |
Binary file not shown.
@@ -2659,6 +2659,7 @@ namespace RODBInterface
|
|||||||
}
|
}
|
||||||
StatMsgWindow.StatusMessage = echild.GetAttribute("MenuTitle");
|
StatMsgWindow.StatusMessage = echild.GetAttribute("MenuTitle");
|
||||||
StringBuilder tinfo2Tmp = new StringBuilder(); // B2026-025 prep the info field data so it will be saved correctly.
|
StringBuilder tinfo2Tmp = new StringBuilder(); // B2026-025 prep the info field data so it will be saved correctly.
|
||||||
|
str = "UPDATE " + echild.GetAttribute("Table") + " SET Info = '" + tinfo2 + "'";
|
||||||
char[] chrAry = tinfo2.ToCharArray();
|
char[] chrAry = tinfo2.ToCharArray();
|
||||||
foreach (int chr in chrAry)
|
foreach (int chr in chrAry)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1317,7 +1317,7 @@
|
|||||||
this.swRegenWordAttmts.Name = "swRegenWordAttmts";
|
this.swRegenWordAttmts.Name = "swRegenWordAttmts";
|
||||||
this.swRegenWordAttmts.Size = new System.Drawing.Size(91, 22);
|
this.swRegenWordAttmts.Size = new System.Drawing.Size(91, 22);
|
||||||
this.swRegenWordAttmts.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.swRegenWordAttmts.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.superTooltip1.SetSuperTooltip(this.swRegenWordAttmts, new DevComponents.DotNetBar.SuperTooltipInfo("Generate Word Attachments", "", resources.GetString("swRegenWordAttmts.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(300, 200)));
|
this.superTooltip1.SetSuperTooltip(this.swRegenWordAttmts, new DevComponents.DotNetBar.SuperTooltipInfo("Generate Word Attachments", "", resources.GetString("swRegenWordAttmts.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(300, 250)));
|
||||||
this.swRegenWordAttmts.SwitchClickTogglesValue = true;
|
this.swRegenWordAttmts.SwitchClickTogglesValue = true;
|
||||||
this.swRegenWordAttmts.TabIndex = 34;
|
this.swRegenWordAttmts.TabIndex = 34;
|
||||||
this.swRegenWordAttmts.Value = true;
|
this.swRegenWordAttmts.Value = true;
|
||||||
@@ -1334,7 +1334,7 @@
|
|||||||
this.labelX1.Location = new System.Drawing.Point(107, 150);
|
this.labelX1.Location = new System.Drawing.Point(107, 150);
|
||||||
this.labelX1.Name = "labelX1";
|
this.labelX1.Name = "labelX1";
|
||||||
this.labelX1.Size = new System.Drawing.Size(186, 22);
|
this.labelX1.Size = new System.Drawing.Size(186, 22);
|
||||||
this.superTooltip1.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("Generate Word Attachments", "", resources.GetString("labelX1.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(300, 200)));
|
this.superTooltip1.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("Generate Word Attachments", "", resources.GetString("labelX1.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(300, 250)));
|
||||||
this.labelX1.TabIndex = 33;
|
this.labelX1.TabIndex = 33;
|
||||||
this.labelX1.Text = "Generate Missing Word Attachments";
|
this.labelX1.Text = "Generate Missing Word Attachments";
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -121,15 +121,15 @@
|
|||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<data name="swRegenWordAttmts.SuperTooltip" xml:space="preserve">
|
<data name="swRegenWordAttmts.SuperTooltip" xml:space="preserve">
|
||||||
<value>When Word attachments are modified and saved, PROMS will create a PDF of the attachment contents and save it in the database. When this is done, all the of the RO references are resolved as well as pagination of the attachment. This speeds up the overall printing of the procedure in that PROMS simply inserts the attachment contents. Certain actions like loading a new RO.FST require that these PDFs be regenerated which is normally done at print time.
|
<value>When Word attachments are modified and saved, PROMS will create a PDF of the attachment contents and save it in the database. When this is done, all of the RO references are resolved as well as pagination of the attachment. This speeds up the overall printing of the procedure in that PROMS simply inserts the attachment contents. Certain actions like loading a new RO.FST require that these PDFs be regenerated which is normally done at print time.
|
||||||
|
|
||||||
This function will generate (and save) any missing saved attachment PDFS stored in the database (not the PDFs of the entire procedure that you had previous printed). This will cause printing to be faster when you print after this as the PDFs will be pre-genrated in those cases (and thus not require regeneration unless changes were made to the Word Sections or ROs after running this).
|
This function will generate (and save) any missing saved attachment PDFs stored in the database (not the PDFs of the entire procedure that you had previous printed). This will cause printing to be faster when you print after this as the PDFs will be pre-genrated in those cases (and thus not require regeneration unless changes were made to the Word Sections or ROs after running this).
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelX1.SuperTooltip" xml:space="preserve">
|
<data name="labelX1.SuperTooltip" xml:space="preserve">
|
||||||
<value>When Word attachments are modified and saved, PROMS will create a PDF of the attachment contents and save it in the database. When this is done, all the of the RO references are resolved as well as pagination of the attachment. This speeds up the overall printing of the procedure in that PROMS simply inserts the attachment contents. Certain actions like loading a new RO.FST require that these PDFs be regenerated which is normally done at print time.
|
<value>When Word attachments are modified and saved, PROMS will create a PDF of the attachment contents and save it in the database. When this is done, all of the RO references are resolved as well as pagination of the attachment. This speeds up the overall printing of the procedure in that PROMS simply inserts the attachment contents. Certain actions like loading a new RO.FST require that these PDFs be regenerated which is normally done at print time.
|
||||||
|
|
||||||
This function will generate (and save) any missing saved attachment PDFS stored in the database (not the PDFs of the entire procedure that you had previous printed). This will cause printing to be faster when you print after this as the PDFs will be pre-genrated in those cases (and thus not require regeneration unless changes were made to the Word Sections or ROs after running this).
|
This function will generate (and save) any missing saved attachment PDFs stored in the database (not the PDFs of the entire procedure that you had previous printed). This will cause printing to be faster when you print after this as the PDFs will be pre-genrated in those cases (and thus not require regeneration unless changes were made to the Word Sections or ROs after running this).
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="swRefreshTblsForSrch.SuperTooltip" xml:space="preserve">
|
<data name="swRefreshTblsForSrch.SuperTooltip" xml:space="preserve">
|
||||||
@@ -183,7 +183,7 @@ RO paths, ROFST versions, and the contents of RO figures are stored in the datab
|
|||||||
Be sure a current backup exists prior to running this function!!</value>
|
Be sure a current backup exists prior to running this function!!</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="swRefreshWordAttmts.SuperTooltip" xml:space="preserve">
|
<data name="swRefreshWordAttmts.SuperTooltip" xml:space="preserve">
|
||||||
<value>When Word attachments are modified and saved, PROMS will create a PDF of the attachment contents and save it in the database. When this is done, all the of the RO references are resolved as well as pagination of the attachment. This speeds up the overall printing of the procedure in that PROMS simply inserts the attachment contents.
|
<value>When Word attachments are modified and saved, PROMS will create a PDF of the attachment contents and save it in the database. When this is done, all of the RO references are resolved as well as pagination of the attachment. This speeds up the overall printing of the procedure in that PROMS simply inserts the attachment contents.
|
||||||
|
|
||||||
This function will remove all of the saved attachment PDFS stored in the database (not the PDFs of the entire procedure that you had previous printed). This will force PROMS to regenerate (and save) the word attachment PDFs the next time the procedure is printed.
|
This function will remove all of the saved attachment PDFS stored in the database (not the PDFs of the entire procedure that you had previous printed). This will force PROMS to regenerate (and save) the word attachment PDFs the next time the procedure is printed.
|
||||||
</value>
|
</value>
|
||||||
@@ -202,9 +202,9 @@ RO paths, ROFST versions, and the contents of RO figures are stored in the datab
|
|||||||
Be sure a current backup exists prior to running this function!!</value>
|
Be sure a current backup exists prior to running this function!!</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelX5.SuperTooltip" xml:space="preserve">
|
<data name="labelX5.SuperTooltip" xml:space="preserve">
|
||||||
<value>When Word attachments are modified and saved, PROMS will create a PDF of the attachment contents and save it in the database. When this is done, all the of the RO references are resolved as well as pagination of the attachment. This speeds up the overall printing of the procedure in that PROMS simply inserts the attachment contents.
|
<value>When Word attachments are modified and saved, PROMS will create a PDF of the attachment contents and save it in the database. When this is done, all of the RO references are resolved as well as pagination of the attachment. This speeds up the overall printing of the procedure in that PROMS simply inserts the attachment contents.
|
||||||
|
|
||||||
This function will remove all of the saved attachment PDFS stored in the database (not the PDFs of the entire procedure that you had previous printed). This will force PROMS to regenerate (and save) the word attachment PDFs the next time the procedure is printed.
|
This function will remove all of the saved attachment PDFs stored in the database (not the PDFs of the entire procedure that you had previous printed). This will force PROMS to regenerate (and save) the word attachment PDFs the next time the procedure is printed.
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelX9.SuperTooltip" xml:space="preserve">
|
<data name="labelX9.SuperTooltip" xml:space="preserve">
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ namespace Volian.Controls.Library
|
|||||||
this.btnApplicabilitychg.Size = new System.Drawing.Size(80, 22);
|
this.btnApplicabilitychg.Size = new System.Drawing.Size(80, 22);
|
||||||
this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(2);
|
this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnApplicabilitychg.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
this.btnApplicabilitychg.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||||
this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Change applicability settings - All At Level", "", "When clicked, all steps at the level of the current step will have their applicability settings changed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Change applicability settings - All At Level", "", "When clicked, all steps at the level of the current step will have their applicability settings changed. Note that for two column procedures, the left column and right column are handled separately.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||||
this.btnApplicabilitychg.TabIndex = 0;
|
this.btnApplicabilitychg.TabIndex = 0;
|
||||||
this.btnApplicabilitychg.Text = "Set All at Level";
|
this.btnApplicabilitychg.Text = "Set All at Level";
|
||||||
this.btnApplicabilitychg.ColorTable = DevComponents.DotNetBar.eButtonColor.BlueOrb;
|
this.btnApplicabilitychg.ColorTable = DevComponents.DotNetBar.eButtonColor.BlueOrb;
|
||||||
|
|||||||
@@ -1165,10 +1165,19 @@ namespace Volian.Controls.Library
|
|||||||
lbROId.Text = string.Empty;
|
lbROId.Text = string.Empty;
|
||||||
|
|
||||||
// Disable all buttons by default
|
// Disable all buttons by default
|
||||||
btnGoToRO.Enabled = false;
|
|
||||||
btnSaveRO.Enabled = false;
|
btnSaveRO.Enabled = false;
|
||||||
btnCancelRO.Enabled = false;
|
btnCancelRO.Enabled = false;
|
||||||
btnPreviewRO.Enabled = false;
|
btnPreviewRO.Enabled = false;
|
||||||
|
|
||||||
|
//B2026-030 GoTo sometimes requires being pressed twice
|
||||||
|
if (MyUserInfo != null && MyDvi != null && selectedChld.value != null)
|
||||||
|
{
|
||||||
|
btnGoToRO.Enabled = UserInfo.CanEditROs(MyUserInfo, MyDvi); // Writers and Reviewers cannot edit ROs (run the RO Editor)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
btnGoToRO.Enabled = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -2473,6 +2473,17 @@ namespace Volian.Controls.Library
|
|||||||
private string ConvertTableText(string str)
|
private string ConvertTableText(string str)
|
||||||
{
|
{
|
||||||
string rtn = str;
|
string rtn = str;
|
||||||
|
string pattern = @"\\u([0-9]{1,4})\?";
|
||||||
|
|
||||||
|
string mValue, mValue2 = "";
|
||||||
|
foreach (Match match in Regex.Matches(rtn, pattern, RegexOptions.IgnoreCase))
|
||||||
|
{
|
||||||
|
mValue = match.Value;
|
||||||
|
mValue2 = $"\\f1 {mValue}\\f0";
|
||||||
|
rtn = rtn.Replace(match.Value, mValue2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//ShowRawString(str, "ConvertTableText IN");
|
//ShowRawString(str, "ConvertTableText IN");
|
||||||
rtn = rtn.Replace(@"START]\v0", @"START]\cf1\v0");
|
rtn = rtn.Replace(@"START]\v0", @"START]\cf1\v0");
|
||||||
rtn = rtn.Replace(@"\v #Link:", @"\cf0\v #Link:");
|
rtn = rtn.Replace(@"\v #Link:", @"\cf0\v #Link:");
|
||||||
|
|||||||
Reference in New Issue
Block a user