class

FandocDocWriter

@Js
class FandocDocWriter : Obj, DocWriter

FandocDocWriter outputs a fandoc model to plain text fandoc format

constructors make

fields onLink

Callback to perform link resolution and checking for every Link element

onImage

Callback to perform image link resolution and checking

methods docStart

text

docEnd

elemEnd

elemStart

docEnd virtual Void docEnd(Doc doc)

docStart virtual Void docStart(Doc doc)

elemEnd virtual Void elemEnd(DocElem elem)

elemStart virtual Void elemStart(DocElem elem)

make new make(OutStream out)

onImage |Image|? : onImage

Callback to perform image link resolution and checking

onLink |Link|? : onLink

Callback to perform link resolution and checking for every Link element

text virtual Void text(DocText text)

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST