LibreOffice Module framework (master) 1
|
#include "imagemanagerimpl.hxx"
#include <utility>
#include <xml/imagesconfiguration.hxx>
#include <uiconfiguration/imagetype.hxx>
#include <uiconfiguration/graphicnameaccess.hxx>
#include <properties.h>
#include <com/sun/star/frame/theUICommandDescription.hpp>
#include <com/sun/star/ui/ConfigurationEvent.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IllegalAccessException.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/InvalidStorageException.hpp>
#include <com/sun/star/embed/StorageWrappedTargetException.hpp>
#include <com/sun/star/io/IOException.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/ui/ImageType.hpp>
#include <vcl/graph.hxx>
#include <vcl/svapp.hxx>
#include <o3tl/enumrange.hxx>
#include <comphelper/sequence.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <vcl/filter/PngImageReader.hxx>
#include <vcl/filter/PngImageWriter.hxx>
#include <memory>
#include <unordered_set>
Go to the source code of this file.
Namespaces | |
namespace | framework |
Functions | |
static std::mutex & | framework::getGlobalImageListMutex () |
static GlobalImageList * | framework::getGlobalImageList (const uno::Reference< uno::XComponentContext > &rxContext) |
static bool | framework::implts_checkAndScaleGraphic (uno::Reference< XGraphic > &rOutGraphic, const uno::Reference< XGraphic > &rInGraphic, vcl::ImageType nImageType) |
static vcl::ImageType | framework::implts_convertImageTypeToIndex (sal_Int16 nImageType) |
Variables | |
const sal_Int16 | MAX_IMAGETYPE_VALUE = css::ui::ImageType::SIZE_32 |
constexpr OUStringLiteral | IMAGE_FOLDER = u"images" |
constexpr OUStringLiteral | BITMAPS_FOLDER = u"Bitmaps" |
const o3tl::enumarray< vcl::ImageType, const char * > | IMAGELIST_XML_FILE |
const o3tl::enumarray< vcl::ImageType, const char * > | BITMAP_FILE_NAMES |
static GlobalImageList * | framework::pGlobalImageList = nullptr |
const o3tl::enumarray<vcl::ImageType, const char*> BITMAP_FILE_NAMES |
Definition at line 77 of file imagemanagerimpl.cxx.
Referenced by framework::ImageManagerImpl::implts_loadUserImages(), and framework::ImageManagerImpl::implts_storeUserImages().
|
constexpr |
Definition at line 68 of file imagemanagerimpl.cxx.
Referenced by framework::ImageManagerImpl::implts_initialize(), and framework::ImageManagerImpl::storeToStorage().
|
constexpr |
Definition at line 67 of file imagemanagerimpl.cxx.
Referenced by framework::ImageManagerImpl::implts_initialize(), and framework::ImageManagerImpl::storeToStorage().
const o3tl::enumarray<vcl::ImageType, const char*> IMAGELIST_XML_FILE |
Definition at line 70 of file imagemanagerimpl.cxx.
Referenced by framework::ImageManagerImpl::implts_loadUserImages(), and framework::ImageManagerImpl::implts_storeUserImages().
const sal_Int16 MAX_IMAGETYPE_VALUE = css::ui::ImageType::SIZE_32 |
Definition at line 65 of file imagemanagerimpl.cxx.
Referenced by framework::ImageManagerImpl::getImages(), framework::ImageManagerImpl::hasImage(), framework::ImageManagerImpl::removeImages(), and framework::ImageManagerImpl::replaceImages().