LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScFormulaReferenceHelper Class Reference

#include <anyrefdg.hxx>

Collaboration diagram for ScFormulaReferenceHelper:
[legend]

Public Member Functions

 ScFormulaReferenceHelper (IAnyRefDialog *_pDlg, SfxBindings *_pBindings)
 
 ~ScFormulaReferenceHelper () COVERITY_NOEXCEPT_FALSE
 
void dispose ()
 
void ShowSimpleReference (const OUString &rStr)
 
void ShowFormulaReference (const OUString &rStr)
 
bool ParseWithNames (ScRangeList &rRanges, const OUString &rStr, const ScDocument &rDoc)
 
void Init ()
 
void ShowReference (const OUString &rStr)
 
void ReleaseFocus (formula::RefEdit *pEdit)
 
void HideReference (bool bDoneRefMode=true)
 
void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton)
 
void RefInputDone (bool bForced)
 
void ToggleCollapsed (formula::RefEdit *pEdit, formula::RefButton *pButton)
 
void SetDialog (weld::Dialog *pDialog)
 
void DoClose (sal_uInt16 nId)
 
void SetDispatcherLock (bool bLock)
 
bool CanInputDone (bool bForced)
 

Static Public Member Functions

static void EnableSpreadsheets (bool bFlag=true)
 
static void ViewShellChanged ()
 
static void enableInput (bool _bInput)
 
static bool CanInputStart (const formula::RefEdit *pEdit)
 

Private Member Functions

 DECL_LINK (ActivateHdl, weld::Widget &, bool)
 

Private Attributes

IAnyRefDialogm_pDlg
 
::std::unique_ptr< ScCompilerm_pRefComp
 
formula::RefEditm_pRefEdit
 
formula::RefButtonm_pRefBtn
 
weld::Dialogm_pDialog
 
SfxBindingsm_pBindings
 
SCTAB m_nRefTab
 
OUString m_sOldDialogText
 
bool m_bEnableColorRef
 
bool m_bHighlightRef
 

Detailed Description

Definition at line 37 of file anyrefdg.hxx.

Constructor & Destructor Documentation

ScFormulaReferenceHelper::ScFormulaReferenceHelper ( IAnyRefDialog _pDlg,
SfxBindings _pBindings 
)

Definition at line 45 of file anyrefdg.cxx.

References ScInputOptions::GetRangeFinder(), m_bEnableColorRef, and SC_MOD.

ScFormulaReferenceHelper::~ScFormulaReferenceHelper ( )

Definition at line 58 of file anyrefdg.cxx.

References dispose().

Member Function Documentation

bool ScFormulaReferenceHelper::CanInputDone ( bool  bForced)
inline

Definition at line 81 of file anyrefdg.hxx.

References m_pRefBtn.

Referenced by ScRefHandler::CanInputDone(), and RefInputDone().

static bool ScFormulaReferenceHelper::CanInputStart ( const formula::RefEdit pEdit)
inlinestatic

Definition at line 80 of file anyrefdg.hxx.

Referenced by ScRefHandler::CanInputStart().

ScFormulaReferenceHelper::DECL_LINK ( ActivateHdl  ,
weld::Widget ,
bool   
)
private
void ScFormulaReferenceHelper::dispose ( void  )
void ScFormulaReferenceHelper::DoClose ( sal_uInt16  nId)
void ScFormulaReferenceHelper::enableInput ( bool  _bInput)
static
void ScFormulaReferenceHelper::EnableSpreadsheets ( bool  bFlag = true)
static
void ScFormulaReferenceHelper::HideReference ( bool  bDoneRefMode = true)
void ScFormulaReferenceHelper::Init ( void  )
bool ScFormulaReferenceHelper::ParseWithNames ( ScRangeList rRanges,
const OUString &  rStr,
const ScDocument rDoc 
)
void ScFormulaReferenceHelper::RefInputDone ( bool  bForced)
void ScFormulaReferenceHelper::RefInputStart ( formula::RefEdit pEdit,
formula::RefButton pButton 
)
void ScFormulaReferenceHelper::ReleaseFocus ( formula::RefEdit pEdit)
void ScFormulaReferenceHelper::SetDialog ( weld::Dialog pDialog)
inline

Definition at line 71 of file anyrefdg.hxx.

Referenced by ScFormulaDlg::ScFormulaDlg(), and ScRefHandler::ScRefHandler().

void ScFormulaReferenceHelper::SetDispatcherLock ( bool  bLock)
void ScFormulaReferenceHelper::ShowFormulaReference ( const OUString &  rStr)
void ScFormulaReferenceHelper::ShowReference ( const OUString &  rStr)
void ScFormulaReferenceHelper::ShowSimpleReference ( const OUString &  rStr)
void ScFormulaReferenceHelper::ToggleCollapsed ( formula::RefEdit pEdit,
formula::RefButton pButton 
)
void ScFormulaReferenceHelper::ViewShellChanged ( )
static

Member Data Documentation

bool ScFormulaReferenceHelper::m_bEnableColorRef
private
bool ScFormulaReferenceHelper::m_bHighlightRef
private

Definition at line 50 of file anyrefdg.hxx.

Referenced by HideReference(), ShowFormulaReference(), and ShowSimpleReference().

SCTAB ScFormulaReferenceHelper::m_nRefTab
private

Definition at line 45 of file anyrefdg.hxx.

Referenced by Init(), and ParseWithNames().

SfxBindings* ScFormulaReferenceHelper::m_pBindings
private

Definition at line 44 of file anyrefdg.hxx.

Referenced by DoClose(), and SetDispatcherLock().

weld::Dialog* ScFormulaReferenceHelper::m_pDialog
private

Definition at line 43 of file anyrefdg.hxx.

Referenced by dispose(), RefInputDone(), and RefInputStart().

IAnyRefDialog* ScFormulaReferenceHelper::m_pDlg
private

Definition at line 39 of file anyrefdg.hxx.

Referenced by ReleaseFocus(), and ToggleCollapsed().

formula::RefButton* ScFormulaReferenceHelper::m_pRefBtn
private

Definition at line 42 of file anyrefdg.hxx.

Referenced by CanInputDone(), RefInputDone(), and RefInputStart().

::std::unique_ptr<ScCompiler> ScFormulaReferenceHelper::m_pRefComp
private

Definition at line 40 of file anyrefdg.hxx.

Referenced by Init(), and ShowFormulaReference().

formula::RefEdit* ScFormulaReferenceHelper::m_pRefEdit
private

Definition at line 41 of file anyrefdg.hxx.

Referenced by RefInputDone(), RefInputStart(), ReleaseFocus(), and ToggleCollapsed().

OUString ScFormulaReferenceHelper::m_sOldDialogText
private

Definition at line 47 of file anyrefdg.hxx.

Referenced by RefInputDone(), and RefInputStart().


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