LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
PatternFormatter Class Reference

#include <field.hxx>

Inheritance diagram for PatternFormatter:
Collaboration diagram for PatternFormatter:

Public Member Functions

virtual ~PatternFormatter () override
virtual void Reformat () override
void SetMask (const OString &rEditMask, const OUString &rLiteralMask)
const OString & GetEditMask () const
const OUString & GetLiteralMask () const
void SetString (const OUString &rStr)
OUString GetString () const
- Public Member Functions inherited from FormatterBase
 FormatterBase (Edit *pField)
virtual ~FormatterBase ()
const LocaleDataWrapperGetLocaleDataWrapper () const
bool MustBeReformatted () const
void MarkToBeReformatted (bool b)
void SetStrictFormat (bool bStrict)
bool IsStrictFormat () const
virtual void ReformatAll ()
const css::lang::Locale & GetLocale () const
const LanguageTagGetLanguageTag () const
void SetEmptyFieldValue ()
bool IsEmptyFieldValue () const
void EnableEmptyFieldValue (bool bEnable)
bool IsEmptyFieldValueEnabled () const

Protected Member Functions

 PatternFormatter (Edit *pEdit)
SAL_DLLPRIVATE void ImplSetMask (const OString &rEditMask, const OUString &rLiteralMask)
SAL_DLLPRIVATE bool ImplIsSameMask () const
SAL_DLLPRIVATE bool & ImplGetInPattKeyInput ()
- Protected Member Functions inherited from FormatterBase
SAL_DLLPRIVATE void ImplSetText (const OUString &rText, Selection const *pNewSel=nullptr)
SAL_DLLPRIVATE bool ImplGetEmptyFieldValue () const
void SetEmptyFieldValueData (bool bValue)
SAL_DLLPRIVATE LocaleDataWrapperImplGetLocaleDataWrapper () const
EditGetField () const
void ClearField ()

Private Attributes

OString m_aEditMask
OUString maLiteralMask
bool mbSameMask
bool mbInPattKeyInput

Detailed Description

Definition at line 88 of file field.hxx.

Constructor & Destructor Documentation

PatternFormatter::PatternFormatter ( Edit pEdit)

Definition at line 770 of file field2.cxx.

References mbInPattKeyInput, and mbSameMask.

PatternFormatter::~PatternFormatter ( )

Definition at line 777 of file field2.cxx.

Member Function Documentation

const OString& PatternFormatter::GetEditMask ( ) const
const OUString& PatternFormatter::GetLiteralMask ( ) const
OUString PatternFormatter::GetString ( ) const
SAL_DLLPRIVATE bool& PatternFormatter::ImplGetInPattKeyInput ( )
SAL_DLLPRIVATE bool PatternFormatter::ImplIsSameMask ( ) const
void PatternFormatter::ImplSetMask ( const OString &  rEditMask,
const OUString &  rLiteralMask 
void PatternFormatter::Reformat ( )
void PatternFormatter::SetMask ( const OString &  rEditMask,
const OUString &  rLiteralMask 

Definition at line 781 of file field2.cxx.

References ImplSetMask(), and FormatterBase::ReformatAll().

void PatternFormatter::SetString ( const OUString &  rStr)

Member Data Documentation

OString PatternFormatter::m_aEditMask

Definition at line 91 of file field.hxx.

Referenced by GetString(), ImplSetMask(), and Reformat().

OUString PatternFormatter::maLiteralMask

Definition at line 92 of file field.hxx.

Referenced by GetString(), ImplSetMask(), and Reformat().

bool PatternFormatter::mbInPattKeyInput

Definition at line 94 of file field.hxx.

Referenced by PatternFormatter().

bool PatternFormatter::mbSameMask

Definition at line 93 of file field.hxx.

Referenced by ImplSetMask(), PatternFormatter(), and Reformat().

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