32 #ifndef __KMAIL_TDEHTMLPARTHTMLWRITER_H__
33 #define __KMAIL_TDEHTMLPARTHTMLWRITER_H__
35 #include "interfaces/htmlwriter.h"
38 #include <tqstringlist.h>
46 class KHtmlPartHtmlWriter : public TQObject, public HtmlWriter {
51 typedef TQMap<TQString, TQString> EmbeddedPartMap;
52 KHtmlPartHtmlWriter( TDEHTMLPart * part,
53 TQObject * parent=0, const char * name = 0 );
54 virtual ~KHtmlPartHtmlWriter();
56 void begin( const TQString & cssDefs );
59 void write( const TQString & str );
60 void queue( const TQString & str );
62 void embedPart( const TQCString & contentId, const TQString & url );
65 void slotWriteNextHtmlChunk();
68 void resolveCidUrls();
71 TDEHTMLPart * mHtmlPart;
72 TQStringList mHtmlQueue;
79 EmbeddedPartMap mEmbeddedPartMap;
|