C# Класс AODL.Document.TextDocuments.DocumentStyles

DocumentStyles global Document Style
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
FileName string

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

Метод Описание
CreateNode ( string name, string prefix, TextDocument document ) : XmlNode

Creates the node.

DocumentStyles ( ) : System

Initializes a new instance of the DocumentStyles class.

GetHtmlFooter ( TextDocument document ) : string

Gets the HTML footer.

GetHtmlHeader ( TextDocument document ) : string

Gets the HTML header.

InsertFooter ( Paragraph content, TextDocument document ) : void

Inserts the footer.

InsertHeader ( Paragraph content, TextDocument document ) : void

Inserts the header.

InsertOfficeAutomaticStylesNode ( XmlNode aOfficeAutomaticStyleNode, XmlNamespaceManager xmlNamespaceMng ) : void

Inserts the office automatic styles node into this XML style document.

InsertOfficeMasterStylesNode ( XmlNode aOfficeMasterStyleNode, XmlNamespaceManager xmlNamespaceMng ) : void

Inserts the office master styles node into this XML style document.

InsertOfficeStylesNode ( XmlNode aStyleNode, IDocument document ) : void

Inserts a office styles node.

InsertOfficeStylesNode ( XmlNode aStyleNode, XmlNamespaceManager xmlNamespaceMng ) : void

Inserts the office styles node into this XML style document.

LoadFromFile ( string file ) : void

Loads from file.

New ( ) : void

Load the style from assmebly resource.

New ( TextDocument ownerTextDocument ) : void

Create new document styles document and set the owner text document.

SetOutlineStyle ( int outlineLevel, string numFormat, TextDocument document ) : void

Sets the outline style.

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

Метод Описание
InsertParagraphStyle ( Paragraph content, TextDocument document ) : void

Inserts the paragraph style.

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

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

Creates the node.
public CreateNode ( string name, string prefix, TextDocument document ) : XmlNode
name string The name.
prefix string The prefix.
document TextDocument The prefix.
Результат System.Xml.XmlNode

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

Initializes a new instance of the DocumentStyles class.
public DocumentStyles ( ) : System
Результат System

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

Gets the HTML footer.
public GetHtmlFooter ( TextDocument document ) : string
document TextDocument The document.
Результат string

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

Gets the HTML header.
public GetHtmlHeader ( TextDocument document ) : string
document TextDocument The document.
Результат string

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

Inserts the footer.
public InsertFooter ( Paragraph content, TextDocument document ) : void
content AODL.Document.Content.Text.Paragraph The content.
document TextDocument The document.
Результат void

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

Inserts the header.
public InsertHeader ( Paragraph content, TextDocument document ) : void
content AODL.Document.Content.Text.Paragraph The content.
document TextDocument The document.
Результат void

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

Inserts the office automatic styles node into this XML style document.
public InsertOfficeAutomaticStylesNode ( XmlNode aOfficeAutomaticStyleNode, XmlNamespaceManager xmlNamespaceMng ) : void
aOfficeAutomaticStyleNode System.Xml.XmlNode A office automatic style node.
xmlNamespaceMng System.Xml.XmlNamespaceManager The XML namespace MNG.
Результат void

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

Inserts the office master styles node into this XML style document.
public InsertOfficeMasterStylesNode ( XmlNode aOfficeMasterStyleNode, XmlNamespaceManager xmlNamespaceMng ) : void
aOfficeMasterStyleNode System.Xml.XmlNode A office master style node.
xmlNamespaceMng System.Xml.XmlNamespaceManager The XML namespace MNG.
Результат void

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

Inserts a office styles node.
public InsertOfficeStylesNode ( XmlNode aStyleNode, IDocument document ) : void
aStyleNode System.Xml.XmlNode A style node.
document IDocument The AODL document.
Результат void

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

Inserts the office styles node into this XML style document.
public InsertOfficeStylesNode ( XmlNode aStyleNode, XmlNamespaceManager xmlNamespaceMng ) : void
aStyleNode System.Xml.XmlNode A style node.
xmlNamespaceMng System.Xml.XmlNamespaceManager The XML namespace MNG.
Результат void

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

Loads from file.
public LoadFromFile ( string file ) : void
file string The file.
Результат void

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

Load the style from assmebly resource.
public New ( ) : void
Результат void

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

Create new document styles document and set the owner text document.
public New ( TextDocument ownerTextDocument ) : void
ownerTextDocument TextDocument The owner text document.
Результат void

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

Sets the outline style.
public SetOutlineStyle ( int outlineLevel, string numFormat, TextDocument document ) : void
outlineLevel int The outline level.
numFormat string The num format.
document TextDocument The text document.
Результат void

Описание свойств

FileName публичное статическое свойство

The file name.
public static string FileName
Результат string