diff options
author | Joost Wezenbeek <joost.eekhoorn@gmail.com> | 2010-12-28 16:07:11 +0100 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-03 14:06:42 -0500 |
commit | 04eabcee2ee1e5ac03219877ad28c447d8e9a52b (patch) | |
tree | 6b53098603568fcd5535dcae19ccd4692d7af7e2 /sc/source/ui/inc/mvtabdlg.hxx | |
parent | 5ec9ab59a833d568f0e819cd4c4b3647fb1af932 (diff) |
New layout Move/Copy sheet in calc
OK, Cancel and Help buttons placed at bottom of the dialog
Copy checkbox changed to Copy/Move option buttons
Sections: Action, Location and Name
Warning: This name is already used.
Diffstat (limited to 'sc/source/ui/inc/mvtabdlg.hxx')
-rw-r--r-- | sc/source/ui/inc/mvtabdlg.hxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx index 93b38a39ca01..54aeacde7622 100644 --- a/sc/source/ui/inc/mvtabdlg.hxx +++ b/sc/source/ui/inc/mvtabdlg.hxx @@ -55,21 +55,27 @@ public: void GetTabNameString( String& rString ) const; void SetCopyTable (BOOL bFlag=TRUE); void EnableCopyTable (BOOL bFlag=TRUE); - void SetRenameTable (BOOL bFlag=TRUE); void EnableRenameTable (BOOL bFlag=TRUE); private: void ResetRenameInput(); + void CheckNewNameExists(); ScDocument* GetSelectedDoc(); private: + FixedLine aFlAction; + RadioButton aBtnMove; + RadioButton aBtnCopy; + FixedLine aFlLocation; FixedText aFtDoc; ListBox aLbDoc; FixedText aFtTable; ListBox aLbTable; - CheckBox aBtnCopy; - CheckBox aBtnRename; + FixedLine aFlName; + FixedText aFtTabName; Edit aEdTabName; + FixedText aFtWarn; + FixedLine aFixedLine; OKButton aBtnOk; CancelButton aBtnCancel; HelpButton aBtnHelp; @@ -87,6 +93,7 @@ private: DECL_LINK( OkHdl, void * ); DECL_LINK( SelHdl, ListBox * ); DECL_LINK( CheckBtnHdl, void * ); + DECL_LINK( CheckNameHdl, Edit * ); }; #include <layout/layout-post.hxx> |