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

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