internal Microsoft.ReportingServices.Rendering.RichText.Paragraph GetRichTextParagraph() { Microsoft.ReportingServices.Rendering.RichText.Paragraph paragraph = new Microsoft.ReportingServices.Rendering.RichText.Paragraph(this, m_textRuns.Count); for (int i = 0; i < m_textRuns.Count; i++) { Microsoft.ReportingServices.Rendering.RichText.TextRun richTextRun = m_textRuns[i].GetRichTextRun(); if (richTextRun != null) { paragraph.Runs.Add(richTextRun); } } return(paragraph); }
internal Microsoft.ReportingServices.Rendering.RichText.Paragraph GetRichTextParagraph() { Microsoft.ReportingServices.Rendering.RichText.Paragraph paragraph = new Microsoft.ReportingServices.Rendering.RichText.Paragraph(this, m_textRuns.Count); foreach (TextRun textRun in m_textRuns) { Microsoft.ReportingServices.Rendering.RichText.TextRun richTextRun = textRun.GetRichTextRun(); if (richTextRun != null) { paragraph.Runs.Add(richTextRun); } } return(paragraph); }