Logic to save and retrieve the PDFFilePrefix and PDFFileSuffix settings
This commit is contained in:
parent
ad0dc4e2ca
commit
b5b44d14b2
@ -717,6 +717,44 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
[Category("Print Settings")]
|
[Category("Print Settings")]
|
||||||
|
[DisplayName("PDFFilePrefix")]
|
||||||
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
|
[Description("PDF File Prefix")]
|
||||||
|
public string Print_PDFFilePrefix
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return _Xp["PrintSettings", "PDFFilePrefix"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (_SaveChangesToDocVersionConfig)
|
||||||
|
{
|
||||||
|
_Xp["PrintSettings", "PDFFilePrefix"] = value; // save selected value
|
||||||
|
OnPropertyChanged("Print_PDFFilePrefix");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
[Category("Print Settings")]
|
||||||
|
[DisplayName("PDFFileSuffix")]
|
||||||
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
|
[Description("PDF File Suffix")]
|
||||||
|
public string Print_PDFFileSuffix
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return _Xp["PrintSettings", "PDFFileSuffix"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (_SaveChangesToDocVersionConfig)
|
||||||
|
{
|
||||||
|
_Xp["PrintSettings", "PDFFileSuffix"] = value; // save selected value
|
||||||
|
OnPropertyChanged("Print_PDFFileSuffix");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
[Category("Print Settings")]
|
||||||
[DisplayName("AlwaysOverwritePDF")]
|
[DisplayName("AlwaysOverwritePDF")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
[Description("Always Overwrite PDF File")]
|
[Description("Always Overwrite PDF File")]
|
||||||
@ -1615,6 +1653,7 @@ OnPropertyChanged("Default_BkColor");
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
#region Slave
|
||||||
public void AddSlave(string xml)
|
public void AddSlave(string xml)
|
||||||
{
|
{
|
||||||
XmlDocument xd = new XmlDocument();
|
XmlDocument xd = new XmlDocument();
|
||||||
@ -1662,5 +1701,6 @@ OnPropertyChanged("Default_BkColor");
|
|||||||
return GetCombinedSlaveValue(item, "0");
|
return GetCombinedSlaveValue(item, "0");
|
||||||
}
|
}
|
||||||
//end added by jcb to fix master issue byron/braidwood
|
//end added by jcb to fix master issue byron/braidwood
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user