Exemplo n.º 1
0
        internal override object PublishClone(AutomaticSubtotalContext context, DataRegion newContainingRegion)
        {
            MapMember mapMember = (MapMember)base.PublishClone(context, newContainingRegion);

            if (ChildMapMember != null)
            {
                mapMember.ChildMapMember = (MapMember)ChildMapMember.PublishClone(context, newContainingRegion);
            }
            return(mapMember);
        }
Exemplo n.º 2
0
 internal MapMember(IReportScope reportScope, IDefinitionPath parentDefinitionPath, MapDataRegion owner, MapMember parent, Microsoft.ReportingServices.ReportIntermediateFormat.MapMember memberDef)
     : base(parentDefinitionPath, owner, parent, 0)
 {
     m_memberDef = memberDef;
     if (m_memberDef.IsStatic)
     {
         m_reportScope = reportScope;
     }
     if (m_memberDef.Grouping != null)
     {
         m_group = new Group(owner, m_memberDef, this);
     }
 }
Exemplo n.º 3
0
 public override void Deserialize(IntermediateFormatReader reader)
 {
     base.Deserialize(reader);
     reader.RegisterDeclaration(m_Declaration);
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.MapMember)
         {
             ChildMapMember = (MapMember)reader.ReadRIFObject();
         }
         else
         {
             Global.Tracer.Assert(condition: false);
         }
     }
 }
Exemplo n.º 4
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            MapDataRegion mapDataRegion = (MapDataRegion)(context.CurrentDataRegionClone = (MapDataRegion)base.PublishClone(context));

            mapDataRegion.m_parent        = context.CurrentMapClone;
            mapDataRegion.m_rows          = new MapRowList();
            mapDataRegion.m_rowMembers    = new MapMemberList();
            mapDataRegion.m_columnMembers = new MapMemberList();
            if (MapMember != null)
            {
                mapDataRegion.MapMember = (MapMember)MapMember.PublishClone(context, mapDataRegion);
            }
            if (MapRowMember != null)
            {
                mapDataRegion.MapRowMember = (MapMember)MapRowMember.PublishClone(context);
            }
            if (MapRow != null)
            {
                mapDataRegion.MapRow = (MapRow)MapRow.PublishClone(context);
            }
            return(mapDataRegion);
        }