Beispiel #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;
 }
Beispiel #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;
 }
 /// <summary>
 /// Creates a MarkedObject with a Section or Chapter object.
 /// </summary>
 /// <param name="section">the marked section</param>
 public MarkedSection(Section section)
 {
     if (section.Title != null)
     {
         title         = new MarkedObject(section.Title);
         section.Title = null;
     }
     Element = section;
 }