#include <errno.h>#include <math.h>#include <stdlib.h>#include <string.h>#include "WPS8.h"#include "WPSDocument.h"#include "libwps_internal.h"Defines | |
| #define | WPS8_PAGES_HEADER_OFFSET 0x22 |
| #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 | WPS8_ATTRIBUTE_BOLD 0 |
| #define | WPS8_ATTRIBUTE_ITALICS 1 |
| #define | WPS8_ATTRIBUTE_UNDERLINE 2 |
| #define | WPS8_ATTRIBUTE_STRIKEOUT 3 |
| #define | WPS8_ATTRIBUTE_SUBSCRIPT 4 |
| #define | WPS8_ATTRIBUTE_SUPERSCRIPT 5 |
| #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().
| #define WPS8_ATTRIBUTE_BOLD 0 |
Referenced by WPS8ContentListener::attributeChange(), and WPS8Parser::propertyChangeDelta().
| #define WPS8_ATTRIBUTE_ITALICS 1 |
Referenced by WPS8ContentListener::attributeChange(), and WPS8Parser::propertyChangeDelta().
| #define WPS8_ATTRIBUTE_STRIKEOUT 3 |
Referenced by WPS8ContentListener::attributeChange(), and WPS8Parser::propertyChangeDelta().
| #define WPS8_ATTRIBUTE_SUBSCRIPT 4 |
Referenced by WPS8ContentListener::attributeChange(), and WPS8Parser::propertyChangeDelta().
| #define WPS8_ATTRIBUTE_SUPERSCRIPT 5 |
Referenced by WPS8ContentListener::attributeChange(), and WPS8Parser::propertyChangeDelta().
| #define WPS8_ATTRIBUTE_UNDERLINE 2 |
Referenced by WPS8ContentListener::attributeChange(), and WPS8Parser::propertyChangeDelta().
| #define WPS8_PAGES_HEADER_OFFSET 0x22 |