C# 클래스 AODL.Document.Export.Html.HTMLContentBuilder

HTMLContentBuilder offer public methods to build HTML element string from AODL OpenDocument objects.
파일 보기 프로젝트 열기: monsterlabs/HumanRightsTracker 1 사용 예제들

공개 메소드들

메소드 설명
GetCellAsHtml ( Cell cell ) : string

Gets the cell as HTML.

GetDrawAreaAsHtml ( DrawArea drawArea ) : string

Gets the draw rectangle as HTML.

GetDrawFrameAsHtml ( Frame frame ) : string

Gets the draw frame as HTML.

GetDrawTextBoxAsHtml ( DrawTextBox drawTextBox ) : string

Gets the draw text box as HTML.

GetFieldAsHtml ( Field f ) : string

Gets a Field as HTML.

GetFormatedTextAsHtml ( FormatedText formatedText ) : string

Gets the formated text as HTML.

GetGraphicAsHtml ( Graphic graphic ) : string

Gets the graphic as HTML.

GetHeadingAsHtml ( Header heading ) : string

Gets the heading as HTML.

GetIContentCollectionAsHtml ( ContentCollection iContentCollection ) : string

Gets the I content collection as HTML.

GetITextCollectionAsHtml ( AODL.Document.Content.Text.ITextCollection iTextCollection, ParagraphStyle paragraphStyle ) : string

Gets the I text collection as HTML.

GetImageMapAsHtml ( ImageMap imageMap ) : string

Gets the image map as HTML.

GetLineBreakAsHtml ( ) : string

Gets the line break as HTML.

GetListAsHtml ( List list ) : string

Gets the list as HTML.

GetListItemAsHtml ( ListItem listItem ) : string

Gets the list item as HTML.

GetMixedContentAsHTML ( ArrayList mixedContent, ParagraphStyle paragraphStyle ) : string

Gets the mixed content as HTML.

GetODFControlAsHtml ( ODFControlRef reference ) : string

Gets a ODFControlRef as HTML.

GetParagraphAsHtml ( Paragraph paragraph ) : string

Gets the paragraph as HTML.

GetRowAsHtml ( Row row ) : string

Gets the row as HTML.

GetTabStopAsHtml ( AODL.Document.Content.Text.TextControl.TabStop tabStop, int tabStopIndex, string htmlStringBefore, ParagraphStyle paragraphStyle ) : string

Gets the tab stop as HTML. Because of the fact that no tabstop html element exist, AODL will try to simulate this with a the non breaking line entity.

GetTableAsHtml ( Table table ) : string

Gets the table as HTML.

GetTableOfContentsAsHtml ( TableOfContents tableOfContents ) : string

Gets the table of contents as HTML.

GetUnknowContentAsHtml ( UnknownContent unknownContent ) : string

Gets the unknow content as HTML. AODL will try to search inside the node of the UnknownContent object for content this could be displayed.

GetUnknowTextContentAsHtml ( UnknownTextContent unknownTextContent ) : string

Gets the unknow text content as HTML. Maybe it's a bibliographic index or something else. The method will try to find text that could be displayed.

GetWhiteSpacesAsHtml ( WhiteSpace whiteSpace ) : string

Gets the white spaces as HTML.

GetXLinkAsHtml ( XLink xLink ) : string

Gets the X link as HTML.

HTMLContentBuilder ( ) : System

Initializes a new instance of the HTMLContentBuilder class.

HTMLContentBuilder ( string graphicTargetFolder ) : System

Initializes a new instance of the HTMLContentBuilder class.

비공개 메소드들

메소드 설명
GetAnchorLink ( string outlineLinkTarget, XLink xLink ) : string

Gets the anchor link.

GetOutlineString ( Header header ) : string

Gets the outline string.

ReplaceControlNodes ( string text ) : string

Replaces the control nodes.

메소드 상세

GetCellAsHtml() 공개 메소드

Gets the cell as HTML.
public GetCellAsHtml ( Cell cell ) : string
cell AODL.Document.Content.Tables.Cell The cell.
리턴 string

GetDrawAreaAsHtml() 공개 메소드

Gets the draw rectangle as HTML.
public GetDrawAreaAsHtml ( DrawArea drawArea ) : string
drawArea AODL.Document.Content.Draw.DrawArea The draw area.
리턴 string

GetDrawFrameAsHtml() 공개 메소드

Gets the draw frame as HTML.
public GetDrawFrameAsHtml ( Frame frame ) : string
frame AODL.Document.Content.Draw.Frame The frame.
리턴 string

GetDrawTextBoxAsHtml() 공개 메소드

Gets the draw text box as HTML.
public GetDrawTextBoxAsHtml ( DrawTextBox drawTextBox ) : string
drawTextBox AODL.Document.Content.Draw.DrawTextBox The draw text box.
리턴 string

GetFieldAsHtml() 공개 메소드

Gets a Field as HTML.
public GetFieldAsHtml ( Field f ) : string
f Field
리턴 string

GetFormatedTextAsHtml() 공개 메소드

Gets the formated text as HTML.
public GetFormatedTextAsHtml ( FormatedText formatedText ) : string
formatedText AODL.Document.Content.Text.FormatedText The formated text.
리턴 string

GetGraphicAsHtml() 공개 메소드

Gets the graphic as HTML.
public GetGraphicAsHtml ( Graphic graphic ) : string
graphic AODL.Document.Content.Draw.Graphic The graphic.
리턴 string

GetHeadingAsHtml() 공개 메소드

Gets the heading as HTML.
public GetHeadingAsHtml ( Header heading ) : string
heading AODL.Document.Content.Text.Header The heading.
리턴 string

GetIContentCollectionAsHtml() 공개 메소드

Gets the I content collection as HTML.
public GetIContentCollectionAsHtml ( ContentCollection iContentCollection ) : string
iContentCollection ContentCollection The i content collection.
리턴 string

GetITextCollectionAsHtml() 공개 메소드

Gets the I text collection as HTML.
public GetITextCollectionAsHtml ( AODL.Document.Content.Text.ITextCollection iTextCollection, ParagraphStyle paragraphStyle ) : string
iTextCollection AODL.Document.Content.Text.ITextCollection The i text collection.
paragraphStyle AODL.Document.Styles.ParagraphStyle The paragraph style.
리턴 string

GetImageMapAsHtml() 공개 메소드

Gets the image map as HTML.
public GetImageMapAsHtml ( ImageMap imageMap ) : string
imageMap AODL.Document.Content.Draw.ImageMap The image map.
리턴 string

GetLineBreakAsHtml() 공개 메소드

Gets the line break as HTML.
public GetLineBreakAsHtml ( ) : string
리턴 string

GetListAsHtml() 공개 메소드

Gets the list as HTML.
public GetListAsHtml ( List list ) : string
list AODL.Document.Content.Text.List The list.
리턴 string

GetListItemAsHtml() 공개 메소드

Gets the list item as HTML.
public GetListItemAsHtml ( ListItem listItem ) : string
listItem AODL.Document.Content.Text.ListItem The list item.
리턴 string

GetMixedContentAsHTML() 공개 메소드

Gets the mixed content as HTML.
public GetMixedContentAsHTML ( ArrayList mixedContent, ParagraphStyle paragraphStyle ) : string
mixedContent System.Collections.ArrayList ArrayList of objects. The objects could be /// IContent or IText.
paragraphStyle AODL.Document.Styles.ParagraphStyle The paragraph style.
리턴 string

GetODFControlAsHtml() 공개 메소드

Gets a ODFControlRef as HTML.
public GetODFControlAsHtml ( ODFControlRef reference ) : string
reference ODFControlRef
리턴 string

GetParagraphAsHtml() 공개 메소드

Gets the paragraph as HTML.
public GetParagraphAsHtml ( Paragraph paragraph ) : string
paragraph AODL.Document.Content.Text.Paragraph The paragraph.
리턴 string

GetRowAsHtml() 공개 메소드

Gets the row as HTML.
public GetRowAsHtml ( Row row ) : string
row AODL.Document.Content.Tables.Row The row.
리턴 string

GetTabStopAsHtml() 공개 메소드

Gets the tab stop as HTML. Because of the fact that no tabstop html element exist, AODL will try to simulate this with a the non breaking line entity.
public GetTabStopAsHtml ( AODL.Document.Content.Text.TextControl.TabStop tabStop, int tabStopIndex, string htmlStringBefore, ParagraphStyle paragraphStyle ) : string
tabStop AODL.Document.Content.Text.TextControl.TabStop The tab stop.
tabStopIndex int The tab stop position from all tabstops from the textcollectio, /// where this tabstop belongs to.
htmlStringBefore string The complete html string before this tabstop.
paragraphStyle AODL.Document.Styles.ParagraphStyle The paragraph style from the enclosing paragraph.
리턴 string

GetTableAsHtml() 공개 메소드

Gets the table as HTML.
public GetTableAsHtml ( Table table ) : string
table AODL.Document.Content.Tables.Table The table.
리턴 string

GetTableOfContentsAsHtml() 공개 메소드

Gets the table of contents as HTML.
public GetTableOfContentsAsHtml ( TableOfContents tableOfContents ) : string
tableOfContents AODL.Document.Content.Text.Indexes.TableOfContents The table of contents.
리턴 string

GetUnknowContentAsHtml() 공개 메소드

Gets the unknow content as HTML. AODL will try to search inside the node of the UnknownContent object for content this could be displayed.
public GetUnknowContentAsHtml ( UnknownContent unknownContent ) : string
unknownContent AODL.Document.Content.UnknownContent Content of the unknown.
리턴 string

GetUnknowTextContentAsHtml() 공개 메소드

Gets the unknow text content as HTML. Maybe it's a bibliographic index or something else. The method will try to find text that could be displayed.
public GetUnknowTextContentAsHtml ( UnknownTextContent unknownTextContent ) : string
unknownTextContent AODL.Document.Content.Text.UnknownTextContent Content of the unknown text.
리턴 string

GetWhiteSpacesAsHtml() 공개 메소드

Gets the white spaces as HTML.
public GetWhiteSpacesAsHtml ( WhiteSpace whiteSpace ) : string
whiteSpace AODL.Document.Content.Text.TextControl.WhiteSpace The white space.
리턴 string

GetXLinkAsHtml() 공개 메소드

Gets the X link as HTML.
public GetXLinkAsHtml ( XLink xLink ) : string
xLink AODL.Document.Content.Text.XLink The x link.
리턴 string

HTMLContentBuilder() 공개 메소드

Initializes a new instance of the HTMLContentBuilder class.
public HTMLContentBuilder ( ) : System
리턴 System

HTMLContentBuilder() 공개 메소드

Initializes a new instance of the HTMLContentBuilder class.
public HTMLContentBuilder ( string graphicTargetFolder ) : System
graphicTargetFolder string The graphic target folder.
리턴 System