LibreOffice Module sd (master) 1
|
Public Member Functions | |
ButtonSetImpl () | |
int | getCount () const |
bool | getPreview (int nSet, const std::vector< OUString > &rButtons, Image &rImage) |
bool | exportButton (int nSet, const OUString &rPath, const OUString &rName) |
void | scanForButtonSets (const OUString &rPath) |
Reference< XGraphicProvider > const & | getGraphicProvider () |
Public Attributes | |
std::vector< std::shared_ptr< ButtonsImpl > > | maButtons |
Reference< XGraphicProvider > | mxGraphicProvider |
Definition at line 142 of file buttonset.cxx.
ButtonSetImpl::ButtonSetImpl | ( | ) |
Definition at line 160 of file buttonset.cxx.
References SvtPathOptions::GetConfigPath(), SvtPathOptions::GetUserConfigPath(), and scanForButtonSets().
bool ButtonSetImpl::exportButton | ( | int | nSet, |
const OUString & | rPath, | ||
const OUString & | rName | ||
) |
Definition at line 245 of file buttonset.cxx.
References maButtons, o3tl::make_unsigned(), and rSet.
int ButtonSetImpl::getCount | ( | ) | const |
Definition at line 192 of file buttonset.cxx.
References maButtons.
Reference< XGraphicProvider > const & ButtonSetImpl::getGraphicProvider | ( | ) |
Definition at line 256 of file buttonset.cxx.
References mxGraphicProvider.
Referenced by getPreview().
bool ButtonSetImpl::getPreview | ( | int | nSet, |
const std::vector< OUString > & | rButtons, | ||
Image & | rImage | ||
) |
Definition at line 197 of file buttonset.cxx.
References Size::AdjustWidth(), Point::AdjustX(), getGraphicProvider(), Graphic::GetSizePixel(), Size::Height(), maButtons, o3tl::make_unsigned(), rSet, Size::setHeight(), and Size::Width().
void ButtonSetImpl::scanForButtonSets | ( | const OUString & | rPath | ) |
std::vector< std::shared_ptr< ButtonsImpl > > ButtonSetImpl::maButtons |
Definition at line 156 of file buttonset.cxx.
Referenced by exportButton(), getCount(), getPreview(), and scanForButtonSets().
Reference< XGraphicProvider > ButtonSetImpl::mxGraphicProvider |
Definition at line 157 of file buttonset.cxx.
Referenced by getGraphicProvider().