24#include <rtl/ustring.hxx>
25#include <com/sun/star/lang/Locale.hpp>
114 bool bResult =
false;
119 bResult = ( bResult && rIo.
Good() );
182 return shift >= 0 &&
shift < short(
sizeof(
short)) * 8 - 1;
197 &&
static_cast<short>(
m_nVersion >> 16 ) == 3
386bool StgEntry::Load(
const void* pFrom, sal_uInt32 nBufSize, sal_uInt64 nUnderlyingStreamSize)
388 if ( nBufSize < 128 )
391 SvMemoryStream r(
const_cast<void *
>(pFrom), nBufSize, StreamMode::READ );
OUString uppercase(const OUString &rStr, sal_Int32 nPos, sal_Int32 nCount) const
sal_Int32 Compare(const StgEntry &) const
void SetLeaf(StgEntryRef, sal_Int32)
void GetName(OUString &rName) const
sal_Int32 GetLeaf(StgEntryRef) const
void SetName(const OUString &)
void SetClassId(const ClsId &)
bool Load(const void *pBuffer, sal_uInt32 nBufSize, sal_uInt64 nUnderlyingStreamSize)
SvStream & WriteInt32(sal_Int32 nInt32)
SvStream & ReadInt16(sal_Int16 &rInt16)
std::size_t WriteBytes(const void *pData, std::size_t nSize)
SvStream & WriteInt16(sal_Int16 nInt16)
SvStream & WriteUChar(unsigned char nChar)
SvStream & WriteUInt16(sal_uInt16 nUInt16)
SvStream & WriteUInt32(sal_uInt32 nUInt32)
SvStream & ReadUInt32(sal_uInt32 &rUInt32)
SvStream & ReadUtf16(sal_Unicode &rUtf16)
sal_uInt64 Seek(sal_uInt64 nPos)
SvStream & ReadInt32(sal_Int32 &rInt32)
std::size_t ReadBytes(void *pData, std::size_t nSize)
SvStream & ReadUInt16(sal_uInt16 &rUInt16)
SvStream & ReadUChar(unsigned char &rChar)
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)
static bool lcl_wontoverflow(short shift)
static bool isKnownSpecial(sal_Int32 nLocation)
SvStream & ReadClsId(SvStream &r, ClsId &rId)
const sal_uInt16 nMaxLegalStr
const sal_uInt8 cStgSignature[8]
SvStream & WriteClsId(SvStream &r, const ClsId &rId)
static OUString ToUpperUnicode(const OUString &rStr)
TOOLS_DLLPUBLIC bool checkSeek(SvStream &rSt, sal_uInt64 nOffset)