#include <stdlib.h>#include <string.h>#include "libwps_internal.h"#include "WPSContentListener.h"#include "WPSList.h"#include "WPSPageSpan.h"#include "WPSParagraph.h"#include "WPSSubDocument.h"#include "WPS8.h"Classes | |
| class | WPS8ParserInternal::SubDocument |
| Internal: the subdocument of a WPS8. More... | |
Namespaces | |
| namespace | WPS8ParserInternal |
Macros | |
| #define | SURROGATE_VALUE(h, l) (((h) - 0xd800) * 0x400 + (l) - 0xdc00 + 0x10000) |
| Read an UTF16 character in LE byte ordering, convert it and append it to the text buffer as UTF8. | |
| #define SURROGATE_VALUE | ( | h, | |
| l | |||
| ) | (((h) - 0xd800) * 0x400 + (l) - 0xdc00 + 0x10000) |
Read an UTF16 character in LE byte ordering, convert it and append it to the text buffer as UTF8.
Courtesy of glib2
Referenced by WPS8Parser::appendUTF16LE().