The OpenD Programming Language

IFlowDocument

A Flow Document produces output without any box model, in a streamed manner. If something fits, it is included. Honestly, it's already complicated and having boxes and defering rendering is probably better for better results. For example, this rendere can't ever support hyphenation or text justifying. The interface is thought to be able to render Markdown quickly.

Members

Functions

br
void br()

Line break.

enterB
void enterB()

Enter <b>.

enterCode
void enterCode()

Enter <code>.

enterEm
void enterEm()

Enter <em>.

enterH1
void enterH1()

Enter <h1> title.

enterH2
void enterH2()

Enter <h2> title.

enterH3
void enterH3()

Enter <h3> title.

enterH4
void enterH4()

Enter <h4> title.

enterH5
void enterH5()

Enter <h5> title.

enterH6
void enterH6()

Enter <h6> title.

enterI
void enterI()

Enter <i>.

enterImage
void enterImage(const(char)[] relativePath)

Enter <img>.

enterListItem
void enterListItem()

Enter <li>.

enterOrderedList
void enterOrderedList()

Enter <ol>.

enterParagraph
void enterParagraph()

Enter <p>.

enterPre
void enterPre()

Enter <pre>.

enterStrong
void enterStrong()

Enter <strong>.

enterUnorderedList
void enterUnorderedList()

Enter <ul>.

exitB
void exitB()

Exit </b>.

exitCode
void exitCode()

Exit </code>.

exitEm
void exitEm()

Exit </em>.

exitH1
void exitH1()

Exit </h1> title.

exitH2
void exitH2()

Exit </h2> title.

exitH3
void exitH3()

Exit </h3> title.

exitH4
void exitH4()

Exit </h4> title.

exitH5
void exitH5()

Exit </h5> title.

exitH6
void exitH6()

Exit </h6> title.

exitI
void exitI()

Exit </i>.

exitImage
void exitImage()

Exit </img>.

exitListItem
void exitListItem()

Exit </li>.

exitOrderedList
void exitOrderedList()

Exit </ol>.

exitParagraph
void exitParagraph()

Exit </p>.

exitPre
void exitPre()

Exit </pre>.

exitStrong
void exitStrong()

Exit </strong>.

exitUnorderedList
void exitUnorderedList()

Exit </ul>.

finalize
void finalize()

You MUST make that call before getting the bytes output of the renderer. No subsequent can be made with that IFlowDocument.

pageSkip
void pageSkip()

Next page.

text
void text(const(char)[] s)

Output text.

Meta