using System; using System.Collections.Generic; using System.Linq; using Consulenza.ReportWriter.Business; using Consulenza.ReportWriter.Business.OBJ_PDF; using System.Data; using ceTe.DynamicPDF; using Consulenza.ReportWriter.Business.CHART_PDF; using Consulenza.ReportCommon; using Consulenza.ReportWriter.Business.Entity; using Consulenza.ReportWriter.Business.Headers; namespace Consulenza.ReportWriter.Manager.Section.Immobiliare.Monitoraggio { /// /// Patrimonio Immobiliare Sintesi (id 35) /// public class S2 : Entity.Section { public S2(EnvironmentFacade environmentFacade, int idSection) : base(environmentFacade, idSection) { try { Draw(); } catch (Exception ex) { SectionLogger.Write("S2", ex.Message, SectionLoggerMessageLevel.E, EnvironmentFacade.ReportEnvironment); } } /// /// Scheda2. Patrimonio immobiliare –Sintesi (distribuzione del patrimonio complessivo del cliente diviso per tipologia e cointestatari) /// protected override void Draw() { MonitoraggioImmobiliarePageHeaderManager.DrawIndexPage(Elements, 203); } private void DrawIndex(List elements, int sectionId) { elements.Add(new ImagePDF(14, 0, "contestoescenari.png") { Width = 37, Height = 30, DeltaY = 100 }); elements.Add(new ImagePDF(22, 0, "fiscalita.png") { Width = 20, Height = 28, DeltaY = 150 }); elements.Add(new ImagePDF(15, 0, "mappatura.png") { Width = 31, Height = 24, DeltaY = 200 }); elements.Add(new ImagePDF(15, 0, "analisidelrischio.png") { Width = 35, Height = 29, DeltaY = 250 }); elements.Add(new ImagePDF(11, 0, "dettaglio.png") { Width = 44, Height = 31, DeltaY = 300 - 2 }); elements.Add(new ImagePDF(17, 0, "glossario2.png") { Width = 31, Height = 31, DeltaY = 350 - 2 }); elements.Add(new RectanglePDF(20, 45, new ColorPDF(153, 148, 133)) { X = 61, DeltaY = 104, AutoIncrementYWritable = false }); elements.Add(new RectanglePDF(20, 45, new ColorPDF(153, 148, 133)) { X = 61, DeltaY = 154, AutoIncrementYWritable = false }); elements.Add(new RectanglePDF(20, 45, new ColorPDF(153, 148, 133)) { X = 61, DeltaY = 204, AutoIncrementYWritable = false }); elements.Add(new RectanglePDF(20, 45, new ColorPDF(153, 148, 133)) { X = 61, DeltaY = 254, AutoIncrementYWritable = false }); elements.Add(new RectanglePDF(20, 45, new ColorPDF(153, 148, 133)) { X = 61, DeltaY = 304, AutoIncrementYWritable = false }); elements.Add(new RectanglePDF(20, 45, new ColorPDF(153, 148, 133)) { X = 61, DeltaY = 354, AutoIncrementYWritable = false }); elements.Add(new FormattedTextAreaPDF("Contesto e scenari", 61 + 45 - 12 + 1) {DeltaY = 104, AutoIncrementYWritable = false, FontSize = 15 }); elements.Add(new FormattedTextAreaPDF("Fiscalità", 61 + 45 - 10) { DeltaY = 154, AutoIncrementYWritable = false, FontSize = 15 }); elements.Add(new FormattedTextAreaPDF("Mappatura strategica del patrimonio immobiliare", 61 + 45 - 12 - 2) { DeltaY = 204, AutoIncrementYWritable = false, FontSize = 15 }); elements.Add(new FormattedTextAreaPDF("Analisi del rischio", 61 + 45 - 12) { DeltaY = 254, AutoIncrementYWritable = false, FontSize = 15 }); elements.Add(new FormattedTextAreaPDF("Dettaglio immobili", 61 + 45 - 12) { DeltaY = 304, AutoIncrementYWritable = false, FontSize = 15 }); elements.Add(new FormattedTextAreaPDF("Glossario", 61 + 45 - 12) { DeltaY = 354, AutoIncrementYWritable = false, FontSize = 15 }); elements.Add(new FormattedTextAreaPDF("pag. 2", 705) { DeltaY = 104, AutoIncrementYWritable = false, FontSize = 15 }); } /// /// Recupera i dati necessari alla Section restituendo un DataTable. /// /// protected override DataTable GetDataTable() { return null; } /// /// Recupera i dati necessari alla Section restituendo un DataSet. /// /// protected override DataSet GetDataSet() { return null; } } }