C# Class AODL.Document.TextDocuments.DocumentStyles

DocumentStyles global Document Style
Afficher le fichier Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Méthodes publiques

Свойство Type Description
FileName string

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
InsertParagraphStyle ( Paragraph content, TextDocument document ) : void

Inserts the paragraph style.

Method Details

CreateNode() public méthode

Creates the node.
public CreateNode ( string name, string prefix, TextDocument document ) : XmlNode
name string The name.
prefix string The prefix.
document TextDocument The prefix.
Résultat System.Xml.XmlNode

DocumentStyles() public méthode

Initializes a new instance of the DocumentStyles class.
public DocumentStyles ( ) : System
Résultat System

GetHtmlFooter() public méthode

Gets the HTML footer.
public GetHtmlFooter ( TextDocument document ) : string
document TextDocument The document.
Résultat string

GetHtmlHeader() public méthode

Gets the HTML header.
public GetHtmlHeader ( TextDocument document ) : string
document TextDocument The document.
Résultat string

InsertFooter() public méthode

Inserts the footer.
public InsertFooter ( Paragraph content, TextDocument document ) : void
content AODL.Document.Content.Text.Paragraph The content.
document TextDocument The document.
Résultat void

InsertHeader() public méthode

Inserts the header.
public InsertHeader ( Paragraph content, TextDocument document ) : void
content AODL.Document.Content.Text.Paragraph The content.
document TextDocument The document.
Résultat void

InsertOfficeAutomaticStylesNode() public méthode

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.
Résultat void

InsertOfficeMasterStylesNode() public méthode

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.
Résultat void

InsertOfficeStylesNode() public méthode

Inserts a office styles node.
public InsertOfficeStylesNode ( XmlNode aStyleNode, IDocument document ) : void
aStyleNode System.Xml.XmlNode A style node.
document IDocument The AODL document.
Résultat void

InsertOfficeStylesNode() public méthode

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.
Résultat void

LoadFromFile() public méthode

Loads from file.
public LoadFromFile ( string file ) : void
file string The file.
Résultat void

New() public méthode

Load the style from assmebly resource.
public New ( ) : void
Résultat void

New() public méthode

Create new document styles document and set the owner text document.
public New ( TextDocument ownerTextDocument ) : void
ownerTextDocument TextDocument The owner text document.
Résultat void

SetOutlineStyle() public méthode

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.
Résultat void

Property Details

FileName public_oe static_oe property

The file name.
public static string FileName
Résultat string