SectionProperties represent the section properties which is e.g used within a table of contents.
Inheritance: IProperty
Exemplo n.º 1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="SectionStyle"/> class.
		/// </summary>
		/// <param name="document">The document.</param>
		/// <param name="node">The node.</param>
		public SectionStyle(IDocument document, XmlNode node)
		{
			this.Document			= document;
			this.Node				= node;
			this.InitStandards();
			this.SectionProperties	= new SectionProperties(this);
		}
Exemplo n.º 2
0
		/// <summary>
		/// Creates the section properties.
		/// </summary>
		/// <param name="style">The style.</param>
		/// <param name="propertyNode">The property node.</param>
		/// <returns></returns>
		private SectionProperties CreateSectionProperties(IStyle style, XmlNode propertyNode)
		{
			SectionProperties sectionProperties	= new SectionProperties(style);
			sectionProperties.Node				= propertyNode;

			return sectionProperties;
		}
Exemplo n.º 3
0
		/// <summary>
		/// Initializes a new instance of the <see cref="SectionStyle"/> class.
		/// </summary>
		/// <param name="content">The content.</param>
		/// <param name="styleName">Name of the style.</param>
		public SectionStyle(IContent content, string styleName)
		{
			this.Content			= content;
			this.Document			= content.Document;
			this.NewXmlNode(styleName);
			this.InitStandards();
			this.SectionProperties	= new SectionProperties(this);
//			this.Document.Styles.Add(this);
		}