LibreOffice Module reportdesign (master) 1
|
#include <DateTime.hxx>
Public Member Functions | |
ODateTimeDialog (weld::Window *pParent, css::uno::Reference< css::report::XSection > _xHoldAlive, ::rptui::OReportController *_pController) | |
virtual short | run () override |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
OUString | getFormatStringByKey (::sal_Int32 _nNumberFormatKey, const css::uno::Reference< css::util::XNumberFormats > &_xFormats, bool _bTime) |
returns the format string More... | |
sal_Int32 | getFormatKey (bool _bDate) const |
returns the number format key More... | |
DECL_LINK (CBClickHdl, weld::Toggleable &, void) | |
ODateTimeDialog (const ODateTimeDialog &)=delete | |
void | operator= (const ODateTimeDialog &)=delete |
void | InsertEntry (sal_Int16 _nNumberFormatId) |
Private Attributes | |
::rptui::OReportController * | m_pController |
css::uno::Reference< css::report::XSection > | m_xHoldAlive |
css::lang::Locale | m_nLocale |
std::unique_ptr< weld::CheckButton > | m_xDate |
std::unique_ptr< weld::Label > | m_xFTDateFormat |
std::unique_ptr< weld::ComboBox > | m_xDateListBox |
std::unique_ptr< weld::CheckButton > | m_xTime |
std::unique_ptr< weld::Label > | m_xFTTimeFormat |
std::unique_ptr< weld::ComboBox > | m_xTimeListBox |
std::unique_ptr< weld::Button > | m_xPB_OK |
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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 35 of file DateTime.hxx.
|
privatedelete |
rptui::ODateTimeDialog::ODateTimeDialog | ( | weld::Window * | pParent, |
css::uno::Reference< css::report::XSection > | _xHoldAlive, | ||
::rptui::OReportController * | _pController | ||
) |
|
private |
|
private |
returns the number format key
_nNumberFormatIndex | the number format index |
Definition at line 192 of file DateTime.cxx.
|
private |
returns the format string
_nNumberFormatKey | the number format key |
_xFormats | |
_bTime |
Definition at line 147 of file DateTime.cxx.
References Date::GetDate(), tools::Time::GetTime(), nValue, Date::SYSTEM, and tools::Time::SYSTEM.
|
private |
Definition at line 75 of file DateTime.cxx.
References weld::ComboBox::append().
|
privatedelete |
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 91 of file DateTime.cxx.
References OutputDevice::GetCtrlTextWidth(), Application::GetDefaultDevice(), OutputDevice::GetMapMode(), MapMode::GetMapUnit(), OutputDevice::LogicToLogic(), nLength, OutputDevice::PixelToLogic(), PROPERTY_DATE_STATE, PROPERTY_FORMATKEYDATE, PROPERTY_FORMATKEYTIME, PROPERTY_SECTION, PROPERTY_TIME_STATE, PROPERTY_WIDTH, pValues, RET_NO, and RET_OK.
Referenced by rptui::OReportController::Execute().
|
private |
Definition at line 40 of file DateTime.hxx.
|
private |
Definition at line 37 of file DateTime.hxx.
|
private |
Definition at line 42 of file DateTime.hxx.
|
private |
Definition at line 44 of file DateTime.hxx.
|
private |
Definition at line 43 of file DateTime.hxx.
|
private |
Definition at line 46 of file DateTime.hxx.
|
private |
Definition at line 39 of file DateTime.hxx.
|
private |
Definition at line 48 of file DateTime.hxx.
|
private |
Definition at line 45 of file DateTime.hxx.
|
private |
Definition at line 47 of file DateTime.hxx.