LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
ww8::WW8Struct Class Reference

#include <WW8Sttbf.hxx>

Inheritance diagram for ww8::WW8Struct:
[legend]
Collaboration diagram for ww8::WW8Struct:
[legend]

Public Member Functions

 WW8Struct (SvStream &rSt, sal_uInt32 nPos, sal_uInt32 nSize)
 
 WW8Struct (WW8Struct const *pStruct, sal_uInt32 nPos, sal_uInt32 nSize)
 
virtual ~WW8Struct () override
 
sal_uInt8 getU8 (sal_uInt32 nOffset)
 
sal_uInt16 getU16 (sal_uInt32 nOffset)
 
OUString getUString (sal_uInt32 nOffset, sal_Int32 nCount)
 
- Public Member Functions inherited from sw::ExternalData
virtual ~ExternalData ()
 

Private Attributes

std::shared_ptr< sal_uInt8m_pData
 
sal_uInt32 mn_offset
 
sal_uInt32 mn_size
 

Detailed Description

Definition at line 34 of file WW8Sttbf.hxx.

Constructor & Destructor Documentation

◆ WW8Struct() [1/2]

ww8::WW8Struct::WW8Struct ( SvStream rSt,
sal_uInt32  nPos,
sal_uInt32  nSize 
)

◆ WW8Struct() [2/2]

ww8::WW8Struct::WW8Struct ( WW8Struct const *  pStruct,
sal_uInt32  nPos,
sal_uInt32  nSize 
)

Definition at line 48 of file WW8Sttbf.cxx.

References m_pData, and nPos.

◆ ~WW8Struct()

ww8::WW8Struct::~WW8Struct ( )
overridevirtual

Definition at line 54 of file WW8Sttbf.cxx.

Member Function Documentation

◆ getU16()

sal_uInt16 ww8::WW8Struct::getU16 ( sal_uInt32  nOffset)
inline

Definition at line 47 of file WW8Sttbf.hxx.

References getU8().

Referenced by getUString(), and ww8::WW8Sttb< T >::WW8Sttb().

◆ getU8()

sal_uInt8 ww8::WW8Struct::getU8 ( sal_uInt32  nOffset)

Definition at line 58 of file WW8Sttbf.cxx.

References m_pData, mn_offset, and mn_size.

Referenced by getU16(), and ww8::WW8Sttb< T >::WW8Sttb().

◆ getUString()

OUString ww8::WW8Struct::getUString ( sal_uInt32  nOffset,
sal_Int32  nCount 
)

Definition at line 70 of file WW8Sttbf.cxx.

References aBuf, getU16(), i, o3tl::make_unsigned(), mn_offset, mn_size, nCount, and SAL_INFO.

Referenced by ww8::WW8Sttb< T >::WW8Sttb().

Member Data Documentation

◆ m_pData

std::shared_ptr<sal_uInt8> ww8::WW8Struct::m_pData
private

Definition at line 36 of file WW8Sttbf.hxx.

Referenced by getU8(), and WW8Struct().

◆ mn_offset

sal_uInt32 ww8::WW8Struct::mn_offset
private

Definition at line 37 of file WW8Sttbf.hxx.

Referenced by getU8(), and getUString().

◆ mn_size

sal_uInt32 ww8::WW8Struct::mn_size
private

Definition at line 38 of file WW8Sttbf.hxx.

Referenced by getU8(), getUString(), and WW8Struct().


The documentation for this class was generated from the following files: