LibreOffice Module sw (master) 1
|
#include <insfnote.hxx>
Public Member Functions | |
SwInsFootNoteDlg (weld::Window *pParent, SwWrtShell &rSh, bool bEd) | |
virtual | ~SwInsFootNoteDlg () COVERITY_NOEXCEPT_FALSE override |
const OUString & | GetFontName () const |
bool | IsEndNote () const |
OUString | GetStr () const |
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 | |
DECL_LINK (NumberToggleHdl, weld::Toggleable &, void) | |
DECL_LINK (NumberEditHdl, weld::Entry &, void) | |
DECL_LINK (NumberExtCharHdl, weld::Button &, void) | |
DECL_LINK (NextPrevHdl, weld::Button &, void) | |
void | Apply () |
void | Init () |
Private Attributes | |
SwWrtShell & | m_rSh |
OUString | m_aFontName |
rtl_TextEncoding | m_eCharSet |
bool | m_bExtCharAvailable |
bool | m_bEdit |
std::unique_ptr< weld::Widget > | m_xNumberFrame |
std::unique_ptr< weld::RadioButton > | m_xNumberAutoBtn |
std::unique_ptr< weld::RadioButton > | m_xNumberCharBtn |
std::unique_ptr< weld::Entry > | m_xNumberCharEdit |
std::unique_ptr< weld::Button > | m_xNumberExtChar |
std::unique_ptr< weld::RadioButton > | m_xFootnoteBtn |
std::unique_ptr< weld::RadioButton > | m_xEndNoteBtn |
std::unique_ptr< weld::Button > | m_xOkBtn |
std::unique_ptr< weld::Button > | m_xPrevBT |
std::unique_ptr< weld::Button > | m_xNextBT |
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 28 of file insfnote.hxx.
SwInsFootNoteDlg::SwInsFootNoteDlg | ( | weld::Window * | pParent, |
SwWrtShell & | rSh, | ||
bool | bEd | ||
) |
Definition at line 143 of file insfnote.cxx.
References Init(), LINK, m_bEdit, weld::GenericDialogController::m_xDialog, m_xNextBT, m_xNumberAutoBtn, m_xNumberCharBtn, m_xNumberCharEdit, m_xNumberExtChar, m_xPrevBT, and SwViewShell::SetCareDialog().
|
overridevirtual |
Definition at line 179 of file insfnote.cxx.
References m_bEdit, m_rSh, SwWrtShell::ResetSelect(), and SwViewShell::SetCareDialog().
|
private |
Definition at line 36 of file insfnote.cxx.
References aStr, bFootnote, Chars, DONTEXPAND, END, SwCursorShell::EndAction(), SwEditShell::EndUndo(), SfxItemSet::Get(), SwViewShell::GetAttrPool(), SwEditShell::GetCurAttr(), SvxFontItem::GetFamily(), SvxFontItem::GetPitch(), SvxFontItem::GetStyleName(), SwWrtShell::Left(), m_aFontName, m_bEdit, m_bExtCharAvailable, m_eCharSet, m_rSh, m_xEndNoteBtn, m_xFootnoteBtn, m_xNumberCharBtn, m_xNumberCharEdit, SfxItemSet::Put(), RES_CHRATR_FONT(), SwWrtShell::ResetSelect(), SwWrtShell::Right(), SwEditShell::SetAttrSet(), SwEditShell::SetCurFootnote(), SwFormatFootnote::SetNumStr(), START, SwCursorShell::StartAction(), and SwEditShell::StartUndo().
Referenced by run().
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 65 of file insfnote.hxx.
References m_aFontName.
|
inline |
Definition at line 67 of file insfnote.hxx.
References m_xNumberCharBtn, and m_xNumberCharEdit.
|
private |
Definition at line 187 of file insfnote.cxx.
References bFootnote, Chars, SwCursorShell::EndAction(), SfxItemSet::Get(), SwViewShell::GetAttrPool(), SvxFontItem::GetCharSet(), SwEditShell::GetCurAttr(), SwEditShell::GetCurFootnote(), SvxFontItem::GetFamilyName(), SwFormatFootnote::GetNumStr(), SwCursorShell::GotoNextFootnoteAnchor(), SwCursorShell::GotoPrevFootnoteAnchor(), SwFormatFootnote::IsEndNote(), SwWrtShell::Left(), m_aFontName, m_bExtCharAvailable, m_eCharSet, m_rSh, m_xEndNoteBtn, m_xFootnoteBtn, m_xNextBT, m_xNumberAutoBtn, m_xNumberCharBtn, m_xNumberCharEdit, m_xPrevBT, RES_CHRATR_FONT(), SwWrtShell::Right(), vcl::Font::SetCharSet(), vcl::Font::SetFamilyName(), and SwCursorShell::StartAction().
Referenced by SwInsFootNoteDlg().
|
inline |
Definition at line 66 of file insfnote.hxx.
References m_xEndNoteBtn.
|
inlineoverridevirtual |
Reimplemented from weld::DialogController.
Definition at line 73 of file insfnote.hxx.
|
private |
Definition at line 33 of file insfnote.hxx.
Referenced by Apply(), GetFontName(), and Init().
|
private |
Definition at line 36 of file insfnote.hxx.
Referenced by Apply(), SwInsFootNoteDlg(), and ~SwInsFootNoteDlg().
|
private |
Definition at line 35 of file insfnote.hxx.
|
private |
Definition at line 34 of file insfnote.hxx.
|
private |
Definition at line 30 of file insfnote.hxx.
Referenced by Apply(), Init(), and ~SwInsFootNoteDlg().
|
private |
Definition at line 46 of file insfnote.hxx.
Referenced by Apply(), Init(), and IsEndNote().
|
private |
Definition at line 45 of file insfnote.hxx.
|
private |
Definition at line 50 of file insfnote.hxx.
Referenced by Init(), and SwInsFootNoteDlg().
|
private |
Definition at line 39 of file insfnote.hxx.
Referenced by Init(), and SwInsFootNoteDlg().
|
private |
Definition at line 40 of file insfnote.hxx.
Referenced by Apply(), GetStr(), Init(), and SwInsFootNoteDlg().
|
private |
Definition at line 41 of file insfnote.hxx.
Referenced by Apply(), GetStr(), Init(), and SwInsFootNoteDlg().
|
private |
Definition at line 42 of file insfnote.hxx.
Referenced by SwInsFootNoteDlg().
|
private |
Definition at line 38 of file insfnote.hxx.
|
private |
Definition at line 48 of file insfnote.hxx.
|
private |
Definition at line 49 of file insfnote.hxx.
Referenced by Init(), and SwInsFootNoteDlg().