Commit Graph
18 Commits
Author SHA1 Message Date
kostello@netscape.com 4d87205652 Added support to encode the document as either a nsString or an nsIOutputStream.
In the case of the stream, the document is encoded using the document defined charset
or the user may override the charset.

Added constructors for creating a sink using a nsIOutputStream or an nsString.

Removed all HTML and TEXT encoding which relied on references to ostream. Using John McMullen's
platform independent streaming code in its place. :)
1999-05-03 18:41:23 +00:00
kostello@netscape.com 5546a883ef Added support to use the specified document charset when encoding a
document to HTML to Text. The charset information is first encoded
in XIF and then that information is used when interpretting the unicode
for output.

Added support to output character entity information which should address
bug 4709
1999-04-26 06:16:49 +00:00
harishd@netscape.com 251ceea27a Added Methods BeginContext() and EndContext()
to handle illegal-contents in tables
1999-04-15 20:08:04 +00:00
kostello@netscape.com 811ff5d060 Added nsIHTMLContentSink::DoFragment() method.
Added support for conversion of HTML entities in output
1999-03-15 05:08:36 +00:00
nisheeth@netscape.com 95cc9f6f8a Changed nsIContentSink->NotifyError() to accept an nsParserError argument.
This change is needed for propagating errors from the new
expat parser.
1999-03-06 01:48:11 +00:00
vidur@netscape.com 1257b18f81 Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser. 1998-12-11 17:02:37 +00:00
vidur@netscape.com 08119650b3 Added XML display support. Added NotifyError method to nsIContentSink 1998-11-11 22:04:42 +00:00
rickg@netscape.com caca79a694 changed contentsink API to support XML 1998-11-10 04:20:40 +00:00
kipp@netscape.com c638587fef Removed the PushMark method 1998-08-28 16:18:14 +00:00
pierre@netscape.com 7a3a5602b7 fix build breakage from previous checkin 1998-07-28 05:31:01 +00:00
pierre@netscape.com 3ce9949f56 fix Mac build: include <iosfwd.h> 1998-07-28 04:14:58 +00:00
kostello@netscape.com e41aa53ebc Moved pretty printing interfaces inside implementation of nsHTMLContentSinkStream
Added interfaces to turn pretty printing on/off -- support for copy/paste
1998-07-27 18:16:01 +00:00
rickg@netscape.com b0e2b21712 table bug fixes, heading fixes, performance, docs 1998-07-23 08:21:02 +00:00
kipp@netscape.com 4c4281fa01 Revised sink API's and others to be more xpcom'ish 1998-07-15 22:30:39 +00:00
rickg 1af64ef533 fixed a tinderbox problem introduced in latest contentsinkstream 1998-07-15 00:21:39 +00:00
kostello d1d749a1be Added XIF Support. XIF is a Netscape internal XML format which is
designed to allow for easy conversion from the NGLayoutContent model
to other formats. It's primary focus is to allow easy conversion to
HTML3.2 and HTML4.0 formats. Other formats may be supported in the future.
1998-07-14 22:37:51 +00:00
rickg 2717b5d34d added WIP support for reentrancy in the parser 1998-07-13 21:13:09 +00:00
rickg 241a248569 dynamic DTD support 1998-07-10 05:35:23 +00:00