Ejemplo n.º 1
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            Rectangle rectangle = (Rectangle)base.PublishClone(context);

            if (m_reportItems != null)
            {
                rectangle.m_reportItems = (ReportItemCollection)m_reportItems.PublishClone(context);
            }
            if (m_pageBreak != null)
            {
                rectangle.m_pageBreak = (PageBreak)m_pageBreak.PublishClone(context);
            }
            if (m_pageName != null)
            {
                rectangle.m_pageName = (ExpressionInfo)m_pageName.PublishClone(context);
            }
            return(rectangle);
        }