ReportManager.NET/Consulenza.ReportWriter.Manager/Chapter/Base/Proposta/IntestazioneOperazioniProposteSintesi_PropostaNonAdeguata.cs

34 lines
1.4 KiB
C#

using System;
using ceTe.DynamicPDF;
using Consulenza.ReportWriter.Business.OBJ_PDF;
using Consulenza.ReportCommon;
using Consulenza.ReportWriter.Business;
namespace Consulenza.ReportWriter.Manager.Chapter.Base.Proposta
{
public class IntestazioneOperazioniProposteSintesi_PropostaNonAdeguata : Entity.Chapter
{
public IntestazioneOperazioniProposteSintesi_PropostaNonAdeguata(EnvironmentFacade environmentFacade, int idChapter)
: base(environmentFacade, idChapter)
{
Draw();
}
public IntestazioneOperazioniProposteSintesi_PropostaNonAdeguata(EnvironmentFacade environmentFacade, int idChapter, bool repeatoneachpage)
: this(environmentFacade, idChapter)
{
RepeatOnEachPage = repeatoneachpage;
}
protected override sealed void Draw()
{
var data = new FormattedTextAreaPDF("Report prodotto il " + Helper.FormatDateMonthName(DateTime.Now), 340, 250, TextAlign.Left) { Y = 62, FontSize = 11, AbsolutePosition = true, AutoIncrementYWritable = false };
var intestazione = new FormattedTextAreaPDF("OPERAZIONI RICHIESTE - SINTESI", 340, 250, TextAlign.Left) { Y = 75, FontSize = 13, FontBold = true, AbsolutePosition = true, AutoIncrementYWritable = false };
AddElement(new PagePDF(PagePDF.PagePDFType.Generic));
AddElement(data);
AddElement(intestazione);
}
}
}