WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/txttohtmlconv;1

This component implements the following interfaces:

Constants

PRUint32 mozITXTToHTMLConv.kEntities = 0
PRUint32 mozITXTToHTMLConv.kURLs = 2
PRUint32 mozITXTToHTMLConv.kGlyphSubstitution = 4
PRUint32 mozITXTToHTMLConv.kStructPhrase = 8

Methods

InterfaceMethod
nsIStreamConverter void asyncConvertData ( char* fromType , char* toType , nsIStreamListener listener , nsISupports ctxt )
mozITXTToHTMLConv PRUint32 citeLevelTXT ( PRUnichar* line , out PRUint32 logLineStart )
nsIStreamConverter nsIInputStream convert ( nsIInputStream fromStream , char* fromType , char* toType , nsISupports ctxt )
mozITXTToHTMLConv void findURLInPlaintext ( PRUnichar* text , PRInt32 length , PRInt32 pos , out PRInt32 startPos , out PRInt32 endPos )
nsIStreamListener void onDataAvailable ( nsIRequest request , nsISupports context , nsIInputStream inputStream , PRUint32 offset , PRUint32 count )
nsIRequestObserver void onStartRequest ( nsIRequest request , nsISupports context )
nsIRequestObserver void onStopRequest ( nsIRequest request , nsISupports context , nsresult statusCode )
mozITXTToHTMLConv PRUnichar* scanHTML ( PRUnichar* text , PRUint32 whattodo )
mozITXTToHTMLConv PRUnichar* scanTXT ( PRUnichar* text , PRUint32 whattodo )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com