12 Commits

Author SHA1 Message Date
akkana%netscape.com
b704d40ce3 Fix formatted plaintext output -- it wasn't following prettyprint or wrap length
git-svn-id: svn://10.0.0.236/trunk@38461 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:13:15 +00:00
akkana%netscape.com
e5b828c0ce Fix DoPrettyPrint -- turning off prettyprinting was broken
git-svn-id: svn://10.0.0.236/trunk@38124 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 19:41:40 +00:00
akkana%netscape.com
2fb45d996c - 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.


git-svn-id: svn://10.0.0.236/trunk@37529 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 19:26:08 +00:00
akkana%netscape.com
2300ca567a - 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.


git-svn-id: svn://10.0.0.236/trunk@36966 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 00:01:11 +00:00
akkana%netscape.com
2787dec93c 5924: Fix XIF handling of HTML comments, and also pass through the document's original formatting whitespace
git-svn-id: svn://10.0.0.236/trunk@36697 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 20:15:52 +00:00
sfraser%netscape.com
ecfb2ed35b Don't release the selection that you didn't addref, mister document encoder.
git-svn-id: svn://10.0.0.236/trunk@35553 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:58:41 +00:00
kostello%netscape.com
e3bdb359ea Fix build bustage: changed include to be the right case
git-svn-id: svn://10.0.0.236/trunk@34525 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:06:35 +00:00
kostello%netscape.com
e69948ccbb 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


git-svn-id: svn://10.0.0.236/trunk@34518 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:35:02 +00:00
akkana%netscape.com
ee09a04094 Add Init method to pass in the document and mime type
git-svn-id: svn://10.0.0.236/trunk@34129 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:01:55 +00:00
akkana%netscape.com
3db80acc76 Split document encoder's Encode() method into a stream method and a string method
git-svn-id: svn://10.0.0.236/trunk@34033 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:32:36 +00:00
akkana%netscape.com
3e01b3f572 attempt to fix win build bustage
git-svn-id: svn://10.0.0.236/trunk@33862 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:45:25 +00:00
akkana%netscape.com
5199693c7c Checking in the non-dangerous parts of the XIF document/html encoder
git-svn-id: svn://10.0.0.236/trunk@33681 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:04:08 +00:00