Ejemplo n.º 1
0
        internal override bool Initialize(InitializationContext context)
        {
            context.ObjectType = ObjectType;
            context.ObjectName = m_name;
            context.ExprHostBuilder.RectangleStart(m_name);
            m_isSimple = (m_toolTip == null && m_documentMapLabel == null && m_bookmark == null && m_styleClass == null && m_visibility == null);
            base.Initialize(context);
            context.InitializeAbsolutePosition(this);
            if (m_pageBreak != null)
            {
                m_pageBreak.Initialize(context);
            }
            if (m_pageName != null)
            {
                m_pageName.Initialize("PageName", context);
                context.ExprHostBuilder.PageName(m_pageName);
            }
            if (m_visibility != null)
            {
                m_visibility.Initialize(context);
            }
            bool num = context.RegisterVisibility(m_visibility, this);

            context.IsTopLevelCellContents = false;
            m_reportItems.Initialize(context);
            if (num)
            {
                context.UnRegisterVisibility(m_visibility, this);
            }
            base.ExprHostID = context.ExprHostBuilder.RectangleEnd();
            return(false);
        }
Ejemplo n.º 2
0
 internal void Initialize(InitializationContext context)
 {
     context.ExprHostBuilder.GroupStart(m_name);
     m_saveGroupExprValues = context.HasPreviousAggregates;
     DataRendererInitialize(context);
     if (m_groupExpressions != null)
     {
         for (int i = 0; i < m_groupExpressions.Count; i++)
         {
             ExpressionInfo expressionInfo = m_groupExpressions[i];
             expressionInfo.GroupExpressionInitialize(context);
             context.ExprHostBuilder.GroupExpression(expressionInfo);
         }
     }
     if (m_groupLabel != null)
     {
         m_groupLabel.Initialize("Label", context);
         context.ExprHostBuilder.GenericLabel(m_groupLabel);
     }
     if (m_filters != null)
     {
         for (int j = 0; j < m_filters.Count; j++)
         {
             m_filters[j].Initialize(context);
         }
     }
     if (m_parent != null)
     {
         context.ExprHostBuilder.GroupParentExpressionsStart();
         for (int k = 0; k < m_parent.Count; k++)
         {
             ExpressionInfo expressionInfo2 = m_parent[k];
             expressionInfo2.GroupExpressionInitialize(context);
             context.ExprHostBuilder.GroupParentExpression(expressionInfo2);
         }
         context.ExprHostBuilder.GroupParentExpressionsEnd();
     }
     if (m_userSortExpressions != null)
     {
         context.ExprHostBuilder.UserSortExpressionsStart();
         for (int l = 0; l < m_userSortExpressions.Count; l++)
         {
             ExpressionInfo expression = m_userSortExpressions[l];
             context.ExprHostBuilder.UserSortExpression(expression);
         }
         context.ExprHostBuilder.UserSortExpressionsEnd();
     }
     if (m_variables != null && m_variables.Count != 0)
     {
         context.ExprHostBuilder.VariableValuesStart();
         for (int m = 0; m < m_variables.Count; m++)
         {
             Variable variable = m_variables[m];
             variable.Initialize(context);
             context.ExprHostBuilder.VariableValueExpression(variable.Value);
         }
         context.ExprHostBuilder.VariableValuesEnd();
     }
     if (m_pageBreak != null)
     {
         m_pageBreak.Initialize(context);
     }
     if (m_pageName != null)
     {
         m_pageName.Initialize("PageName", context);
         context.ExprHostBuilder.PageName(m_pageName);
     }
     context.ExprHostBuilder.GroupEnd();
 }
Ejemplo n.º 3
0
 internal override bool Initialize(InitializationContext context)
 {
     context.ObjectType = ObjectType;
     context.ObjectName = m_name;
     context.ExprHostBuilder.MapStart(m_name);
     base.Initialize(context);
     if (m_visibility != null)
     {
         m_visibility.Initialize(context);
     }
     context.IsTopLevelCellContents = false;
     if (m_mapViewport != null)
     {
         m_mapViewport.Initialize(context);
     }
     if (m_mapLayers != null)
     {
         for (int i = 0; i < m_mapLayers.Count; i++)
         {
             m_mapLayers[i].Initialize(context);
         }
     }
     if (m_mapLegends != null)
     {
         for (int j = 0; j < m_mapLegends.Count; j++)
         {
             m_mapLegends[j].Initialize(context);
         }
     }
     if (m_mapTitles != null)
     {
         for (int k = 0; k < m_mapTitles.Count; k++)
         {
             m_mapTitles[k].Initialize(context);
         }
     }
     if (m_mapDistanceScale != null)
     {
         m_mapDistanceScale.Initialize(context);
     }
     if (m_mapColorScale != null)
     {
         m_mapColorScale.Initialize(context);
     }
     if (m_mapBorderSkin != null)
     {
         m_mapBorderSkin.Initialize(context);
     }
     if (m_antiAliasing != null)
     {
         m_antiAliasing.Initialize("AntiAliasing", context);
         context.ExprHostBuilder.MapAntiAliasing(m_antiAliasing);
     }
     if (m_textAntiAliasingQuality != null)
     {
         m_textAntiAliasingQuality.Initialize("TextAntiAliasingQuality", context);
         context.ExprHostBuilder.MapTextAntiAliasingQuality(m_textAntiAliasingQuality);
     }
     if (m_shadowIntensity != null)
     {
         m_shadowIntensity.Initialize("ShadowIntensity", context);
         context.ExprHostBuilder.MapShadowIntensity(m_shadowIntensity);
     }
     if (m_tileLanguage != null)
     {
         m_tileLanguage.Initialize("TileLanguage", context);
         context.ExprHostBuilder.MapTileLanguage(m_tileLanguage);
     }
     if (m_mapDataRegions != null)
     {
         for (int l = 0; l < m_mapDataRegions.Count; l++)
         {
             m_mapDataRegions[l].Initialize(context);
         }
     }
     if (m_action != null)
     {
         m_action.Initialize(context);
     }
     if (m_pageBreak != null)
     {
         m_pageBreak.Initialize(context);
     }
     if (m_pageName != null)
     {
         m_pageName.Initialize("PageName", context);
         context.ExprHostBuilder.PageName(m_pageName);
     }
     base.ExprHostID = context.ExprHostBuilder.MapEnd();
     return(false);
 }