LibreOffice Module framework (master) 1
Namespaces | Functions | Variables
imagemanagerimpl.cxx File Reference
#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>
Include dependency graph for imagemanagerimpl.cxx:

Go to the source code of this file.

Namespaces

namespace  framework
 

Functions

static std::mutexframework::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
 

Variable Documentation

◆ BITMAP_FILE_NAMES

const o3tl::enumarray<vcl::ImageType, const char*> BITMAP_FILE_NAMES
Initial value:
=
{
"sc_userimages.png",
"lc_userimages.png",
"xc_userimages.png"
}

Definition at line 77 of file imagemanagerimpl.cxx.

Referenced by framework::ImageManagerImpl::implts_loadUserImages(), and framework::ImageManagerImpl::implts_storeUserImages().

◆ BITMAPS_FOLDER

constexpr OUStringLiteral BITMAPS_FOLDER = u"Bitmaps"
constexpr

◆ IMAGE_FOLDER

constexpr OUStringLiteral IMAGE_FOLDER = u"images"
constexpr

◆ IMAGELIST_XML_FILE

const o3tl::enumarray<vcl::ImageType, const char*> IMAGELIST_XML_FILE
Initial value:
=
{
"sc_imagelist.xml",
"lc_imagelist.xml",
"xc_imagelist.xml"
}

Definition at line 70 of file imagemanagerimpl.cxx.

Referenced by framework::ImageManagerImpl::implts_loadUserImages(), and framework::ImageManagerImpl::implts_storeUserImages().

◆ MAX_IMAGETYPE_VALUE

const sal_Int16 MAX_IMAGETYPE_VALUE = css::ui::ImageType::SIZE_32