25#include <unordered_map>
41 ImageList(
const std::vector<OUString>& rNameVector,
42 const OUString& rPrefix);
45 const std::vector< OUString > &rNameVector );
49 void AddImage(
const OUString& rImageName,
const Image& rImage );
57 sal_uInt16
GetImagePos( std::u16string_view rImageName )
const;
62 void GetImageNames( ::std::vector< OUString >& rNames )
const;
66 std::vector< std::unique_ptr<ImageAryData> >
maImages;
67 std::unordered_map< OUString, ImageAryData * >
maNameHash;
71 void ImplAddImage( std::u16string_view aPrefix,
const OUString &aName, sal_uInt16 nId,
const Image &aImage );
void AddImage(const OUString &rImageName, const Image &rImage)
void ReplaceImage(const OUString &rImageName, const Image &rImage)
sal_uInt16 ImplGetImageId(const OUString &rImageName) const
sal_uInt16 GetImagePos(std::u16string_view rImageName) const
Image GetImage(const OUString &rImageName) const
sal_uInt16 GetImageId(sal_uInt16 nPos) const
const OUString & GetImageName(sal_uInt16 nPos) const
std::unordered_map< OUString, ImageAryData * > maNameHash
BitmapEx GetAsHorizontalStrip() const
void ImplAddImage(std::u16string_view aPrefix, const OUString &aName, sal_uInt16 nId, const Image &aImage)
void GetImageNames(::std::vector< OUString > &rNames) const
void RemoveImage(sal_uInt16 nId)
void ImplRemoveImage(sal_uInt16 nPos)
std::vector< std::unique_ptr< ImageAryData > > maImages
void InsertFromHorizontalStrip(const BitmapEx &rBitmapEx, const std::vector< OUString > &rNameVector)
sal_uInt16 GetImageCount() const