C# Класс AODL.Document.Content.Text.Header

Header represent a header.
Наследование: IContent, IHtml, ITextContainer, ICloneable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clone ( ) : object

Create a deep clone of this Header object.

A possible Attached Style wouldn't be cloned!

GetHtml ( ) : string

Return the content as Html string

Header ( IDocument document, Headings heading ) : System

Initializes a new instance of the Header class.

Header ( XmlNode headernode, IDocument document ) : System

Initializes a new instance of the Header class.

Приватные методы

Метод Описание
CreateAttribute ( string name, string text, string prefix ) : void

Create a XmlAttribute for propertie XmlNode.

GetAnchor ( ) : string

Gets the html anchor, if the document use a table of contents

GetHeading ( Headings heading ) : string

Gets the heading.

GetHeadingNumber ( ) : string

Gets the heading number, if used via Outline-Level. Support for outline numbering up to deepth of 6, yet.

GetHtmlStyle ( string headingname ) : string

Gets the HTML style.

InitStandards ( ) : void

Inits the standards.

NewXmlNode ( ) : void

Create a new XmlNode.

TextContent_Inserted ( int index, object value ) : void

Append the xml from added IText object.

TextContent_Removed ( int index, object value ) : void

Texts the content_ removed.

Описание методов

Clone() публичный Метод

Create a deep clone of this Header object.
A possible Attached Style wouldn't be cloned!
public Clone ( ) : object
Результат object

GetHtml() публичный Метод

Return the content as Html string
public GetHtml ( ) : string
Результат string

Header() публичный Метод

Initializes a new instance of the Header class.
public Header ( IDocument document, Headings heading ) : System
document IDocument The document.
heading Headings The heading.
Результат System

Header() публичный Метод

Initializes a new instance of the Header class.
public Header ( XmlNode headernode, IDocument document ) : System
headernode System.Xml.XmlNode The headernode.
document IDocument The document.
Результат System