C# Class AODL.Utils.ContentMocker

Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
CloneAny ( IContent content ) : IContent
CloneContentCollection ( ContentCollection contentCollection ) : ContentCollection

Private Methods

Method Description
CloneCell ( Cell sourceCell ) : Cell

Makes a copy of a cell

CloneColumn ( Column column, Table table ) : Column
CloneParagraph ( Paragraph paragraph ) : Paragraph
CloneRow ( Row row, Table table ) : Row
CloneTable ( Table table ) : Table
ConvertToCM ( string width ) : double
CopyCellContens ( Cell source, Cell destination ) : void
CreateTextDocumentTable ( AODL document, string tableName, string styleName, int rows, int columns, double width, Table originalTable ) : Table

Creates the text document table.

GetColumnCellWidth ( int columns, double tableWith ) : string
GetColumnCount ( Table table ) : int
GetParagraph ( Cell cell ) : Paragraph

Gets paragraph from cell

RowIndex ( Table table, Row row ) : int
SetText ( Cell cell, string text ) : void

Method Details

CloneAny() public method

public CloneAny ( IContent content ) : IContent
content IContent
return IContent

CloneContentCollection() public method

public CloneContentCollection ( ContentCollection contentCollection ) : ContentCollection
contentCollection ContentCollection
return ContentCollection