Implemented the first version of the report settings to help compensate for the screen resolution dependence the PDF engines seem to have.
This commit is contained in:
@@ -46,5 +46,89 @@ namespace AdvertsingProfitControl.Properties {
|
||||
this["DefaultServer"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("A4")]
|
||||
public string ReportPaperKind {
|
||||
get {
|
||||
return ((string)(this["ReportPaperKind"]));
|
||||
}
|
||||
set {
|
||||
this["ReportPaperKind"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("100%")]
|
||||
public string ApcReportWidth {
|
||||
get {
|
||||
return ((string)(this["ApcReportWidth"]));
|
||||
}
|
||||
set {
|
||||
this["ApcReportWidth"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("100%")]
|
||||
public string ApcReportHeight {
|
||||
get {
|
||||
return ((string)(this["ApcReportHeight"]));
|
||||
}
|
||||
set {
|
||||
this["ApcReportHeight"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("100%")]
|
||||
public string WicReportWidth {
|
||||
get {
|
||||
return ((string)(this["WicReportWidth"]));
|
||||
}
|
||||
set {
|
||||
this["WicReportWidth"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("100%")]
|
||||
public string WicReportHeight {
|
||||
get {
|
||||
return ((string)(this["WicReportHeight"]));
|
||||
}
|
||||
set {
|
||||
this["WicReportHeight"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("14px")]
|
||||
public string ApcFontSize {
|
||||
get {
|
||||
return ((string)(this["ApcFontSize"]));
|
||||
}
|
||||
set {
|
||||
this["ApcFontSize"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("20px")]
|
||||
public string WicFontSize {
|
||||
get {
|
||||
return ((string)(this["WicFontSize"]));
|
||||
}
|
||||
set {
|
||||
this["WicFontSize"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,5 +8,26 @@
|
||||
<Setting Name="DefaultServer" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">(LocalDb)\MSSQLLocalDB</Value>
|
||||
</Setting>
|
||||
<Setting Name="ReportPaperKind" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">A4</Value>
|
||||
</Setting>
|
||||
<Setting Name="ApcReportWidth" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">100%</Value>
|
||||
</Setting>
|
||||
<Setting Name="ApcReportHeight" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">100%</Value>
|
||||
</Setting>
|
||||
<Setting Name="WicReportWidth" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">100%</Value>
|
||||
</Setting>
|
||||
<Setting Name="WicReportHeight" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">100%</Value>
|
||||
</Setting>
|
||||
<Setting Name="ApcFontSize" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">14px</Value>
|
||||
</Setting>
|
||||
<Setting Name="WicFontSize" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">20px</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
Reference in New Issue
Block a user