internal Table.Container AddTableContainer(Rdl.Engine.ReportElement reportElement, Rdl.Engine.Style style, Rdl.Runtime.Context context) { Table.Container child = new Table.Container(this, reportElement, new BoxStyle(style, context)); if (style != null && style.BackgroundImage != null) { _imageIndex = Render.AddImage(style.BackgroundImage, context); } _childElements.Add(child); return(child); }
internal TextElement AddTextElement(Rdl.Engine.ReportElement reportElement, string name, string text, Rdl.Engine.Style style, Rdl.Runtime.Context context) { TextElement child = new TextElement(this, reportElement, name, text, new TextStyle(style, context), context); if (style != null && style.BackgroundImage != null) { _imageIndex = Render.AddImage(style.BackgroundImage, context); } _childElements.Add(child); return(child); }
internal ChartElement AddChartElement(Rdl.Engine.ReportElement reportElement, Rdl.Engine.Style style, Rdl.Runtime.Context context) { ChartElement child = new ChartElement(this, reportElement, new BoxStyle(style, context), context); if (style != null && style.BackgroundImage != null) { _imageIndex = Render.AddImage(style.BackgroundImage, context); } _childElements.Add(child); return(child); }
internal FlowContainer AddFlowContainer(Rdl.Engine.ReportElement reportElement, Rdl.Engine.Style style, Rdl.Runtime.Context context, Rdl.Render.FlowContainer.FlowDirectionEnum direction) { FlowContainer child = new FlowContainer(this, reportElement, new BoxStyle(style, context)); child.FlowDirection = direction; if (style != null && style.BackgroundImage != null) { _imageIndex = Render.AddImage(style.BackgroundImage, context); } _childElements.Add(child); return(child); }