diff --git a/Lux.Report.Data/DbConfig.cs b/Lux.Report.Data/DbConfig.cs
new file mode 100644
index 00000000..f1c6229d
--- /dev/null
+++ b/Lux.Report.Data/DbConfig.cs
@@ -0,0 +1,70 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Lux.Report.Data
+{
+ public class DbConfig
+ {
+ #region Public Fields
+
+ public static string DATABASE_NAME = "LUX";
+
+ public static int DATABASE_PROCESS_TIMEOUT = 5;
+ public static string DATABASE_PWD = "viadante16";
+
+ // Database config
+ public static string DATABASE_SERV = "127.0.0.1";
+
+ public static string DATABASE_USER = "Lux_User";
+
+ #endregion Public Fields
+
+ #region Public Properties
+
+ ///
+ /// DB Connection string per azioni amministrative
+ ///
+ public static string ADMIN_CONNECTION_STRING { get; set; } = "";
+
+ ///
+ /// DB Connection string
+ ///
+ public static string CONNECTION_STRING { get; set; } = "";
+
+ #endregion Public Properties
+
+ #region Public Methods
+
+ public static void InitDb(string server, string nKey, string sKey)
+ {
+ DATABASE_SERV = server;
+ DATABASE_NAME = $"Lux_{nKey}";
+ DATABASE_USER = $"user_{nKey}";
+ DATABASE_PWD = $"pwd_{sKey}";
+ // stringa admin con utente root egalware...
+#if DEBUG
+ CONNECTION_STRING = $"server={DATABASE_SERV};port=3306;database={DATABASE_NAME}_dev;uid={DATABASE_USER};pwd={DATABASE_PWD};sslmode=None";
+#else
+ CONNECTION_STRING = $"server={DATABASE_SERV};port=3306;database={DATABASE_NAME};uid={DATABASE_USER};pwd={DATABASE_PWD};sslmode=None";
+#endif
+ ADMIN_CONNECTION_STRING = $"server={DATABASE_SERV};port=3306;database=mysql;uid=root;pwd=Egalware_24068!;sslmode=None";
+ }
+
+ public static ServerVersion MysqlServerVersion(string connString)
+ {
+ ServerVersion serverVersion = ServerVersion.AutoDetect(connString);
+ return serverVersion;
+ }
+
+ #endregion Public Methods
+
+ #region Private Fields
+
+ private static Logger Log = LogManager.GetCurrentClassLogger();
+
+ #endregion Private Fields
+ }
+}
diff --git a/Lux.Report.Data/DbModel/ReportModel.cs b/Lux.Report.Data/DbModel/ReportModel.cs
new file mode 100644
index 00000000..57210fe5
--- /dev/null
+++ b/Lux.Report.Data/DbModel/ReportModel.cs
@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Lux.Report.Data.DbModel
+{
+ ///
+ /// Classe dei report gestiti
+ ///
+ [Table("report_list")]
+ public class ReportModel
+ {
+ ///
+ /// ID del record
+ ///
+ [Key]
+ public int ReportID { get; set; }
+
+ ///
+ /// Denominazione
+ ///
+ public string Name { get; set; } = "";
+
+ ///
+ /// Descrizione
+ ///
+ public string Description { get; set; } = "";
+
+ ///
+ /// Valore completo Json per recupero dati
+ ///
+ public string JsonDSN { get; set; } = "";
+
+ ///
+ /// Nome del report Active tra quelli nella folder
+ ///
+ public string ActRepName { get; set; } = "";
+
+ ///
+ /// Conf dei parametri per il report
+ ///
+ public string ParamConfig { get; set; } = "";
+ }
+}
diff --git a/Lux.Report.Data/GlobalUsings.cs b/Lux.Report.Data/GlobalUsings.cs
new file mode 100644
index 00000000..60857f09
--- /dev/null
+++ b/Lux.Report.Data/GlobalUsings.cs
@@ -0,0 +1,5 @@
+
+global using Microsoft.EntityFrameworkCore;
+global using Microsoft.Extensions.Configuration;
+global using Newtonsoft.Json;
+global using NLog;
diff --git a/Lux.Report.Data/Lux.Report.Data.csproj b/Lux.Report.Data/Lux.Report.Data.csproj
new file mode 100644
index 00000000..4de6c1ef
--- /dev/null
+++ b/Lux.Report.Data/Lux.Report.Data.csproj
@@ -0,0 +1,32 @@
+
+
+
+ net8.0
+ enable
+ enable
+
+
+
+
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+
+
diff --git a/Lux.Report.Data/ReportContext.cs b/Lux.Report.Data/ReportContext.cs
new file mode 100644
index 00000000..a86dc103
--- /dev/null
+++ b/Lux.Report.Data/ReportContext.cs
@@ -0,0 +1,75 @@
+namespace Lux.Report.Data
+{
+ public class ReportContext : DbContext
+ {
+ private static Logger Log = LogManager.GetCurrentClassLogger();
+
+ private IConfiguration _configuration;
+
+ public ReportContext()
+ {
+ }
+
+#if false
+ public ReportContext(IConfiguration configuration)
+ {
+ _configuration = configuration;
+ }
+#endif
+ public ReportContext(DbContextOptions options) : base(options)
+ {
+ try
+ {
+ // se non ci fosse... crea o migra!
+ Database.Migrate();
+ }
+ catch (Exception exc)
+ {
+ Log.Error(exc, "Exception during context initialization 02");
+ }
+ }
+
+ protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
+ {
+ // default
+ string connString = DbConfig.CONNECTION_STRING;
+ if (string.IsNullOrEmpty(connString))
+ {
+#if DEBUG
+ connString = "Server=mdb.ufficio;port=3306;database=Lux_000;uid=lux_user;pwd=Egal_pwd!;sslmode=None;";
+ //connString = "Server=mdb.ufficio;port=3306;database=Lux_000_dev;uid=lux_user;pwd=Egal_pwd!;sslmode=None;";
+#else
+ connString = "Server=mdb.ufficio;port=3306;database=Lux_000;uid=lux_user;pwd=Egal_pwd!;sslmode=None;";
+#endif
+ }
+ if (!optionsBuilder.IsConfigured)
+ {
+ var serverVersion = ServerVersion.AutoDetect(connString);
+
+ // 2026.01.09 aggiornata init componente POMELO
+#if false
+ optionsBuilder.UseMySql(connString, serverVersion);
+#endif
+ optionsBuilder.UseMySql(connString, serverVersion, options =>
+ {
+ // Questo abilita il supporto JSON specifico per MySQL
+ options.EnableStringComparisonTranslations();
+ });
+ // verificare setup componente
+#if false
+ optionsBuilder
+ .UseMySql(connString, serverVersion)
+ .UseSnakeCaseNamingConvention(); // via EFCore.NamingConventions
+#endif
+ }
+ }
+
+ protected override void OnModelCreating(ModelBuilder modelBuilder)
+ {
+ foreach (var relationship in modelBuilder.Model.GetEntityTypes().SelectMany(e => e.GetForeignKeys()))
+ {
+ relationship.DeleteBehavior = DeleteBehavior.Restrict;
+ }
+ }
+ }
+}
diff --git a/Lux.Report.Manager/Lux.Report.Manager.csproj b/Lux.Report.Manager/Lux.Report.Manager.csproj
index 552a919f..aec15ec2 100644
--- a/Lux.Report.Manager/Lux.Report.Manager.csproj
+++ b/Lux.Report.Manager/Lux.Report.Manager.csproj
@@ -10,4 +10,12 @@
+
+
+
+
+
+
+
+
diff --git a/Lux.Report.Manager/Program.cs b/Lux.Report.Manager/Program.cs
index f7243607..99c5f112 100644
--- a/Lux.Report.Manager/Program.cs
+++ b/Lux.Report.Manager/Program.cs
@@ -1,13 +1,37 @@
using Lux.Report.Manager.Components;
+using Microsoft.AspNetCore.Localization;
+using Microsoft.Extensions.FileProviders;
+using NLog;
+using NLog.Targets;
+using NLog.Web;
+using System.Globalization;
+using System.Reflection;
var builder = WebApplication.CreateBuilder(args);
+// recupero env corrente
+var env = builder.Environment;
+
+var logger = LogManager.Setup()
+ .LoadConfigurationFromAppSettings()
+ .GetCurrentClassLogger();
+
+ConfigurationManager configuration = builder.Configuration;
+var assemblyVersion = Assembly.GetExecutingAssembly().GetName().Version?.ToString();
+logger.Info($"Lux.Report.Manager | Program.cs: startup | v.{assemblyVersion}");
+logger.Info($"Current ASPNETCORE_ENVIRONMENT: {env.EnvironmentName}");
+
// Add services to the container.
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents();
var app = builder.Build();
+// aggiunt base URL x routing corretto
+string baseUrl = configuration.GetValue("ServerConf:BaseUrl") ?? "";
+app.UsePathBase(baseUrl);
+logger.Info($"BaseUrl: {baseUrl}");
+
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
@@ -21,6 +45,42 @@ app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseAntiforgery();
+
+
+// cultura IT...
+var supportedCultures = new[]{
+ new CultureInfo("it-IT")
+ };
+app.UseRequestLocalization(new RequestLocalizationOptions
+{
+ DefaultRequestCulture = new RequestCulture("it-IT"),
+ SupportedCultures = supportedCultures,
+ FallBackToParentCultures = false
+});
+CultureInfo.DefaultThreadCurrentCulture = CultureInfo.CreateSpecificCulture("it-IT");
+
+// gestione fileshare x uploads: verifico da conf se sia linux o windows x file da accedere...
+if (configuration["ServerConf:HostOs"] == "Win")
+{
+ app.UseFileServer(new FileServerOptions
+ {
+ FileProvider = new PhysicalFileProvider(@"\\stor01\TEAM DRIVES\40_FileUpload\LuxUploads"),
+ RequestPath = new PathString("/unsafe_uploads"),
+ EnableDirectoryBrowsing = true
+ //EnableDirectoryBrowsing = false
+ });
+}
+else
+{
+ app.UseFileServer(new FileServerOptions
+ {
+ FileProvider = new PhysicalFileProvider(Path.Combine(env.ContentRootPath, "unsafe_uploads")),
+ RequestPath = new PathString("/unsafe_uploads"),
+ EnableDirectoryBrowsing = true
+ //EnableDirectoryBrowsing = false
+ });
+}
+
app.MapRazorComponents()
.AddInteractiveServerRenderMode();
diff --git a/Lux.Report.Manager/appsettings.json b/Lux.Report.Manager/appsettings.json
index 10f68b8c..6de7044a 100644
--- a/Lux.Report.Manager/appsettings.json
+++ b/Lux.Report.Manager/appsettings.json
@@ -5,5 +5,53 @@
"Microsoft.AspNetCore": "Warning"
}
},
- "AllowedHosts": "*"
+ "NLog": {
+ "variables": {
+ "baseFileDir": "${basedir}/logs/",
+ "layout": "${longdate} | ${uppercase:${level}} | ${logger:shortName=false} | ${message}"
+ },
+ // "internalLogLevel": "Info",
+ // "internalLogFile": "c:\\temp\\internal-nlog.txt",
+ "extensions": [
+ { "assembly": "NLog.Extensions.Logging" },
+ { "assembly": "NLog.Web.AspNetCore" }
+ ],
+ "throwConfigExceptions": true,
+ "targets": {
+ "async": true,
+ "logfile": {
+ "type": "File",
+ "fileName": "${basedir}/logs/${shortdate}.log",
+ "archiveEvery": "Day",
+ "archiveFileName": "${basedir}/logs/old/${shortdate}_{#}.log",
+ "archiveNumbering": "DateAndSequence",
+ "archiveAboveSize": "1024000",
+ "archiveDateFormat": "HH",
+ "maxArchiveFiles": "60",
+ "maxArchiveDays": "30"
+ },
+ "logconsole": {
+ "type": "ColoredConsole",
+ "layout": "${longdate} | ${uppercase:${level}} | ${logger:shortName=true} | ${message}"
+ }
+ },
+ "rules": [
+ {
+ "logger": "*",
+ "minLevel": "Trace",
+ "writeTo": "logconsole"
+ },
+ {
+ "logger": "*",
+ "minLevel": "Info",
+ "writeTo": "logfile"
+ }
+ ]
+ },
+ "AllowedHosts": "*",
+ "ServerConf": {
+ "BaseUrl": "/LUX/RepMan/",
+ "FileSharePath": "\\\\stor01\\TEAM DRIVES\\40_FileUpload\\LuxUploads",
+ "HostOs": "Win"
+ }
}
diff --git a/Lux.Report.Server/Lux.Report.Server.csproj b/Lux.Report.Server/Lux.Report.Server.csproj
index 1b28a01c..36ebcfdd 100644
--- a/Lux.Report.Server/Lux.Report.Server.csproj
+++ b/Lux.Report.Server/Lux.Report.Server.csproj
@@ -6,4 +6,12 @@
enable
+
+
+
+
+
+
+
+
diff --git a/Lux.Report.Server/Program.cs b/Lux.Report.Server/Program.cs
index 01430ade..8c4e17aa 100644
--- a/Lux.Report.Server/Program.cs
+++ b/Lux.Report.Server/Program.cs
@@ -1,8 +1,11 @@
using Lux.Report.Server.Components;
+using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.FileProviders;
using NLog;
using NLog.Targets;
using NLog.Web;
+using System.Globalization;
+using System.Reflection;
var builder = WebApplication.CreateBuilder(args);
@@ -14,7 +17,8 @@ var logger = LogManager.Setup()
.GetCurrentClassLogger();
ConfigurationManager configuration = builder.Configuration;
-logger.Info("Lux.Report.Manager | Program.cs: startup");
+var assemblyVersion = Assembly.GetExecutingAssembly().GetName().Version?.ToString();
+logger.Info($"Lux.Report.Server | Program.cs: startup | v.{assemblyVersion}");
logger.Info($"Current ASPNETCORE_ENVIRONMENT: {env.EnvironmentName}");
// Add services to the container.
@@ -23,6 +27,11 @@ builder.Services.AddRazorComponents()
var app = builder.Build();
+// aggiunt base URL x routing corretto
+string baseUrl = configuration.GetValue("ServerConf:BaseUrl") ?? "";
+app.UsePathBase(baseUrl);
+logger.Info($"BaseUrl: {baseUrl}");
+
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
@@ -36,6 +45,19 @@ app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseAntiforgery();
+
+// cultura IT...
+var supportedCultures = new[]{
+ new CultureInfo("it-IT")
+ };
+app.UseRequestLocalization(new RequestLocalizationOptions
+{
+ DefaultRequestCulture = new RequestCulture("it-IT"),
+ SupportedCultures = supportedCultures,
+ FallBackToParentCultures = false
+});
+CultureInfo.DefaultThreadCurrentCulture = CultureInfo.CreateSpecificCulture("it-IT");
+
// gestione fileshare x uploads: verifico da conf se sia linux o windows x file da accedere...
if (configuration["ServerConf:HostOs"] == "Win")
{
diff --git a/Lux.Report.Server/appsettings.json b/Lux.Report.Server/appsettings.json
index 10f68b8c..b26ac4cd 100644
--- a/Lux.Report.Server/appsettings.json
+++ b/Lux.Report.Server/appsettings.json
@@ -5,5 +5,53 @@
"Microsoft.AspNetCore": "Warning"
}
},
- "AllowedHosts": "*"
+ "NLog": {
+ "variables": {
+ "baseFileDir": "${basedir}/logs/",
+ "layout": "${longdate} | ${uppercase:${level}} | ${logger:shortName=false} | ${message}"
+ },
+ // "internalLogLevel": "Info",
+ // "internalLogFile": "c:\\temp\\internal-nlog.txt",
+ "extensions": [
+ { "assembly": "NLog.Extensions.Logging" },
+ { "assembly": "NLog.Web.AspNetCore" }
+ ],
+ "throwConfigExceptions": true,
+ "targets": {
+ "async": true,
+ "logfile": {
+ "type": "File",
+ "fileName": "${basedir}/logs/${shortdate}.log",
+ "archiveEvery": "Day",
+ "archiveFileName": "${basedir}/logs/old/${shortdate}_{#}.log",
+ "archiveNumbering": "DateAndSequence",
+ "archiveAboveSize": "1024000",
+ "archiveDateFormat": "HH",
+ "maxArchiveFiles": "60",
+ "maxArchiveDays": "30"
+ },
+ "logconsole": {
+ "type": "ColoredConsole",
+ "layout": "${longdate} | ${uppercase:${level}} | ${logger:shortName=true} | ${message}"
+ }
+ },
+ "rules": [
+ {
+ "logger": "*",
+ "minLevel": "Trace",
+ "writeTo": "logconsole"
+ },
+ {
+ "logger": "*",
+ "minLevel": "Info",
+ "writeTo": "logfile"
+ }
+ ]
+ },
+ "AllowedHosts": "*",
+ "ServerConf": {
+ "BaseUrl": "/LUX/RepSrv/",
+ "FileSharePath": "\\\\stor01\\TEAM DRIVES\\40_FileUpload\\LuxUploads",
+ "HostOs": "Win"
+ }
}
diff --git a/Lux.Report.sln b/Lux.Report.sln
index 09bc003e..c941a94d 100644
--- a/Lux.Report.sln
+++ b/Lux.Report.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 18
-VisualStudioVersion = 18.4.11620.152 stable
+# Visual Studio Version 17
+VisualStudioVersion = 17.14.37111.16 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestDevExpress", "TestDevExpress\TestDevExpress.csproj", "{849D5690-BF4A-436F-A65A-FF8A7FAD9528}"
EndProject
@@ -9,6 +9,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lux.Report.Server", "Lux.Re
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lux.Report.Manager", "Lux.Report.Manager\Lux.Report.Manager.csproj", "{DBC3E4D1-F6FD-4C76-926A-2D183DA6D644}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lux.Report.Data", "Lux.Report.Data\Lux.Report.Data.csproj", "{6D1CB169-D343-4856-9D11-E76EDC22FD34}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -27,6 +29,10 @@ Global
{DBC3E4D1-F6FD-4C76-926A-2D183DA6D644}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DBC3E4D1-F6FD-4C76-926A-2D183DA6D644}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DBC3E4D1-F6FD-4C76-926A-2D183DA6D644}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6D1CB169-D343-4856-9D11-E76EDC22FD34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6D1CB169-D343-4856-9D11-E76EDC22FD34}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6D1CB169-D343-4856-9D11-E76EDC22FD34}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6D1CB169-D343-4856-9D11-E76EDC22FD34}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/TestDevExpress/Components/Reports/OfferReport.Designer.cs b/TestDevExpress/Components/Reports/OfferReport.Designer.cs
index 5dc84490..0ddaedee 100644
--- a/TestDevExpress/Components/Reports/OfferReport.Designer.cs
+++ b/TestDevExpress/Components/Reports/OfferReport.Designer.cs
@@ -167,9 +167,11 @@
this.Detail.BackColor = System.Drawing.Color.Azure;
this.Detail.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.Detail.BorderWidth = 2F;
- this.Detail.HeightF = 6.25F;
+ this.Detail.Dpi = 25.4F;
+ this.Detail.HeightF = 1.5875F;
+ this.Detail.HierarchyPrintOptions.Indent = 5.08F;
this.Detail.Name = "Detail";
- this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 0F, 0F, 100F);
+ this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 0F, 0F, 25.4F);
this.Detail.StylePriority.UseBackColor = false;
this.Detail.StylePriority.UseBorders = false;
this.Detail.StylePriority.UseBorderWidth = false;
@@ -179,12 +181,13 @@
//
this.xrLabel15.BackColor = System.Drawing.Color.LightCyan;
this.xrLabel15.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel15.Dpi = 25.4F;
this.xrLabel15.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(616.4585F, 9.999974F);
+ this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(156.5805F, 2.539994F);
this.xrLabel15.Multiline = true;
this.xrLabel15.Name = "xrLabel15";
- this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel15.SizeF = new System.Drawing.SizeF(113.5417F, 34.79164F);
+ this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel15.SizeF = new System.Drawing.SizeF(28.83958F, 8.837076F);
this.xrLabel15.StylePriority.UseBackColor = false;
this.xrLabel15.StylePriority.UseBorders = false;
this.xrLabel15.StylePriority.UseFont = false;
@@ -196,12 +199,13 @@
//
this.xrLabel14.BackColor = System.Drawing.Color.LightCyan;
this.xrLabel14.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel14.Dpi = 25.4F;
this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(480.0005F, 9.999974F);
+ this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(121.9201F, 2.539994F);
this.xrLabel14.Multiline = true;
this.xrLabel14.Name = "xrLabel14";
- this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel14.SizeF = new System.Drawing.SizeF(136.4581F, 34.79164F);
+ this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel14.SizeF = new System.Drawing.SizeF(34.66037F, 8.837076F);
this.xrLabel14.StylePriority.UseBackColor = false;
this.xrLabel14.StylePriority.UseBorders = false;
this.xrLabel14.StylePriority.UseFont = false;
@@ -213,12 +217,13 @@
//
this.xrLabel13.BackColor = System.Drawing.Color.LightCyan;
this.xrLabel13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel13.Dpi = 25.4F;
this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(413.3335F, 9.999974F);
+ this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(104.9867F, 2.539994F);
this.xrLabel13.Multiline = true;
this.xrLabel13.Name = "xrLabel13";
- this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel13.SizeF = new System.Drawing.SizeF(66.66693F, 34.79164F);
+ this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel13.SizeF = new System.Drawing.SizeF(16.9334F, 8.837076F);
this.xrLabel13.StylePriority.UseBackColor = false;
this.xrLabel13.StylePriority.UseBorders = false;
this.xrLabel13.StylePriority.UseFont = false;
@@ -230,12 +235,13 @@
//
this.xrLabel12.BackColor = System.Drawing.Color.LightCyan;
this.xrLabel12.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel12.Dpi = 25.4F;
this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(151.0421F, 9.999974F);
+ this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(38.36469F, 2.539994F);
this.xrLabel12.Multiline = true;
this.xrLabel12.Name = "xrLabel12";
- this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel12.SizeF = new System.Drawing.SizeF(262.2914F, 34.79164F);
+ this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel12.SizeF = new System.Drawing.SizeF(66.62202F, 8.837076F);
this.xrLabel12.StylePriority.UseBackColor = false;
this.xrLabel12.StylePriority.UseBorders = false;
this.xrLabel12.StylePriority.UseFont = false;
@@ -247,12 +253,13 @@
//
this.xrLabel11.BackColor = System.Drawing.Color.LightCyan;
this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel11.Dpi = 25.4F;
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(32.29202F, 9.999974F);
+ this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(8.202172F, 2.539994F);
this.xrLabel11.Multiline = true;
this.xrLabel11.Name = "xrLabel11";
- this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel11.SizeF = new System.Drawing.SizeF(118.75F, 34.79164F);
+ this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel11.SizeF = new System.Drawing.SizeF(30.1625F, 8.837076F);
this.xrLabel11.StylePriority.UseBackColor = false;
this.xrLabel11.StylePriority.UseBorders = false;
this.xrLabel11.StylePriority.UseFont = false;
@@ -264,12 +271,13 @@
//
this.xrLabel1.BackColor = System.Drawing.Color.LightCyan;
this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel1.Dpi = 25.4F;
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0.0003496806F, 9.999974F);
+ this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(8.881887E-05F, 2.539994F);
this.xrLabel1.Multiline = true;
this.xrLabel1.Name = "xrLabel1";
- this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel1.SizeF = new System.Drawing.SizeF(32.29167F, 34.79164F);
+ this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel1.SizeF = new System.Drawing.SizeF(8.202085F, 8.837076F);
this.xrLabel1.StylePriority.UseBackColor = false;
this.xrLabel1.StylePriority.UseBorders = false;
this.xrLabel1.StylePriority.UseFont = false;
@@ -279,25 +287,27 @@
//
// xrLabel9
//
+ this.xrLabel9.Dpi = 25.4F;
this.xrLabel9.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerRowNav].[note]")});
- this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(151.0417F, 10.00001F);
+ this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(38.36459F, 2.540002F);
this.xrLabel9.Multiline = true;
this.xrLabel9.Name = "xrLabel9";
- this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel9.SizeF = new System.Drawing.SizeF(262.2914F, 23F);
+ this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel9.SizeF = new System.Drawing.SizeF(66.62202F, 5.842F);
this.xrLabel9.Text = "xrLabel9";
//
// xrLabel8
//
+ this.xrLabel8.Dpi = 25.4F;
this.xrLabel8.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerRowNav].[totalPrice]")});
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(616.4581F, 10.0001F);
+ this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(156.5804F, 2.540025F);
this.xrLabel8.Multiline = true;
this.xrLabel8.Name = "xrLabel8";
- this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel8.SizeF = new System.Drawing.SizeF(113.5417F, 23F);
+ this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel8.SizeF = new System.Drawing.SizeF(28.83958F, 5.841999F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.Text = "xrLabel8";
@@ -306,13 +316,14 @@
//
// xrLabel7
//
+ this.xrLabel7.Dpi = 25.4F;
this.xrLabel7.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerRowNav].[unitPrice]")});
- this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(480.0001F, 10.0001F);
+ this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(121.92F, 2.540025F);
this.xrLabel7.Multiline = true;
this.xrLabel7.Name = "xrLabel7";
- this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel7.SizeF = new System.Drawing.SizeF(136.4581F, 23F);
+ this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel7.SizeF = new System.Drawing.SizeF(34.66036F, 5.841999F);
this.xrLabel7.StylePriority.UseTextAlignment = false;
this.xrLabel7.Text = "xrLabel7";
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
@@ -320,14 +331,15 @@
//
// xrLabel6
//
+ this.xrLabel6.Dpi = 25.4F;
this.xrLabel6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerRowNav].[qty]")});
this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(413.3331F, 10.0001F);
+ this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(104.9866F, 2.540025F);
this.xrLabel6.Multiline = true;
this.xrLabel6.Name = "xrLabel6";
- this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel6.SizeF = new System.Drawing.SizeF(66.66693F, 23F);
+ this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel6.SizeF = new System.Drawing.SizeF(16.9334F, 5.841999F);
this.xrLabel6.StylePriority.UseFont = false;
this.xrLabel6.StylePriority.UseTextAlignment = false;
this.xrLabel6.Text = "xrLabel6";
@@ -335,78 +347,86 @@
//
// xrLabel5
//
+ this.xrLabel5.Dpi = 25.4F;
this.xrLabel5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerRowNav].[rowNum]")});
- this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
+ this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 2.540002F);
this.xrLabel5.Multiline = true;
this.xrLabel5.Name = "xrLabel5";
- this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel5.SizeF = new System.Drawing.SizeF(32.29167F, 23F);
+ this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel5.SizeF = new System.Drawing.SizeF(8.202085F, 5.842F);
this.xrLabel5.Text = "xrLabel5";
//
// TopMargin
//
- this.TopMargin.HeightF = 40F;
+ this.TopMargin.Dpi = 25.4F;
+ this.TopMargin.HeightF = 10.16F;
this.TopMargin.Name = "TopMargin";
- this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 0F, 0F, 100F);
+ this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 0F, 0F, 25.4F);
this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// BottomMargin
//
- this.BottomMargin.HeightF = 40F;
+ this.BottomMargin.Dpi = 25.4F;
+ this.BottomMargin.HeightF = 10.16F;
this.BottomMargin.Name = "BottomMargin";
- this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 0F, 0F, 100F);
+ this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 0F, 0F, 25.4F);
this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrPictureBox2
//
+ this.xrPictureBox2.Dpi = 25.4F;
this.xrPictureBox2.ImageUrl = "https://iis01.egalware.com/Lux/srv/api/image/empty";
- this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(629.9998F, 0F);
+ this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(160.02F, 0F);
this.xrPictureBox2.Name = "xrPictureBox2";
- this.xrPictureBox2.SizeF = new System.Drawing.SizeF(100F, 101.9583F);
+ this.xrPictureBox2.SizeF = new System.Drawing.SizeF(25.39999F, 25.89741F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrLabel21
//
this.xrLabel21.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
- this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(0F, 101.9583F);
+ this.xrLabel21.Dpi = 25.4F;
+ this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25.89741F);
this.xrLabel21.Multiline = true;
this.xrLabel21.Name = "xrLabel21";
- this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel21.SizeF = new System.Drawing.SizeF(730.0001F, 10.49994F);
+ this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel21.SizeF = new System.Drawing.SizeF(185.42F, 2.666985F);
this.xrLabel21.StylePriority.UseBorders = false;
//
// xrLabel24
//
+ this.xrLabel24.Dpi = 25.4F;
this.xrLabel24.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[dealerNav].[lastName]")});
- this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(569.9998F, 135.4583F);
+ this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(144.78F, 34.40641F);
this.xrLabel24.Multiline = true;
this.xrLabel24.Name = "xrLabel24";
- this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel24.SizeF = new System.Drawing.SizeF(90F, 23F);
+ this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel24.SizeF = new System.Drawing.SizeF(22.86F, 5.841999F);
this.xrLabel24.Text = "xrLabel24";
//
// xrLabel23
//
+ this.xrLabel23.Dpi = 25.4F;
this.xrLabel23.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[dealerNav].[firstName]")});
- this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(480.0001F, 135.4583F);
+ this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(121.92F, 34.40641F);
this.xrLabel23.Multiline = true;
this.xrLabel23.Name = "xrLabel23";
- this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel23.SizeF = new System.Drawing.SizeF(90F, 23F);
+ this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel23.SizeF = new System.Drawing.SizeF(22.86001F, 5.841999F);
this.xrLabel23.Text = "xrLabel23";
//
// xrLabel22
//
this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.xrLabel22.Dpi = 25.4F;
this.xrLabel22.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(480.0001F, 112.4583F);
+ this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(121.92F, 28.56441F);
this.xrLabel22.Multiline = true;
this.xrLabel22.Name = "xrLabel22";
- this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel22.SizeF = new System.Drawing.SizeF(70F, 23F);
+ this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel22.SizeF = new System.Drawing.SizeF(17.78001F, 5.841999F);
this.xrLabel22.StylePriority.UseBorders = false;
this.xrLabel22.StylePriority.UseFont = false;
this.xrLabel22.StylePriority.UseTextAlignment = false;
@@ -415,35 +435,38 @@
//
// xrLabel20
//
+ this.xrLabel20.Dpi = 25.4F;
this.xrLabel20.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[customerNav].[lastName]")});
- this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(89.99986F, 135.4583F);
+ this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(22.85996F, 34.40641F);
this.xrLabel20.Multiline = true;
this.xrLabel20.Name = "xrLabel20";
- this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel20.SizeF = new System.Drawing.SizeF(90F, 23F);
+ this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel20.SizeF = new System.Drawing.SizeF(22.86F, 5.841999F);
this.xrLabel20.Text = "xrLabel20";
//
// xrLabel19
//
+ this.xrLabel19.Dpi = 25.4F;
this.xrLabel19.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[customerNav].[firstName]")});
- this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 135.4583F);
+ this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 34.40641F);
this.xrLabel19.Multiline = true;
this.xrLabel19.Name = "xrLabel19";
- this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel19.SizeF = new System.Drawing.SizeF(90F, 23F);
+ this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel19.SizeF = new System.Drawing.SizeF(22.86F, 5.841999F);
this.xrLabel19.Text = "xrLabel19";
//
// xrLabel18
//
this.xrLabel18.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.xrLabel18.Dpi = 25.4F;
this.xrLabel18.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(1.041635F, 112.4583F);
+ this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0.2645753F, 28.56441F);
this.xrLabel18.Multiline = true;
this.xrLabel18.Name = "xrLabel18";
- this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel18.SizeF = new System.Drawing.SizeF(70F, 23F);
+ this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel18.SizeF = new System.Drawing.SizeF(17.78F, 5.841999F);
this.xrLabel18.StylePriority.UseBorders = false;
this.xrLabel18.StylePriority.UseFont = false;
this.xrLabel18.StylePriority.UseTextAlignment = false;
@@ -452,12 +475,13 @@
//
// xrLabel16
//
+ this.xrLabel16.Dpi = 25.4F;
this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Times New Roman", 32F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 24.00001F);
+ this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 6.096002F);
this.xrLabel16.Multiline = true;
this.xrLabel16.Name = "xrLabel16";
- this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel16.SizeF = new System.Drawing.SizeF(178.1251F, 53.20833F);
+ this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel16.SizeF = new System.Drawing.SizeF(45.24378F, 13.51491F);
this.xrLabel16.StylePriority.UseFont = false;
this.xrLabel16.StylePriority.UseTextAlignment = false;
this.xrLabel16.Text = "Offerta";
@@ -465,59 +489,64 @@
//
// xrLabel10
//
+ this.xrLabel10.Dpi = 25.4F;
this.xrLabel10.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "?pOfferId")});
- this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(298.1249F, 48.20833F);
+ this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(75.72372F, 12.24492F);
this.xrLabel10.Multiline = true;
this.xrLabel10.Name = "xrLabel10";
- this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel10.SizeF = new System.Drawing.SizeF(100F, 23F);
+ this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel10.SizeF = new System.Drawing.SizeF(25.4F, 5.842001F);
this.xrLabel10.StylePriority.UseTextAlignment = false;
this.xrLabel10.Text = "xrLabel10";
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel4
//
+ this.xrLabel4.Dpi = 25.4F;
this.xrLabel4.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerCode]")});
- this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(178.125F, 48.20833F);
+ this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(45.24375F, 12.24492F);
this.xrLabel4.Multiline = true;
this.xrLabel4.Name = "xrLabel4";
- this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel4.SizeF = new System.Drawing.SizeF(120F, 23F);
+ this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel4.SizeF = new System.Drawing.SizeF(30.48F, 5.842001F);
this.xrLabel4.StylePriority.UseTextAlignment = false;
this.xrLabel4.Text = "xrLabel4";
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel17
//
+ this.xrLabel17.Dpi = 25.4F;
this.xrLabel17.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[validUntil]")});
- this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(78.125F, 64.50018F);
+ this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(19.84375F, 16.38305F);
this.xrLabel17.Multiline = true;
this.xrLabel17.Name = "xrLabel17";
- this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel17.SizeF = new System.Drawing.SizeF(100F, 20.91664F);
+ this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel17.SizeF = new System.Drawing.SizeF(25.4F, 5.312826F);
this.xrLabel17.Text = "xrLabel17";
this.xrLabel17.TextFormatString = "{0:dd/MM/yyyy}";
//
// xrLabel2
//
- this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(1.041667F, 64.50018F);
+ this.xrLabel2.Dpi = 25.4F;
+ this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.2645834F, 16.38305F);
this.xrLabel2.Multiline = true;
this.xrLabel2.Name = "xrLabel2";
- this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel2.SizeF = new System.Drawing.SizeF(77.08334F, 20.91667F);
+ this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel2.SizeF = new System.Drawing.SizeF(19.57917F, 5.312834F);
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.Text = "Scadenza: ";
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrPageInfo1
//
- this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(629.9998F, 9.999974F);
+ this.xrPageInfo1.Dpi = 25.4F;
+ this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(160.02F, 2.539994F);
this.xrPageInfo1.Name = "xrPageInfo1";
- this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrPageInfo1.SizeF = new System.Drawing.SizeF(100F, 23F);
+ this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrPageInfo1.SizeF = new System.Drawing.SizeF(25.39999F, 5.842F);
this.xrPageInfo1.StylePriority.UseTextAlignment = false;
this.xrPageInfo1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrPageInfo1.TextFormatString = "{0} di {1}";
@@ -629,9 +658,10 @@
this.Detail1});
this.DetailReport.DataMember = "offerRowNav";
this.DetailReport.DataSource = this.jsonDataSource1;
+ this.DetailReport.Dpi = 25.4F;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
- this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 4F, 0F, 100F);
+ this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 1.016F, 0F, 25.4F);
//
// Detail1
//
@@ -643,7 +673,9 @@
this.xrLabel9,
this.xrLabel8,
this.xrLabel5});
- this.Detail1.HeightF = 110.0833F;
+ this.Detail1.Dpi = 25.4F;
+ this.Detail1.HeightF = 27.96116F;
+ this.Detail1.HierarchyPrintOptions.Indent = 5.08F;
this.Detail1.Name = "Detail1";
this.Detail1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("rowNum", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
@@ -651,20 +683,22 @@
// xrLabel27
//
this.xrLabel27.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
- this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(0F, 99.58334F);
+ this.xrLabel27.Dpi = 25.4F;
+ this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25.29417F);
this.xrLabel27.Multiline = true;
this.xrLabel27.Name = "xrLabel27";
- this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel27.SizeF = new System.Drawing.SizeF(730.0001F, 10.49994F);
+ this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel27.SizeF = new System.Drawing.SizeF(185.42F, 2.666985F);
this.xrLabel27.StylePriority.UseBorders = false;
//
// xrPictureBox1
//
+ this.xrPictureBox1.Dpi = 25.4F;
this.xrPictureBox1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "ImageUrl", "?pImgPath+ [imgUrl]")});
- this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(32.29167F, 10.00001F);
+ this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(8.202085F, 2.540002F);
this.xrPictureBox1.Name = "xrPictureBox1";
- this.xrPictureBox1.SizeF = new System.Drawing.SizeF(118.75F, 89.58334F);
+ this.xrPictureBox1.SizeF = new System.Drawing.SizeF(30.1625F, 22.75417F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// pImgPath
@@ -683,37 +717,41 @@
this.xrLabel25,
this.xrLabel17,
this.xrLabel2});
- this.ReportFooter.HeightF = 150.7504F;
+ this.ReportFooter.Dpi = 25.4F;
+ this.ReportFooter.HeightF = 38.2906F;
this.ReportFooter.Name = "ReportFooter";
//
// xrLabel28
//
- this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(181.8751F, 117.7504F);
+ this.xrLabel28.Dpi = 25.4F;
+ this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(46.19628F, 29.9086F);
this.xrLabel28.Multiline = true;
this.xrLabel28.Name = "xrLabel28";
- this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel28.SizeF = new System.Drawing.SizeF(100F, 23F);
+ this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel28.SizeF = new System.Drawing.SizeF(25.40001F, 5.841999F);
this.xrLabel28.Text = "Firma";
//
// xrLabel3
//
- this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 117.7504F);
+ this.xrLabel3.Dpi = 25.4F;
+ this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 29.9086F);
this.xrLabel3.Multiline = true;
this.xrLabel3.Name = "xrLabel3";
- this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel3.SizeF = new System.Drawing.SizeF(100F, 23F);
+ this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel3.SizeF = new System.Drawing.SizeF(25.4F, 5.841999F);
this.xrLabel3.Text = "Data";
//
// xrLabel26
//
+ this.xrLabel26.Dpi = 25.4F;
this.xrLabel26.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[totalPrice]")});
this.xrLabel26.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(616.4581F, 10.49995F);
+ this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(156.5804F, 2.666987F);
this.xrLabel26.Multiline = true;
this.xrLabel26.Name = "xrLabel26";
- this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel26.SizeF = new System.Drawing.SizeF(113.5417F, 23F);
+ this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel26.SizeF = new System.Drawing.SizeF(28.83958F, 5.842F);
this.xrLabel26.StylePriority.UseFont = false;
this.xrLabel26.StylePriority.UseTextAlignment = false;
this.xrLabel26.Text = "xrLabel26";
@@ -721,12 +759,13 @@
//
// xrLabel25
//
+ this.xrLabel25.Dpi = 25.4F;
this.xrLabel25.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
- this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(480.0001F, 10.49995F);
+ this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(121.92F, 2.666987F);
this.xrLabel25.Multiline = true;
this.xrLabel25.Name = "xrLabel25";
- this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F);
- this.xrLabel25.SizeF = new System.Drawing.SizeF(136.4583F, 23F);
+ this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(0.508F, 0.508F, 0F, 0F, 25.4F);
+ this.xrLabel25.SizeF = new System.Drawing.SizeF(34.66041F, 5.842F);
this.xrLabel25.StylePriority.UseFont = false;
this.xrLabel25.StylePriority.UseTextAlignment = false;
this.xrLabel25.Text = "Totale";
@@ -736,7 +775,8 @@
//
this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo1});
- this.PageFooter.HeightF = 49.5835F;
+ this.PageFooter.Dpi = 25.4F;
+ this.PageFooter.HeightF = 12.59421F;
this.PageFooter.Name = "PageFooter";
//
// ReportHeader
@@ -753,7 +793,8 @@
this.xrLabel16,
this.xrLabel10,
this.xrPictureBox2});
- this.ReportHeader.HeightF = 158.4583F;
+ this.ReportHeader.Dpi = 25.4F;
+ this.ReportHeader.HeightF = 40.24841F;
this.ReportHeader.Name = "ReportHeader";
//
// GroupHeader2
@@ -765,7 +806,8 @@
this.xrLabel12,
this.xrLabel11,
this.xrLabel15});
- this.GroupHeader2.HeightF = 52.58338F;
+ this.GroupHeader2.Dpi = 25.4F;
+ this.GroupHeader2.HeightF = 13.35618F;
this.GroupHeader2.Name = "GroupHeader2";
this.GroupHeader2.RepeatEveryPage = true;
//
@@ -783,13 +825,18 @@
this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
this.jsonDataSource1});
this.DataSource = this.jsonDataSource1;
- this.Margins = new DevExpress.Drawing.DXMargins(60F, 60F, 40F, 40F);
+ this.Dpi = 25.4F;
+ this.Margins = new DevExpress.Drawing.DXMargins(15.24F, 15.24F, 10.16F, 10.16F);
+ this.PageHeightF = 279.4F;
+ this.PageWidthF = 215.9F;
this.ParameterPanelLayoutItems.AddRange(new DevExpress.XtraReports.Parameters.ParameterPanelLayoutItem[] {
new DevExpress.XtraReports.Parameters.ParameterLayoutItem(this.pOfferId, DevExpress.XtraReports.Parameters.Orientation.Horizontal),
new DevExpress.XtraReports.Parameters.ParameterLayoutItem(this.pImgPath, DevExpress.XtraReports.Parameters.Orientation.Horizontal)});
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.pOfferId,
this.pImgPath});
+ this.ReportUnit = DevExpress.XtraReports.UI.ReportUnit.Millimeters;
+ this.SnapGridSize = 2.5F;
this.Version = "25.2";
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
diff --git a/TestDevExpress/Reports/TestReport1.repx b/TestDevExpress/Reports/TestReport1.repx
index b0b61ed9..6b197a23 100644
--- a/TestDevExpress/Reports/TestReport1.repx
+++ b/TestDevExpress/Reports/TestReport1.repx
@@ -2,7 +2,7 @@
-
+