Ejemplo n.º 1
0
 /// <summary>
 /// Adds a new Bookmark.
 /// </summary>
 public BookmarkField AddBookmark(string name)
 {
   BookmarkField fieldBookmark = new BookmarkField();
   fieldBookmark.Name = name;
   this.Add(fieldBookmark);
   return fieldBookmark;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds a new Bookmark
 /// </summary>
 public void Add(BookmarkField bookmark)
 {
   this.Elements.Add(bookmark);
 }
Ejemplo n.º 3
0
 FormatResult FormatBookmarkField(BookmarkField bookmarkField)
 {
   this.fieldInfos.AddBookmark(bookmarkField.Name);
   return FormatResult.Ignore;
 }
Ejemplo n.º 4
0
 public BookmarkFieldRenderer(DocumentObject domObj, RtfDocumentRenderer docRenderer)
     : base(domObj, docRenderer)
 {
     this.bookmark = domObj as BookmarkField;
 }