| LibreOffice Module sc (master) 1
    | 
#include <mvtabdlg.hxx>
| Public Member Functions | |
| ScMoveTableDlg (weld::Window *pParent, OUString aDefault) | |
| virtual | ~ScMoveTableDlg () override | 
| sal_uInt16 | GetSelectedDocument () const | 
| SCTAB | GetSelectedTable () const | 
| bool | GetCopyTable () const | 
| bool | GetRenameTable () const | 
| void | GetTabNameString (OUString &rString) const | 
| void | SetForceCopyTable () | 
| void | EnableRenameTable (bool bFlag) | 
| void | SetOkBtnLabel () | 
|  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 | ResetRenameInput () | 
| void | CheckNewTabName () | 
| ScDocument * | GetSelectedDoc () | 
| void | Init () | 
| void | InitDocListBox () | 
| DECL_LINK (OkHdl, weld::Button &, void) | |
| DECL_LINK (SelHdl, weld::ComboBox &, void) | |
| DECL_LINK (CheckBtnHdl, weld::Toggleable &, void) | |
| DECL_LINK (CheckNameHdl, weld::Entry &, void) | |
| Private Attributes | |
| OUString | msCurrentDoc | 
| OUString | msNewDoc | 
| OUString | msStrTabNameUsed | 
| OUString | msStrTabNameEmpty | 
| OUString | msStrTabNameInvalid | 
| const OUString | maDefaultName | 
| sal_uInt16 | mnCurrentDocPos | 
| sal_uInt16 | nDocument | 
| SCTAB | nTable | 
| bool | bCopyTable:1 | 
| bool | bRenameTable:1 | 
| bool | mbEverEdited:1 | 
| std::unique_ptr< weld::RadioButton > | m_xBtnMove | 
| std::unique_ptr< weld::RadioButton > | m_xBtnCopy | 
| std::unique_ptr< weld::Label > | m_xFtDoc | 
| std::unique_ptr< weld::ComboBox > | m_xLbDoc | 
| std::unique_ptr< weld::TreeView > | m_xLbTable | 
| std::unique_ptr< weld::Entry > | m_xEdTabName | 
| std::unique_ptr< weld::Label > | m_xFtWarn | 
| std::unique_ptr< weld::Button > | m_xBtnOk | 
| std::unique_ptr< weld::Label > | m_xUnusedLabel | 
| std::unique_ptr< weld::Label > | m_xEmptyLabel | 
| std::unique_ptr< weld::Label > | m_xInvalidLabel | 
| Static Private Attributes | |
| static bool | mbRememeberedCopy = false | 
| 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 27 of file mvtabdlg.hxx.
| ScMoveTableDlg::ScMoveTableDlg | ( | weld::Window * | pParent, | 
| OUString | aDefault | ||
| ) | 
Definition at line 33 of file mvtabdlg.cxx.
References Init(), m_xEmptyLabel, m_xInvalidLabel, m_xLbDoc, m_xLbTable, m_xUnusedLabel, msCurrentDoc, msNewDoc, msStrTabNameEmpty, msStrTabNameInvalid, and msStrTabNameUsed.
| 
 | overridevirtual | 
Definition at line 69 of file mvtabdlg.cxx.
| 
 | private | 
Definition at line 130 of file mvtabdlg.cxx.
References i, m_xBtnMove, m_xBtnOk, m_xEdTabName, m_xFtWarn, m_xLbDoc, m_xLbTable, maDefaultName, mnCurrentDocPos, msStrTabNameEmpty, msStrTabNameInvalid, msStrTabNameUsed, and ScDocument::ValidTabName().
Referenced by ResetRenameInput().
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| void ScMoveTableDlg::EnableRenameTable | ( | bool | bFlag | ) | 
Definition at line 83 of file mvtabdlg.cxx.
References bRenameTable, m_xEdTabName, and ResetRenameInput().
| 
 | inline | 
Definition at line 35 of file mvtabdlg.hxx.
References bCopyTable.
| 
 | inline | 
Definition at line 36 of file mvtabdlg.hxx.
References bRenameTable.
| 
 | private | 
| 
 | inline | 
Definition at line 33 of file mvtabdlg.hxx.
References nDocument.
| 
 | inline | 
Definition at line 34 of file mvtabdlg.hxx.
References nTable.
| void ScMoveTableDlg::GetTabNameString | ( | OUString & | rString | ) | const | 
Definition at line 71 of file mvtabdlg.cxx.
References m_xEdTabName.
| 
 | private | 
Definition at line 187 of file mvtabdlg.cxx.
References InitDocListBox(), comphelper::LibreOfficeKit::isActive(), LINK, m_xBtnCopy, m_xBtnMove, m_xBtnOk, m_xEdTabName, m_xFtDoc, m_xFtWarn, m_xLbDoc, mbRememeberedCopy, and SetOkBtnLabel().
Referenced by ScMoveTableDlg().
| 
 | private | 
Definition at line 210 of file mvtabdlg.cxx.
References aEntryName, SfxObjectShell::Current(), ScDocShell::GetDocument(), SfxObjectShell::GetFirst(), SfxObjectShell::GetNext(), SfxObjectShell::GetTitle(), i, m_xLbDoc, mnCurrentDocPos, msCurrentDoc, msNewDoc, sId, and weld::toId().
Referenced by Init().
| 
 | private | 
Definition at line 90 of file mvtabdlg.cxx.
References aStr, CheckNewTabName(), ScDocument::CreateValidTabName(), GetSelectedDoc(), m_xBtnCopy, m_xEdTabName, maDefaultName, and mbEverEdited.
Referenced by EnableRenameTable().
| void ScMoveTableDlg::SetForceCopyTable | ( | ) | 
Definition at line 76 of file mvtabdlg.cxx.
References m_xBtnCopy, m_xBtnMove, and SetOkBtnLabel().
| void ScMoveTableDlg::SetOkBtnLabel | ( | ) | 
Definition at line 247 of file mvtabdlg.cxx.
References m_xBtnCopy, m_xBtnMove, m_xBtnOk, and mbRememeberedCopy.
Referenced by Init(), and SetForceCopyTable().
| 
 | private | 
Definition at line 60 of file mvtabdlg.hxx.
Referenced by GetCopyTable().
| 
 | private | 
Definition at line 61 of file mvtabdlg.hxx.
Referenced by EnableRenameTable(), and GetRenameTable().
| 
 | private | 
Definition at line 68 of file mvtabdlg.hxx.
Referenced by Init(), ResetRenameInput(), SetForceCopyTable(), and SetOkBtnLabel().
| 
 | private | 
Definition at line 67 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), Init(), SetForceCopyTable(), and SetOkBtnLabel().
| 
 | private | 
Definition at line 74 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), Init(), and SetOkBtnLabel().
| 
 | private | 
Definition at line 72 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), EnableRenameTable(), GetTabNameString(), Init(), and ResetRenameInput().
| 
 | private | 
Definition at line 76 of file mvtabdlg.hxx.
Referenced by ScMoveTableDlg().
| 
 | private | 
Definition at line 69 of file mvtabdlg.hxx.
Referenced by Init().
| 
 | private | 
Definition at line 73 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), and Init().
| 
 | private | 
Definition at line 77 of file mvtabdlg.hxx.
Referenced by ScMoveTableDlg().
| 
 | private | 
Definition at line 70 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), GetSelectedDoc(), Init(), InitDocListBox(), and ScMoveTableDlg().
| 
 | private | 
Definition at line 71 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), and ScMoveTableDlg().
| 
 | private | 
Definition at line 75 of file mvtabdlg.hxx.
Referenced by ScMoveTableDlg().
| 
 | private | 
Definition at line 55 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), and ResetRenameInput().
| 
 | private | 
Definition at line 62 of file mvtabdlg.hxx.
Referenced by ResetRenameInput().
| 
 | staticprivate | 
Definition at line 65 of file mvtabdlg.hxx.
Referenced by Init(), and SetOkBtnLabel().
| 
 | private | 
Definition at line 57 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), and InitDocListBox().
| 
 | private | 
Definition at line 48 of file mvtabdlg.hxx.
Referenced by InitDocListBox(), and ScMoveTableDlg().
| 
 | private | 
Definition at line 49 of file mvtabdlg.hxx.
Referenced by InitDocListBox(), and ScMoveTableDlg().
| 
 | private | 
Definition at line 52 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), and ScMoveTableDlg().
| 
 | private | 
Definition at line 53 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), and ScMoveTableDlg().
| 
 | private | 
Definition at line 51 of file mvtabdlg.hxx.
Referenced by CheckNewTabName(), and ScMoveTableDlg().
| 
 | private | 
Definition at line 58 of file mvtabdlg.hxx.
Referenced by GetSelectedDocument().
| 
 | private | 
Definition at line 59 of file mvtabdlg.hxx.
Referenced by GetSelectedTable().