Example #1
0
        /// <summary>
        /// Add a section to this container
        /// </summary>
        public RtfSection addSection(SectionStartEnd type, RtfDocument doc)
        {
            var block = new RtfSection(type, doc);

            addBlock(block);
            return(block);
        }
		internal RtfSectionFooter(RtfSection parent)
			: base(true, true, true, true, true)
		{
			if(parent == null)
			{
				throw new Exception("Section footer can only be placed within a section ");
			}
		}
Example #3
0
 internal RtfSectionFooter(RtfSection parent)
     : base(true, true, true, true, true)
 {
     if (parent == null)
     {
         throw new Exception("Section footer can only be placed within a section ");
     }
 }
Example #4
0
		/// <summary>
		/// Add a section to this container
		/// </summary>
		public RtfSection addSection(SectionStartEnd type, RtfDocument doc)
		{
			var block = new RtfSection(type, doc);
			addBlock(block);
			return block;
		}