35 public: |
35 public: |
36 IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, |
36 IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, |
37 RWriteStream& aWriteStream, |
37 RWriteStream& aWriteStream, |
38 TInt aVisibleWidth, |
38 TInt aVisibleWidth, |
39 TInt aScrollPosition, |
39 TInt aScrollPosition, |
40 TBidiText::TDirectionality aDirectionality = TBidiText::ELeftToRight); |
40 const TBool aAutoLoadImages, |
|
41 const TBool aExpanded ); |
41 IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, |
42 IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, |
42 RFile& aFile, |
43 RFile& aFile, |
43 TInt aVisibleWidth, |
44 TInt aVisibleWidth, |
44 TInt aScrollPosition, |
45 TInt aScrollPosition, |
45 TBidiText::TDirectionality aDirectionality = TBidiText::ELeftToRight); |
46 const TBool aAutoLoadImages, |
|
47 const TBool aExpanded ); |
46 IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, |
48 IMPORT_C static void ExportL( CFSMailMessage& aMailMessage, |
47 RFs& aFs, |
49 RFs& aFs, |
48 const TPath& aFilePath, |
50 const TPath& aFilePath, |
49 TInt aVisibleWidth, |
51 TInt aVisibleWidth, |
50 TInt aScrollPosition, |
52 TInt aScrollPosition, |
51 TBidiText::TDirectionality aDirectionality = TBidiText::ELeftToRight); |
53 const TBool aAutoLoadImages, |
|
54 const TBool aExpanded ); |
52 |
55 |
53 IMPORT_C static CFreestyleMessageHeaderHTML* NewL( CFSMailMessage& aMailMessage, |
56 IMPORT_C static CFreestyleMessageHeaderHTML* NewL( CFSMailMessage& aMailMessage, |
54 RWriteStream& aWriteStream, |
57 RWriteStream& aWriteStream, |
55 TInt aVisibleWidth, |
58 TInt aVisibleWidth, |
56 TInt aScrollPosition, |
59 TInt aScrollPosition, |
57 TBidiText::TDirectionality aDirectionality = TBidiText::ELeftToRight |
60 const TBool aAutoLoadImages, |
58 ); |
61 const TBool aExpanded ); |
59 |
62 |
60 ~CFreestyleMessageHeaderHTML(); |
63 ~CFreestyleMessageHeaderHTML(); |
61 |
64 |
62 IMPORT_C void ExportL() const; |
65 IMPORT_C void ExportL() const; |
63 |
66 |
64 private: |
67 private: |
65 CFreestyleMessageHeaderHTML( CFSMailMessage& aMailMessage, |
68 CFreestyleMessageHeaderHTML( CFSMailMessage& aMailMessage, |
66 RWriteStream& aWriteStream, |
69 RWriteStream& aWriteStream, |
67 TInt aVisibleWidth, |
70 TInt aVisibleWidth, |
68 TInt aScrollPosition, |
71 TInt aScrollPosition, |
69 TBidiText::TDirectionality aDirectionality); |
72 const TBool aAutoLoadImages, |
|
73 const TBool aExpanded ); |
70 void ConstructL(); |
74 void ConstructL(); |
71 |
75 |
72 void HTMLStartL() const; |
76 void HTMLStartL() const; |
73 void HTMLEndL() const; |
77 void HTMLEndL() const; |
74 |
78 |
75 void ExportHTMLHeaderL() const; |
79 void ExportHTMLHeaderL() const; |
76 void HTMLHeaderStartL() const; |
80 void HTMLHeaderStartL() const; |
77 void HTMLMetaL() const; |
81 void HTMLMetaL() const; |
78 void HTMLHeaderEndL() const; |
82 void HTMLHeaderEndL() const; |
|
83 |
|
84 void ExportDisplayImagesTableL() const; |
79 |
85 |
80 void ExportHTMLBodyL() const; |
86 void ExportHTMLBodyL() const; |
81 void HTMLBodyStartL() const; |
87 void HTMLBodyStartL() const; |
82 void HTMLBodyEndL() const; |
88 void HTMLBodyEndL() const; |
83 |
89 |