LibreOffice Module framework (master) 1
|
#include <CommandImageResolver.hxx>
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 | |
ImageList * | getImageList (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 |
Definition at line 25 of file CommandImageResolver.hxx.
|
private |
Definition at line 28 of file CommandImageResolver.hxx.
vcl::CommandImageResolver::CommandImageResolver | ( | ) |
Definition at line 65 of file CommandImageResolver.cxx.
vcl::CommandImageResolver::~CommandImageResolver | ( | ) |
Definition at line 69 of file CommandImageResolver.cxx.
|
inline |
Definition at line 46 of file CommandImageResolver.hxx.
References m_aImageCommandNameVector.
Referenced by framework::CmdImageList::getImageCommandNames().
Image vcl::CommandImageResolver::getImageFromCommandURL | ( | ImageType | nImageType, |
const OUString & | rCommandURL | ||
) |
Definition at line 139 of file CommandImageResolver.cxx.
References ImageList::GetImage(), getImageList(), and m_aCommandToImageNameMap.
Referenced by framework::CmdImageList::getImageFromCommandURL().
Definition at line 119 of file CommandImageResolver.cxx.
References StyleSettings::DetermineIconTheme(), Application::GetSettings(), AllSettings::GetStyleSettings(), m_aImageNameVector, m_pImageList, and m_sIconTheme.
Referenced by getImageFromCommandURL().
bool vcl::CommandImageResolver::hasImage | ( | const OUString & | rCommandURL | ) |
Definition at line 113 of file CommandImageResolver.cxx.
References m_aCommandToImageNameMap.
Referenced by framework::CmdImageList::hasImage().
void vcl::CommandImageResolver::registerCommands | ( | const css::uno::Sequence< OUString > & | aCommandSequence | ) |
Definition at line 73 of file CommandImageResolver.cxx.
References aCommandName, INetURLObject::All, INetURLObject::GetURLPath(), i, m_aCommandToImageNameMap, m_aImageCommandNameVector, and m_aImageNameVector.
Referenced by framework::CmdImageList::initialize().
|
private |
Definition at line 30 of file CommandImageResolver.hxx.
Referenced by getImageFromCommandURL(), hasImage(), and registerCommands().
|
private |
Definition at line 31 of file CommandImageResolver.hxx.
Referenced by getCommandNames(), and registerCommands().
|
private |
Definition at line 32 of file CommandImageResolver.hxx.
Referenced by getImageList(), and registerCommands().
|
private |
Definition at line 34 of file CommandImageResolver.hxx.
Referenced by getImageList().
|
private |
Definition at line 35 of file CommandImageResolver.hxx.
Referenced by getImageList().