Commit Graph
20 Commits
Author SHA1 Message Date
akkana@netscape.com 2910b3ba0e Set default wrap column to 72 instead of 0 1999-09-14 21:32:06 +00:00
akkana@netscape.com 7987678b71 Fix UMRs 1999-09-10 19:12:46 +00:00
akkana@netscape.com 3e07a8f1d8 Remove some redundant logic 1999-09-07 19:13:04 +00:00
sfraser@netscape.com 22f4dc3b43 No longer need a pres shell for the document encoder; remove it. 1999-08-25 21:42:20 +00:00
akkana@netscape.com c359aafe41 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
jband@netscape.com 1a2b8751c6 was neglecting to initialize a member 1999-08-08 02:06:31 +00:00
akkana@netscape.com 91e204def6 Add a working implementation for nsDOMSelection::ContainsNode, and use it in nsDocument::IsInSelection for XIF conversion 1999-07-21 21:29:29 +00:00
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 ea44445873 Fix formatted plaintext output -- it wasn't following prettyprint or wrap length 1999-07-06 23:13:15 +00:00
akkana@netscape.com 7cafb19141 Fix DoPrettyPrint -- turning off prettyprinting was broken 1999-07-02 19:41:40 +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
akkana@netscape.com 5fa969968e - Add a prettyprint flag to the html-to-text sink (false by default).
When prettyprinting is on, we will attempt to make the plaintext
  mimic the look of the html; when off (as for copy/paste), we just
  dump the text with no formatting information.
1999-06-26 00:01:11 +00:00
akkana@netscape.com 4710f19bb0 5924: Fix XIF handling of HTML comments, and also pass through the document's original formatting whitespace 1999-06-24 20:15:52 +00:00
sfraser@netscape.com f0a77518ad Don't release the selection that you didn't addref, mister document encoder. 1999-06-15 23:58:41 +00:00
kostello@netscape.com 4c49032671 Fix build bustage: changed include to be the right case 1999-06-10 01:06:35 +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 096c894bab attempt to fix win build bustage 1999-06-04 23:45:25 +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