This interface allows you to modify the conversion from plain text to HTML.
Implemented by
Inherits from:
nsIStreamConverter
Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)"@mozilla.org/streamconv;1?from=text/plain&to=text/html"
. You should normally obtain an instance via the nsIStreamConverterService
interface.
Method overview
void preFormatHTML(in boolean value); |
void setTitle(in wstring text); |
Prior versions of the interface named the methods using the InitialCaps style instead of the interCaps style.
Methods
preFormatHTML()
Specifies whether or not to wrap the resulting HTML in an <pre>
block.
void preFormatHTML( in boolean value );
Parameters
value
true
to wrap the resulting HTML in a<pre>
block.
Requires Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)
setTitle()
Sets the title to use on the resulting HTML document.
void setTitle( in wstring text );
Parameters
text
- Title to set for the HTML document.