LibreOffice Module framework (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
vcl::CommandImageResolver Class Referencefinal

#include <CommandImageResolver.hxx>

Collaboration diagram for vcl::CommandImageResolver:
[legend]

Public Member Functions

 CommandImageResolver ()
 
 ~CommandImageResolver ()
 
void registerCommands (const css::uno::Sequence< OUString > &aCommandSequence)
 
Image getImageFromCommandURL (ImageType nImageType, const OUString &rCommandURL)
 
std::vector< OUString > & getCommandNames ()
 
bool hasImage (const OUString &rCommandURL)
 

Private Types

typedef std::unordered_map< OUString, OUString > CommandToImageNameMap
 

Private Member Functions

ImageListgetImageList (ImageType nImageType)
 

Private Attributes

CommandToImageNameMap m_aCommandToImageNameMap
 
std::vector< OUString > m_aImageCommandNameVector
 
std::vector< OUString > m_aImageNameVector
 
o3tl::enumarray< ImageType, std::unique_ptr< ImageList > > m_pImageList
 
OUString m_sIconTheme
 

Detailed Description

Definition at line 25 of file CommandImageResolver.hxx.

Member Typedef Documentation

◆ CommandToImageNameMap

typedef std::unordered_map<OUString, OUString> vcl::CommandImageResolver::CommandToImageNameMap
private

Definition at line 28 of file CommandImageResolver.hxx.

Constructor & Destructor Documentation

◆ CommandImageResolver()

vcl::CommandImageResolver::CommandImageResolver ( )

Definition at line 65 of file CommandImageResolver.cxx.

◆ ~CommandImageResolver()

vcl::CommandImageResolver::~CommandImageResolver ( )

Definition at line 69 of file CommandImageResolver.cxx.

Member Function Documentation

◆ getCommandNames()

std::vector< OUString > & vcl::CommandImageResolver::getCommandNames ( )
inline

◆ getImageFromCommandURL()

Image vcl::CommandImageResolver::getImageFromCommandURL ( ImageType  nImageType,
const OUString &  rCommandURL 
)

◆ getImageList()

ImageList * vcl::CommandImageResolver::getImageList ( ImageType  nImageType)
private

◆ hasImage()

bool vcl::CommandImageResolver::hasImage ( const OUString &  rCommandURL)

Definition at line 113 of file CommandImageResolver.cxx.

References m_aCommandToImageNameMap.

Referenced by framework::CmdImageList::hasImage().

◆ registerCommands()

void vcl::CommandImageResolver::registerCommands ( const css::uno::Sequence< OUString > &  aCommandSequence)

Member Data Documentation

◆ m_aCommandToImageNameMap

CommandToImageNameMap vcl::CommandImageResolver::m_aCommandToImageNameMap
private

Definition at line 30 of file CommandImageResolver.hxx.

Referenced by getImageFromCommandURL(), hasImage(), and registerCommands().

◆ m_aImageCommandNameVector

std::vector<OUString> vcl::CommandImageResolver::m_aImageCommandNameVector
private

Definition at line 31 of file CommandImageResolver.hxx.

Referenced by getCommandNames(), and registerCommands().

◆ m_aImageNameVector

std::vector<OUString> vcl::CommandImageResolver::m_aImageNameVector
private

Definition at line 32 of file CommandImageResolver.hxx.

Referenced by getImageList(), and registerCommands().

◆ m_pImageList

o3tl::enumarray<ImageType, std::unique_ptr<ImageList> > vcl::CommandImageResolver::m_pImageList
private

Definition at line 34 of file CommandImageResolver.hxx.

Referenced by getImageList().

◆ m_sIconTheme

OUString vcl::CommandImageResolver::m_sIconTheme
private

Definition at line 35 of file CommandImageResolver.hxx.

Referenced by getImageList().


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