summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX/cmWIXRichTextFormatWriter.h
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2013-12-26 14:23:54 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2013-12-26 14:23:54 (GMT)
commit950d76ed485bd98498fefa1eb63d86bda83d9159 (patch)
treebf7c6e83f3941128c405850431a8223e8ae7739b /Source/CPack/WiX/cmWIXRichTextFormatWriter.h
parentcba6c45410e0742c4b905424524bb5b97b82c356 (diff)
downloadCMake-950d76ed485bd98498fefa1eb63d86bda83d9159.zip
CMake-950d76ed485bd98498fefa1eb63d86bda83d9159.tar.gz
CMake-950d76ed485bd98498fefa1eb63d86bda83d9159.tar.bz2
CPackWiX: allow and convert UTF-8 sequences in RTF writer
Diffstat (limited to 'Source/CPack/WiX/cmWIXRichTextFormatWriter.h')
-rw-r--r--Source/CPack/WiX/cmWIXRichTextFormatWriter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CPack/WiX/cmWIXRichTextFormatWriter.h b/Source/CPack/WiX/cmWIXRichTextFormatWriter.h
index bb8580a..38e40b0 100644
--- a/Source/CPack/WiX/cmWIXRichTextFormatWriter.h
+++ b/Source/CPack/WiX/cmWIXRichTextFormatWriter.h
@@ -30,6 +30,7 @@ public:
private:
void WriteHeader();
void WriteFontTable();
+ void WriteColorTable();
void WriteGenerator();
void WriteDocumentPrefix();
@@ -40,6 +41,11 @@ private:
void StartGroup();
void EndGroup();
+ void EmitUnicodeCodepoint(int c);
+ void EmitUnicodeSurrogate(int c);
+
+ void EmitInvalidCodepoint(int c);
+
std::ofstream File;
};