Replace ‘?’ with ‘_’ for pdf filename so file can be created

Allow for setting of section’s ‘Default Step Section’ property
Fix page numbering for {secondary page} page list token
This commit is contained in:
Kathy committed 2015-02-09 14:05:22 +00:00
1 parent e0cd24b61d
commit 0e9302f206
4 files changed
+260 -206

No files matched your search

@@ -310,6 +310,7 @@ namespace VEPROMS
if ((PDFFileName ?? "") == "") PDFFileName = "NoProcNumber";
if (PDFFileName.StartsWith("*"))
PDFFileName = PDFFileName.Replace("*", this.UnitNumber);
if (PDFFileName.Contains("?")) PDFFileName = PDFFileName.Replace("?", "_"); // for wcn sys/BM-2xxA??, etc
txbPDFName.Text = PDFFilePrefix + PDFFileName + PDFFileSuffix + ".pdf";
ProcedureConfig pc = _MyProcedure.MyConfig as ProcedureConfig;
if(SelectedSlave > 0) pc.SelectedSlave = SelectedSlave;