Exemple #1
0
        public void ConstructReportItemDefinitionImpl()
        {
            base.ConstructReportElementDefinitionImpl();
            ReportItemInstance instance = this.Instance;

            Global.Tracer.Assert(instance != null, "(instance != null)");
            if (instance.ToolTip != null)
            {
                base.ReportItemDef.ToolTip = AspNetCore.ReportingServices.ReportIntermediateFormat.ExpressionInfo.CreateConstExpression(instance.ToolTip);
            }
            else
            {
                base.ReportItemDef.ToolTip = AspNetCore.ReportingServices.ReportIntermediateFormat.ExpressionInfo.CreateEmptyExpression();
            }
            this.m_toolTip = null;
            if (instance.Bookmark != null)
            {
                base.ReportItemDef.Bookmark = AspNetCore.ReportingServices.ReportIntermediateFormat.ExpressionInfo.CreateConstExpression(instance.Bookmark);
            }
            else
            {
                base.ReportItemDef.Bookmark = AspNetCore.ReportingServices.ReportIntermediateFormat.ExpressionInfo.CreateEmptyExpression();
            }
            this.m_bookmark = null;
            if (instance.DocumentMapLabel != null)
            {
                base.ReportItemDef.DocumentMapLabel = AspNetCore.ReportingServices.ReportIntermediateFormat.ExpressionInfo.CreateConstExpression(instance.DocumentMapLabel);
            }
            else
            {
                base.ReportItemDef.DocumentMapLabel = AspNetCore.ReportingServices.ReportIntermediateFormat.ExpressionInfo.CreateEmptyExpression();
            }
            this.m_documentMapLabel = null;
            if (this.m_customProperties != null)
            {
                if (this.m_customProperties.Count == 0)
                {
                    base.m_reportItemDef.CustomProperties = null;
                    this.m_customProperties = null;
                }
                else
                {
                    this.m_customProperties.ConstructCustomPropertyDefinitions(base.m_reportItemDef.CustomProperties);
                }
            }
        }
 public ROMInstanceObjectCreator(ReportItemInstance reportItemInstance)
 {
     this.m_reportItemInstance = reportItemInstance;
 }