C# 클래스 AODL.Document.Styles.MasterStyles.MasterPageFactory

Summary for MasterPageFactory.
파일 보기 프로젝트 열기: monsterlabs/HumanRightsTracker 1 사용 예제들

공개 메소드들

메소드 설명
FillFromXMLDocument ( TextDocument textDocument ) : void

Fill/read the existing master page styles.

GetContentHeaderFooter ( XmlNode contentNode, TextDocument textDocument ) : ContentCollection

Gets the content for headers and footers.

MasterPageFactory ( DirInfo dirInfo ) : System
MoveMasterStyles ( XmlDocument contentDocument, XmlNode nodeAutomaticStyles, XmlNode nodeMasterPages, XmlNamespaceManager namespaceMng ) : void

Moves the master styles.

We will move the whole master style and master pages stuff from the style document to the text document. This is necessary for avoiding xml document owner errors. Notice: When the document will be saved this nodes have to move back to the styles document. Otherwise they wont work resp. diplayed not correct within OpenOffice.

RenameMasterStyles ( XmlDocument styleDocument, XmlDocument contentDocument, XmlNamespaceManager namespaceMng ) : void

Rename master styles.

메소드 상세

FillFromXMLDocument() 공개 메소드

Fill/read the existing master page styles.
public FillFromXMLDocument ( TextDocument textDocument ) : void
textDocument AODL.Document.TextDocuments.TextDocument The owner text document.
리턴 void

GetContentHeaderFooter() 공개 메소드

Gets the content for headers and footers.
public GetContentHeaderFooter ( XmlNode contentNode, TextDocument textDocument ) : ContentCollection
contentNode System.Xml.XmlNode The content node.
textDocument AODL.Document.TextDocuments.TextDocument The text document.
리턴 ContentCollection

MasterPageFactory() 공개 메소드

public MasterPageFactory ( DirInfo dirInfo ) : System
dirInfo AODL.Document.Import.OpenDocument.DirInfo
리턴 System

MoveMasterStyles() 공개 정적인 메소드

Moves the master styles.
We will move the whole master style and master pages stuff from the style document to the text document. This is necessary for avoiding xml document owner errors. Notice: When the document will be saved this nodes have to move back to the styles document. Otherwise they wont work resp. diplayed not correct within OpenOffice.
public static MoveMasterStyles ( XmlDocument contentDocument, XmlNode nodeAutomaticStyles, XmlNode nodeMasterPages, XmlNamespaceManager namespaceMng ) : void
contentDocument System.Xml.XmlDocument The content document.
nodeAutomaticStyles System.Xml.XmlNode The node automatic styles.
nodeMasterPages System.Xml.XmlNode The node master pages.
namespaceMng System.Xml.XmlNamespaceManager The namespace MNG.
리턴 void

RenameMasterStyles() 공개 정적인 메소드

Rename master styles.
public static RenameMasterStyles ( XmlDocument styleDocument, XmlDocument contentDocument, XmlNamespaceManager namespaceMng ) : void
styleDocument System.Xml.XmlDocument The style document.
contentDocument System.Xml.XmlDocument The content document.
namespaceMng System.Xml.XmlNamespaceManager The namespace MNG.
리턴 void