-
- ProcessSaveData(wxT("TEL"), &strValue2, &boolValue2, &boolValue,
- &iter, &strAddressFinalValue, &ContactData,
- wxT("ALTID"), &ContactEditorData.HomeTelephoneListAltID,
- wxT("PID"), &ContactEditorData.HomeTelephoneListPID,
- wxT("TYPE"), &ContactEditorData.HomeTelephoneListType,
- wxT("PREF"), &ContactEditorData.HomeTelephoneListPref,
- wxT(""), &ContactEditorData.HomeTelephoneListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessTelephoneList.begin();
- iter != ContactEditorData.BusinessTelephoneList.end(); ++iter){
-
- wxString strAddressFinalValue = iter->second;
-
- ProcessCaptureStrings(&strAddressFinalValue);
-
- if (ContactEditorData.BusinessTelephoneListDataType.find(iter->first) !=
- ContactEditorData.BusinessTelephoneListDataType.end()){
-
- std::map<int,wxString>::iterator DataTypeIter = ContactEditorData.BusinessTelephoneListDataType.find(iter->first);
-
- strAddressFinalValue.insert(0, ":");
- strAddressFinalValue.insert(0, DataTypeIter->second);
-
- } else {
-
- strAddressFinalValue.insert(0, "tel:");
-
- }
-
- ProcessSaveData(wxT("TEL"), &strValue2, &boolValue2, &boolValue,
- &iter, &strAddressFinalValue, &ContactData,
- wxT("ALTID"), &ContactEditorData.BusinessTelephoneListAltID,
- wxT("PID"), &ContactEditorData.BusinessTelephoneListPID,
- wxT("TYPE"), &ContactEditorData.BusinessTelephoneListType,
- wxT("PREF"), &ContactEditorData.BusinessTelephoneListPref,
- wxT(""), &ContactEditorData.BusinessTelephoneListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralLanguageList.begin();
- iter != ContactEditorData.GeneralLanguageList.end(); ++iter){
-
- intValue2 = iter->first;
-
- ProcessSaveData(wxT("LANG"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.GeneralLanguageList, &ContactData,
- wxT("ALTID"), &ContactEditorData.GeneralLanguageListAltID,
- wxT("PID"), &ContactEditorData.GeneralLanguageListPID,
- wxT("PREF"), &ContactEditorData.GeneralLanguageListPref,
- wxT(""), &ContactEditorData.GeneralLanguageListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeLanguageList.begin();
- iter != ContactEditorData.HomeLanguageList.end(); ++iter){
-
- ProcessSaveData(wxT("LANG;TYPE=home"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.HomeLanguageList, &ContactData,
- wxT("ALTID"), &ContactEditorData.HomeLanguageListAltID,
- wxT("PID"), &ContactEditorData.HomeLanguageListPID,
- wxT("PREF"), &ContactEditorData.HomeLanguageListPref,
- wxT(""), &ContactEditorData.HomeLanguageListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessLanguageList.begin();
- iter != ContactEditorData.BusinessLanguageList.end(); ++iter){
-
- ProcessSaveData(wxT("LANG;TYPE=work"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.BusinessLanguageList, &ContactData,
- wxT("ALTID"), &ContactEditorData.BusinessLanguageListAltID,
- wxT("PID"), &ContactEditorData.BusinessLanguageListPID,
- wxT("PREF"), &ContactEditorData.BusinessLanguageListPref,
- wxT(""), &ContactEditorData.BusinessLanguageListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralTZList.begin();
- iter != ContactEditorData.GeneralTZList.end(); ++iter){
-
- ProcessSaveData(wxT("TZ"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.GeneralTZList, &ContactData,
- wxT("ALTID"), &ContactEditorData.GeneralTZListAltID,
- wxT("PID"), &ContactEditorData.GeneralTZListPID,
- wxT("MEDIATYPE"), &ContactEditorData.GeneralTZListMediatype,
- wxT("PREF"), &ContactEditorData.GeneralTZListPref,
- wxT(""), &ContactEditorData.GeneralTZListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeTZList.begin();
- iter != ContactEditorData.HomeTZList.end(); ++iter){
-
- ProcessSaveData(wxT("TZ;TYPE=home"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.HomeTZList, &ContactData,
- wxT("ALTID"), &ContactEditorData.HomeTZListAltID,
- wxT("PID"), &ContactEditorData.HomeTZListPID,
- wxT("MEDIATYPE"), &ContactEditorData.HomeTZListMediatype,
- wxT("PREF"), &ContactEditorData.HomeTZListPref,
- wxT(""), &ContactEditorData.HomeTZListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessTZList.begin();
- iter != ContactEditorData.BusinessTZList.end(); ++iter){
-
- ProcessSaveData(wxT("TZ;TYPE=work"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.BusinessTZList, &ContactData,
- wxT("ALTID"), &ContactEditorData.BusinessTZListAltID,
- wxT("PID"), &ContactEditorData.BusinessTZListPID,
- wxT("MEDIATYPE"), &ContactEditorData.BusinessTZListMediatype,
- wxT("PREF"), &ContactEditorData.BusinessTZListPref,
- wxT(""), &ContactEditorData.BusinessTZListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralGeographyList.begin();
- iter != ContactEditorData.GeneralGeographyList.end(); ++iter){
-
- wxString strGeoFinalValue = iter->second;
-
- ProcessCaptureStrings(&strGeoFinalValue);
-
- if (ContactEditorData.GeneralGeographyListDataType.find(iter->first) !=
- ContactEditorData.GeneralGeographyListDataType.end()){
-
- std::map<int,wxString>::iterator DataTypeIter = ContactEditorData.GeneralGeographyListDataType.find(iter->first);
-
- strGeoFinalValue.insert(0, ":");
- strGeoFinalValue.insert(0, DataTypeIter->second);
-
- } else {
-
- strGeoFinalValue.insert(0, "geo:");
-
- }
-
- ProcessSaveData(wxT("GEO"), &strValue2, &boolValue2, &boolValue,
- &iter, &strGeoFinalValue, &ContactData,
- wxT("ALTID"), &ContactEditorData.GeneralGeographyListAltID,
- wxT("PID"), &ContactEditorData.GeneralGeographyListPID,
- wxT("MEDIATYPE"), &ContactEditorData.GeneralGeographyListMediatype,
- wxT("PREF"), &ContactEditorData.GeneralGeographyListPref,
- wxT(""), &ContactEditorData.GeneralGeographyListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeGeographyList.begin();
- iter != ContactEditorData.HomeGeographyList.end(); ++iter){
-
- wxString strGeoFinalValue = iter->second;
-
- ProcessCaptureStrings(&strGeoFinalValue);
-
- if (ContactEditorData.HomeGeographyListDataType.find(iter->first) !=
- ContactEditorData.HomeGeographyListDataType.end()){
-
- std::map<int,wxString>::iterator DataTypeIter = ContactEditorData.HomeGeographyListDataType.find(iter->first);
-
- strGeoFinalValue.insert(0, ":");
- strGeoFinalValue.insert(0, DataTypeIter->second);
-
- } else {
-
- strGeoFinalValue.insert(0, "geo:");
-
- }
-
- ProcessSaveData(wxT("GEO;TYPE=home"), &strValue2, &boolValue2, &boolValue,
- &iter, &strGeoFinalValue, &ContactData,
- wxT("ALTID"), &ContactEditorData.HomeGeographyListAltID,
- wxT("PID"), &ContactEditorData.HomeGeographyListPID,
- wxT("MEDIATYPE"), &ContactEditorData.HomeGeographyListMediatype,
- wxT("PREF"), &ContactEditorData.HomeGeographyListPref,
- wxT(""), &ContactEditorData.HomeGeographyListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessGeographyList.begin();
- iter != ContactEditorData.BusinessGeographyList.end(); ++iter){
-
- wxString strGeoFinalValue = iter->second;
-
- ProcessCaptureStrings(&strGeoFinalValue);
-
- if (ContactEditorData.BusinessGeographyListDataType.find(iter->first) !=
- ContactEditorData.BusinessGeographyListDataType.end()){
-
- std::map<int,wxString>::iterator DataTypeIter = ContactEditorData.BusinessGeographyListDataType.find(iter->first);
-
- strGeoFinalValue.insert(0, ":");
- strGeoFinalValue.insert(0, DataTypeIter->second);
-
- } else {
-
- strGeoFinalValue.insert(0, "geo:");
-
- }
-
- ProcessSaveData(wxT("GEO;TYPE=work"), &strValue2, &boolValue2, &boolValue,
- &iter, &strGeoFinalValue, &ContactData,
- wxT("ALTID"), &ContactEditorData.BusinessGeographyListAltID,
- wxT("PID"), &ContactEditorData.BusinessGeographyListPID,
- wxT("MEDIATYPE"), &ContactEditorData.BusinessGeographyListMediatype,
- wxT("PREF"), &ContactEditorData.BusinessGeographyListPref,
- wxT(""), &ContactEditorData.BusinessGeographyListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralRelatedList.begin();
- iter != ContactEditorData.GeneralRelatedList.end(); ++iter){
-
- ProcessSaveData(wxT("RELATED"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.GeneralRelatedList, &ContactData,
- wxT("ALTID"), &ContactEditorData.GeneralRelatedListAltID,
- wxT("PID"), &ContactEditorData.GeneralRelatedListPID,
- wxT("LANGUAGE"), &ContactEditorData.GeneralRelatedListLanguage,
- wxT("TYPE"), &ContactEditorData.GeneralRelatedListRelType,
- wxT("PREF"), &ContactEditorData.GeneralRelatedListPref,
- wxT(""), &ContactEditorData.GeneralRelatedListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralWebsiteList.begin();
- iter != ContactEditorData.GeneralWebsiteList.end(); ++iter){
-
- ProcessSaveData(wxT("URL"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.GeneralWebsiteList, &ContactData,
- wxT("ALTID"), &ContactEditorData.GeneralWebsiteListAltID,
- wxT("PID"), &ContactEditorData.GeneralWebsiteListPID,
- wxT("MEDIATYPE"), &ContactEditorData.GeneralWebsiteListMediatype,
- wxT("PREF"), &ContactEditorData.GeneralWebsiteListPref,
- wxT(""), &ContactEditorData.GeneralWebsiteListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeWebsiteList.begin();
- iter != ContactEditorData.HomeWebsiteList.end(); ++iter){
-
- ProcessSaveData(wxT("URL;TYPE=home"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.HomeWebsiteList, &ContactData,
- wxT("ALTID"), &ContactEditorData.HomeWebsiteListAltID,
- wxT("PID"), &ContactEditorData.HomeWebsiteListPID,
- wxT("MEDIATYPE"), &ContactEditorData.HomeWebsiteListMediatype,
- wxT("PREF"), &ContactEditorData.HomeWebsiteListPref,
- wxT(""), &ContactEditorData.HomeWebsiteListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessWebsiteList.begin();
- iter != ContactEditorData.BusinessWebsiteList.end(); ++iter){
-
- ProcessSaveData(wxT("URL;TYPE=work"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.BusinessWebsiteList, &ContactData,
- wxT("ALTID"), &ContactEditorData.BusinessWebsiteListAltID,
- wxT("PID"), &ContactEditorData.BusinessWebsiteListPID,
- wxT("MEDIATYPE"), &ContactEditorData.BusinessWebsiteListMediatype,
- wxT("PREF"), &ContactEditorData.BusinessWebsiteListPref,
- wxT(""), &ContactEditorData.BusinessWebsiteListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralTitleList.begin();
- iter != ContactEditorData.GeneralTitleList.end(); ++iter){
-
- ProcessSaveData(wxT("TITLE"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.GeneralTitleList, &ContactData,
- wxT("ALTID"), &ContactEditorData.GeneralTitleListAltID,
- wxT("PID"), &ContactEditorData.GeneralTitleListPID,
- wxT("LANGUAGE"), &ContactEditorData.GeneralTitleListLanguage,
- wxT("PREF"), &ContactEditorData.GeneralTitleListPref,
- wxT(""), &ContactEditorData.GeneralTitleListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeTitleList.begin();
- iter != ContactEditorData.HomeTitleList.end(); ++iter){
-
- ProcessSaveData(wxT("TITLE;TYPE=home"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.HomeTitleList, &ContactData,
- wxT("ALTID"), &ContactEditorData.HomeTitleListAltID,
- wxT("PID"), &ContactEditorData.HomeTitleListPID,
- wxT("LANGUAGE"), &ContactEditorData.HomeTitleListLanguage,
- wxT("PREF"), &ContactEditorData.HomeTitleListPref,
- wxT(""), &ContactEditorData.HomeTitleListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessTitleList.begin();
- iter != ContactEditorData.BusinessTitleList.end(); ++iter){
-
- ProcessSaveData(wxT("TITLE;TYPE=work"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.BusinessTitleList, &ContactData,
- wxT("ALTID"), &ContactEditorData.BusinessTitleListAltID,
- wxT("PID"), &ContactEditorData.BusinessTitleListPID,
- wxT("LANGUAGE"), &ContactEditorData.BusinessTitleListLanguage,
- wxT("PREF"), &ContactEditorData.BusinessTitleListPref,
- wxT(""), &ContactEditorData.BusinessTitleListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralRoleList.begin();
- iter != ContactEditorData.GeneralRoleList.end(); ++iter){
-
- ProcessSaveData(wxT("ROLE"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.GeneralRoleList, &ContactData,
- wxT("ALTID"), &ContactEditorData.GeneralRoleListAltID,
- wxT("PID"), &ContactEditorData.GeneralRoleListPID,
- wxT("LANGUAGE"), &ContactEditorData.GeneralRoleListLanguage,
- wxT("PREF"), &ContactEditorData.GeneralRoleListPref,
- wxT(""), &ContactEditorData.GeneralRoleListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeRoleList.begin();
- iter != ContactEditorData.HomeRoleList.end(); ++iter){
-
- ProcessSaveData(wxT("ROLE;TYPE=home"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.HomeRoleList, &ContactData,
- wxT("ALTID"), &ContactEditorData.HomeRoleListAltID,
- wxT("PID"), &ContactEditorData.HomeRoleListPID,
- wxT("LANGUAGE"), &ContactEditorData.HomeRoleListLanguage,
- wxT("PREF"), &ContactEditorData.HomeRoleListPref,
- wxT(""), &ContactEditorData.HomeRoleListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessRoleList.begin();
- iter != ContactEditorData.BusinessRoleList.end(); ++iter){
-
- ProcessSaveData(wxT("ROLE;TYPE=work"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.BusinessRoleList, &ContactData,
- wxT("ALTID"), &ContactEditorData.BusinessRoleListAltID,
- wxT("PID"), &ContactEditorData.BusinessRoleListPID,
- wxT("LANGUAGE"), &ContactEditorData.BusinessRoleListLanguage,
- wxT("PREF"), &ContactEditorData.BusinessRoleListPref,
- wxT(""), &ContactEditorData.BusinessRoleListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralOrganisationsList.begin();
- iter != ContactEditorData.GeneralOrganisationsList.end(); ++iter){
-
- ProcessSaveData(wxT("ORG"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.GeneralOrganisationsList, &ContactData,
- wxT("ALTID"), &ContactEditorData.GeneralOrganisationsListAltID,
- wxT("PID"), &ContactEditorData.GeneralOrganisationsListPID,
- wxT("LANGUAGE"), &ContactEditorData.GeneralOrganisationsListLanguage,
- wxT("SORT-AS"), &ContactEditorData.GeneralOrganisationsListSortAs,
- wxT("PREF"), &ContactEditorData.GeneralOrganisationsListPref,
- wxT(""), &ContactEditorData.GeneralOrganisationsListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeOrganisationsList.begin();
- iter != ContactEditorData.HomeOrganisationsList.end(); ++iter){
-
- ProcessSaveData(wxT("ORG;TYPE=home"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.HomeOrganisationsList, &ContactData,
- wxT("ALTID"), &ContactEditorData.HomeOrganisationsListAltID,
- wxT("PID"), &ContactEditorData.HomeOrganisationsListPID,
- wxT("LANGUAGE"), &ContactEditorData.HomeOrganisationsListLanguage,
- wxT("SORT-AS"), &ContactEditorData.HomeOrganisationsListSortAs,
- wxT("PREF"), &ContactEditorData.HomeOrganisationsListPref,
- wxT(""), &ContactEditorData.HomeOrganisationsListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessOrganisationsList.begin();
- iter != ContactEditorData.BusinessOrganisationsList.end(); ++iter){
-
- ProcessSaveData(wxT("ORG;TYPE=work"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.BusinessOrganisationsList, &ContactData,
- wxT("ALTID"), &ContactEditorData.BusinessOrganisationsListAltID,
- wxT("PID"), &ContactEditorData.BusinessOrganisationsListPID,
- wxT("LANGUAGE"), &ContactEditorData.BusinessOrganisationsListLanguage,
- wxT("SORT-AS"), &ContactEditorData.BusinessOrganisationsListSortAs,
- wxT("PREF"), &ContactEditorData.BusinessOrganisationsListPref,
- wxT(""), &ContactEditorData.BusinessOrganisationsListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralNoteList.begin();
- iter != ContactEditorData.GeneralNoteList.end(); ++iter){
-
- ProcessSaveData(wxT("NOTE"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.GeneralNoteList, &ContactData,
- wxT("ALTID"), &ContactEditorData.GeneralNoteListAltID,
- wxT("PID"), &ContactEditorData.GeneralNoteListPID,
- wxT("LANGUAGE"), &ContactEditorData.GeneralNoteListLanguage,
- wxT("PREF"), &ContactEditorData.GeneralNoteListPref,
- wxT(""), &ContactEditorData.GeneralNoteListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeNoteList.begin();
- iter != ContactEditorData.HomeNoteList.end(); ++iter){
-
- ProcessSaveData(wxT("NOTE;TYPE=home"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.HomeNoteList, &ContactData,
- wxT("ALTID"), &ContactEditorData.HomeNoteListAltID,
- wxT("PID"), &ContactEditorData.HomeNoteListPID,
- wxT("LANGUAGE"), &ContactEditorData.HomeNoteListLanguage,
- wxT("PREF"), &ContactEditorData.HomeNoteListPref,
- wxT(""), &ContactEditorData.HomeNoteListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessNoteList.begin();
- iter != ContactEditorData.BusinessNoteList.end(); ++iter){
-
- ProcessSaveData(wxT("NOTE;TYPE=work"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.BusinessNoteList, &ContactData,
- wxT("ALTID"), &ContactEditorData.BusinessNoteListAltID,
- wxT("PID"), &ContactEditorData.BusinessNoteListPID,
- wxT("LANGUAGE"), &ContactEditorData.BusinessNoteListLanguage,
- wxT("PREF"), &ContactEditorData.BusinessNoteListPref,
- wxT(""), &ContactEditorData.BusinessNoteListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.CategoriesList.begin();
- iter != ContactEditorData.CategoriesList.end(); ++iter){
-
- ProcessSaveData(wxT("CATEGORIES"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.CategoriesList, &ContactData,
- wxT("ALTID"), &ContactEditorData.CategoriesListAltID,
- wxT("PID"), &ContactEditorData.CategoriesListPID,
- wxT("TYPE"), &ContactEditorData.CategoriesListType,
- wxT("PREF"), &ContactEditorData.CategoriesListPref,
- wxT(""), &ContactEditorData.CategoriesListTokens );
-
- ResetSaveProcessData();
-
- }
-
- // Pictures.
-
- for (std::map<int, std::string>::iterator iter = ContactEditorData.PicturesList.begin();
- iter != ContactEditorData.PicturesList.end(); ++iter){
-
- int intValueIndex = iter->first;
-
- std::map<int, std::string>::iterator stdstriter;
- std::map<int, wxString>::iterator enciter;
-
- striter = ContactEditorData.PicturesListPictureType.find(intValueIndex);
- enciter = ContactEditorData.PicturesListPicEncType.find(intValueIndex);
-
- ProcessSaveData(wxT("PHOTO"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.PicturesList, &striter,
- &enciter, &ContactData,
- wxT("ALTID"), &ContactEditorData.PicturesListAltID,
- wxT("PID"), &ContactEditorData.PicturesListPID,
- wxT("TYPE"), &ContactEditorData.PicturesListType,
- wxT("PREF"), &ContactEditorData.PicturesListPref,
- wxT(""), &ContactEditorData.PicturesListTokens);
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- // Logos.
-
- for (std::map<int, std::string>::iterator iter = ContactEditorData.LogosList.begin();
- iter != ContactEditorData.LogosList.end(); ++iter){
-
- int intValueIndex = iter->first;
-
- std::map<int, std::string>::iterator stdstriter;
- std::map<int, wxString>::iterator enciter;
-
- striter = ContactEditorData.LogosListPictureType.find(intValueIndex);
- enciter = ContactEditorData.LogosListPicEncType.find(intValueIndex);
-
- ProcessSaveData(wxT("LOGO"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.LogosList, &striter,
- &enciter, &ContactData,
- wxT("ALTID"), &ContactEditorData.LogosListAltID,
- wxT("PID"), &ContactEditorData.LogosListPID,
- wxT("TYPE"), &ContactEditorData.LogosListType,
- wxT("PREF"), &ContactEditorData.LogosListPref,
- wxT(""), &ContactEditorData.LogosListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- // Sounds.
-
- for (std::map<int, std::string>::iterator iter = ContactEditorData.SoundsList.begin();
- iter != ContactEditorData.SoundsList.end(); ++iter){
-
- int intValueIndex = iter->first;
-
- std::map<int, std::string>::iterator stdstriter;
- std::map<int, wxString>::iterator enciter;
-
- striter = ContactEditorData.SoundsListAudioType.find(intValueIndex);
- enciter = ContactEditorData.SoundsListAudioEncType.find(intValueIndex);
-
- ProcessSaveData(wxT("SOUND"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.SoundsList, &striter,
- &enciter, &ContactData,
- wxT("ALTID"), &ContactEditorData.SoundsListAltID,
- wxT("PID"), &ContactEditorData.SoundsListPID,
- wxT("TYPE"), &ContactEditorData.SoundsListType,
- wxT("PREF"), &ContactEditorData.SoundsListPref,
- wxT(""), &ContactEditorData.SoundsListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.CalendarList.begin();
- iter != ContactEditorData.CalendarList.end(); ++iter){
-
- ProcessSaveData(wxT("CALURI"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.CalendarList, &ContactData,
- wxT("ALTID"), &ContactEditorData.CalendarListAltID,
- wxT("PID"), &ContactEditorData.CalendarListPID,
- wxT("MEDIATYPE"), &ContactEditorData.CalendarListMediatype,
- wxT("TYPE"), &ContactEditorData.CalendarListType,
- wxT("PREF"), &ContactEditorData.CalendarListPref,
- wxT(""), &ContactEditorData.CalendarListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.CalendarRequestList.begin();
- iter != ContactEditorData.CalendarRequestList.end(); ++iter){
-
- ProcessSaveData(wxT("CALADRURI"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.CalendarRequestList, &ContactData,
- wxT("ALTID"), &ContactEditorData.CalendarRequestListAltID,
- wxT("PID"), &ContactEditorData.CalendarRequestListPID,
- wxT("MEDIATYPE"), &ContactEditorData.CalendarRequestListMediatype,
- wxT("TYPE"), &ContactEditorData.CalendarRequestListType,
- wxT("PREF"), &ContactEditorData.CalendarRequestListPref,
- wxT(""), &ContactEditorData.CalendarRequestListTokens );
-
- ResetSaveProcessData();
-
- }
-
- ResetSaveProcessData();
-
- for (std::map<int,wxString>::iterator iter = ContactEditorData.FreeBusyList.begin();
- iter != ContactEditorData.FreeBusyList.end(); ++iter){
-
- ProcessSaveData(wxT("FBURL"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.FreeBusyList, &ContactData,
- wxT("ALTID"), &ContactEditorData.FreeBusyListAltID,
- wxT("PID"), &ContactEditorData.FreeBusyListPID,
- wxT("MEDIATYPE"), &ContactEditorData.FreeBusyListMediatype,
- wxT("TYPE"), &ContactEditorData.FreeBusyListType,
- wxT("PREF"), &ContactEditorData.FreeBusyListPref,
- wxT(""), &ContactEditorData.FreeBusyListTokens );
-
- ResetSaveProcessData();
-
- }
-
- for (std::map<int, wxString>::iterator iter = ContactEditorData.KeyList.begin();
- iter != ContactEditorData.KeyList.end(); ++iter){
-
- intValue2 = iter->first;
-
- // Get the key information.
-
- std::map<int, wxString>::iterator enciter;
-
- striter = ContactEditorData.KeyListDataType.find(intValue2);
- //enciter = KeyListAudioEncType.find(intValue2);
-
- wxString strValueData;
-
- strValueData = iter->second;
- strValueData.insert(0, wxT("data:") + striter->second + wxT(";base64,"));