Пример #1
0
 /**
  * Creates a MarkedObject with a Section or Chapter object.
  * @param section   the marked section
  */
 public MarkedSection(Section section) : base()
 {
     if (section.Title != null)
     {
         title         = new MarkedObject(section.Title);
         section.Title = null;
     }
     this.element = section;
 }
Пример #2
0
 /**
 * Creates a MarkedObject with a Section or Chapter object.
 * @param section   the marked section
 */
 public MarkedSection(Section section)
     : base()
 {
     if (section.Title != null) {
         title = new MarkedObject(section.Title);
         section.Title = null;
     }
     this.element = section;
 }