LibreOffice Module sd (master) 1
|
dialog to adjust field-commands More...
#include <dlgfield.hxx>
Public Member Functions | |
SdModifyFieldDlg (weld::Window *pWindow, const SvxFieldData *pInField, SfxItemSet aSet) | |
dialog to edit field commands More... | |
virtual | ~SdModifyFieldDlg () override |
SvxFieldData * | GetField () |
Returns the new field, owned by caller. More... | |
SfxItemSet | GetItemSet () const |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
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 | FillFormatList () |
void | FillControls () |
DECL_LINK (LanguageChangeHdl, weld::ComboBox &, void) | |
Private Attributes | |
SfxItemSet | m_aInputSet |
const SvxFieldData * | m_pField |
std::unique_ptr< weld::RadioButton > | m_xRbtFix |
std::unique_ptr< weld::RadioButton > | m_xRbtVar |
std::unique_ptr< SvxLanguageBox > | m_xLbLanguage |
std::unique_ptr< weld::ComboBox > | m_xLbFormat |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
dialog to adjust field-commands
Definition at line 32 of file dlgfield.hxx.
SdModifyFieldDlg::SdModifyFieldDlg | ( | weld::Window * | pWindow, |
const SvxFieldData * | pInField, | ||
SfxItemSet | aSet | ||
) |
dialog to edit field commands
Definition at line 39 of file dlgfield.cxx.
References FillControls(), LINK, and m_xLbLanguage.
|
overridevirtual |
Definition at line 53 of file dlgfield.cxx.
|
private |
|
private |
Definition at line 233 of file dlgfield.cxx.
References EE_CHAR_LANGUAGE(), FillFormatList(), SfxItemSet::GetItemIfSet(), m_aInputSet, m_pField, m_xLbFormat, m_xLbLanguage, m_xRbtFix, and m_xRbtVar.
Referenced by SdModifyFieldDlg().
|
private |
Definition at line 150 of file dlgfield.cxx.
References SvxAuthorField::GetFormatted(), SvxDateField::GetFormatted(), SvxExtTimeField::GetFormatted(), i, m_pField, m_xLbFormat, m_xLbLanguage, SD_MOD, SdResId(), SvxAuthorField::SetFormat(), SvxDateField::SetFormat(), and SvxExtTimeField::SetFormat().
Referenced by FillControls().
SvxFieldData * SdModifyFieldDlg::GetField | ( | ) |
Returns the new field, owned by caller.
Returns NULL if nothing has changed.
Definition at line 61 of file dlgfield.cxx.
References aName, SfxObjectShell::Current(), eType, SvtUserOptions::GetFirstName(), SvtUserOptions::GetID(), SvtUserOptions::GetLastName(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SfxObjectShell::HasName(), m_pField, m_xLbFormat, m_xRbtFix, m_xRbtVar, and SetFormat().
SfxItemSet SdModifyFieldDlg::GetItemSet | ( | ) | const |
Definition at line 282 of file dlgfield.cxx.
References EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), SfxItemSet::GetPool(), m_aInputSet, m_xLbLanguage, and SfxItemSet::Put().
|
private |
Definition at line 35 of file dlgfield.hxx.
Referenced by FillControls(), and GetItemSet().
|
private |
Definition at line 36 of file dlgfield.hxx.
Referenced by FillControls(), FillFormatList(), and GetField().
|
private |
Definition at line 41 of file dlgfield.hxx.
Referenced by FillControls(), FillFormatList(), and GetField().
|
private |
Definition at line 40 of file dlgfield.hxx.
Referenced by FillControls(), FillFormatList(), GetItemSet(), and SdModifyFieldDlg().
|
private |
Definition at line 38 of file dlgfield.hxx.
Referenced by FillControls(), and GetField().
|
private |
Definition at line 39 of file dlgfield.hxx.
Referenced by FillControls(), and GetField().