equal
deleted
inserted
replaced
90 public: // From MPbk2ContactNameFormatter2 |
90 public: // From MPbk2ContactNameFormatter2 |
91 |
91 |
92 HBufC* GetContactTitleWithCompanyNameL( |
92 HBufC* GetContactTitleWithCompanyNameL( |
93 const MVPbkBaseContactFieldCollection& aContactFields, |
93 const MVPbkBaseContactFieldCollection& aContactFields, |
94 TUint32 aFormattingFlags ); |
94 TUint32 aFormattingFlags ); |
|
95 |
|
96 public: // From MPbk2ContactNameFormatter3 |
|
97 CVPbkBaseContactFieldTypeListIterator* TitleWithCompanyNameFieldsLC( |
|
98 CVPbkFieldTypeRefsList& aFieldTypeList, |
|
99 const MVPbkBaseContactFieldCollection& aContactFields ); |
|
100 |
95 private: |
101 private: |
96 |
102 |
97 void GetContactTitleWithCompanyName( |
103 void GetContactTitleWithCompanyName( |
98 const MVPbkBaseContactFieldCollection& aContactFields, |
104 const MVPbkBaseContactFieldCollection& aContactFields, |
99 TDes& aTitle, TUint32 aFormattingFlags); |
105 TDes& aTitle, TUint32 aFormattingFlags); |
101 TInt MaxTitleLengthWithCompanyName( |
107 TInt MaxTitleLengthWithCompanyName( |
102 const MVPbkBaseContactFieldCollection& aContactFields, |
108 const MVPbkBaseContactFieldCollection& aContactFields, |
103 const TUint32 aFormattingFlags ); |
109 const TUint32 aFormattingFlags ); |
104 |
110 |
105 TBool IsCompanyNameField(); |
111 TBool IsCompanyNameField(); |
106 |
112 |
|
113 void TitleFieldsL( CVPbkFieldTypeRefsList& aFieldTypeList, |
|
114 const MVPbkBaseContactFieldCollection& aContactFields, |
|
115 const TInt aStartingPosition, const TInt aEndingPosition ); |
|
116 |
107 protected: // Implementation |
117 protected: // Implementation |
108 CPbk2ContactNameFormatter( |
118 CPbk2ContactNameFormatter( |
109 const MVPbkFieldTypeList& aMasterFieldTypeList, |
119 const MVPbkFieldTypeList& aMasterFieldTypeList, |
110 const CPbk2SortOrderManager& aSortOrderManager); |
120 const CPbk2SortOrderManager& aSortOrderManager); |
111 void ConstructL( |
121 void ConstructL( |