}
+ // Process the CATEGORIES value.
+
+ if (CategoriesList.size() > 0){
+
+ for (int CategoriesListSeek = 0; CategoriesListSeek < CategoriesList.size();
+ CategoriesListSeek++){
+
+ DataLine += "CATEGORIES";
+
+ if (CategoriesListLanguage[CategoriesListSeek].size() > 0){
+
+ DataLine += ";LANGUAGE=";
+ DataLine += CategoriesListLanguage[CategoriesListSeek];
+
+ }
+
+ if (CategoriesListTokens[CategoriesListSeek].size() > 0){
+
+ DataLine += ";";
+ DataLine += CategoriesListTokens[CategoriesListSeek];
+
+ }
+
+ DataLine += ":";
+ DataLine += CategoriesList[CategoriesListSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
+
*SaveData += "END:VEVENT\n";
}
\ No newline at end of file
"ATTENDEE;DIR=\"null:nodata\";SENT-BY=\"mailto:sent.by@example.com\";CN=\"Attendee \n"
" The Third\";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED;LANGUAGE=kw;EXAMPLE=DATA:Atte\n"
" ndee Three\n"
+ "CATEGORIES:CATEGORY ONE, CATEGORY TWO\n"
+ "CATEGORIES;LANGUAGE=en:CATEGORY THREE, CATEGORY FOUR\n"
+ "CATEGORIES;LANGUAGE=en-GB;SAMPLE=TOKEN:CATEGORY FIVE, CATEGORY SIX, CATEGORY \n"
+ " SEVEN\n"
"END:VEVENT\n"
"END:VCARD";