protected override PDFObjectRef DoOutputToPDF(PDFRenderContext context, PDFWriter writer) { PDFName name = PDFLayoutMarkedContentBegin.GetNameForContentType(this.Begin.ContentType); context.Graphics.EndMarkedContent(name); return(base.DoOutputToPDF(context, writer)); }
public PDFLayoutMarkedContentBegin AddMarkedContentStart(IPDFLayoutEngine engine, IPDFComponent component, PDFMarkedContentType type) { PDFLayoutMarkedContentBegin begin = new PDFLayoutMarkedContentBegin(this, component, type); this.Runs.Add(begin); return(begin); }
public PDFLayoutMarkedContentEnd AddMarkedContentEnd(IPDFLayoutEngine engine, PDFLayoutMarkedContentBegin start) { PDFLayoutMarkedContentEnd end = new PDFLayoutMarkedContentEnd(start); this.Runs.Add(end); return(end); }
public PDFLayoutMarkedContentEnd(PDFLayoutMarkedContentBegin start) : base(start.Line, start.Owner) { this.Begin = start; }