equal
deleted
inserted
replaced
62 _LIT8( KFollowUpImageName, "follow_up_img"); |
62 _LIT8( KFollowUpImageName, "follow_up_img"); |
63 _LIT8( KFollowUpCompleteImageName, "follow_up_complete_img"); |
63 _LIT8( KFollowUpCompleteImageName, "follow_up_complete_img"); |
64 _LIT8( KPriorityHighImageName, "todo_high_add_img"); |
64 _LIT8( KPriorityHighImageName, "todo_high_add_img"); |
65 _LIT8( KPriorityLowImageName, "todo_low_add_img"); |
65 _LIT8( KPriorityLowImageName, "todo_low_add_img"); |
66 |
66 |
67 _LIT8( KAttachmentSizeUnit, "kb"); |
|
68 _LIT8( KSpace8, " "); |
67 _LIT8( KSpace8, " "); |
69 |
68 |
70 _LIT8( KHTMLImgTagId, "<image id=\"" ); |
69 _LIT8( KHTMLImgTagId, "<image id=\"" ); |
71 _LIT8( KHTMLImgTagSrcBefore, "\" border=\"0\" src=\"" ); |
70 _LIT8( KHTMLImgTagSrcBefore, "\" border=\"0\" src=\"" ); |
72 _LIT8( KHTMLImgTagSrcAfter, "\">" ); |
71 _LIT8( KHTMLImgTagSrcAfter, "\">" ); |
971 iWriteStream.WriteL( *attnName8 ); |
970 iWriteStream.WriteL( *attnName8 ); |
972 CleanupStack::PopAndDestroy( attnName8 ); |
971 CleanupStack::PopAndDestroy( attnName8 ); |
973 |
972 |
974 HBufC* sizeDesc = TFsEmailUiUtility::CreateSizeDescLC(aAttachment.ContentSize(), EFalse); |
973 HBufC* sizeDesc = TFsEmailUiUtility::CreateSizeDescLC(aAttachment.ContentSize(), EFalse); |
975 |
974 |
976 TBuf8<32> sizeText; |
975 TBuf8<48> sizeText; |
977 |
976 |
978 // Add right to left marker as "(" and ")" are messing up the html language markers |
977 // Add right to left marker as "(" and ")" are messing up the html language markers |
979 // and &rlm is only added in mirror layout |
978 // and &rlm is only added in mirror layout |
980 if( iMirrorLayout ) |
979 if( iMirrorLayout ) |
981 { |
980 { |
983 sizeText.Append( _L8( "‏" ) ); |
982 sizeText.Append( _L8( "‏" ) ); |
984 } |
983 } |
985 |
984 |
986 sizeText.Append( KSpace8 ); |
985 sizeText.Append( KSpace8 ); |
987 sizeText.Append( _L8("(") ); |
986 sizeText.Append( _L8("(") ); |
988 sizeText.Append( sizeDesc->Des() ); |
987 HBufC8* sizeDesc8 = CnvUtfConverter::ConvertFromUnicodeToUtf8L( sizeDesc->Des() ); |
|
988 CleanupStack::PushL( sizeDesc8 ); |
|
989 sizeText.Append( sizeDesc8->Des() ); |
|
990 CleanupStack::PopAndDestroy( sizeDesc8 ); |
989 CleanupStack::PopAndDestroy( sizeDesc ); |
991 CleanupStack::PopAndDestroy( sizeDesc ); |
990 sizeText.Append( _L8(")") ); |
992 sizeText.Append( _L8(")") ); |
991 |
993 |
992 if( iMirrorLayout ) |
994 if( iMirrorLayout ) |
993 { |
995 { |