LibreOffice Module sd (master) 1
|
#include <propread.hxx>
Public Member Functions | |
Section (const sal_uInt8 *pFMTID) | |
Section (const Section &rSection) | |
Section & | operator= (const Section &rSection) |
bool | GetProperty (sal_uInt32 nId, PropItem &rPropItem) |
void | GetDictionary (PropDictionary &rDict) |
const sal_uInt8 * | GetFMTID () const |
void | Read (SotStorageStream *pStrm) |
Private Member Functions | |
void | AddProperty (sal_uInt32 nId, const sal_uInt8 *pBuf, sal_uInt32 nBufSize) |
Private Attributes | |
sal_uInt16 | mnTextEnc |
std::vector< std::unique_ptr< PropEntry > > | maEntries |
sal_uInt8 | aFMTID [16] |
Definition at line 113 of file propread.hxx.
|
explicit |
Definition at line 212 of file propread.cxx.
Section::Section | ( | const Section & | rSection | ) |
Definition at line 203 of file propread.cxx.
|
private |
void Section::GetDictionary | ( | PropDictionary & | rDict | ) |
Definition at line 262 of file propread.cxx.
References SvStream::good(), i, lcl_getMaxSafeStrLen(), maEntries, mnTextEnc, nId, SvStream::ReadBytes(), SvStream::ReadUInt32(), SvStream::ReadUtf16(), SvStream::remainingSize(), SvStream::Seek(), and STREAM_SEEK_TO_BEGIN.
Referenced by ImplSdPPTImport::Import().
|
inline |
Definition at line 129 of file propread.hxx.
References aFMTID.
bool Section::GetProperty | ( | sal_uInt32 | nId, |
PropItem & | rPropItem | ||
) |
Definition at line 218 of file propread.cxx.
References PropItem::Clear(), maEntries, mnTextEnc, nId, SvStream::Seek(), PropItem::SetTextEncoding(), STREAM_SEEK_TO_BEGIN, and SvStream::WriteBytes().
Referenced by ImplSdPPTImport::Import(), Read(), and SdPPTImport::SdPPTImport().
Definition at line 523 of file propread.cxx.
void Section::Read | ( | SotStorageStream * | pStrm | ) |
Definition at line 311 of file propread.cxx.
References AddProperty(), checkSeek(), GetProperty(), i, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), mnTextEnc, nLength, nPos, SvStream::ReadUInt16(), SvStream::ReadUInt32(), SAL_WARN, VT_BLOB, VT_BLOB_OBJECT, VT_BOOL, VT_BSTR, VT_CF, VT_CLSID, VT_CY, VT_DATE, VT_ERROR, VT_FILETIME, VT_I2, VT_I4, VT_I8, VT_LPSTR, VT_LPWSTR, VT_R4, VT_R8, VT_STORAGE, VT_STORED_OBJECT, VT_STREAM, VT_STREAMED_OBJECT, VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_VARIANT, and VT_VECTOR.
Referenced by PropRead::Read().
|
private |
Definition at line 118 of file propread.hxx.
Referenced by GetFMTID(), operator=(), and Section().
|
private |
Definition at line 116 of file propread.hxx.
Referenced by AddProperty(), GetDictionary(), GetProperty(), operator=(), and Section().
|
private |
Definition at line 115 of file propread.hxx.
Referenced by GetDictionary(), GetProperty(), and Read().