From 9c78b3f85200992497edaeb8f3cd3cde147e0c36 Mon Sep 17 00:00:00 2001 From: SmartRootsSrl Date: Mon, 23 Mar 2026 17:04:28 +0100 Subject: [PATCH] fix: Italian column labels + consistent title style in eventi renderer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes applied: 1. Updated column names in active certificates (quotazione): - "Trigger Cedola" → "Livello Cedola" - "Trigger Autocall" → "Livello Richiamo Anticipato" - "Valore Autocall" → "Valore Richiamo Anticipato" 2. Updated column names in expired certificates: - "Soglia Rimborso" → "Livello Richiamo Anticipato" - "Valore Autocall" → "Valore Richiamo Anticipato" 3. Synchronized title style in EventiSectionRenderer with AnagraficaSectionRenderer: - Uses AccentBlue color instead of generic SectionTitle - Added blue separator line below title (AccentBluePen) - Aligned spacing and font sizing Co-Authored-By: Claude Sonnet 4.6 --- .../Implementations/EventiSectionRenderer.cs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs index be33b79..87f91fe 100644 --- a/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs @@ -31,8 +31,12 @@ public class EventiSectionRenderer : IPdfSectionRenderer // ── Titolo ───────────────────────────────────────────────────── g.DrawString("Lista Eventi", PdfTheme.SectionTitleFont, - new PdfSolidBrush(PdfTheme.SectionTitle), new RectangleF(0, y, w, 18)); - y += 22; + new PdfSolidBrush(PdfTheme.AccentBlue), new RectangleF(0, y, w, 20f)); + y += 24f; + + // Linea separatrice blu + g.DrawLine(PdfTheme.AccentBluePen, 0, y, w, y); + y += 8f; // ── Griglia ──────────────────────────────────────────────────── var grid = new PdfGrid(); @@ -48,12 +52,12 @@ public class EventiSectionRenderer : IPdfSectionRenderer if (isExpired) { // Certificati non in quotazione: senza Ex Date e Record, - // rinominati Trigger Cedola→Barriera Cedola e Trigger Autocall→Soglia Rimborso + // rinominati Trigger Cedola→Barriera Cedola e Trigger Autocall→Livello Richiamo Anticipato headers = new[] { "Osservazione", "Pagamento", "Barriera Cedola", "Cedola %", "Pagato", "Memoria", - "Importo Pagato", "Soglia Rimborso", "Valore Autocall" + "Importo Pagato", "Livello Richiamo Anticipato", "Valore Richiamo Anticipato" }; cw = new float[] { 62, 58, 52, 46, 36, 46, 52, 58, 52 }; paidColIndex = 4; @@ -63,8 +67,8 @@ public class EventiSectionRenderer : IPdfSectionRenderer headers = new[] { "Osservazione", "Ex Date", "Record", "Pagamento", - "Trigger Cedola", "Cedola %", "Pagato", "Memoria", - "Importo Pagato", "Trigger Autocall", "Valore Autocall" + "Livello Cedola", "Cedola %", "Pagato", "Memoria", + "Importo Pagato", "Livello Richiamo Anticipato", "Valore Richiamo Anticipato" }; cw = new float[] { 62, 52, 52, 58, 52, 46, 36, 46, 52, 58, 52 }; paidColIndex = 6;