C# Класс AODL.Document.Import.OpenDocument.NodeProcessors.MainContentProcessor

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

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

Метод Описание
CreateContent ( XmlNode node ) : IContent

Gets the content.

CreateControlRef ( XmlNode refNode ) : ODFControlRef

Creates the frame.

CreateEventListener ( XmlNode eventListenerNode ) : EventListener

Creates the event listener.

CreateEventListeners ( XmlNode eventListenersNode ) : EventListeners

Creates the event listeners.

CreateFrame ( XmlNode frameNode ) : Frame

Creates the frame.

CreateHeader ( XmlNode headernode ) : Header

Creates the header.

CreateMainContent ( XmlNode node ) : void

Creates the content.

CreateParagraph ( XmlNode paragraphNode ) : Paragraph

Creates the paragraph.

GetMediaType ( string ObjectFullPath ) : string
MainContentProcessor ( IDocument document ) : System

Initializes a new instance of the MainContentProcessor class.

ReadContentNodes ( ) : void

Reads the content nodes.

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

Метод Описание
AddToCollection ( IContent content, ContentCollection coll ) : void
CreateDrawAreaCircle ( XmlNode drawAreaCircleNode ) : DrawAreaCircle

Creates the draw area circle.

CreateDrawAreaRectangle ( XmlNode drawAreaRectangleNode ) : DrawAreaRectangle

Creates the draw area rectangle.

CreateDrawTextBox ( XmlNode drawTextBoxNode ) : DrawTextBox

Creates the draw text box.

CreateEmbedObject ( XmlNode ObjNode ) : EmbedObject
CreateGraphic ( XmlNode graphicnode ) : Graphic

Creates the graphic.

CreateImageMap ( XmlNode imageMapNode ) : ImageMap

Creates the image map.

CreateList ( XmlNode listNode ) : List

Creates the list.

CreateListItem ( XmlNode node ) : ListItem

Creates the list item.

CreateTable ( XmlNode tableNode ) : Table

Creates the table.

CreateTableCell ( XmlNode node ) : Cell

Creates the table cell.

CreateTableCellSpan ( XmlNode node ) : AODL.Document.Content.Tables.CellSpan

Creates the table cell span.

CreateTableColumn ( XmlNode node ) : Column

Creates the table column.

CreateTableHeaderRow ( XmlNode node ) : RowHeader

Creates the table header row.

CreateTableOfContents ( XmlNode tocNode ) : TableOfContents

Creates the table of contents.

CreateTableRow ( XmlNode node ) : Row

Creates the table row.

GetAValueFromAnAttribute ( XmlNode node, string attributname ) : string

Gets the A value from an attribute.

GetListStyle ( XmlNode node ) : ListStyles

Gets the list style.

LoadFrameGraphic ( Frame frame, Graphic content ) : void
LogNode ( XmlNode node, string msg ) : void

Logs the node.

OnWarning ( AODLWarning warning ) : void
ReadParagraphTextContent ( Paragraph paragraph ) : Paragraph

Reads the content of the paragraph text.

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

CreateContent() публичный метод

Gets the content.
public CreateContent ( XmlNode node ) : IContent
node System.Xml.XmlNode The node to clone and create content from.
Результат IContent

CreateControlRef() публичный метод

Creates the frame.
public CreateControlRef ( XmlNode refNode ) : ODFControlRef
refNode System.Xml.XmlNode
Результат AODL.Document.Forms.Controls.ODFControlRef

CreateEventListener() публичный метод

Creates the event listener.
public CreateEventListener ( XmlNode eventListenerNode ) : EventListener
eventListenerNode System.Xml.XmlNode The event listener node.
Результат AODL.Document.Content.OfficeEvents.EventListener

CreateEventListeners() публичный метод

Creates the event listeners.
public CreateEventListeners ( XmlNode eventListenersNode ) : EventListeners
eventListenersNode System.Xml.XmlNode The event listeners node.
Результат AODL.Document.Content.OfficeEvents.EventListeners

CreateFrame() публичный метод

Creates the frame.
public CreateFrame ( XmlNode frameNode ) : Frame
frameNode System.Xml.XmlNode The framenode.
Результат AODL.Document.Content.Draw.Frame

CreateHeader() публичный метод

Creates the header.
public CreateHeader ( XmlNode headernode ) : Header
headernode System.Xml.XmlNode The headernode.
Результат AODL.Document.Content.Text.Header

CreateMainContent() публичный метод

Creates the content.
public CreateMainContent ( XmlNode node ) : void
node System.Xml.XmlNode The node.
Результат void

CreateParagraph() публичный метод

Creates the paragraph.
public CreateParagraph ( XmlNode paragraphNode ) : Paragraph
paragraphNode System.Xml.XmlNode The paragraph node.
Результат AODL.Document.Content.Text.Paragraph

GetMediaType() публичный метод

public GetMediaType ( string ObjectFullPath ) : string
ObjectFullPath string
Результат string

MainContentProcessor() публичный метод

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

ReadContentNodes() публичный метод

Reads the content nodes.
public ReadContentNodes ( ) : void
Результат void