format
public void format(Html2Txt html2Txt,
int leftMarginWidth,
de.unkrig.html2txt.Html2Txt.Bulleting bulleting,
int measure,
org.w3c.dom.Element element,
de.unkrig.commons.lang.protocol.Consumer<? super java.lang.CharSequence> output)
throws Html2Txt.HtmlException
Appends lines to the output. The first leftMarginWidth characters of each produced
line are spaces (except for the first line, where the string produced by Html2Txt.Bulleting.next()
is placed in the left margin), followed by up to measure characters.
- Specified by:
format
in interface Html2Txt.BlockElementFormatter
- Throws:
Html2Txt.HtmlException