LibreOffice Module vcl (master)
1
|
#include <weldutils.hxx>
Public Member Functions | |
PatternFormatter (weld::Entry &rEntry) | |
~PatternFormatter () | |
weld::Entry & | get_widget () |
void | SetMask (const OString &rEditMask, const OUString &rLiteralMask) |
void | SetStrictFormat (bool bStrict) |
void | ReformatAll () |
void | connect_changed (const Link< weld::Entry &, void > &rLink) |
void | connect_focus_out (const Link< weld::Widget &, void > &rLink) |
void | connect_focus_in (const Link< weld::Widget &, void > &rLink) |
void | connect_key_press (const Link< const KeyEvent &, bool > &rLink) |
SAL_DLLPRIVATE void | Modify () |
Private Member Functions | |
SAL_DLLPRIVATE void | EntryGainFocus () |
SAL_DLLPRIVATE void | EntryLostFocus () |
DECL_DLLPRIVATE_LINK (ModifyHdl, weld::Entry &, void) | |
DECL_DLLPRIVATE_LINK (FocusInHdl, weld::Widget &, void) | |
DECL_DLLPRIVATE_LINK (FocusOutHdl, weld::Widget &, void) | |
DECL_DLLPRIVATE_LINK (KeyInputHdl, const KeyEvent &, bool) | |
Private Attributes | |
weld::Entry & | m_rEntry |
Link< weld::Entry &, void > | m_aModifyHdl |
Link< weld::Widget &, void > | m_aFocusInHdl |
Link< weld::Widget &, void > | m_aFocusOutHdl |
Link< const KeyEvent &, bool > | m_aKeyPressHdl |
bool | m_bStrictFormat |
bool | m_bSameMask |
bool | m_bReformat |
bool | m_bInPattKeyInput |
OString | m_aEditMask |
OUString | m_aLiteralMask |
Definition at line 361 of file weldutils.hxx.
PatternFormatter::PatternFormatter | ( | weld::Entry & | rEntry | ) |
Definition at line 459 of file weldutils.cxx.
References weld::Entry::connect_changed(), weld::Widget::connect_focus_in(), weld::Widget::connect_focus_out(), weld::Widget::connect_key_press(), false, LINK, and m_rEntry.
PatternFormatter::~PatternFormatter | ( | ) |
Definition at line 486 of file weldutils.cxx.
References weld::Entry::connect_changed(), weld::Widget::connect_focus_out(), and m_rEntry.
|
inline |
Definition at line 377 of file weldutils.hxx.
|
inline |
Definition at line 379 of file weldutils.hxx.
|
inline |
Definition at line 378 of file weldutils.hxx.
|
inline |
Definition at line 380 of file weldutils.hxx.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 947 of file field2.cxx.
References m_bReformat.
|
private |
Definition at line 952 of file field2.cxx.
References m_bReformat, and ReformatAll().
|
inline |
Definition at line 367 of file weldutils.hxx.
void weld::PatternFormatter::Modify | ( | ) |
Definition at line 958 of file field2.cxx.
References ImplPatternProcessStrictModify(), m_aEditMask, m_aLiteralMask, m_aModifyHdl, m_bInPattKeyInput, m_bReformat, m_bSameMask, m_bStrictFormat, and m_rEntry.
void weld::PatternFormatter::ReformatAll | ( | ) |
Definition at line 940 of file field2.cxx.
References weld::Entry::get_editable(), weld::Entry::get_text(), ImplPatternReformat(), m_aEditMask, m_aLiteralMask, m_bSameMask, m_bStrictFormat, m_rEntry, weld::Entry::set_overwrite_mode(), and weld::Entry::set_text().
Referenced by EntryLostFocus(), and SetStrictFormat().
void weld::PatternFormatter::SetMask | ( | const OString & | rEditMask, |
const OUString & | rLiteralMask | ||
) |
Definition at line 858 of file field2.cxx.
void weld::PatternFormatter::SetStrictFormat | ( | bool | bStrict | ) |
Definition at line 921 of file field2.cxx.
References m_bStrictFormat, and ReformatAll().
|
private |
Definition at line 394 of file weldutils.hxx.
Referenced by Modify(), and ReformatAll().
|
private |
Definition at line 387 of file weldutils.hxx.
|
private |
Definition at line 388 of file weldutils.hxx.
Definition at line 389 of file weldutils.hxx.
|
private |
Definition at line 395 of file weldutils.hxx.
Referenced by Modify(), and ReformatAll().
|
private |
Definition at line 386 of file weldutils.hxx.
Referenced by Modify().
|
private |
Definition at line 393 of file weldutils.hxx.
Referenced by Modify().
|
private |
Definition at line 392 of file weldutils.hxx.
Referenced by EntryGainFocus(), EntryLostFocus(), and Modify().
|
private |
Definition at line 391 of file weldutils.hxx.
Referenced by Modify(), and ReformatAll().
|
private |
Definition at line 390 of file weldutils.hxx.
Referenced by Modify(), ReformatAll(), and SetStrictFormat().
|
private |
Definition at line 385 of file weldutils.hxx.
Referenced by Modify(), PatternFormatter(), ReformatAll(), and ~PatternFormatter().