LibreOffice Module svx (master) 1
|
#include <galleryobjectcollection.hxx>
Public Member Functions | |
GalleryObjectCollection () | |
std::vector< std::unique_ptr< GalleryObject > > & | getObjectList () |
std::unique_ptr< GalleryObject > & | get (sal_uInt32 nPos) |
const std::unique_ptr< GalleryObject > & | get (sal_uInt32 nPos) const |
sal_uInt32 | size () const |
const GalleryObject * | searchObjectWithURL (const INetURLObject &rURL) |
const GalleryObject * | getForPosition (sal_uInt32 nPos) const |
sal_uInt32 | searchPosWithObject (const GalleryObject *pObj) |
const INetURLObject & | getURLForPosition (sal_uInt32 nPos) const |
void | clear () |
GalleryObjectCollection (GalleryObjectCollection const &)=delete | |
void | operator= (GalleryObjectCollection const &)=delete |
Private Attributes | |
std::vector< std::unique_ptr< GalleryObject > > | m_aObjectList |
Definition at line 47 of file galleryobjectcollection.hxx.
GalleryObjectCollection::GalleryObjectCollection | ( | ) |
Definition at line 22 of file galleryobjectcollection.cxx.
|
delete |
void GalleryObjectCollection::clear | ( | ) |
Definition at line 24 of file galleryobjectcollection.cxx.
References m_aObjectList.
Referenced by GalleryTheme::ReadData(), and GalleryTheme::~GalleryTheme().
|
inline |
Definition at line 55 of file galleryobjectcollection.hxx.
References nPos.
Referenced by GalleryTheme::Actualize(), GalleryTheme::ChangeObjectPos(), getForPosition(), GalleryTheme::GetPreviewBitmapExAndStrings(), getURLForPosition(), GalleryTheme::InsertObject(), searchPosWithObject(), and GalleryTheme::SetPreviewBitmapExAndStrings().
|
inline |
Definition at line 56 of file galleryobjectcollection.hxx.
References nPos.
const GalleryObject * GalleryObjectCollection::getForPosition | ( | sal_uInt32 | nPos | ) | const |
Definition at line 44 of file galleryobjectcollection.cxx.
References get(), nPos, and size().
Referenced by GalleryTheme::AcquireObject(), GalleryTheme::GetGraphic(), GalleryTheme::GetModel(), GalleryTheme::GetModelStream(), GalleryTheme::GetObjectKind(), GalleryTheme::GetURL(), and GalleryFileStorage::writeGalleryTheme().
|
inline |
Definition at line 54 of file galleryobjectcollection.hxx.
Referenced by GalleryTheme::Actualize(), GalleryTheme::ChangeObjectPos(), GalleryFileStorage::implCreateUniqueURL(), GalleryFileStorage::implWriteSgaObject(), GalleryTheme::ReadData(), GalleryFileStorage::removeObject(), GalleryTheme::RemoveObject(), GalleryFileStorage::updateTheme(), and GalleryTheme::~GalleryTheme().
const INetURLObject & GalleryObjectCollection::getURLForPosition | ( | sal_uInt32 | nPos | ) | const |
Definition at line 53 of file galleryobjectcollection.cxx.
References g_aInvalidURL, get(), nPos, and size().
Referenced by GalleryTheme::GetObjectURL().
|
delete |
const GalleryObject * GalleryObjectCollection::searchObjectWithURL | ( | const INetURLObject & | rURL | ) |
Definition at line 26 of file galleryobjectcollection.cxx.
References m_aObjectList, and pObject.
sal_uInt32 GalleryObjectCollection::searchPosWithObject | ( | const GalleryObject * | pObj | ) |
Definition at line 36 of file galleryobjectcollection.cxx.
References get(), i, n, SAL_MAX_UINT32, and size().
Referenced by unogallery::GalleryItem::_getPropertyValues().
|
inline |
Definition at line 57 of file galleryobjectcollection.hxx.
Referenced by GalleryTheme::Actualize(), GalleryTheme::ChangeObjectPos(), getForPosition(), GalleryTheme::GetObjectCount(), getURLForPosition(), GalleryFileStorage::implWriteSgaObject(), GalleryTheme::InsertObject(), searchPosWithObject(), and GalleryFileStorage::writeGalleryTheme().
|
private |
Definition at line 50 of file galleryobjectcollection.hxx.
Referenced by clear(), and searchObjectWithURL().