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

#include <weldutils.hxx>

Collaboration diagram for weld::PatternFormatter:
[legend]

Public Member Functions

 PatternFormatter (weld::Entry &rEntry)
 
 ~PatternFormatter ()
 
weld::Entryget_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)
 
void Modify ()
 

Private Member Functions

void EntryGainFocus ()
 
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::Entrym_rEntry
 
Link< weld::Entry &, voidm_aModifyHdl
 
Link< weld::Widget &, voidm_aFocusInHdl
 
Link< weld::Widget &, voidm_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
 

Detailed Description

Definition at line 355 of file weldutils.hxx.

Constructor & Destructor Documentation

PatternFormatter::PatternFormatter ( weld::Entry rEntry)
PatternFormatter::~PatternFormatter ( )

Member Function Documentation

void weld::PatternFormatter::connect_changed ( const Link< weld::Entry &, void > &  rLink)
inline

Definition at line 371 of file weldutils.hxx.

void weld::PatternFormatter::connect_focus_in ( const Link< weld::Widget &, void > &  rLink)
inline

Definition at line 373 of file weldutils.hxx.

void weld::PatternFormatter::connect_focus_out ( const Link< weld::Widget &, void > &  rLink)
inline

Definition at line 372 of file weldutils.hxx.

void weld::PatternFormatter::connect_key_press ( const Link< const KeyEvent &, bool > &  rLink)
inline

Definition at line 374 of file weldutils.hxx.

weld::PatternFormatter::DECL_DLLPRIVATE_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private
weld::PatternFormatter::DECL_DLLPRIVATE_LINK ( FocusInHdl  ,
weld::Widget ,
void   
)
private
weld::PatternFormatter::DECL_DLLPRIVATE_LINK ( FocusOutHdl  ,
weld::Widget ,
void   
)
private
weld::PatternFormatter::DECL_DLLPRIVATE_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private
void weld::PatternFormatter::EntryGainFocus ( )
private

Definition at line 944 of file field2.cxx.

References m_bReformat.

void weld::PatternFormatter::EntryLostFocus ( )
private

Definition at line 949 of file field2.cxx.

References m_bReformat, and ReformatAll().

weld::Entry& weld::PatternFormatter::get_widget ( )
inline

Definition at line 361 of file weldutils.hxx.

void weld::PatternFormatter::Modify ( )
void weld::PatternFormatter::ReformatAll ( )
void weld::PatternFormatter::SetMask ( const OString &  rEditMask,
const OUString &  rLiteralMask 
)

Definition at line 855 of file field2.cxx.

void weld::PatternFormatter::SetStrictFormat ( bool  bStrict)

Definition at line 918 of file field2.cxx.

References m_bStrictFormat, and ReformatAll().

Member Data Documentation

OString weld::PatternFormatter::m_aEditMask
private

Definition at line 388 of file weldutils.hxx.

Referenced by Modify(), and ReformatAll().

Link<weld::Widget&, void> weld::PatternFormatter::m_aFocusInHdl
private

Definition at line 381 of file weldutils.hxx.

Link<weld::Widget&, void> weld::PatternFormatter::m_aFocusOutHdl
private

Definition at line 382 of file weldutils.hxx.

Link<const KeyEvent&, bool> weld::PatternFormatter::m_aKeyPressHdl
private

Definition at line 383 of file weldutils.hxx.

OUString weld::PatternFormatter::m_aLiteralMask
private

Definition at line 389 of file weldutils.hxx.

Referenced by Modify(), and ReformatAll().

Link<weld::Entry&, void> weld::PatternFormatter::m_aModifyHdl
private

Definition at line 380 of file weldutils.hxx.

Referenced by Modify().

bool weld::PatternFormatter::m_bInPattKeyInput
private

Definition at line 387 of file weldutils.hxx.

Referenced by Modify().

bool weld::PatternFormatter::m_bReformat
private

Definition at line 386 of file weldutils.hxx.

Referenced by EntryGainFocus(), EntryLostFocus(), and Modify().

bool weld::PatternFormatter::m_bSameMask
private

Definition at line 385 of file weldutils.hxx.

Referenced by Modify(), and ReformatAll().

bool weld::PatternFormatter::m_bStrictFormat
private

Definition at line 384 of file weldutils.hxx.

Referenced by Modify(), ReformatAll(), and SetStrictFormat().

weld::Entry& weld::PatternFormatter::m_rEntry
private

Definition at line 379 of file weldutils.hxx.

Referenced by Modify(), PatternFormatter(), ReformatAll(), and ~PatternFormatter().


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