using System; namespace Sleis.Pdf { public interface IElementWriter { /// /// Will get the element to add to the document /// /// Parent Element /// Current Writable Object Context iTextSharp.text.IElement GetElement(iTextSharp.text.IElement element, Spring.Objects.ObjectWrapper data); void Init(); /// /// string that represents property to select /// string Select { get; set; } /// /// Optional Label to be used. /// string Label { get; set; } System.Collections.Generic.List SubElements { get; set; } void BeforeWrite(iTextSharp.text.Document pdf, Spring.Objects.ObjectWrapper context); void Write(iTextSharp.text.Document pdf, Spring.Objects.ObjectWrapper context); void Write(iTextSharp.text.Document pdf, string value); void Write(iTextSharp.text.Document pdf, string value, string label); } }