We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


This interface allows you to modify the conversion from plain text to HTML.
Inherits from: nsIStreamConverter Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)
Implemented by "@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.



Specifies whether or not to wrap the resulting HTML in an <pre> block.

void preFormatHTML(
  in boolean value
true to wrap the resulting HTML in a <pre> block.


Sets the title to use on the resulting HTML document.

void setTitle(
  in wstring text
Title to set for the HTML document.

Document Tags and Contributors

Contributors to this page: Sheppy, Neil, trevorh
Last updated by: Sheppy,