netwerk/streamconv/public/nsITXTToHTMLConv.idl

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 #include "nsIStreamConverter.idl"
michael@0 7
michael@0 8 [scriptable, uuid(933355f6-1dd2-11b2-a9b0-d335b9e35983)]
michael@0 9 interface nsITXTToHTMLConv : nsIStreamConverter {
michael@0 10 /**
michael@0 11 * @param text: Title to set for the HTML document. Only applicable if
michael@0 12 * preFormatHTML(true) is called.
michael@0 13 * @result The given title will be used to form an HTML document
michael@0 14 * from the plain text document.
michael@0 15 */
michael@0 16 void setTitle(in wstring text);
michael@0 17
michael@0 18 /**
michael@0 19 * @param value: true to use an HTML header and footer on the document,
michael@0 20 * false to omit it.
michael@0 21 * @result The document will use a header and footer if value is
michael@0 22 * true.
michael@0 23 */
michael@0 24 void preFormatHTML(in boolean value);
michael@0 25 };

mercurial