LibreOffice Module sd (master) 1
|
#include <pptexsoundcollection.hxx>
Public Member Functions | |
bool | IsSameURL (std::u16string_view rURL) const |
sal_uInt32 | GetFileSize () const |
ExSoundEntry (OUString aSoundURL) | |
sal_uInt32 | GetSize (sal_uInt32 nId) const |
void | Write (SvStream &rSt, sal_uInt32 nId) const |
Private Member Functions | |
OUString | ImplGetName () const |
OUString | ImplGetExtension () const |
Private Attributes | |
sal_uInt32 | nFileSize |
OUString | aSoundURL |
Definition at line 34 of file pptexsoundcollection.hxx.
ppt::ExSoundEntry::ExSoundEntry | ( | OUString | aSoundURL | ) |
Definition at line 33 of file pptexsoundcollection.cxx.
References aSoundURL, comphelper::getProcessComponentContext(), ucbhelper::Content::getPropertyValue(), and nFileSize.
|
inline |
Definition at line 45 of file pptexsoundcollection.hxx.
References nFileSize.
Referenced by ppt::ExSoundCollection::GetId().
sal_uInt32 ppt::ExSoundEntry::GetSize | ( | sal_uInt32 | nId | ) | const |
Definition at line 74 of file pptexsoundcollection.cxx.
References aName, ImplGetExtension(), ImplGetName(), nFileSize, and nId.
Referenced by Write().
|
private |
Definition at line 58 of file pptexsoundcollection.cxx.
References aSoundURL, and INetURLObject::GetFileExtension().
|
private |
Definition at line 52 of file pptexsoundcollection.cxx.
References aSoundURL, and INetURLObject::GetLastName().
bool ppt::ExSoundEntry::IsSameURL | ( | std::u16string_view | rURL | ) | const |
Definition at line 69 of file pptexsoundcollection.cxx.
References aSoundURL.
void ppt::ExSoundEntry::Write | ( | SvStream & | rSt, |
sal_uInt32 | nId | ||
) | const |
Definition at line 93 of file pptexsoundcollection.cxx.
References aSoundURL, utl::UcbStreamHelper::CreateStream(), EPP_CString, EPP_Sound, EPP_SoundData, comphelper::getProcessComponentContext(), GetSize(), i, ImplGetExtension(), ImplGetName(), nFileSize, nId, SvStream::WriteBytes(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
|
private |
Definition at line 37 of file pptexsoundcollection.hxx.
Referenced by ExSoundEntry(), ImplGetExtension(), ImplGetName(), IsSameURL(), and Write().
|
private |
Definition at line 36 of file pptexsoundcollection.hxx.
Referenced by ExSoundEntry(), GetFileSize(), GetSize(), and Write().