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 71 of file dpgroupdlg.hxx.

Constructor & Destructor Documentation

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

Definition at line 128 of file dpgroupdlg.cxx.

virtual ScDPDateGroupEditHelper::~ScDPDateGroupEditHelper ( )
inlinevirtual

Definition at line 79 of file dpgroupdlg.hxx.

Member Function Documentation

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

Implements ScDPGroupEditHelper.

Definition at line 136 of file dpgroupdlg.cxx.

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

void ScDPDateGroupEditHelper::ImplSetValue ( double  fValue)
overrideprivatevirtual

Implements ScDPGroupEditHelper.

Definition at line 142 of file dpgroupdlg.cxx.

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

Member Data Documentation

Date ScDPDateGroupEditHelper::maNullDate
private

Definition at line 87 of file dpgroupdlg.hxx.

Referenced by ImplGetValue(), and ImplSetValue().

SvtCalendarBox& ScDPDateGroupEditHelper::mrEdValue
private

Definition at line 86 of file dpgroupdlg.hxx.

Referenced by ImplGetValue(), and ImplSetValue().


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