LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ImageTree Class Reference

#include <ImageTree.hxx>

Public Member Functions

 ImageTree ()
 
VCL_DLLPUBLIC OUString getImageUrl (OUString const &name, OUString const &style, OUString const &lang)
 
VCL_DLLPUBLIC std::shared_ptr< SvMemoryStreamgetImageStream (OUString const &rName, OUString const &rStyle, OUString const &rLang)
 
VCL_DLLPUBLIC bool loadImage (OUString const &name, OUString const &style, BitmapEx &bitmap, bool localized, const ImageLoadFlags eFlags=ImageLoadFlags::NONE)
 
VCL_DLLPUBLIC bool loadImage (OUString const &name, OUString const &style, BitmapEx &bitmap, bool localized, sal_Int32 nScalePercentage, const ImageLoadFlags eFlags=ImageLoadFlags::NONE)
 
VCL_DLLPUBLIC css::uno::Reference< css::container::XNameAccess > const & getNameAccess ()
 
VCL_DLLPUBLIC void shutdown ()
 a crude form of life cycle control (called from DeInitVCL; otherwise, if the ImplImageTree singleton were destroyed during exit that would be too late for the destructors of the bitmaps in maIconCache) More...
 

Static Public Member Functions

static VCL_DLLPUBLIC ImageTreeget ()
 

Private Attributes

std::unique_ptr< ImplImageTreempImplImageTree
 

Detailed Description

Definition at line 50 of file ImageTree.hxx.

Constructor & Destructor Documentation

ImageTree::ImageTree ( )

Definition at line 21 of file ImageTree.cxx.

Member Function Documentation

ImageTree & ImageTree::get ( )
static
std::shared_ptr< SvMemoryStream > ImageTree::getImageStream ( OUString const &  rName,
OUString const &  rStyle,
OUString const &  rLang 
)

Definition at line 32 of file ImageTree.cxx.

References mpImplImageTree.

OUString ImageTree::getImageUrl ( OUString const &  name,
OUString const &  style,
OUString const &  lang 
)

Definition at line 26 of file ImageTree.cxx.

References mpImplImageTree.

css::uno::Reference< css::container::XNameAccess > const & ImageTree::getNameAccess ( )

Definition at line 52 of file ImageTree.cxx.

References mpImplImageTree.

bool ImageTree::loadImage ( OUString const &  name,
OUString const &  style,
BitmapEx bitmap,
bool  localized,
const ImageLoadFlags  eFlags = ImageLoadFlags::NONE 
)
bool ImageTree::loadImage ( OUString const &  name,
OUString const &  style,
BitmapEx bitmap,
bool  localized,
sal_Int32  nScalePercentage,
const ImageLoadFlags  eFlags = ImageLoadFlags::NONE 
)

Definition at line 37 of file ImageTree.cxx.

References mpImplImageTree.

void ImageTree::shutdown ( )

a crude form of life cycle control (called from DeInitVCL; otherwise, if the ImplImageTree singleton were destroyed during exit that would be too late for the destructors of the bitmaps in maIconCache)

Definition at line 57 of file ImageTree.cxx.

References mpImplImageTree.

Referenced by DeInitVCL().

Member Data Documentation

std::unique_ptr<ImplImageTree> ImageTree::mpImplImageTree
private

Definition at line 53 of file ImageTree.hxx.

Referenced by getImageStream(), getImageUrl(), getNameAccess(), loadImage(), and shutdown().


The documentation for this class was generated from the following files: