LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScMoveTableDlg Class Reference

#include <mvtabdlg.hxx>

Inheritance diagram for ScMoveTableDlg:
[legend]
Collaboration diagram for ScMoveTableDlg:
[legend]

Public Member Functions

 ScMoveTableDlg (weld::Window *pParent, const OUString &rDefault)
 
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)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void ResetRenameInput ()
 
void CheckNewTabName ()
 
ScDocumentGetSelectedDoc ()
 
void Init ()
 
void InitDocListBox ()
 
 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_LINK (SelHdl, weld::ComboBox &, void)
 
 DECL_LINK (CheckBtnHdl, weld::ToggleButton &, 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::RadioButtonm_xBtnMove
 
std::unique_ptr< weld::RadioButtonm_xBtnCopy
 
std::unique_ptr< weld::ComboBoxm_xLbDoc
 
std::unique_ptr< weld::TreeViewm_xLbTable
 
std::unique_ptr< weld::Entrym_xEdTabName
 
std::unique_ptr< weld::Labelm_xFtWarn
 
std::unique_ptr< weld::Buttonm_xBtnOk
 
std::unique_ptr< weld::Labelm_xUnusedLabel
 
std::unique_ptr< weld::Labelm_xEmptyLabel
 
std::unique_ptr< weld::Labelm_xInvalidLabel
 

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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 28 of file mvtabdlg.hxx.

Constructor & Destructor Documentation

ScMoveTableDlg::ScMoveTableDlg ( weld::Window pParent,
const OUString &  rDefault 
)
ScMoveTableDlg::~ScMoveTableDlg ( )
overridevirtual

Definition at line 63 of file mvtabdlg.cxx.

Member Function Documentation

void ScMoveTableDlg::CheckNewTabName ( )
private
ScMoveTableDlg::DECL_LINK ( OkHdl  ,
weld::Button ,
void   
)
private
ScMoveTableDlg::DECL_LINK ( SelHdl  ,
weld::ComboBox ,
void   
)
private
ScMoveTableDlg::DECL_LINK ( CheckBtnHdl  ,
weld::ToggleButton ,
void   
)
private
ScMoveTableDlg::DECL_LINK ( CheckNameHdl  ,
weld::Entry ,
void   
)
private
void ScMoveTableDlg::EnableRenameTable ( bool  bFlag)

Definition at line 79 of file mvtabdlg.cxx.

References bRenameTable, m_xEdTabName, and ResetRenameInput().

bool ScMoveTableDlg::GetCopyTable ( ) const
inline

Definition at line 36 of file mvtabdlg.hxx.

References bCopyTable.

bool ScMoveTableDlg::GetRenameTable ( ) const
inline

Definition at line 37 of file mvtabdlg.hxx.

References bRenameTable.

ScDocument * ScMoveTableDlg::GetSelectedDoc ( )
private

Definition at line 178 of file mvtabdlg.cxx.

References m_xLbDoc.

Referenced by ResetRenameInput().

sal_uInt16 ScMoveTableDlg::GetSelectedDocument ( ) const
inline

Definition at line 34 of file mvtabdlg.hxx.

References nDocument.

SCTAB ScMoveTableDlg::GetSelectedTable ( ) const
inline

Definition at line 35 of file mvtabdlg.hxx.

References nTable.

void ScMoveTableDlg::GetTabNameString ( OUString &  rString) const

Definition at line 67 of file mvtabdlg.cxx.

References m_xEdTabName.

void ScMoveTableDlg::Init ( void  )
private

Definition at line 183 of file mvtabdlg.cxx.

References InitDocListBox(), LINK, m_xBtnCopy, m_xBtnMove, m_xBtnOk, m_xEdTabName, m_xFtWarn, and m_xLbDoc.

Referenced by ScMoveTableDlg().

void ScMoveTableDlg::InitDocListBox ( )
private
void ScMoveTableDlg::ResetRenameInput ( )
private
void ScMoveTableDlg::SetForceCopyTable ( )

Definition at line 72 of file mvtabdlg.cxx.

References m_xBtnCopy, and m_xBtnMove.

Member Data Documentation

bool ScMoveTableDlg::bCopyTable
private

Definition at line 60 of file mvtabdlg.hxx.

Referenced by GetCopyTable().

bool ScMoveTableDlg::bRenameTable
private

Definition at line 61 of file mvtabdlg.hxx.

Referenced by EnableRenameTable(), and GetRenameTable().

std::unique_ptr<weld::RadioButton> ScMoveTableDlg::m_xBtnCopy
private

Definition at line 65 of file mvtabdlg.hxx.

Referenced by Init(), ResetRenameInput(), and SetForceCopyTable().

std::unique_ptr<weld::RadioButton> ScMoveTableDlg::m_xBtnMove
private

Definition at line 64 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), Init(), and SetForceCopyTable().

std::unique_ptr<weld::Button> ScMoveTableDlg::m_xBtnOk
private

Definition at line 70 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), and Init().

std::unique_ptr<weld::Entry> ScMoveTableDlg::m_xEdTabName
private
std::unique_ptr<weld::Label> ScMoveTableDlg::m_xEmptyLabel
private

Definition at line 72 of file mvtabdlg.hxx.

Referenced by ScMoveTableDlg().

std::unique_ptr<weld::Label> ScMoveTableDlg::m_xFtWarn
private

Definition at line 69 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), and Init().

std::unique_ptr<weld::Label> ScMoveTableDlg::m_xInvalidLabel
private

Definition at line 73 of file mvtabdlg.hxx.

Referenced by ScMoveTableDlg().

std::unique_ptr<weld::ComboBox> ScMoveTableDlg::m_xLbDoc
private

Definition at line 66 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), GetSelectedDoc(), Init(), InitDocListBox(), and ScMoveTableDlg().

std::unique_ptr<weld::TreeView> ScMoveTableDlg::m_xLbTable
private

Definition at line 67 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), and ScMoveTableDlg().

std::unique_ptr<weld::Label> ScMoveTableDlg::m_xUnusedLabel
private

Definition at line 71 of file mvtabdlg.hxx.

Referenced by ScMoveTableDlg().

const OUString ScMoveTableDlg::maDefaultName
private

Definition at line 55 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), and ResetRenameInput().

bool ScMoveTableDlg::mbEverEdited
private

Definition at line 62 of file mvtabdlg.hxx.

Referenced by ResetRenameInput().

sal_uInt16 ScMoveTableDlg::mnCurrentDocPos
private

Definition at line 57 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), and InitDocListBox().

OUString ScMoveTableDlg::msCurrentDoc
private

Definition at line 48 of file mvtabdlg.hxx.

Referenced by InitDocListBox(), and ScMoveTableDlg().

OUString ScMoveTableDlg::msNewDoc
private

Definition at line 49 of file mvtabdlg.hxx.

Referenced by InitDocListBox(), and ScMoveTableDlg().

OUString ScMoveTableDlg::msStrTabNameEmpty
private

Definition at line 52 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), and ScMoveTableDlg().

OUString ScMoveTableDlg::msStrTabNameInvalid
private

Definition at line 53 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), and ScMoveTableDlg().

OUString ScMoveTableDlg::msStrTabNameUsed
private

Definition at line 51 of file mvtabdlg.hxx.

Referenced by CheckNewTabName(), and ScMoveTableDlg().

sal_uInt16 ScMoveTableDlg::nDocument
private

Definition at line 58 of file mvtabdlg.hxx.

Referenced by GetSelectedDocument().

SCTAB ScMoveTableDlg::nTable
private

Definition at line 59 of file mvtabdlg.hxx.

Referenced by GetSelectedTable().


The documentation for this class was generated from the following files: