/// <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;
 }
Пример #3
0
 public FootnoteRenderer(DocumentObject domObj, RtfDocumentRenderer docRenderer)
     : base(domObj, docRenderer)
 {
     this.footnote = domObj as Footnote;
 }
Пример #4
0
 /// <summary>
 /// Adds a new Footnote
 /// </summary>
 public void Add(Footnote footnote)
 {
   this.Elements.Add(footnote);
 }
Пример #5
0
 /// <summary>
 /// Adds a new Footnote
 /// </summary>
 public void Add(Footnote footnote)
 {
     Elements.Add(footnote);
 }