Exemplo n.º 1
0
        public override object PublishClone(AutomaticSubtotalContext context)
        {
            MapSubItem mapSubItem = (MapSubItem)base.PublishClone(context);

            if (this.m_mapLocation != null)
            {
                mapSubItem.m_mapLocation = (MapLocation)this.m_mapLocation.PublishClone(context);
            }
            if (this.m_mapSize != null)
            {
                mapSubItem.m_mapSize = (MapSize)this.m_mapSize.PublishClone(context);
            }
            if (this.m_leftMargin != null)
            {
                mapSubItem.m_leftMargin = (ExpressionInfo)this.m_leftMargin.PublishClone(context);
            }
            if (this.m_rightMargin != null)
            {
                mapSubItem.m_rightMargin = (ExpressionInfo)this.m_rightMargin.PublishClone(context);
            }
            if (this.m_topMargin != null)
            {
                mapSubItem.m_topMargin = (ExpressionInfo)this.m_topMargin.PublishClone(context);
            }
            if (this.m_bottomMargin != null)
            {
                mapSubItem.m_bottomMargin = (ExpressionInfo)this.m_bottomMargin.PublishClone(context);
            }
            if (this.m_zIndex != null)
            {
                mapSubItem.m_zIndex = (ExpressionInfo)this.m_zIndex.PublishClone(context);
            }
            return(mapSubItem);
        }
Exemplo n.º 2
0
 public MapSubItem(AspNetCore.ReportingServices.ReportIntermediateFormat.MapSubItem defObject, Map map)
 {
     this.m_defObject = defObject;
     this.m_map       = map;
 }