20#ifndef INCLUDED_SVX_GALMISC_HXX
21#define INCLUDED_SVX_GALMISC_HXX
28#include <com/sun/star/uno/Reference.h>
68#define STREAMBUF_SIZE 16384L
75#define GALLERY_PROGRESS_RANGE 10000
77#define GALLERY_FG_COLOR Application::GetSettings().GetStyleSettings().GetWindowTextColor()
78#define GALLERY_BG_COLOR Application::GetSettings().GetStyleSettings().GetWindowColor()
79#define GALLERY_DLG_COLOR Application::GetSettings().GetStyleSettings().GetDialogColor()
112 return std::unique_ptr<SdrObjUserData>(pInfo);
129 void Update( sal_Int32 nVal, sal_Int32 nMaxVal );
145 std::unique_ptr<INetURLObject>
mpURL;
157 virtual bool GetData(
const css::datatransfer::DataFlavor& rFlavor,
const OUString& rDestDoc )
override;
const OUString & GetThemeName() const
GalleryHint(GalleryHintType nType, OUString aThemeName, OUString aStringData)
const OUString & GetStringData() const
GalleryHint(GalleryHintType nType, OUString aThemeName, void *nData1=nullptr)
GalleryHintType GetType() const
css::uno::Reference< css::awt::XProgressBar > mxProgressBar
virtual void ObjectReleased() override
tools::SvRef< SotTempStream > mxModelStream
std::unique_ptr< GraphicObject > mpGraphicObject
virtual bool GetData(const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override
void InitData(bool bLazy)
virtual void AddSupportedFormats() override
std::unique_ptr< INetURLObject > mpURL
virtual void DragFinished(sal_Int8 nDropAction) override
GalleryTransferable(GalleryTheme *pTheme, sal_uInt32 nObjectPos, bool bLazy)
void SelectObject(sal_uInt32 nObjectPos)
virtual bool WriteObject(tools::SvRef< SotTempStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor) override
virtual ~GalleryTransferable() override
User data of a drawing object, e.g.
SgaIMapInfo(const ImageMap &rImageMap)
const ImageMap & GetImageMap() const
virtual std::unique_ptr< SdrObjUserData > Clone(SdrObject *) const override
void CopyToClipboard(const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rClipboard) const
SVXCORE_DLLPUBLIC OUString GetReducedString(const INetURLObject &rURL, sal_Int32 nMaxLen)
bool CreateIMapGraphic(const FmFormModel &rModel, Graphic &rGraphic, ImageMap &rImageMap)
bool GallerySvDrawImport(SvStream &rIStm, SdrModel &rModel)
bool CreateDir(const INetURLObject &rURL)
INetURLObject ImplGetURL(const GalleryObject *pObject)
OUString GetSvDrawStreamNameFromURL(const INetURLObject &rSvDrawObjURL)
bool KillFile(const INetURLObject &rURL)
bool CopyFile(const INetURLObject &rSrcURL, const INetURLObject &rDstURL)
bool FileExists(const INetURLObject &rURL)
GalleryGraphicImportRet GalleryGraphicImport(const INetURLObject &rURL, Graphic &rGraphic, OUString &rFilterName)
constexpr OUStringLiteral EMPTY
tools::Time aThemeChangeTime
#define SVXCORE_DLLPUBLIC