コード例 #1
0
        public TextRunsImpl(AspNetCore.ReportingServices.ReportIntermediateFormat.Paragraph paragraphDef, AspNetCore.ReportingServices.RdlExpressions.ReportRuntime reportRT, IErrorContext iErrorContext, IScope scope)
        {
            this.m_textBoxDef    = paragraphDef.TextBox;
            this.m_paragraphDef  = paragraphDef;
            this.m_reportRT      = reportRT;
            this.m_iErrorContext = iErrorContext;
            this.m_scope         = scope;
            List <AspNetCore.ReportingServices.ReportIntermediateFormat.TextRun> textRuns = this.m_paragraphDef.TextRuns;

            if (textRuns != null)
            {
                this.m_textRuns = new TextRunImpl[textRuns.Count];
            }
            else
            {
                this.m_textRuns = new TextRunImpl[0];
            }
        }
コード例 #2
0
 public override Paragraph this[int i]
 {
     get
     {
         if (i >= 0 && i < this.Count)
         {
             Paragraph paragraph = this.m_paragraphs[i];
             if (paragraph == null)
             {
                 if (this.m_textBox.IsOldSnapshot)
                 {
                     paragraph = new ShimParagraph(this.m_textBox, this.m_textBox.RenderingContext);
                 }
                 else
                 {
                     AspNetCore.ReportingServices.ReportIntermediateFormat.Paragraph paragraph2 = this.m_textBox.TexBoxDef.Paragraphs[i];
                     paragraph = new InternalParagraph(this.m_textBox, i, paragraph2, this.m_textBox.RenderingContext);
                 }
                 this.m_paragraphs[i] = paragraph;
             }
             return(paragraph);
         }
         throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, i, 0, this.Count);
     }
 }
コード例 #3
0
 public ParagraphImpl(AspNetCore.ReportingServices.ReportIntermediateFormat.Paragraph paragraphDef, AspNetCore.ReportingServices.RdlExpressions.ReportRuntime reportRT, IErrorContext iErrorContext, IScope scope)
 {
     this.m_textRuns = new TextRunsImpl(paragraphDef, reportRT, iErrorContext, scope);
 }
コード例 #4
0
 public override Paragraph this[int index]
 {
     get
     {
         if (index >= 0 && index < this.Count)
         {
             ParagraphImpl paragraphImpl = this.m_paragraphs[index];
             if (paragraphImpl == null)
             {
                 AspNetCore.ReportingServices.ReportIntermediateFormat.Paragraph paragraphDef = this.m_textBoxDef.Paragraphs[index];
                 paragraphImpl            = new ParagraphImpl(paragraphDef, this.m_reportRT, this.m_iErrorContext, this.m_scope);
                 this.m_paragraphs[index] = paragraphImpl;
             }
             return(paragraphImpl);
         }
         throw new ArgumentOutOfRangeException("index");
     }
 }
コード例 #5
0
 public InternalParagraph(TextBox textBox, int indexIntoParentCollectionDef, AspNetCore.ReportingServices.ReportIntermediateFormat.Paragraph paragraph, RenderingContext renderingContext)
     : base(textBox, indexIntoParentCollectionDef, renderingContext)
 {
     this.m_paragraphDef = paragraph;
 }