Commit Graph

8 Commits

Author SHA1 Message Date
sfraser%netscape.com
2e370244a4 No longer need a pres shell for the document encoder; remove it. 1999-08-25 21:42:20 +00:00
akkana%netscape.com
ff7a19a5bd Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
akkana%netscape.com
a3fb11b98f 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
66024861e2 - 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
683648b5be 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
2b9b55f748 Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
akkana%netscape.com
b80a790741 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
fdb319aff9 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00