diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs index 062467cf..c5504613 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs @@ -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; diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index 5c3cf744..e72de45d 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -635,6 +635,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SectionLevelFoldouts, "@SectionLevelFoldouts"); } } + private LazyLoad _SlashReplace; + public string SlashReplace + { + get + { + return LazyLoad(ref _SlashReplace, "@SlashReplace"); + } + } private LazyLoad _RevDateWithForwardSlash; public bool RevDateWithForwardSlash { diff --git a/PROMS/fmtxml/WSTALRall.xml b/PROMS/fmtxml/WSTALRall.xml index 816395c6..b14199ff 100644 Binary files a/PROMS/fmtxml/WSTALRall.xml and b/PROMS/fmtxml/WSTALRall.xml differ