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

#include <filldlg.hxx>

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

Public Member Functions

 ScFillSeriesDlg (weld::Window *pParent, ScDocument &rDocument, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd, const OUString &aStartStr, double fStep, double fMax, SCSIZE nSelectHeight, SCSIZE nSelectWidth, sal_uInt16 nPossDir)
 
virtual ~ScFillSeriesDlg () override
 
FillDir GetFillDir () const
 
FillCmd GetFillCmd () const
 
FillDateCmd GetFillDateCmd () const
 
double GetStart () const
 
double GetStep () const
 
double GetMax () const
 
OUString GetStartStr () const
 
void SetEdStartValEnabled (bool bFlag)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void Init (sal_uInt16 nPossDir)
 
weld::EntryCheckValues ()
 
 DECL_LINK (OKHdl, weld::Button &, void)
 
 DECL_LINK (DisableHdl, weld::ToggleButton &, void)
 

Private Attributes

const OUString aStartStrVal
 
const OUString aErrMsgInvalidVal
 
ScDocumentrDoc
 
FillDir theFillDir
 
FillCmd theFillCmd
 
FillDateCmd theFillDateCmd
 
double fStartVal
 
double fIncrement
 
double fEndVal
 
const SCSIZE m_nSelectHeight
 
const SCSIZE m_nSelectWidth
 
std::unique_ptr< weld::Labelm_xFtStartVal
 
std::unique_ptr< weld::Entrym_xEdStartVal
 
std::unique_ptr< weld::Labelm_xFtEndVal
 
std::unique_ptr< weld::Entrym_xEdEndVal
 
std::unique_ptr< weld::Labelm_xFtIncrement
 
std::unique_ptr< weld::Entrym_xEdIncrement
 
std::unique_ptr< weld::RadioButtonm_xBtnDown
 
std::unique_ptr< weld::RadioButtonm_xBtnRight
 
std::unique_ptr< weld::RadioButtonm_xBtnUp
 
std::unique_ptr< weld::RadioButtonm_xBtnLeft
 
std::unique_ptr< weld::RadioButtonm_xBtnArithmetic
 
std::unique_ptr< weld::RadioButtonm_xBtnGeometric
 
std::unique_ptr< weld::RadioButtonm_xBtnDate
 
std::unique_ptr< weld::RadioButtonm_xBtnAutoFill
 
std::unique_ptr< weld::Labelm_xFtTimeUnit
 
std::unique_ptr< weld::RadioButtonm_xBtnDay
 
std::unique_ptr< weld::RadioButtonm_xBtnDayOfWeek
 
std::unique_ptr< weld::RadioButtonm_xBtnMonth
 
std::unique_ptr< weld::RadioButtonm_xBtnYear
 
std::unique_ptr< weld::Buttonm_xBtnOk
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 28 of file filldlg.hxx.

Constructor & Destructor Documentation

ScFillSeriesDlg::ScFillSeriesDlg ( weld::Window pParent,
ScDocument rDocument,
FillDir  eFillDir,
FillCmd  eFillCmd,
FillDateCmd  eFillDateCmd,
const OUString &  aStartStr,
double  fStep,
double  fMax,
SCSIZE  nSelectHeight,
SCSIZE  nSelectWidth,
sal_uInt16  nPossDir 
)

Definition at line 33 of file filldlg.cxx.

References Init().

ScFillSeriesDlg::~ScFillSeriesDlg ( )
overridevirtual

Definition at line 79 of file filldlg.cxx.

Member Function Documentation

weld::Entry * ScFillSeriesDlg::CheckValues ( )
private
ScFillSeriesDlg::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
private
ScFillSeriesDlg::DECL_LINK ( DisableHdl  ,
weld::ToggleButton ,
void   
)
private
FillCmd ScFillSeriesDlg::GetFillCmd ( ) const
inline

Definition at line 45 of file filldlg.hxx.

References theFillCmd.

FillDateCmd ScFillSeriesDlg::GetFillDateCmd ( ) const
inline

Definition at line 46 of file filldlg.hxx.

References theFillDateCmd.

FillDir ScFillSeriesDlg::GetFillDir ( ) const
inline

Definition at line 44 of file filldlg.hxx.

References theFillDir.

double ScFillSeriesDlg::GetMax ( ) const
inline

Definition at line 49 of file filldlg.hxx.

References fEndVal.

double ScFillSeriesDlg::GetStart ( ) const
inline

Definition at line 47 of file filldlg.hxx.

References fStartVal.

OUString ScFillSeriesDlg::GetStartStr ( ) const
inline

Definition at line 51 of file filldlg.hxx.

References m_xEdStartVal.

double ScFillSeriesDlg::GetStep ( ) const
inline

Definition at line 48 of file filldlg.hxx.

References fIncrement.

void ScFillSeriesDlg::Init ( sal_uInt16  nPossDir)
private
void ScFillSeriesDlg::SetEdStartValEnabled ( bool  bFlag)

Definition at line 83 of file filldlg.cxx.

References m_xEdStartVal, and m_xFtStartVal.

Member Data Documentation

const OUString ScFillSeriesDlg::aErrMsgInvalidVal
private

Definition at line 57 of file filldlg.hxx.

const OUString ScFillSeriesDlg::aStartStrVal
private

Definition at line 56 of file filldlg.hxx.

Referenced by Init().

double ScFillSeriesDlg::fEndVal
private

Definition at line 65 of file filldlg.hxx.

Referenced by CheckValues(), GetMax(), and Init().

double ScFillSeriesDlg::fIncrement
private

Definition at line 64 of file filldlg.hxx.

Referenced by CheckValues(), GetStep(), and Init().

double ScFillSeriesDlg::fStartVal
private

Definition at line 63 of file filldlg.hxx.

Referenced by CheckValues(), GetStart(), and Init().

const SCSIZE ScFillSeriesDlg::m_nSelectHeight
private

Definition at line 66 of file filldlg.hxx.

Referenced by CheckValues().

const SCSIZE ScFillSeriesDlg::m_nSelectWidth
private

Definition at line 67 of file filldlg.hxx.

Referenced by CheckValues().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnArithmetic
private

Definition at line 82 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnAutoFill
private

Definition at line 85 of file filldlg.hxx.

Referenced by CheckValues(), and Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnDate
private

Definition at line 84 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnDay
private

Definition at line 88 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnDayOfWeek
private

Definition at line 89 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnDown
private

Definition at line 77 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnGeometric
private

Definition at line 83 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnLeft
private

Definition at line 80 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnMonth
private

Definition at line 90 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::Button> ScFillSeriesDlg::m_xBtnOk
private

Definition at line 93 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnRight
private

Definition at line 78 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnUp
private

Definition at line 79 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::RadioButton> ScFillSeriesDlg::m_xBtnYear
private

Definition at line 91 of file filldlg.hxx.

Referenced by Init().

std::unique_ptr<weld::Entry> ScFillSeriesDlg::m_xEdEndVal
private

Definition at line 73 of file filldlg.hxx.

Referenced by CheckValues(), and Init().

std::unique_ptr<weld::Entry> ScFillSeriesDlg::m_xEdIncrement
private

Definition at line 76 of file filldlg.hxx.

Referenced by CheckValues(), and Init().

std::unique_ptr<weld::Entry> ScFillSeriesDlg::m_xEdStartVal
private

Definition at line 70 of file filldlg.hxx.

Referenced by CheckValues(), GetStartStr(), Init(), and SetEdStartValEnabled().

std::unique_ptr<weld::Label> ScFillSeriesDlg::m_xFtEndVal
private

Definition at line 72 of file filldlg.hxx.

std::unique_ptr<weld::Label> ScFillSeriesDlg::m_xFtIncrement
private

Definition at line 75 of file filldlg.hxx.

std::unique_ptr<weld::Label> ScFillSeriesDlg::m_xFtStartVal
private

Definition at line 69 of file filldlg.hxx.

Referenced by SetEdStartValEnabled().

std::unique_ptr<weld::Label> ScFillSeriesDlg::m_xFtTimeUnit
private

Definition at line 87 of file filldlg.hxx.

ScDocument& ScFillSeriesDlg::rDoc
private

Definition at line 59 of file filldlg.hxx.

Referenced by CheckValues(), and Init().

FillCmd ScFillSeriesDlg::theFillCmd
private

Definition at line 61 of file filldlg.hxx.

Referenced by CheckValues(), GetFillCmd(), and Init().

FillDateCmd ScFillSeriesDlg::theFillDateCmd
private

Definition at line 62 of file filldlg.hxx.

Referenced by GetFillDateCmd(), and Init().

FillDir ScFillSeriesDlg::theFillDir
private

Definition at line 60 of file filldlg.hxx.

Referenced by CheckValues(), GetFillDir(), and Init().


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