Commit Graph
6 Commits
Author SHA1 Message Date
akkana@netscape.com 3fd1dc7c68 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
akkana@netscape.com c88a4fee5a - New dialog and editor shell API for Insert HTML Source
- Add wrapcolumn setting to document encoders, and use it in the editor
- Fix numbered lists in the html to text sink stream.
1999-06-30 19:26:08 +00:00
kostello@netscape.com f8fe3a254a Akkana set up a service for encoding a document.
This checkin adds the implementations for encoding
HTML and plain text:

nsTextEncoder::EncodeToString(..)
nsHTMLEncoder::EncodeToStream(..)

Hooked these services into the nsHTMLEditor implemenation

We probably want to update the clipboard code to
use the same pattern as in nsHTMLEditor.cpp
1999-06-10 00:35:02 +00:00
akkana@netscape.com 16b1a7f358 Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
akkana@netscape.com 668c2549b7 Split document encoder's Encode() method into a stream method and a string method 1999-06-07 19:32:36 +00:00
akkana@netscape.com 80a4266060 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00