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

#include <dpgroupdlg.hxx>

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

Public Member Functions

 ScDPDateGroupEditHelper (weld::RadioButton &rRbAuto, weld::RadioButton &rRbMan, SvtCalendarBox &rEdValue, const Date &rNullDate)
 
virtual ~ScDPDateGroupEditHelper ()
 
- Public Member Functions inherited from ScDPGroupEditHelper
 ScDPGroupEditHelper (weld::RadioButton &rRbAuto, weld::RadioButton &rRbMan, weld::Widget &rEdValue)
 
bool IsAuto () const
 
double GetValue () const
 
void SetValue (bool bAuto, double fValue)
 

Private Member Functions

virtual bool ImplGetValue (double &rfValue) const override
 
virtual void ImplSetValue (double fValue) override
 

Private Attributes

SvtCalendarBoxmrEdValue
 
Date maNullDate
 

Additional Inherited Members

- Protected Member Functions inherited from ScDPGroupEditHelper
 ~ScDPGroupEditHelper ()
 

Detailed Description

Definition at line 70 of file dpgroupdlg.hxx.

Constructor & Destructor Documentation

◆ ScDPDateGroupEditHelper()

ScDPDateGroupEditHelper::ScDPDateGroupEditHelper ( weld::RadioButton rRbAuto,
weld::RadioButton rRbMan,
SvtCalendarBox rEdValue,
const Date rNullDate 
)
explicit

Definition at line 131 of file dpgroupdlg.cxx.

◆ ~ScDPDateGroupEditHelper()

virtual ScDPDateGroupEditHelper::~ScDPDateGroupEditHelper ( )
inlinevirtual

Definition at line 78 of file dpgroupdlg.hxx.

Member Function Documentation

◆ ImplGetValue()

bool ScDPDateGroupEditHelper::ImplGetValue ( double &  rfValue) const
overrideprivatevirtual

Implements ScDPGroupEditHelper.

Definition at line 139 of file dpgroupdlg.cxx.

References SvtCalendarBox::get_date(), maNullDate, and mrEdValue.

◆ ImplSetValue()

void ScDPDateGroupEditHelper::ImplSetValue ( double  fValue)
overrideprivatevirtual

Implements ScDPGroupEditHelper.

Definition at line 145 of file dpgroupdlg.cxx.

References Date::AddDays(), maNullDate, mrEdValue, and SvtCalendarBox::set_date().

Member Data Documentation

◆ maNullDate

Date ScDPDateGroupEditHelper::maNullDate
private

Definition at line 86 of file dpgroupdlg.hxx.

Referenced by ImplGetValue(), and ImplSetValue().

◆ mrEdValue

SvtCalendarBox& ScDPDateGroupEditHelper::mrEdValue
private

Definition at line 85 of file dpgroupdlg.hxx.

Referenced by ImplGetValue(), and ImplSetValue().


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