#include <filter/msfilter/msfilterdllapi.h>
#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
#include <rtl/textenc.h>
#include <sal/types.h>
#include <tools/solar.h>
Go to the source code of this file.
|
OString | msfilter::rtfutil::OutHex (sal_uLong nHex, sal_uInt8 nLen) |
| Outputs a single character in hex form. More...
|
|
OString | msfilter::rtfutil::OutChar (sal_Unicode c, int *pUCMode, rtl_TextEncoding eDestEnc, bool *pSuccess, bool bUnicode=true) |
| Handles correct unicode and legacy export of a single character. More...
|
|
OString | msfilter::rtfutil::OutString (std::u16string_view rStr, rtl_TextEncoding eDestEnc, bool bUnicode=true) |
| Handles correct unicode and legacy export of a string. More...
|
|
OString | msfilter::rtfutil::OutStringUpr (std::string_view pToken, std::u16string_view rStr, rtl_TextEncoding eDestEnc) |
| Handles correct unicode and legacy export of a string, when a '{' \upr '{' keyword ansi_text '}{*' \ud '{' keyword Unicode_text '}}}' construct should be used. More...
|
|
int | msfilter::rtfutil::AsHex (char ch) |
| Get the numeric value of a single character, representing a hex value. More...
|
|
OString | msfilter::rtfutil::WriteHex (const sal_uInt8 *pData, sal_uInt32 nSize, SvStream *pStream=nullptr, sal_uInt32 nLimit=64) |
| Writes binary data as a hex dump. More...
|
|
bool | msfilter::rtfutil::ExtractOLE2FromObjdata (const OString &rObjdata, SvStream &rOle2) |
| Extract OLE2 data from an \objdata hex dump. More...
|
|
bool | msfilter::rtfutil::StripMetafileHeader (const sal_uInt8 *&rpGraphicAry, sal_uInt64 &rSize) |
| Strips the header of a WMF file. More...
|
|
◆ RTF_MULTIPLIER
#define RTF_MULTIPLIER 65536 |