20#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_WW8STTBF_HXX
21#define INCLUDED_SW_SOURCE_FILTER_WW8_WW8STTBF_HXX
26#include <rtl/ustring.hxx>
47 sal_uInt16
getU16(sal_uInt32 nOffset)
48 {
return getU8(nOffset) + (
getU8(nOffset + 1) << 8); }
50 OUString
getUString(sal_uInt32 nOffset, sal_Int32 nCount);
75 sal_uInt32 nOffset = 0;
77 if (
getU16(nOffset) == 0xffff)
84 sal_uInt16 ncbExtra =
getU16(nOffset + 2);
91 sal_uInt16 nStrLen =
getU16(nOffset);
95 nOffset += 2 + 2 * nStrLen;
103 nOffset += 1 + nStrLen;
108 ExtraPointer_t pExtra = std::make_shared<T>(
this, nOffset, ncbExtra);
sal_uInt8 getU8(sal_uInt32 nOffset)
std::shared_ptr< sal_uInt8 > m_pData
sal_uInt16 getU16(sal_uInt32 nOffset)
virtual ~WW8Struct() override
WW8Struct(SvStream &rSt, sal_uInt32 nPos, sal_uInt32 nSize)
OUString getUString(sal_uInt32 nOffset, sal_Int32 nCount)
std::vector< OUString > m_Strings
std::shared_ptr< void > ExtraPointer_t
std::vector< OUString > & getStrings()
WW8Sttb(SvStream &rSt, sal_Int32 nPos, sal_uInt32 nSize)
bool m_bDoubleByteCharacters
virtual ~WW8Sttb() override
std::vector< ExtraPointer_t > m_Extras