51 return !rThemeList.empty();
72 return !rObjList.empty();
100 OUString aTitle( pObj->GetTitle() );
101 rList.push_back( aTitle );
107 return !rList.empty();
123 DBG_ASSERT(
aURL.GetProtocol() != INetProtocol::NotValid,
"invalid URL" );
214 if( nActPos++ == nSdrModelPos )
220 bRet = bRet || pTheme->
GetThumb(
i, *pThumb );
276 const bool bReleaseLockedTheme = pTheme->
UnlockTheme();
281 if( bReleaseLockedTheme )
static bool FillThemeList(std::vector< OUString > &rThemeList)
static bool EndLocking(std::u16string_view rThemeName)
static sal_uInt32 GetSdrObjCount(std::u16string_view rThemeName)
static bool FillObjListTitle(const sal_uInt32 nThemeId, std::vector< OUString > &rList)
static bool GetGraphicObj(std::u16string_view rThemeName, sal_uInt32 nPos, Graphic *pGraphic)
static bool GetSdrObj(std::u16string_view rThemeName, sal_uInt32 nSdrModelPos, SdrModel *pModel, BitmapEx *pThumb=nullptr)
static bool FillObjList(std::u16string_view rThemeName, std::vector< OUString > &rObjList)
static bool InsertURL(std::u16string_view rThemeName, std::u16string_view rURL)
static bool BeginLocking(std::u16string_view rThemeName)
const OUString & GetThemeName() const
SAL_DLLPRIVATE void LockTheme()
bool InsertURL(const INetURLObject &rURL, sal_uInt32 nInsertPos=SAL_MAX_UINT32)
bool GetGraphic(sal_uInt32 nPos, Graphic &rGraphic)
SAL_DLLPRIVATE const INetURLObject & GetObjectURL(sal_uInt32 nPos) const
SAL_DLLPRIVATE sal_uInt32 GetObjectCount() const
SAL_DLLPRIVATE bool UnlockTheme()
SAL_DLLPRIVATE bool GetThumb(sal_uInt32 nPos, BitmapEx &rBmp)
std::unique_ptr< SgaObject > AcquireObject(sal_uInt32 nPos)
bool GetModel(sal_uInt32 nPos, SdrModel &rModel)
SAL_DLLPRIVATE SgaObjKind GetObjectKind(sal_uInt32 nPos) const
SAL_DLLPRIVATE OUString GetThemeName(sal_uInt32 nThemeId) const
static Gallery * GetGalleryInstance()
void ReleaseTheme(GalleryTheme *pTheme, SfxListener &rListener)
size_t GetThemeCount() const
SAL_DLLPRIVATE const GalleryThemeEntry * GetThemeInfo(size_t nPos)
GalleryTheme * AcquireTheme(std::u16string_view rThemeName, SfxListener &rListener)
OUString GetMainURL(DecodeMechanism eMechanism, rtl_TextEncoding eCharset=RTL_TEXTENCODING_UTF8) const
#define DBG_ASSERT(sCon, aError)