internal TextElement AddTextElement(RdlEngine.ReportElement reportElement, string name, string text, RdlEngine.Style style) { TextElement child = new TextElement(this, reportElement, name, text, new TextStyle(style)); _childElements.Add(child); return(child); }
internal BoxElement AddBoxElement(RdlEngine.ReportElement reportElement, RdlEngine.Style style) { BoxElement child = new BoxElement(this, reportElement, new BoxStyle(style)); _childElements.Add(child); return(child); }
// Find the BoxElement that refers to the specified report element somewhere // in the tree below the current box. public List <BoxElement> FindReportElements(RdlEngine.ReportElement r) { List <BoxElement> boxList = new List <BoxElement>(); RecurseFindReportElements(r, ref boxList); return(boxList); }
internal FlowContainer AddFlowContainer(RdlEngine.ReportElement reportElement, RdlEngine.Style style) { FlowContainer child = new FlowContainer(this, reportElement, new BoxStyle(style)); _childElements.Add(child); return(child); }
internal Element(Container parent, RdlEngine.ReportElement reportElement, BoxStyle style) { _parentElement = parent; _reportElement = reportElement; if (style != null) { _styleIndex = AddStyle(style); } }
internal TextElement(Container parent, RdlEngine.ReportElement reportElement, string name, string text, BoxStyle style) : base(parent, reportElement, style) { _name = name; _text = text; if (reportElement is RdlEngine.TextBox) { if (((RdlEngine.TextBox)reportElement).ToggleImage != null) { _toggleState = (((RdlEngine.TextBox)reportElement).ToggleImage.InitialState) ? ToggleStateEnum.open : ToggleStateEnum.closed; } } }
public Element(Element e) { _name = e._name; _canGrowHorizontally = e._canGrowHorizontally; _canGrowVertically = e._canGrowVertically; _matchParentHeight = e._matchParentHeight; _styleIndex = e._styleIndex; _reportElement = e._reportElement; _baseStyleList = e._baseStyleList; _top = e._top; _left = e._left; _width = e._width; _height = e._height; }
private void RecurseFindReportElements(RdlEngine.ReportElement r, ref List <BoxElement> boxList) { if (_reportElement == r) { boxList.Add(this); return; } foreach (Element e in _childElements) { if (e is BoxElement) { ((BoxElement)e).RecurseFindReportElements(r, ref boxList); } } }
internal BoxElement(BoxElement parent, RdlEngine.ReportElement reportElement, BoxStyle style) : base(parent, reportElement, style) { }
internal BoxElement AddListBoxElement(RdlEngine.ReportElement, RdlEngine.Style style)
internal Container(Container parent, RdlEngine.ReportElement reportElement, BoxStyle style) : base(parent, reportElement, style) { }