Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added CLIENTPIDMAP to ConvertToV3
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 20 Jan 2016 23:19:43 +0000 (23:19 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 20 Jan 2016 23:19:43 +0000 (23:19 +0000)
source/vcard/vcard34conv-v3conv.cpp

index 948649c..a518f8c 100644 (file)
@@ -1713,6 +1713,24 @@ bool vCard34Conv::ConvertToV3(wxString Filename, wxString *wxSData){
 
                        }
                        
+               } else if (wxSProperty.Mid(0, 12) == wxT("CLIENTPIDMAP")){
+               
+                       // Process the Client PID maps.
+                       
+                       int intPrevValue = 14;
+                       
+                       intPrevValue = ;
+                       
+                       if (((QuoteBreakPoint + 1) - intPrevValue) <= 0){
+                        
+                               ContactDatav3.AddRaw(wxT("X-VCARD4-CLIENTPIDMAP"), wxSPropertySeg2);
+
+                       } else {
+                        
+                               ContactDatav3.AddRaw(wxT("X-VCARD4-CLIENTPIDMAP;") + ContactLine.Mid(intPrevValue, ((QuoteBreakPoint + 1) - (intPrevValue + 1))), wxSPropertySeg2);
+
+                       }
+               
                }
                
                // Reset the variables.
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy