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:
parent
a2d30b72e1
commit
9e35e1ec4b
@ -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;
|
||||
|
@ -635,6 +635,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _SectionLevelFoldouts, "@SectionLevelFoldouts");
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _SlashReplace;
|
||||
public string SlashReplace
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _SlashReplace, "@SlashReplace");
|
||||
}
|
||||
}
|
||||
private LazyLoad<bool> _RevDateWithForwardSlash;
|
||||
public bool RevDateWithForwardSlash
|
||||
{
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user