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

index a518f8c..9e3f59a 100644 (file)
@@ -1731,6 +1731,24 @@ bool vCard34Conv::ConvertToV3(wxString Filename, wxString *wxSData){
 
                        }
                
+               } else if (wxSProperty.Mid(0, 3) == wxT("XML")){
+               
+                       // Process the XML values.
+                       
+                       int intPrevValue = 14;
+                       
+                       intPrevValue = ;
+                       
+                       if (((QuoteBreakPoint + 1) - intPrevValue) <= 0){
+                        
+                               ContactDatav3.AddRaw(wxT("X-VCARD4-XML"), wxSPropertySeg2);
+
+                       } else {
+                        
+                               ContactDatav3.AddRaw(wxT("X-VCARD4-XML;") + 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