Added new SlashReplace format variable to control how Slashes are treated when the procedure number is converted to a pdf name.
Changed formating of Cautions (Not Bold and Heading removed underline) Corrected RO_Lookup logic for page Header.
This commit is contained in:
@@ -270,7 +270,10 @@ namespace VEPROMS
|
||||
if (ProcNum == string.Empty)
|
||||
txbPDFName.Text = this.UnitNumber + ".pdf";
|
||||
else
|
||||
txbPDFName.Text = string.Format("{0}.pdf", ProcNum.Replace('/', '_').Replace('\\', '_'));
|
||||
{
|
||||
string slashReplace = _MyProcedure.ActiveFormat.PlantFormat.FormatData.PrintData.SlashReplace ?? "_";
|
||||
txbPDFName.Text = string.Format("{0}.pdf", ProcNum.Replace("/", slashReplace).Replace("\\", slashReplace));
|
||||
}
|
||||
if (txbPDFName.Text.StartsWith("*"))
|
||||
txbPDFName.Text = txbPDFName.Text.Replace("*", this.UnitNumber);
|
||||
ProcedureConfig pc = _MyProcedure.MyConfig as ProcedureConfig;
|
||||
|
Reference in New Issue
Block a user