LibreOffice Module sw (master) 1
|
#include <DateFormFieldDialog.hxx>
Public Member Functions | |
DateFormFieldDialog (weld::Widget *pParent, sw::mark::IDateFieldmark *pDateField, SwDoc &rDoc) | |
virtual | ~DateFormFieldDialog () override |
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 | |
void | Apply () |
void | InitControls () |
Private Attributes | |
sw::mark::IDateFieldmark * | m_pDateField |
SvNumberFormatter * | m_pNumberFormatter |
std::unique_ptr< SwNumFormatTreeView > | m_xFormatLB |
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 26 of file DateFormFieldDialog.hxx.
sw::DateFormFieldDialog::DateFormFieldDialog | ( | weld::Widget * | pParent, |
sw::mark::IDateFieldmark * | pDateField, | ||
SwDoc & | rDoc | ||
) |
Definition at line 20 of file DateFormFieldDialog.cxx.
References weld::TreeView::get_height_rows(), weld::Widget::get_preferred_size(), InitControls(), m_xFormatLB, weld::Widget::set_size_request(), and Size::Width().
|
overridevirtual |
Definition at line 40 of file DateFormFieldDialog.cxx.
|
private |
Definition at line 42 of file DateFormFieldDialog.cxx.
References LanguageTag::getBcp47(), sw::mark::IDateFieldmark::GetCurrentDate(), SvNumberFormatter::GetEntry(), SvNumberformat::GetFormatstring(), SvNumberformat::GetLanguage(), m_pDateField, m_pNumberFormatter, m_xFormatLB, ODF_FORMDATE_CURRENTDATE, ODF_FORMDATE_DATEFORMAT, ODF_FORMDATE_DATEFORMAT_LANGUAGE, and sw::mark::IDateFieldmark::SetCurrentDate().
Referenced by run().
|
private |
Definition at line 71 of file DateFormFieldDialog.cxx.
References SvNumberFormatter::GetEntryKey(), LanguageTag::getLanguageType(), LANGUAGE_DONTKNOW, m_pDateField, m_pNumberFormatter, m_xFormatLB, nType, NUMBERFORMAT_ENTRY_NOT_FOUND, ODF_FORMDATE_DATEFORMAT, ODF_FORMDATE_DATEFORMAT_LANGUAGE, and SvNumberFormatter::PutEntry().
Referenced by DateFormFieldDialog().
|
inlineoverridevirtual |
Reimplemented from weld::DialogController.
Definition at line 41 of file DateFormFieldDialog.hxx.
|
private |
Definition at line 29 of file DateFormFieldDialog.hxx.
Referenced by Apply(), and InitControls().
|
private |
Definition at line 30 of file DateFormFieldDialog.hxx.
Referenced by Apply(), and InitControls().
|
private |
Definition at line 32 of file DateFormFieldDialog.hxx.
Referenced by Apply(), DateFormFieldDialog(), and InitControls().