Пример #1
0
 /// <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();
 }
Пример #2
0
        /// <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");
        }
Пример #3
0
 /// <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");
 }