/// <summary>
 /// Adds a new Footnote.
 /// </summary>
 public Footnote AddFootnote()
 {
   Footnote footnote = new Footnote();
   Add(footnote);
   return footnote;
 }
 /// <summary>
 /// Adds a new Footnote with the specified Text.
 /// </summary>
 public Footnote AddFootnote(string text)
 {
   Footnote footnote = new Footnote();
   Paragraph par = footnote.Elements.AddParagraph();
   par.AddText(text);
   Add(footnote);
   return footnote;
 }
 public FootnoteRenderer(DocumentObject domObj, RtfDocumentRenderer docRenderer)
     : base(domObj, docRenderer)
 {
     this.footnote = domObj as Footnote;
 }
Exemple #4
0
 /// <summary>
 /// Adds a new Footnote
 /// </summary>
 public void Add(Footnote footnote)
 {
   this.Elements.Add(footnote);
 }
Exemple #5
0
 /// <summary>
 /// Adds a new Footnote
 /// </summary>
 public void Add(Footnote footnote)
 {
     Elements.Add(footnote);
 }