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 css::uno::Reference< css::io::XInputStream > getImageXInputStream (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 54 of file ImageTree.hxx.

Constructor & Destructor Documentation

◆ ImageTree()

ImageTree::ImageTree ( )

Definition at line 21 of file ImageTree.cxx.

Member Function Documentation

◆ get()

ImageTree & ImageTree::get ( )
static

◆ getImageStream()

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.

◆ getImageUrl()

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

Definition at line 26 of file ImageTree.cxx.

References mpImplImageTree.

◆ getImageXInputStream()

css::uno::Reference< css::io::XInputStream > ImageTree::getImageXInputStream ( OUString const &  rName,
OUString const &  rStyle,
OUString const &  rLang 
)

Definition at line 37 of file ImageTree.cxx.

References mpImplImageTree.

◆ getNameAccess()

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

Definition at line 57 of file ImageTree.cxx.

References mpImplImageTree.

◆ loadImage() [1/2]

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

◆ loadImage() [2/2]

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

Definition at line 42 of file ImageTree.cxx.

References mpImplImageTree.

◆ shutdown()

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 62 of file ImageTree.cxx.

References mpImplImageTree.

Referenced by DeInitVCL().

Member Data Documentation

◆ mpImplImageTree

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

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