10#ifndef INCLUDED_FILTER_MSFILTER_RTFUTIL_HXX
11#define INCLUDED_FILTER_MSFILTER_RTFUTIL_HXX
14#include <rtl/string.hxx>
15#include <rtl/ustring.hxx>
16#include <rtl/textenc.h>
21#define RTF_MULTIPLIER 65536
32 bool* pSuccess,
bool bUnicode =
true);
42 bool bUnicode =
true);
54 rtl_TextEncoding eDestEnc);
65 SvStream* pStream =
nullptr, sal_uInt32 nLimit = 64);
#define MSFILTER_DLLPUBLIC
OString 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 '}{*' \u...
OString OutChar(sal_Unicode c, int *pUCMode, rtl_TextEncoding eDestEnc, bool *pSuccess, bool bUnicode)
Handles correct unicode and legacy export of a single character.
OString OutString(std::u16string_view rStr, rtl_TextEncoding eDestEnc, bool bUnicode)
Handles correct unicode and legacy export of a string.
bool StripMetafileHeader(const sal_uInt8 *&rpGraphicAry, sal_uInt64 &rSize)
Strips the header of a WMF file.
OString OutHex(sal_uLong nHex, sal_uInt8 nLen)
Outputs a single character in hex form.
bool ExtractOLE2FromObjdata(const OString &rObjdata, SvStream &rOle2)
Extract OLE2 data from an \objdata hex dump.
OString WriteHex(const sal_uInt8 *pData, sal_uInt32 nSize, SvStream *pStream, sal_uInt32 nLimit)
Writes binary data as a hex dump.
int AsHex(char ch)
Get the numeric value of a single character, representing a hex value.