#include <ctrlbox.hxx>
|
| FontSizeBox (std::unique_ptr< weld::ComboBox > p) |
|
void | Fill (const FontList *pList) |
|
void | EnableRelativeMode (sal_uInt16 nMin, sal_uInt16 nMax, sal_uInt16 nStep=5) |
|
void | EnablePtRelativeMode (short nMin, short nMax, short nStep=10) |
|
bool | IsRelativeMode () const |
|
void | SetRelative (bool bRelative) |
|
bool | IsRelative () const |
|
void | SetPtRelative (bool bPtRel) |
|
bool | IsPtRelative () const |
|
void | connect_changed (const Link< weld::ComboBox &, void > &rLink) |
|
void | connect_focus_out (const Link< weld::Widget &, void > &rLink) |
|
void | connect_key_press (const Link< const KeyEvent &, bool > &rLink) |
|
OUString | get_active_text () const |
|
void | set_active_or_entry_text (const OUString &rText) |
|
void | set_sensitive (bool bSensitive) |
|
void | set_size_request (int nWidth, int nHeight) |
|
int | get_active () const |
|
int | get_value () const |
|
void | set_value (int nValue) |
|
void | save_value () |
|
int | get_saved_value () const |
|
bool | get_value_changed_from_saved () const |
|
int | get_count () const |
|
OUString | get_text (int i) const |
|
void | grab_focus () |
|
bool | has_focus () const |
|
void | connect_entry_activate (const Link< weld::ComboBox &, bool > &rLink) |
|
void | disable_entry_completion () |
|
void | connect_get_property_tree (const Link< tools::JsonWriter &, void > &rLink) |
|
Definition at line 416 of file ctrlbox.hxx.
◆ FontSizeBox() [1/2]
◆ FontSizeBox() [2/2]
◆ connect_changed()
◆ connect_entry_activate()
◆ connect_focus_out()
void FontSizeBox::connect_focus_out |
( |
const Link< weld::Widget &, void > & |
rLink | ) |
|
|
inline |
◆ connect_get_property_tree()
◆ connect_key_press()
void FontSizeBox::connect_key_press |
( |
const Link< const KeyEvent &, bool > & |
rLink | ) |
|
|
inline |
◆ DECL_DLLPRIVATE_LINK() [1/2]
FontSizeBox::DECL_DLLPRIVATE_LINK |
( |
ModifyHdl |
, |
|
|
weld::ComboBox & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_DLLPRIVATE_LINK() [2/2]
FontSizeBox::DECL_DLLPRIVATE_LINK |
( |
ReformatHdl |
, |
|
|
weld::Widget & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ disable_entry_completion()
void FontSizeBox::disable_entry_completion |
( |
| ) |
|
|
inline |
◆ EnablePtRelativeMode()
void FontSizeBox::EnablePtRelativeMode |
( |
short |
nMin, |
|
|
short |
nMax, |
|
|
short |
nStep = 10 |
|
) |
| |
◆ EnableRelativeMode()
void FontSizeBox::EnableRelativeMode |
( |
sal_uInt16 |
nMin, |
|
|
sal_uInt16 |
nMax, |
|
|
sal_uInt16 |
nStep = 5 |
|
) |
| |
◆ Fill()
void FontSizeBox::Fill |
( |
const FontList * |
pList | ) |
|
Definition at line 1083 of file ctrlbox.cxx.
References aStr, bRelative, bStdSize, Application::GetSettings(), FontList::GetStdSizeAry(), i, InsertValue(), m_xComboBox, nCount, nPos, pFontList, set_active_or_entry_text(), and sId.
Referenced by SetRelative().
◆ format_number()
OUString FontSizeBox::format_number |
( |
int |
nValue | ) |
const |
|
private |
Definition at line 1248 of file ctrlbox.cxx.
References bPtRelative, bRelativeMode, eUnit, unicode::formatPercent(), SvtSysLocale::GetLocaleData(), LocaleDataWrapper::getNum(), Application::GetSettings(), weld::MetricSpinButton::MetricToString(), nDecimalDigits, nValue, and weld::SpinButton::Power10().
Referenced by FontSizeBox(), InsertValue(), and SetValue().
◆ get_active()
int FontSizeBox::get_active |
( |
| ) |
const |
|
inline |
◆ get_active_text()
OUString FontSizeBox::get_active_text |
( |
| ) |
const |
|
inline |
◆ get_count()
int FontSizeBox::get_count |
( |
| ) |
const |
|
inline |
◆ get_saved_value()
int FontSizeBox::get_saved_value |
( |
| ) |
const |
|
inline |
◆ get_text()
OUString FontSizeBox::get_text |
( |
int |
i | ) |
const |
|
inline |
◆ get_value()
int FontSizeBox::get_value |
( |
| ) |
const |
Definition at line 1304 of file ctrlbox.cxx.
References aStr, bRelative, vcl::ConvertValue(), GetDecimalDigits(), SvtSysLocale::GetLocaleData(), Application::GetSettings(), GetUnit(), m_xComboBox, nMax, nMin, nValue, and vcl::TextToValue().
◆ get_value_changed_from_saved()
bool FontSizeBox::get_value_changed_from_saved |
( |
| ) |
const |
|
inline |
◆ GetDecimalDigits()
sal_uInt16 FontSizeBox::GetDecimalDigits |
( |
| ) |
const |
|
inlineprivate |
◆ GetUnit()
◆ grab_focus()
void FontSizeBox::grab_focus |
( |
| ) |
|
|
inline |
◆ has_focus()
bool FontSizeBox::has_focus |
( |
| ) |
const |
|
inline |
◆ InsertValue()
void FontSizeBox::InsertValue |
( |
int |
i | ) |
|
|
private |
◆ IsPtRelative()
bool FontSizeBox::IsPtRelative |
( |
| ) |
const |
|
inline |
◆ IsRelative()
bool FontSizeBox::IsRelative |
( |
| ) |
const |
|
inline |
◆ IsRelativeMode()
bool FontSizeBox::IsRelativeMode |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ save_value()
void FontSizeBox::save_value |
( |
| ) |
|
|
inline |
◆ set_active_or_entry_text()
void FontSizeBox::set_active_or_entry_text |
( |
const OUString & |
rText | ) |
|
◆ set_sensitive()
void FontSizeBox::set_sensitive |
( |
bool |
bSensitive | ) |
|
|
inline |
◆ set_size_request()
void FontSizeBox::set_size_request |
( |
int |
nWidth, |
|
|
int |
nHeight |
|
) |
| |
|
inline |
◆ set_value()
void FontSizeBox::set_value |
( |
int |
nValue | ) |
|
◆ SetDecimalDigits()
void FontSizeBox::SetDecimalDigits |
( |
sal_uInt16 |
nDigits | ) |
|
|
inlineprivate |
◆ SetPtRelative()
void FontSizeBox::SetPtRelative |
( |
bool |
bPtRel | ) |
|
|
inline |
◆ SetRange()
void FontSizeBox::SetRange |
( |
int |
nNewMin, |
|
|
int |
nNewMax |
|
) |
| |
|
inlineprivate |
◆ SetRelative()
void FontSizeBox::SetRelative |
( |
bool |
bRelative | ) |
|
Definition at line 1188 of file ctrlbox.cxx.
References aStr, bPtRelative, bRelative, bRelativeMode, bStdSize, Fill(), i, InsertValue(), m_xComboBox, n, nPtRelMax, nPtRelMin, nPtRelStep, nRelMax, nRelMin, nRelStep, pFontList, set_active_or_entry_text(), SetDecimalDigits(), SetRange(), SetUnit(), and comphelper::string::stripStart().
◆ SetUnit()
void FontSizeBox::SetUnit |
( |
FieldUnit |
_eUnit | ) |
|
|
inlineprivate |
◆ SetValue()
void FontSizeBox::SetValue |
( |
int |
nNewValue, |
|
|
FieldUnit |
eInUnit |
|
) |
| |
|
private |
Definition at line 1276 of file ctrlbox.cxx.
References aName, bRelative, vcl::ConvertValue(), format_number(), GetDecimalDigits(), Application::GetSettings(), GetUnit(), m_xComboBox, nMax, nMin, and set_active_or_entry_text().
Referenced by set_value().
◆ bPtRelative
bool FontSizeBox::bPtRelative |
|
private |
◆ bRelative
bool FontSizeBox::bRelative |
|
private |
◆ bRelativeMode
bool FontSizeBox::bRelativeMode |
|
private |
◆ bStdSize
bool FontSizeBox::bStdSize |
|
private |
◆ eUnit
◆ m_aChangeHdl
◆ m_aFocusOutHdl
◆ m_xComboBox
◆ nDecimalDigits
sal_uInt16 FontSizeBox::nDecimalDigits |
|
private |
◆ nMax
◆ nMin
◆ nPtRelMax
short FontSizeBox::nPtRelMax |
|
private |
◆ nPtRelMin
short FontSizeBox::nPtRelMin |
|
private |
◆ nPtRelStep
short FontSizeBox::nPtRelStep |
|
private |
◆ nRelMax
sal_uInt16 FontSizeBox::nRelMax |
|
private |
◆ nRelMin
sal_uInt16 FontSizeBox::nRelMin |
|
private |
◆ nRelStep
sal_uInt16 FontSizeBox::nRelStep |
|
private |
◆ nSavedValue
int FontSizeBox::nSavedValue |
|
private |
◆ pFontList
The documentation for this class was generated from the following files: