internal TextRunsImpl(Microsoft.ReportingServices.ReportIntermediateFormat.Paragraph paragraphDef, Microsoft.ReportingServices.RdlExpressions.ReportRuntime reportRT, IErrorContext iErrorContext, IScope scope) { m_textBoxDef = paragraphDef.TextBox; m_paragraphDef = paragraphDef; m_reportRT = reportRT; m_iErrorContext = iErrorContext; m_scope = scope; List <Microsoft.ReportingServices.ReportIntermediateFormat.TextRun> textRuns = m_paragraphDef.TextRuns; if (textRuns != null) { m_textRuns = new TextRunImpl[textRuns.Count]; } else { m_textRuns = new TextRunImpl[0]; } }
public override Paragraph this[int i] { get { if (i < 0 || i >= Count) { throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, i, 0, Count); } Paragraph paragraph = m_paragraphs[i]; if (paragraph == null) { if (m_textBox.IsOldSnapshot) { paragraph = new ShimParagraph(m_textBox, m_textBox.RenderingContext); } else { Microsoft.ReportingServices.ReportIntermediateFormat.Paragraph paragraph2 = m_textBox.TexBoxDef.Paragraphs[i]; paragraph = new InternalParagraph(m_textBox, i, paragraph2, m_textBox.RenderingContext); } m_paragraphs[i] = paragraph; } return(paragraph); } }
internal InternalParagraph(TextBox textBox, int indexIntoParentCollectionDef, Microsoft.ReportingServices.ReportIntermediateFormat.Paragraph paragraph, RenderingContext renderingContext) : base(textBox, indexIntoParentCollectionDef, renderingContext) { m_paragraphDef = paragraph; }
internal ParagraphImpl(Microsoft.ReportingServices.ReportIntermediateFormat.Paragraph paragraphDef, Microsoft.ReportingServices.RdlExpressions.ReportRuntime reportRT, IErrorContext iErrorContext, IScope scope) { m_textRuns = new TextRunsImpl(paragraphDef, reportRT, iErrorContext, scope); }