C# Class AODL.Document.Import.OpenDocument.NodeProcessors.MainContentProcessor

Mostrar archivo Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

CreateContent() public method

Gets the content.
public CreateContent ( XmlNode node ) : IContent
node System.Xml.XmlNode The node to clone and create content from.
return IContent

CreateControlRef() public method

Creates the frame.
public CreateControlRef ( XmlNode refNode ) : ODFControlRef
refNode System.Xml.XmlNode
return AODL.Document.Forms.Controls.ODFControlRef

CreateEventListener() public method

Creates the event listener.
public CreateEventListener ( XmlNode eventListenerNode ) : EventListener
eventListenerNode System.Xml.XmlNode The event listener node.
return AODL.Document.Content.OfficeEvents.EventListener

CreateEventListeners() public method

Creates the event listeners.
public CreateEventListeners ( XmlNode eventListenersNode ) : EventListeners
eventListenersNode System.Xml.XmlNode The event listeners node.
return AODL.Document.Content.OfficeEvents.EventListeners

CreateFrame() public method

Creates the frame.
public CreateFrame ( XmlNode frameNode ) : Frame
frameNode System.Xml.XmlNode The framenode.
return AODL.Document.Content.Draw.Frame

CreateHeader() public method

Creates the header.
public CreateHeader ( XmlNode headernode ) : Header
headernode System.Xml.XmlNode The headernode.
return AODL.Document.Content.Text.Header

CreateMainContent() public method

Creates the content.
public CreateMainContent ( XmlNode node ) : void
node System.Xml.XmlNode The node.
return void

CreateParagraph() public method

Creates the paragraph.
public CreateParagraph ( XmlNode paragraphNode ) : Paragraph
paragraphNode System.Xml.XmlNode The paragraph node.
return AODL.Document.Content.Text.Paragraph

GetMediaType() public method

public GetMediaType ( string ObjectFullPath ) : string
ObjectFullPath string
return string

MainContentProcessor() public method

Initializes a new instance of the MainContentProcessor class.
public MainContentProcessor ( IDocument document ) : System
document IDocument The document.
return System

ReadContentNodes() public method

Reads the content nodes.
public ReadContentNodes ( ) : void
return void