/// <summary> /// Writes the start of a figure. /// </summary> /// <param name="f">The figure.</param> /// <returns>A paragraph</returns> protected Paragraph WriteStartFigure(Figure f) { return this.CurrentSection.AddParagraph(); }
/// <summary> /// Writes the figure text. /// </summary> /// <param name="f">The f.</param> /// <param name="pa">The paragraph.</param> protected void WriteEndFigure(Figure f, Paragraph pa) { if (f.FigureText == null) { return; } pa.AddLineBreak(); pa.AddFormattedText(f.GetFullCaption(this.style), "FigureText"); }
/// <summary> /// The write end figure. /// </summary> /// <param name="f"> /// The f. /// </param> /// <param name="pa"> /// The pa. /// </param> public void WriteEndFigure(Figure f, Paragraph pa) { pa.AddLineBreak(); pa.AddFormattedText(f.GetFullCaption(this.style), "FigureText"); }