コード例 #1
0
        private static void DumpTablix(AspNetCore.ReportingServices.ReportIntermediateFormat.Tablix tablix, StreamWriter stream)
        {
            stream.Write("Name: ");
            stream.WriteLine(tablix.Name);
            stream.WriteLine("<BR>");
            stream.Write("Width: ");
            stream.WriteLine(tablix.Width);
            stream.WriteLine("<BR>");
            stream.Write("Height: ");
            stream.WriteLine(tablix.Height);
            stream.WriteLine("<BR>");
            if (tablix.InScopeTextBoxes != null)
            {
                stream.WriteLine("<font color=\"darkgreen\"><b>TextBoxesInScope:</b></font> <BR>");
                foreach (AspNetCore.ReportingServices.ReportIntermediateFormat.TextBox inScopeTextBox in tablix.InScopeTextBoxes)
                {
                    stream.WriteLine("<font color=\"darkgreen\"><b>" + inScopeTextBox.Name + "</b></font> <BR>");
                }
            }
            stream.Write("<div style='border:solid darkblue 1px;width:");
            stream.Write(tablix.Width);
            stream.Write(";height:");
            stream.Write(tablix.Height);
            stream.WriteLine(";'>");
            stream.WriteLine("<Table cellpadding='0' cellspacing='0' rules='all' border='1'>");
            if (tablix.Corner != null)
            {
                stream.Write("<tr><td colspan='");
                stream.Write(tablix.RowHeaderColumnCount.ToString(CultureInfo.InvariantCulture));
                stream.Write("' rowspan='");
                stream.Write(tablix.ColumnHeaderRowCount.ToString(CultureInfo.InvariantCulture));
                stream.Write("'>Corner</td>");
            }
            Queue <TablixMember> queue = new Queue <TablixMember>();

            if (tablix.TablixColumnMembers != null)
            {
                foreach (TablixMember tablixColumnMember in tablix.TablixColumnMembers)
                {
                    queue.Enqueue(tablixColumnMember);
                }
                SupportabilityRIFVisualizer.DumpTablixMembers(tablix.TablixColumns, queue, stream, 0, 0);
            }
            Global.Tracer.Assert(queue.Count == 0, "(members.Count == 0)");
            int num = 0;

            if (tablix.TablixRowMembers != null)
            {
                foreach (TablixMember tablixRowMember in tablix.TablixRowMembers)
                {
                    SupportabilityRIFVisualizer.DumpTablixMembers(tablix.TablixRows, tablixRowMember, stream, -1, ref num);
                }
            }
            stream.WriteLine("</table>");
            stream.WriteLine("</div>");
        }
コード例 #2
0
 public Tablix(IDefinitionPath parentDefinitionPath, int indexIntoParentCollectionDef, AspNetCore.ReportingServices.ReportIntermediateFormat.Tablix reportItemDef, RenderingContext renderingContext)
     : base(parentDefinitionPath, indexIntoParentCollectionDef, reportItemDef, renderingContext)
 {
 }
コード例 #3
0
 public RuntimeTablixObj(IReference <IScope> outerScope, AspNetCore.ReportingServices.ReportIntermediateFormat.Tablix tablixDef, ref DataActions dataAction, OnDemandProcessingContext odpContext, bool onePassProcess)
     : base(outerScope, (AspNetCore.ReportingServices.ReportIntermediateFormat.DataRegion)tablixDef, ref dataAction, odpContext, onePassProcess, AspNetCore.ReportingServices.ReportProcessing.ObjectType.Tablix)
 {
 }