Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }