/// <summary>
 /// The write paragraph.
 /// </summary>
 /// <param name="pa">
 /// The pa.
 /// </param>
 public void WriteParagraph(Paragraph pa)
 {
     this.body.AppendChild(CreateParagraph(pa.Text));
 }
 /// <summary>
 /// Writes the paragraph.
 /// </summary>
 /// <param name="p">
 /// The paragraph.
 /// </param>
 public void WriteParagraph(Paragraph p)
 {
     this.WriteElementString("p", p.Text);
 }
 /// <summary>
 /// The write paragraph.
 /// </summary>
 /// <param name="pa">
 /// The pa.
 /// </param>
 public void WriteParagraph(Paragraph pa)
 {
     this.doc.Blocks.Add(this.CreateParagraph(pa.Text, this.Style.BodyTextStyle));
 }
 /// <summary>
 /// The write paragraph.
 /// </summary>
 /// <param name="pa">The pa.</param>
 public void WriteParagraph(Paragraph pa)
 {
     this.body.AppendChild(CreateParagraph(pa.Text));
 }
예제 #5
0
 /// <summary>
 /// The write paragraph.
 /// </summary>
 /// <param name="pa">
 /// The pa.
 /// </param>
 public void WriteParagraph(Paragraph pa)
 {
     this.doc.Blocks.Add(this.CreateParagraph(pa.Text, this.Style.BodyTextStyle));
 }
        /// <summary>
        /// Writes the paragraph.
        /// </summary>
        /// <param name="p">
        /// The p.
        /// </param>
        public void WriteParagraph(Paragraph p)
        {
            foreach (string line in p.Text.SplitLines())
            {
                this.WriteIndentedLine(LatexEncodeText(line));
            }

            this.WriteLine();
        }
        /// <summary>
        /// The write paragraph.
        /// </summary>
        /// <param name="p">
        /// The p.
        /// </param>
        public void WriteParagraph(Paragraph p)
        {
            foreach (string line in p.Text.SplitLines(this.MaxLineLength))
            {
                WriteLine(line);
            }

            this.WriteLine();
        }