LibreOffice Module sc (master)  1
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
ScStatisticsInputOutputDialog Class Referenceabstract

#include <StatisticsInputOutputDialog.hxx>

Inheritance diagram for ScStatisticsInputOutputDialog:
[legend]
Collaboration diagram for ScStatisticsInputOutputDialog:
[legend]

Public Types

enum  GroupedBy {
  BY_COLUMN,
  BY_ROW
}
 
- Public Types inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
enum  
 

Public Member Functions

 ScStatisticsInputOutputDialog (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData *pViewData, const OUString &rUIXMLDescription, const OString &rID)
 
virtual ~ScStatisticsInputOutputDialog () override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override
 
virtual void SetActive () override
 
- Public Member Functions inherited from ScAnyRefDlgController
 ScAnyRefDlgController (SfxBindings *rt1, SfxChildWindow *rt2, weld::Window *rt3, const OUString &rt4, const OString &rt5)
 
- Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
 ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *pArg, SfxBindings *pB)
 
 ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void Close () override
 
virtual void EndDialog () override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual void ChildWinDispose () override
 
virtual void FillInfo (SfxChildWinInfo &) const
 
SfxBindingsGetBindings () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
- Public Member Functions inherited from ScRefHandler
 ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef)
 
virtual ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override
 
virtual void AddRefEntry () override
 
virtual bool IsRefInputMode () const override
 
virtual bool IsTableLocked () const override
 
virtual bool IsDocAllowed (SfxObjectShell *pDocSh) const override
 
virtual void ShowReference (const OUString &rStr) override
 
virtual void HideReference (bool bDoneRefMode=true) override
 
virtual void ToggleCollapsed (formula::RefEdit *pEdit, formula::RefButton *pButton) override
 
virtual void ReleaseFocus (formula::RefEdit *pEdit) override
 
virtual void ViewShellChanged () override
 
void SwitchToDocument ()
 
bool EnterRefMode ()
 
bool LeaveRefMode ()
 
bool CanInputDone (bool bForced)
 
- Public Member Functions inherited from IAnyRefDialog
virtual ~IAnyRefDialog () COVERITY_NOEXCEPT_FALSE
 

Protected Member Functions

void CalculateInputAndWriteToOutput ()
 
virtual ScRange ApplyOutput (ScDocShell *pDocShell)=0
 
virtual const char * GetUndoNameId ()=0
 
virtual bool InputRangesValid ()
 
void ValidateDialogInput ()
 
- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Protected Member Functions inherited from ScRefHandler
void disposeRefHandler ()
 
bool DoClose (sal_uInt16 nId)
 
void SetDispatcherLock (bool bLock)
 
virtual void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override
 
virtual void RefInputDone (bool bForced=false) override
 
bool ParseWithNames (ScRangeList &rRanges, const OUString &rStr, const ScDocument &pDoc)
 
- Protected Member Functions inherited from formula::IControlReferenceHandler
 ~IControlReferenceHandler ()
 

Static Protected Member Functions

static ScRangeList MakeColumnRangeList (SCTAB aTab, ScAddress const &aStart, ScAddress const &aEnd)
 
static ScRangeList MakeRowRangeList (SCTAB aTab, ScAddress const &aStart, ScAddress const &aEnd)
 

Protected Attributes

std::unique_ptr< weld::LabelmxInputRangeLabel
 
std::unique_ptr< formula::RefEditmxInputRangeEdit
 
std::unique_ptr< formula::RefButtonmxInputRangeButton
 
std::unique_ptr< weld::LabelmxOutputRangeLabel
 
std::unique_ptr< formula::RefEditmxOutputRangeEdit
 
std::unique_ptr< formula::RefButtonmxOutputRangeButton
 
std::unique_ptr< weld::RadioButtonmxGroupByColumnsRadio
 
std::unique_ptr< weld::RadioButtonmxGroupByRowsRadio
 
ScViewDatamViewData
 
ScDocumentmDocument
 
ScRange mInputRange
 
ScAddress::Details mAddressDetails
 
ScAddress mOutputAddress
 
GroupedBy mGroupedBy
 

Private Member Functions

void Init ()
 
void GetRangeFromSelection ()
 
 DECL_LINK (GroupByChanged, weld::ToggleButton &, void)
 
 DECL_LINK (OkClicked, weld::Button &, void)
 
 DECL_LINK (GetEditFocusHandler, formula::RefEdit &, void)
 
 DECL_LINK (GetButtonFocusHandler, formula::RefButton &, void)
 
 DECL_LINK (LoseEditFocusHandler, formula::RefEdit &, void)
 
 DECL_LINK (LoseButtonFocusHandler, formula::RefButton &, void)
 
 DECL_LINK (RefInputModifyHandler, formula::RefEdit &, void)
 

Private Attributes

std::unique_ptr< weld::ButtonmxButtonOk
 
formula::RefEditmpActiveEdit
 
ScAddress mCurrentAddress
 
bool mDialogLostFocus
 

Additional Inherited Members

- Static Public Member Functions inherited from ScRefHandler
static bool CanInputStart (const formula::RefEdit *pEdit)
 

Detailed Description

Definition at line 18 of file StatisticsInputOutputDialog.hxx.

Member Enumeration Documentation

Enumerator
BY_COLUMN 
BY_ROW 

Definition at line 21 of file StatisticsInputOutputDialog.hxx.

Constructor & Destructor Documentation

ScStatisticsInputOutputDialog::ScStatisticsInputOutputDialog ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent,
ScViewData pViewData,
const OUString &  rUIXMLDescription,
const OString &  rID 
)
ScStatisticsInputOutputDialog::~ScStatisticsInputOutputDialog ( )
overridevirtual

Definition at line 82 of file StatisticsInputOutputDialog.cxx.

Member Function Documentation

virtual ScRange ScStatisticsInputOutputDialog::ApplyOutput ( ScDocShell pDocShell)
protectedpure virtual
void ScStatisticsInputOutputDialog::CalculateInputAndWriteToOutput ( )
protected
ScStatisticsInputOutputDialog::DECL_LINK ( GroupByChanged  ,
weld::ToggleButton ,
void   
)
private
ScStatisticsInputOutputDialog::DECL_LINK ( OkClicked  ,
weld::Button ,
void   
)
private
ScStatisticsInputOutputDialog::DECL_LINK ( GetEditFocusHandler  ,
formula::RefEdit ,
void   
)
private
ScStatisticsInputOutputDialog::DECL_LINK ( GetButtonFocusHandler  ,
formula::RefButton ,
void   
)
private
ScStatisticsInputOutputDialog::DECL_LINK ( LoseEditFocusHandler  ,
formula::RefEdit ,
void   
)
private
ScStatisticsInputOutputDialog::DECL_LINK ( LoseButtonFocusHandler  ,
formula::RefButton ,
void   
)
private
ScStatisticsInputOutputDialog::DECL_LINK ( RefInputModifyHandler  ,
formula::RefEdit ,
void   
)
private
void ScStatisticsInputOutputDialog::GetRangeFromSelection ( )
private
virtual const char* ScStatisticsInputOutputDialog::GetUndoNameId ( )
protectedpure virtual
void ScStatisticsInputOutputDialog::Init ( void  )
private
bool ScStatisticsInputOutputDialog::InputRangesValid ( )
protectedvirtual
ScRangeList ScStatisticsInputOutputDialog::MakeColumnRangeList ( SCTAB  aTab,
ScAddress const &  aStart,
ScAddress const &  aEnd 
)
staticprotected
ScRangeList ScStatisticsInputOutputDialog::MakeRowRangeList ( SCTAB  aTab,
ScAddress const &  aStart,
ScAddress const &  aEnd 
)
staticprotected
void ScStatisticsInputOutputDialog::SetActive ( )
overridevirtual
void ScStatisticsInputOutputDialog::SetReference ( const ScRange rRef,
ScDocument rDoc 
)
overridevirtual
void ScStatisticsInputOutputDialog::ValidateDialogInput ( )
protected

Definition at line 292 of file StatisticsInputOutputDialog.cxx.

References InputRangesValid(), and mxButtonOk.

Referenced by SetReference().

Member Data Documentation

ScAddress::Details ScStatisticsInputOutputDialog::mAddressDetails
protected
ScAddress ScStatisticsInputOutputDialog::mCurrentAddress
private

Definition at line 74 of file StatisticsInputOutputDialog.hxx.

Referenced by SetReference().

bool ScStatisticsInputOutputDialog::mDialogLostFocus
private

Definition at line 75 of file StatisticsInputOutputDialog.hxx.

Referenced by SetActive().

ScDocument& ScStatisticsInputOutputDialog::mDocument
protected
GroupedBy ScStatisticsInputOutputDialog::mGroupedBy
protected
ScRange ScStatisticsInputOutputDialog::mInputRange
protected
ScAddress ScStatisticsInputOutputDialog::mOutputAddress
protected
formula::RefEdit* ScStatisticsInputOutputDialog::mpActiveEdit
private

Definition at line 73 of file StatisticsInputOutputDialog.hxx.

Referenced by SetActive(), and SetReference().

ScViewData* ScStatisticsInputOutputDialog::mViewData
protected
std::unique_ptr<weld::Button> ScStatisticsInputOutputDialog::mxButtonOk
private

Definition at line 71 of file StatisticsInputOutputDialog.hxx.

Referenced by Init(), and ValidateDialogInput().

std::unique_ptr<weld::RadioButton> ScStatisticsInputOutputDialog::mxGroupByColumnsRadio
protected
std::unique_ptr<weld::RadioButton> ScStatisticsInputOutputDialog::mxGroupByRowsRadio
protected
std::unique_ptr<formula::RefButton> ScStatisticsInputOutputDialog::mxInputRangeButton
protected

Definition at line 48 of file StatisticsInputOutputDialog.hxx.

Referenced by Init(), and ScStatisticsInputOutputDialog().

std::unique_ptr<formula::RefEdit> ScStatisticsInputOutputDialog::mxInputRangeEdit
protected
std::unique_ptr<weld::Label> ScStatisticsInputOutputDialog::mxInputRangeLabel
protected

Definition at line 46 of file StatisticsInputOutputDialog.hxx.

Referenced by ScStatisticsInputOutputDialog().

std::unique_ptr<formula::RefButton> ScStatisticsInputOutputDialog::mxOutputRangeButton
protected

Definition at line 52 of file StatisticsInputOutputDialog.hxx.

Referenced by Init(), and ScStatisticsInputOutputDialog().

std::unique_ptr<formula::RefEdit> ScStatisticsInputOutputDialog::mxOutputRangeEdit
protected
std::unique_ptr<weld::Label> ScStatisticsInputOutputDialog::mxOutputRangeLabel
protected

Definition at line 50 of file StatisticsInputOutputDialog.hxx.

Referenced by ScStatisticsInputOutputDialog().


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