HtmlConverter

class HtmlConverter {
int width;
string color;
string backgroundColor;
int olDepth;
int ulDepth;
bool justOutputWhitespace;
bool justOutputBlock;
bool justOutputMargin;
int lineLength;
int[] indentStack;
bool needsIndent;
}

Members

Functions

convert
string convert(string html, bool wantWordWrap, int wrapAmount)
convert
string convert(Element start, bool wantWordWrap, int wrapAmount)
htmlToText
void htmlToText(Element element, bool preformatted, int width)
reset
void reset()

Variables

enableVtOutput
bool enableVtOutput;

Will enable color output using VT codes. Determines color through dom.d's css support, which means you need to apply a stylesheet first.

s
string s;

Meta