|
LibreOffice Module sc (master) 1
|
#include <instbdlg.hxx>
Public Member Functions | |
| ScInsertTableDlg (weld::Window *pParent, ScViewData &rViewData, SCTAB nTabCount, bool bFromFile) | |
| virtual | ~ScInsertTableDlg () override |
| virtual short | run () override |
| bool | GetTablesFromFile () const |
| bool | GetTablesAsLink () const |
| const OUString * | GetFirstTable (sal_uInt16 *pN) |
| const OUString * | GetNextTable (sal_uInt16 *pN) |
| ScDocShell * | GetDocShellTables () |
| bool | IsTableBefore () const |
| SCTAB | GetTableCount () const |
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 | Init_Impl (bool bFromFile) |
| void | SetNewTable_Impl () |
| void | SetFromTo_Impl () |
| void | FillTables_Impl (const ScDocument *pSrcDoc) |
| void | DoEnable_Impl () |
| DECL_LINK (BrowseHdl_Impl, weld::Button &, void) | |
| DECL_LINK (ChoiceHdl_Impl, weld::Toggleable &, void) | |
| DECL_LINK (SelectHdl_Impl, weld::TreeView &, void) | |
| DECL_LINK (CountHdl_Impl, weld::SpinButton &, void) | |
| DECL_LINK (DoEnterHdl, weld::Button &, void) | |
| DECL_LINK (BrowseTimeoutHdl, Timer *, void) | |
| DECL_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void) | |
Private Attributes | |
| Timer | aBrowseTimer |
| ScViewData & | rViewData |
| ScDocument & | rDoc |
| ScDocShell * | pDocShTables |
| std::unique_ptr< sfx2::DocumentInserter > | pDocInserter |
| SfxObjectShellRef | aDocShTablesRef |
| bool | bMustClose |
| sal_uInt16 | nSelTabIndex |
| OUString | aStrCurSelTable |
| SCTAB | nTableCount |
| OUString | m_sSheetDotDotDot |
| std::unique_ptr< weld::RadioButton > | m_xBtnBefore |
| std::unique_ptr< weld::RadioButton > | m_xBtnNew |
| std::unique_ptr< weld::RadioButton > | m_xBtnFromFile |
| std::unique_ptr< weld::Label > | m_xFtCount |
| std::unique_ptr< weld::SpinButton > | m_xNfCount |
| std::unique_ptr< weld::Label > | m_xFtName |
| std::unique_ptr< weld::Entry > | m_xEdName |
| std::unique_ptr< weld::TreeView > | m_xLbTables |
| std::unique_ptr< weld::Label > | m_xFtPath |
| std::unique_ptr< weld::Button > | m_xBtnBrowse |
| std::unique_ptr< weld::CheckButton > | m_xBtnLink |
| std::unique_ptr< weld::Button > | m_xBtnOk |
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 34 of file instbdlg.hxx.
| ScInsertTableDlg::ScInsertTableDlg | ( | weld::Window * | pParent, |
| ScViewData & | rViewData, | ||
| SCTAB | nTabCount, | ||
| bool | bFromFile | ||
| ) |
Definition at line 36 of file instbdlg.cxx.
References Init_Impl(), m_sSheetDotDotDot, m_xEdName, and m_xLbTables.
|
overridevirtual |
Definition at line 63 of file instbdlg.cxx.
References SfxObjectShell::DoClose(), pDocInserter, and pDocShTables.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 276 of file instbdlg.cxx.
References m_xBtnNew, m_xBtnOk, m_xLbTables, and pDocShTables.
|
private |
Definition at line 160 of file instbdlg.cxx.
References aName, ScDocument::GetName(), ScDocument::GetTableCount(), i, m_xLbTables, and nCount.
|
inline |
Definition at line 47 of file instbdlg.hxx.
References pDocShTables.
| const OUString * ScInsertTableDlg::GetFirstTable | ( | sal_uInt16 * | pN | ) |
Definition at line 183 of file instbdlg.cxx.
References aStrCurSelTable, m_xBtnNew, m_xEdName, m_xLbTables, and nSelTabIndex.
| const OUString * ScInsertTableDlg::GetNextTable | ( | sal_uInt16 * | pN | ) |
Definition at line 208 of file instbdlg.cxx.
References aStrCurSelTable, m_xBtnNew, m_xLbTables, and nSelTabIndex.
|
inline |
Definition at line 49 of file instbdlg.hxx.
References nTableCount.
|
inline |
Definition at line 43 of file instbdlg.hxx.
References m_xBtnLink.
|
inline |
Definition at line 42 of file instbdlg.hxx.
References m_xBtnFromFile.
|
private |
Definition at line 70 of file instbdlg.cxx.
References aBrowseTimer, aName, ScDocument::CreateValidTabName(), ScViewData::GetDocShell(), ScDocument::GetTableCount(), SfxObjectShell::IsDocShared(), LINK, m_sSheetDotDotDot, m_xBtnBefore, m_xBtnBrowse, m_xBtnFromFile, m_xBtnNew, m_xBtnOk, m_xEdName, m_xFtName, m_xLbTables, m_xNfCount, MAXTAB, nTableCount, rDoc, rViewData, SetFromTo_Impl(), Timer::SetInvokeHandler(), SetNewTable_Impl(), and Timer::SetTimeout().
Referenced by ScInsertTableDlg().
|
inline |
Definition at line 48 of file instbdlg.hxx.
References m_xBtnBefore.
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 118 of file instbdlg.cxx.
References aBrowseTimer, m_xBtnFromFile, and Timer::Start().
|
private |
Definition at line 145 of file instbdlg.cxx.
References m_xBtnBrowse, m_xBtnFromFile, m_xBtnLink, m_xEdName, m_xFtCount, m_xFtName, m_xFtPath, m_xLbTables, and m_xNfCount.
Referenced by Init_Impl().
|
private |
Definition at line 126 of file instbdlg.cxx.
References m_xBtnBrowse, m_xBtnLink, m_xBtnNew, m_xEdName, m_xFtCount, m_xFtName, m_xFtPath, m_xLbTables, m_xNfCount, and nTableCount.
Referenced by Init_Impl().
|
private |
Definition at line 52 of file instbdlg.hxx.
Referenced by Init_Impl(), and run().
|
private |
Definition at line 57 of file instbdlg.hxx.
|
private |
Definition at line 61 of file instbdlg.hxx.
Referenced by GetFirstTable(), and GetNextTable().
|
private |
Definition at line 59 of file instbdlg.hxx.
|
private |
Definition at line 63 of file instbdlg.hxx.
Referenced by Init_Impl(), and ScInsertTableDlg().
|
private |
Definition at line 65 of file instbdlg.hxx.
Referenced by Init_Impl(), and IsTableBefore().
|
private |
Definition at line 74 of file instbdlg.hxx.
Referenced by Init_Impl(), SetFromTo_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 67 of file instbdlg.hxx.
Referenced by GetTablesFromFile(), Init_Impl(), run(), and SetFromTo_Impl().
|
private |
Definition at line 75 of file instbdlg.hxx.
Referenced by GetTablesAsLink(), SetFromTo_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 66 of file instbdlg.hxx.
Referenced by DoEnable_Impl(), GetFirstTable(), GetNextTable(), Init_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 76 of file instbdlg.hxx.
Referenced by DoEnable_Impl(), and Init_Impl().
|
private |
Definition at line 71 of file instbdlg.hxx.
Referenced by GetFirstTable(), Init_Impl(), ScInsertTableDlg(), SetFromTo_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 68 of file instbdlg.hxx.
Referenced by SetFromTo_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 70 of file instbdlg.hxx.
Referenced by Init_Impl(), SetFromTo_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 73 of file instbdlg.hxx.
Referenced by SetFromTo_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 72 of file instbdlg.hxx.
Referenced by DoEnable_Impl(), FillTables_Impl(), GetFirstTable(), GetNextTable(), Init_Impl(), ScInsertTableDlg(), SetFromTo_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 69 of file instbdlg.hxx.
Referenced by Init_Impl(), SetFromTo_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 60 of file instbdlg.hxx.
Referenced by GetFirstTable(), and GetNextTable().
|
private |
Definition at line 62 of file instbdlg.hxx.
Referenced by GetTableCount(), Init_Impl(), and SetNewTable_Impl().
|
private |
Definition at line 56 of file instbdlg.hxx.
Referenced by ~ScInsertTableDlg().
|
private |
Definition at line 55 of file instbdlg.hxx.
Referenced by DoEnable_Impl(), GetDocShellTables(), and ~ScInsertTableDlg().
|
private |
Definition at line 54 of file instbdlg.hxx.
Referenced by Init_Impl().
|
private |
Definition at line 53 of file instbdlg.hxx.
Referenced by Init_Impl().