Exemple #1
0
        public BoxElement(BoxElement b, bool copyChildren)
            : this(b)
        {
            if (copyChildren)
            {
                foreach (Element e in b._childElements)
                {
                    Element newElement = null;
                    if (e is BoxElement)
                    {
                        newElement = new BoxElement((BoxElement)e, true);
                    }
                    if (e is TextElement)
                    {
                        newElement = new TextElement((TextElement)e);
                    }
                    if (e is ImageElement)
                    {
                        newElement = new ImageElement((ImageElement)e);
                    }

                    newElement.Parent = this;
                    _childElements.Add(newElement);
                }
            }
        }
Exemple #2
0
 public BoxElement(BoxElement b) : base(b)
 {
     _keepTogether  = b._keepTogether;
     _columns       = b._columns;
     _columnSpacing = b._columnSpacing;
     _fixed         = b._fixed;
 }
Exemple #3
0
        internal BoxElement AddBoxElement(RdlEngine.ReportElement reportElement, RdlEngine.Style style)
        {
            BoxElement child = new BoxElement(this, reportElement, new BoxStyle(style));

            _childElements.Add(child);
            return(child);
        }
Exemple #4
0
 internal BoxElement(BoxElement parent, RdlEngine.ReportElement reportElement, BoxStyle style)
     : base(parent, reportElement, style)
 {
 }